From e5bcabca1db771098e7d232cac1b0906c9ce95b9 Mon Sep 17 00:00:00 2001 From: Arjun G <91885483+Arjun-Go@users.noreply.github.com> Date: Wed, 24 Apr 2024 18:17:19 +0530 Subject: [PATCH] BAH-3024 | Add. Config To Set Identifier and Ignore Columns in Patient Search Tabular View * add. configs for setting identifier and ignoring columns in clinical module tabular view * BAH-3024 | Arjun | Feedbacks on config names and possible values * [Rahul] | BAH-3024 | Add. Identifier and Column Ignore List Config in Tabular View --------- Co-authored-by: Rahul Ramesh Co-authored-by: Rahul Ramesh <121226043+rahu1ramesh@users.noreply.github.com> --- openmrs/apps/adt/app.json | 2 ++ openmrs/apps/clinical/app.json | 2 ++ openmrs/apps/documentUpload/app.json | 2 ++ openmrs/apps/ipd/app.json | 2 ++ openmrs/apps/orders/app.json | 2 ++ openmrs/apps/ot/app.json | 2 ++ 6 files changed, 12 insertions(+) diff --git a/openmrs/apps/adt/app.json b/openmrs/apps/adt/app.json index 9c510239d..5857f0b00 100644 --- a/openmrs/apps/adt/app.json +++ b/openmrs/apps/adt/app.json @@ -30,6 +30,8 @@ "onDischargeForwardTo": "#/patient/search", "defaultVisitType": "IPD", "maxPatientsPerBed" : 2, + "ignoredTabularViewHeadings": ["uuid","activeVisitUuid","hasBeenAdmitted","display","image","$$hashKey","birthDate","extraIdentifiers","personId","deathDate","addressFieldValue","dateCreated","customAttribute","patientProgramAttributeValue"], + "identifierHeadings": ["identifier"], "dashboard":{ "translationKey": "DASHBOARD_TAB_GENERAL_KEY", "conceptName": "Adt Notes", diff --git a/openmrs/apps/clinical/app.json b/openmrs/apps/clinical/app.json index 59c549b05..8680e5161 100644 --- a/openmrs/apps/clinical/app.json +++ b/openmrs/apps/clinical/app.json @@ -86,6 +86,8 @@ "visitTypeForRetrospectiveEntries": "Special OPD", "maxConceptSetLevels": 3, "allowOnlyCodedDiagnosis": false, + "ignoredTabularViewHeadings": ["uuid","activeVisitUuid","hasBeenAdmitted","display","image","$$hashKey","birthDate","extraIdentifiers","personId","deathDate","addressFieldValue","dateCreated","customAttribute","patientProgramAttributeValue"], + "identifierHeadings": ["identifier"], "conceptSetUI": { "Chief Complaint Data": { "autocomplete":true, diff --git a/openmrs/apps/documentUpload/app.json b/openmrs/apps/documentUpload/app.json index d9b639e97..6e3453b81 100644 --- a/openmrs/apps/documentUpload/app.json +++ b/openmrs/apps/documentUpload/app.json @@ -8,6 +8,8 @@ ], "contextModel": [], "config": { + "ignoredTabularViewHeadings": ["uuid","activeVisitUuid","hasBeenAdmitted","display","image","$$hashKey","birthDate","extraIdentifiers","personId","deathDate","addressFieldValue","dateCreated","customAttribute","patientProgramAttributeValue"], + "identifierHeadings": ["identifier"] "filterOutAttributeForAllSearch": [{ "attrName": "confirmedPatient", "attrValue": "false" diff --git a/openmrs/apps/ipd/app.json b/openmrs/apps/ipd/app.json index a8249cbc6..7001a9a67 100644 --- a/openmrs/apps/ipd/app.json +++ b/openmrs/apps/ipd/app.json @@ -22,6 +22,8 @@ "onDischargeForwardTo": "#", "defaultVisitType": "IPD", "expectedDateOfDischarge": "", + "ignoredTabularViewHeadings": ["uuid","activeVisitUuid","hasBeenAdmitted","display","image","$$hashKey","birthDate","extraIdentifiers","personId","deathDate","addressFieldValue","dateCreated","customAttribute","patientProgramAttributeValue"], + "identifierHeadings": ["identifier"], "conceptSetUI": { "Expected Date of Discharge": { "disableAddNotes": true, diff --git a/openmrs/apps/orders/app.json b/openmrs/apps/orders/app.json index 85da43f83..9e9247bd7 100644 --- a/openmrs/apps/orders/app.json +++ b/openmrs/apps/orders/app.json @@ -8,6 +8,8 @@ ], "config" : { "maxConceptSetLevels": 3, + "ignoredTabularViewHeadings": ["uuid","activeVisitUuid","hasBeenAdmitted","display","image","$$hashKey"], + "identifierHeadings": ["identifier"], "conceptSetUI": { "Grid1": { "grid": true diff --git a/openmrs/apps/ot/app.json b/openmrs/apps/ot/app.json index 2eeae5bba..150d6a5fc 100644 --- a/openmrs/apps/ot/app.json +++ b/openmrs/apps/ot/app.json @@ -3,6 +3,8 @@ "extensionPoints": [ ], "config": { + "ignoredTabularViewHeadings": ["uuid","display","image","$$hashKey"], + "identifierHeadings": ["identifier"], "patientDashboardUrl": { "link": "/bahmni/clinical/#/default/patient/{{patientUuid}}/dashboard", "errorMessage": "The patient is not enrolled to the program"