From 45aa5ec3fff8b9d9d05a51a0ed721ac70ddd71ec Mon Sep 17 00:00:00 2001 From: Kavitha S Date: Tue, 30 Apr 2024 11:26:51 +0530 Subject: [PATCH] Revert "BAH-3053|Kavitha|add config for pre-patient flow (#134)" This reverts commit cc28573cbf2cb8f66805a4092e42a4e12da1c6a8. --- masterdata/configuration/liquibase/liquibase.xml | 12 ------------ openmrs/apps/adt/app.json | 6 +----- openmrs/apps/clinical/app.json | 4 ---- openmrs/apps/documentUpload/app.json | 10 +--------- openmrs/apps/ipd/app.json | 4 ---- openmrs/apps/orders/app.json | 6 +----- openmrs/apps/ot/app.json | 6 +----- openmrs/apps/registration/app.json | 8 +------- openmrs/i18n/registration/locale_en.json | 3 +-- 9 files changed, 6 insertions(+), 53 deletions(-) diff --git a/masterdata/configuration/liquibase/liquibase.xml b/masterdata/configuration/liquibase/liquibase.xml index f1fcd380a..1ef29931c 100644 --- a/masterdata/configuration/liquibase/liquibase.xml +++ b/masterdata/configuration/liquibase/liquibase.xml @@ -29,16 +29,4 @@ "org.openmrs.customdatatype.datatype.LongFreeTextDatatype", "org.openmrs.web.attribute.handler.LongFreeTextTextareaHandler", 0, 1, NOW(), 0, "6cd01df8-4418-4079-95bf-9716413dc8f5"); - - - - select count(*) from person_attribute_type where name = 'confirmedPatient'; - - - Add person_attribute_type 'confirmedPatient' to differentiate potential and actual patients - - 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()); - - diff --git a/openmrs/apps/adt/app.json b/openmrs/apps/adt/app.json index 5857f0b00..26107653d 100644 --- a/openmrs/apps/adt/app.json +++ b/openmrs/apps/adt/app.json @@ -82,11 +82,7 @@ "type": "conditionsList", "displayOrder": 6 } - }}, - "filterOutAttributeForAllSearch": [{ - "attrName": "confirmedPatient", - "attrValue": "false" - }] + }} } } \ No newline at end of file diff --git a/openmrs/apps/clinical/app.json b/openmrs/apps/clinical/app.json index 8680e5161..dd68535e1 100644 --- a/openmrs/apps/clinical/app.json +++ b/openmrs/apps/clinical/app.json @@ -38,10 +38,6 @@ { "locale" : "pt", "css": "offline-language-portuguese-brazil"} ] }, - "filterOutAttributeForAllSearch": [{ - "attrName": "confirmedPatient", - "attrValue": "false" - }], "diagnosisStatus": "Inactive", "program": { "patientInformation": { diff --git a/openmrs/apps/documentUpload/app.json b/openmrs/apps/documentUpload/app.json index 318b9ccff..d06782ee6 100644 --- a/openmrs/apps/documentUpload/app.json +++ b/openmrs/apps/documentUpload/app.json @@ -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": [] } diff --git a/openmrs/apps/ipd/app.json b/openmrs/apps/ipd/app.json index 7001a9a67..262ecc12b 100644 --- a/openmrs/apps/ipd/app.json +++ b/openmrs/apps/ipd/app.json @@ -30,10 +30,6 @@ "allowFutureDates": true } }, - "filterOutAttributeForAllSearch": [{ - "attrName": "confirmedPatient", - "attrValue": "false" - }], "hideStartNewVisitPopUp": false, "patientForwardUrl": "../bedmanagement/#/patient/{{patientUuid}}/visit/{{visitUuid}}/dashboard", "dashboard": { diff --git a/openmrs/apps/orders/app.json b/openmrs/apps/orders/app.json index 9e9247bd7..08b478f12 100644 --- a/openmrs/apps/orders/app.json +++ b/openmrs/apps/orders/app.json @@ -25,10 +25,6 @@ "conceptNames": ["Radiology Notes"], "numberOfVisits": 2, "scope": "latest" - }, - "filterOutAttributeForAllSearch": [{ - "attrName": "confirmedPatient", - "attrValue": "false" - }] + } } } \ No newline at end of file diff --git a/openmrs/apps/ot/app.json b/openmrs/apps/ot/app.json index 150d6a5fc..d400c6011 100644 --- a/openmrs/apps/ot/app.json +++ b/openmrs/apps/ot/app.json @@ -17,10 +17,6 @@ "dayViewEnd": "18:00", "dayViewSplit": "60" }, - "startOfWeek": "Monday", - "filterOutAttributeForAllSearch": [{ - "attrName": "confirmedPatient", - "attrValue": "false" - }] + "startOfWeek": "Monday" } } diff --git a/openmrs/apps/registration/app.json b/openmrs/apps/registration/app.json index 9ad5cc38b..40729d427 100644 --- a/openmrs/apps/registration/app.json +++ b/openmrs/apps/registration/app.json @@ -41,8 +41,7 @@ }, "hidden": { "attributes": [ - "primaryContact", - "confirmedPatient" + "primaryContact" ] }, "defaults": { @@ -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", diff --git a/openmrs/i18n/registration/locale_en.json b/openmrs/i18n/registration/locale_en.json index ead56c02f..f3141e655 100644 --- a/openmrs/i18n/registration/locale_en.json +++ b/openmrs/i18n/registration/locale_en.json @@ -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": "Barcode Print", - "RELATED_PATIENT_IDENTIFIER_LABEL": "Patient" + "REGISTRATION_PRINT_WITH_BARCODE": "Barcode Print" } \ No newline at end of file