From a0d60d5f39c7ca90acb18c07d1ae912dffb87c74 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 6 Nov 2024 17:00:17 +0300 Subject: [PATCH] revert vitals and biomentrics form --- .../ampathforms/vitals_and_biometrics.json | 300 ++++++++---------- 1 file changed, 141 insertions(+), 159 deletions(-) diff --git a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json index 68d4109..4515f37 100644 --- a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json +++ b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json @@ -2,162 +2,153 @@ "name": "Vitals and Biometrics", "pages": [ { - "label": "Vitals and Biometrics", + "label": "Vitals", "sections": [ { - "label": "Signes vitaux", + "label": "Vital Signs", "isExpanded": "true", "questions": [ { - "label": "Vital Signs", - "type": "obsGroup", + "label": "Pain Scale", + "type": "obs", "required": false, - "id": "vitalSigns", + "id": "painScale", "questionOptions": { - "rendering": "repeating", - "concept": "773d36e9-119e-452c-91ee-4ac90245e504" - }, - "questions": [ - { - "label": "Pain Scale", - "type": "obs", - "required": false, - "id": "painScale", - "questionOptions": { - "rendering": "number", - "concept": "3fe6460f-3d37-463e-9fb9-df42ab15aec8", - "disallowDecimals": true - }, - "validators": [] - }, - { - "label": "Pulse (beats/min) (60-160)", - "type": "obs", - "required": false, - "id": "pulseTest", - "questionOptions": { - "rendering": "number", - "concept": "0b9e358e-c9cf-439e-8c00-69f873cec59f", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5087" - } - ], - "answers": [] + "rendering": "number", + "min": "0", + "max": "10", + "concept": "3fe6460f-3d37-463e-9fb9-df42ab15aec8" + } + }, + { + "label": "Pulse (beats/min)", + "type": "obs", + "required": false, + "id": "pulseTest", + "questionOptions": { + "rendering": "number", + "min": "10", + "max": "230", + "concept": "0b9e358e-c9cf-439e-8c00-69f873cec59f", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5087" + } + ], + "answers": [] + } + }, + { + "label": "Temperature", + "type": "obs", + "required": false, + "id": "temperatureTest", + "questionOptions": { + "rendering": "number", + "min": "25", + "max": "43", + "concept": "0ff962b3-8730-4eb0-9028-82d403b066bf", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5088" } - }, - { - "label": "Temperature (C) (36.7 - 37.5)", - "type": "obs", - "required": false, - "id": "temperatureTest", - "questionOptions": { - "rendering": "number", - "concept": "0ff962b3-8730-4eb0-9028-82d403b066bf", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5088" - } - ], - "answers": [] + ], + "answers": [] + } + }, + { + "label": "Respiratory Rate (breaths/min)", + "type": "obs", + "required": false, + "id": "respiratoryRate", + "questionOptions": { + "rendering": "number", + "concept": "8130729f-4605-49b3-b7c0-12b19cc10543", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5242" } - }, - { - "label": "Respiratory Rate (breaths/min) (12 -70)", - "type": "obs", - "required": false, - "id": "respiratoryRate", - "questionOptions": { - "rendering": "number", - "concept": "8130729f-4605-49b3-b7c0-12b19cc10543", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5242" - } - ], - "disallowDecimals": true - }, - "validators": [] - }, - { - "label": "Oxygen Saturation (%) (95 - 100)", - "type": "obs", - "required": false, - "id": "oxygenSaturation", - "questionOptions": { - "rendering": "number", - "concept": "c642aeb3-95d3-4d1b-aa5b-1273b438d14f", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5092" - } - ], - "disallowDecimals": true - }, - "validators": [] - }, - { - "label": "Blood Pressure Set", - "type": "obsGroup", - "required": false, - "id": "bloodPressureSet", - "questionOptions": { - "rendering": "group", - "concept": "06188def-b659-4feb-8899-d513f49b67fb" - }, - "questions": [ - { - "label": "Systolic Blood Pressure (mmHg) (90 - 120)", - "type": "obs", - "required": false, - "id": "systolicBloodPressure", - "questionOptions": { - "rendering": "number", - "concept": "bc4f2e44-26b0-4f5f-a98f-248601fdf792", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5085" - } - ] - } - }, - { - "label": "Diastolic Blood Pressure (mmHg) (60 - 80)", - "type": "obs", - "required": false, - "id": "diastolicBloodPressure", - "questionOptions": { - "rendering": "number", - "concept": "8bc4016d-88ee-43dc-a943-ad10b8bb211e", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5086" - } - ], - "disallowDecimals": true - }, - "validators": [] - } - ], - "validators": [] - } - ], + ], + "disallowDecimals": true + }, "validators": [] + }, + { + "label": "Oxygen Saturation (%)", + "type": "obs", + "required": false, + "id": "oxygenSaturation", + "questionOptions": { + "rendering": "number", + "min": "0", + "max": "100", + "concept": "c642aeb3-95d3-4d1b-aa5b-1273b438d14f", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5092" + } + ] + } } ] }, + { + "label": "Blood Pressure Set", + "isExpanded": "true", + "questions": [ + { + "label": "Systolic Blood Pressure (mmHg)", + "type": "obs", + "required": false, + "id": "systolicBloodPressure", + "questionOptions": { + "rendering": "number", + "min": "40", + "max": "400", + "concept": "bc4f2e44-26b0-4f5f-a98f-248601fdf792", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5085" + } + ] + } + }, + { + "label": "Diastolic Blood Pressure (mmHg)", + "type": "obs", + "required": false, + "id": "diastolicBloodPressure", + "questionOptions": { + "rendering": "number", + "min": "20", + "max": "400", + "concept": "8bc4016d-88ee-43dc-a943-ad10b8bb211e", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5086" + } + ] + } + } + ] + } + ] + }, + { + "label": "Biometrics", + "sections": [ { "label": "Anthropometry", "isExpanded": "true", @@ -239,7 +230,12 @@ } } ] - }, + } + ] + }, + { + "label": "Triage", + "sections": [ { "label": "Triage", "isExpanded": "true", @@ -250,7 +246,7 @@ "required": true, "id": "levelOfEmergencySeverityAssessment", "questionOptions": { - "rendering": "radio", + "rendering": "select", "concept": "bbb02557-0277-4979-a1fa-b0020f136066", "conceptMappings": [ { @@ -258,20 +254,6 @@ "type": "CIEL", "value": "159637" } - ], - "answers": [ - { - "concept": "04f6f7e0-e3cb-4e13-a133-4479f759574e", - "label": "Emergency" - }, - { - "concept": "78063dec-b6d8-40c1-9483-dd4d3c3ca434", - "label": "Priority" - }, - { - "concept": "617fbfdc-31b5-414c-8964-8cb148cab662", - "label": "Queue" - } ] }, "validators": []