From 8cb836b736651730961815fb13b19b36eb3295ed Mon Sep 17 00:00:00 2001 From: Rahul Ramesh <121226043+rahu1ramesh@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:11:08 +0530 Subject: [PATCH] BAH-4058 | Add. Display Controls Section In Medication Tab (#38) * [Rahul] | BAH-4058 | Add. Display Controls Section In Medication Tab * [Rahul] | BAH-4058 | Remove. Vitals Display Control --- openmrs/apps/clinical/extension.json | 33 +++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/openmrs/apps/clinical/extension.json b/openmrs/apps/clinical/extension.json index 71bb8ca22..6b13401a0 100644 --- a/openmrs/apps/clinical/extension.json +++ b/openmrs/apps/clinical/extension.json @@ -196,7 +196,38 @@ "label": "Medications", "translationKey":"MEDICATIONS_BOARD_LABEL_KEY", "extensionParams":{ - "tabConfigName": "allMedicationTabConfig" + "tabConfigName": "allMedicationTabConfig", + "sections": { + "nutritionalValues":{ + "translationKey": "DASHBOARD_TITLE_NUTRITIONAL_VALUES_KEY", + "type": "observation", + "isObservation": true, + "displayOrder": 1, + "dashboardConfig": { + "conceptNames":[ + "Height (cm)", + "Weight (kg)" + ], + "showDetailsButton": true + }, + "expandedViewConfig": { + "conceptNames":[ + "Height (cm)", + "Weight (kg)", + "Body mass index", + "BMI STATUS" + ], + "scope": "latest", + "showDetailsButton": true, + "pivotTable": {} + }, + "hideEmptyDisplayControl": true + }, + "allergies": { + "type": "allergies", + "displayOrder": 2 + } + } }, "url": "treatment", "icon": "fa-user-md",