From 5d9d8183e9b7fc0991cb890be6bda81b6fbea2eb Mon Sep 17 00:00:00 2001 From: Arjun G <91885483+Arjun-Go@users.noreply.github.com> Date: Fri, 7 Jun 2024 09:55:57 +0530 Subject: [PATCH] BAH-3844 | Add. IPD Dashboard Config * add. configs to enable IPD dashboard * BAH-3844 | remove Intake/Output and Patient feeding record Display controls * [Rahul] | BAH-3844 | Add. Enable IPD Features * BAH-3844 | Feedbacks incorporated * [Rahul] | BAH-3844 | Add. Care View Config --------- Co-authored-by: Rahul Ramesh <121226043+rahu1ramesh@users.noreply.github.com> Co-authored-by: Rahul Ramesh --- openmrs/apps/adt/app.json | 1 + openmrs/apps/careViewDashboard/app.json | 5 + openmrs/apps/clinical/app.json | 57 +++++++++++ openmrs/apps/ipd/app.json | 1 + openmrs/apps/ipdDashboard/app.json | 105 ++++++++++++++++++++ openmrs/apps/ipdDashboard/eventsConfig.json | 14 +++ 6 files changed, 183 insertions(+) create mode 100644 openmrs/apps/careViewDashboard/app.json create mode 100644 openmrs/apps/ipdDashboard/app.json create mode 100644 openmrs/apps/ipdDashboard/eventsConfig.json diff --git a/openmrs/apps/adt/app.json b/openmrs/apps/adt/app.json index 26107653d..71753ba43 100644 --- a/openmrs/apps/adt/app.json +++ b/openmrs/apps/adt/app.json @@ -29,6 +29,7 @@ "onTransferForwardTo": "#/patient/{{patientUuid}}/visit/{{visitUuid}}/encounter/{{encounterUuid}}/bed", "onDischargeForwardTo": "#/patient/search", "defaultVisitType": "IPD", + "enableIPDFeature": true, "maxPatientsPerBed" : 2, "ignoredTabularViewHeadings": ["uuid","activeVisitUuid","hasBeenAdmitted","display","image","$$hashKey","birthDate","extraIdentifiers","personId","deathDate","addressFieldValue","dateCreated","customAttribute","patientProgramAttributeValue"], "identifierHeadings": ["identifier"], diff --git a/openmrs/apps/careViewDashboard/app.json b/openmrs/apps/careViewDashboard/app.json new file mode 100644 index 000000000..84b0cff8b --- /dev/null +++ b/openmrs/apps/careViewDashboard/app.json @@ -0,0 +1,5 @@ +{ + "pageSizeOptions": [10,20,30,40,50], + "defaultPageSize": 10, + "timeframeLimitInHours": 2 +} \ No newline at end of file diff --git a/openmrs/apps/clinical/app.json b/openmrs/apps/clinical/app.json index dd68535e1..cb1a6729a 100644 --- a/openmrs/apps/clinical/app.json +++ b/openmrs/apps/clinical/app.json @@ -26,6 +26,63 @@ "hideConditions": false, "enableRadiologyOrderOptions":["Urgent","NeedsPrint"], "enableLabOrderOptions":["Urgent", "NeedsPrint"], + "allMedicinesInPrescriptionAvailableForIPD": true, + "enableIPDFeature": true, + "enable24HourTimers": true, + "drugChartScheduleFrequencies": [ + { + "name": "Twice a day / Every 12 hours", + "frequencyPerDay": 2, + "scheduleTiming": [ + "6:00", + "18:00" + ] + }, + { + "name": "Three times a day / Every 8 hours", + "frequencyPerDay": 3, + "scheduleTiming": [ + "6:00", + "14:00", + "22:00" + ] + }, + { + "name": "Four times a day / Every 6 hours", + "frequencyPerDay": 4, + "scheduleTiming": [ + "6:00", + "12:00", + "18:00", + "23:45" + ] + } + ], + "drugChartStartTimeFrequencies": [ + "Immediately", + "Once a day", + "Twice a day", + "Thrice a day", + "Four times a day", + "Every Hour", + "Every 2 hours", + "Every 3 hours", + "Every 4 hours", + "Every 6 hours", + "Every 8 hours", + "Every 12 hours", + "On alternate days", + "Once a week", + "Twice a week", + "Thrice a week", + "Every 2 weeks", + "Every 3 weeks", + "Once a month", + "Five times a day", + "Four days a week", + "Five days a week", + "Six days a week" + ], "quickPrints":false, "allowAdhocTeleConsultation": false, "teleConsultationDomain": "meet.jit.si", diff --git a/openmrs/apps/ipd/app.json b/openmrs/apps/ipd/app.json index 262ecc12b..2d360fef0 100644 --- a/openmrs/apps/ipd/app.json +++ b/openmrs/apps/ipd/app.json @@ -21,6 +21,7 @@ "onTransferForwardTo": "#", "onDischargeForwardTo": "#", "defaultVisitType": "IPD", + "enableIPDFeature": true, "expectedDateOfDischarge": "", "ignoredTabularViewHeadings": ["uuid","activeVisitUuid","hasBeenAdmitted","display","image","$$hashKey","birthDate","extraIdentifiers","personId","deathDate","addressFieldValue","dateCreated","customAttribute","patientProgramAttributeValue"], "identifierHeadings": ["identifier"], diff --git a/openmrs/apps/ipdDashboard/app.json b/openmrs/apps/ipdDashboard/app.json new file mode 100644 index 000000000..b484c46f4 --- /dev/null +++ b/openmrs/apps/ipdDashboard/app.json @@ -0,0 +1,105 @@ +{ + "sections": [ + { + "title": "Vitals and Nutritional Values", + "componentKey": "VT", + "displayOrder": 1, + "refreshKey": 1 + }, + { + "title": "Allergies", + "componentKey": "AL", + "displayOrder": 2, + "refreshKey": 2 + }, + { + "title": "Diagnosis", + "componentKey": "DG", + "displayOrder": 3, + "refreshKey": 3 + }, + { + "title": "Treatments", + "componentKey": "TR", + "displayOrder": 4, + "refreshKey": 4 + }, + { + "title": "Nursing Tasks", + "componentKey": "NT", + "displayOrder": 5, + "refreshKey": 5 + }, + { + "title": "Drug Chart", + "componentKey": "DC", + "displayOrder": 6, + "refreshKey": 6 + } + ], + "nursingTasks": { + "timeInMinutesFromNowToShowTaskAsRelevant": 30, + "timeInMinutesFromNowToShowPastTaskAsLate": 60, + "timeInMinutesFromStartTimeToShowAdministeredTaskAsLate": 60 + }, + "drugChart": { + "timeInMinutesFromNowToShowPastTaskAsLate": 60, + "timeInMinutesFromStartTimeToShowAdministeredTaskAsLate": 60 + }, + "drugChartSlider": { + "timeInMinutesToDisableSlotPostScheduledTime": 60 + }, + "enable24HourTime": false, + "medicationTags": { + "asNeeded": "Rx-PRN", + "Immediately": "Rx-STAT", + "default": "Rx", + "emergency": "EMERG" + }, + "shiftDetails": { + "1": { "shiftStartTime": "08:00", "shiftEndTime": "19:00" }, + "2": { "shiftStartTime": "19:00", "shiftEndTime": "08:00" } + }, + "intakeOutputConfig": { + "periodDetails": { + "startTime": "08:00", + "durationInHours": "24" + }, + "normalHighValue": 10000, + "normalLowValue": 0, + "timeConceptNames": ["Intake Date & Time", "Output Date & Time"], + "intakeRouteConcept": "Intake Route", + "intakeQuantityConcept": "Intake Quantity", + "outputRouteConcept": "Output Route", + "outputQuantityConcept": "Output Quantity", + "dashboardConfig": { + "numberOfVisits": 10, + "conceptNames": ["Intake Section", "Output Section"] + } + }, + "vitalsConfig": { + "latestVitalsConceptValues": { + "spO2": "Arterial Blood Oxygen Saturation (Pulse Oximeter)", + "weight": "Weight", + "bmi": "BMI", + "respiratoryRate": "Respiratory Rate", + "systolicPressure": "Systolic blood pressure", + "diastolicPressure": "Diastolic blood pressure", + "temperature": "Temperature", + "pulse": "Pulse", + "height": "Height" + }, + "vitalsHistoryConceptValues": { + "spO2": "Arterial Blood Oxygen Saturation (Pulse Oximeter)", + "weight": "Weight", + "bmi": "BMI", + "respiratoryRate": "Respiratory Rate", + "systolicPressure": "Systolic blood pressure", + "diastolicPressure": "Diastolic blood pressure", + "temperature": "Temperature", + "pulse": "Pulse", + "height": "Height", + "muac": "Mid-upper arm circumference" + } + } +} diff --git a/openmrs/apps/ipdDashboard/eventsConfig.json b/openmrs/apps/ipdDashboard/eventsConfig.json new file mode 100644 index 000000000..44ed57009 --- /dev/null +++ b/openmrs/apps/ipdDashboard/eventsConfig.json @@ -0,0 +1,14 @@ +[ + { + "type": "PATIENT_ADMIT", + "tasks": [] + }, + { + "type": "SHIFT_START_TASK", + "tasks": [] + }, + { + "type": "ROLLOVER_TASK", + "tasks": [] + } +]