Skip to content

Commit

Permalink
Revert "BAH-3053|Kavitha|add config for pre-patient flow (#134)"
Browse files Browse the repository at this point in the history
This reverts commit cc28573.
  • Loading branch information
kavitha-sundararajan committed Apr 30, 2024
1 parent 3a3cd9d commit 45aa5ec
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 53 deletions.
12 changes: 0 additions & 12 deletions masterdata/configuration/liquibase/liquibase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,4 @@
"org.openmrs.customdatatype.datatype.LongFreeTextDatatype", "org.openmrs.web.attribute.handler.LongFreeTextTextareaHandler", 0, 1, NOW(), 0, "6cd01df8-4418-4079-95bf-9716413dc8f5");
</sql>
</changeSet>
<changeSet id="RELATED_IDENTIFIER_ATTR_TYPE_202404181317" author="BAHMNI-CONFIG">
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="0">
select count(*) from person_attribute_type where name = 'confirmedPatient';
</sqlCheck>
</preConditions>
<comment>Add person_attribute_type 'confirmedPatient' to differentiate potential and actual patients</comment>
<sql>
INSERT INTO person_attribute_type (name, description, format, searchable, creator, date_created, retired, sort_weight, uuid)
VALUES ('confirmedPatient', 'confirmedPatient', 'java.lang.Boolean', '0', 1, curdate(), 0, 30, uuid());
</sql>
</changeSet>
</databaseChangeLog>
6 changes: 1 addition & 5 deletions openmrs/apps/adt/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,7 @@
"type": "conditionsList",
"displayOrder": 6
}
}},
"filterOutAttributeForAllSearch": [{
"attrName": "confirmedPatient",
"attrValue": "false"
}]
}}

}
}
4 changes: 0 additions & 4 deletions openmrs/apps/clinical/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@
{ "locale" : "pt", "css": "offline-language-portuguese-brazil"}
]
},
"filterOutAttributeForAllSearch": [{
"attrName": "confirmedPatient",
"attrValue": "false"
}],
"diagnosisStatus": "Inactive",
"program": {
"patientInformation": {
Expand Down
10 changes: 1 addition & 9 deletions openmrs/apps/documentUpload/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,5 @@
"description": "Bahmni patient search, lookup Page"
}
],
"contextModel": [],
"config": {
"ignoredTabularViewHeadings": ["uuid","activeVisitUuid","hasBeenAdmitted","display","image","$$hashKey","birthDate","extraIdentifiers","personId","deathDate","addressFieldValue","dateCreated","customAttribute","patientProgramAttributeValue"],
"identifierHeadings": ["identifier"],
"filterOutAttributeForAllSearch": [{
"attrName": "confirmedPatient",
"attrValue": "false"
}]
}
"contextModel": []
}
4 changes: 0 additions & 4 deletions openmrs/apps/ipd/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
"allowFutureDates": true
}
},
"filterOutAttributeForAllSearch": [{
"attrName": "confirmedPatient",
"attrValue": "false"
}],
"hideStartNewVisitPopUp": false,
"patientForwardUrl": "../bedmanagement/#/patient/{{patientUuid}}/visit/{{visitUuid}}/dashboard",
"dashboard": {
Expand Down
6 changes: 1 addition & 5 deletions openmrs/apps/orders/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
"conceptNames": ["Radiology Notes"],
"numberOfVisits": 2,
"scope": "latest"
},
"filterOutAttributeForAllSearch": [{
"attrName": "confirmedPatient",
"attrValue": "false"
}]
}
}
}
6 changes: 1 addition & 5 deletions openmrs/apps/ot/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
"dayViewEnd": "18:00",
"dayViewSplit": "60"
},
"startOfWeek": "Monday",
"filterOutAttributeForAllSearch": [{
"attrName": "confirmedPatient",
"attrValue": "false"
}]
"startOfWeek": "Monday"
}
}
8 changes: 1 addition & 7 deletions openmrs/apps/registration/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
},
"hidden": {
"attributes": [
"primaryContact",
"confirmedPatient"
"primaryContact"
]
},
"defaults": {
Expand Down Expand Up @@ -70,11 +69,6 @@
"showSaveConfirmDialog": false,
"showBirthTime": true,
"showCasteSameAsLastNameCheckbox": false,
"relatedIdentifierAttribute": {
"name": "confirmedPatient",
"hideOrDisable": "hide",
"hideOnValue": "true"
},
"printOptions": [
{
"translationKey": "REGISTRATION_PRINT_REG_CARD_LOCAL_KEY",
Expand Down
3 changes: 1 addition & 2 deletions openmrs/i18n/registration/locale_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
"REGISTRATION_INSTITUTE_ADDRESS": "Ganiyari, District - Bilaspur",
"FEE_INFORMATION_LOCALE_KEY": "Fee Information",
"NUTRITIONAL_VALUES_LOCALE_KEY": "Nutritional Values",
"REGISTRATION_PRINT_WITH_BARCODE": "Bar<u>c</u>ode Print",
"RELATED_PATIENT_IDENTIFIER_LABEL": "Patient"
"REGISTRATION_PRINT_WITH_BARCODE": "Bar<u>c</u>ode Print"
}

0 comments on commit 45aa5ec

Please sign in to comment.