From 4b96b0fe6f61cde0a7bb6b1615fa1a99ca5b6910 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Mon, 21 Oct 2024 10:30:41 +0300 Subject: [PATCH 01/17] add missing forms --- .../Consultation pr\303\251natale.json" | 516 ++++++++++++++++++ .../D\303\251part non autoris\303\251.json" | 54 ++ .../Echographie gyn\303\251cologique.json" | 35 ++ .../Echographie obst\303\251tricale 1.json" | 286 ++++++++++ .../Echographie obst\303\251tricale 2.json" | 366 +++++++++++++ .../Echographie obst\303\251tricale 3.json" | 262 +++++++++ .../ampathforms/Vaccinations.json | 105 ++++ 7 files changed, 1624 insertions(+) create mode 100644 "configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" create mode 100644 "configs/openmrs/initializer_config/ampathforms/D\303\251part non autoris\303\251.json" create mode 100644 "configs/openmrs/initializer_config/ampathforms/Echographie gyn\303\251cologique.json" create mode 100644 "configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" create mode 100644 "configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" create mode 100644 "configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" create mode 100644 configs/openmrs/initializer_config/ampathforms/Vaccinations.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" "b/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" new file mode 100644 index 0000000..d8e7042 --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" @@ -0,0 +1,516 @@ +{ + "name": "Consultation prénatale", + "pages": [ + { + "label": "Consultation prénatale", + "sections": [ + { + "label": "Consultation prénatale", + "isExpanded": "true", + "questions": [ + { + "label": "Visit number", + "type": "obs", + "required": false, + "id": "visitNumber", + "questionOptions": { + "rendering": "radio", + "concept": "c4b48a7a-7c13-4e7d-89ad-1df68c5c6802", + "answers": [ + { + "concept": "3098581b-4ce3-4064-8e87-facb1d7a5ff5", + "label": "Five plus" + }, + { + "concept": "d29d0005-5e23-48cd-86ac-1ff9cd36dd13", + "label": "Four" + }, + { + "concept": "929e9a36-fdfa-42a3-a416-64be037c3155", + "label": "One" + }, + { + "concept": "877b6c50-7960-4be6-862f-c9ffd2f65afb", + "label": "Three" + }, + { + "concept": "a82e292b-7bd3-4bf1-b6d8-d89c8b8cabff", + "label": "Two" + } + ] + }, + "validators": [] + }, + { + "label": "Total Number of Pregnancies (Gravidity)", + "type": "obs", + "required": false, + "id": "totalNumberOfPregnancies(Gravidity)", + "questionOptions": { + "rendering": "number", + "concept": "5bab781c-96be-4c32-b75b-d7906ddff555", + "disallowDecimals": true + }, + "validators": [], + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "questionInfo": "Number of times the woman has been pregnant including current pregnancy if applicable" + }, + { + "label": "Number of Term Pregnancies", + "type": "obs", + "required": false, + "id": "numberOfTermPregnancies", + "questionOptions": { + "rendering": "number", + "concept": "b346c76b-56ba-4c27-97cc-f7b0f85bf581", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "160080" + } + ], + "disallowDecimals": true + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "validators": [] + }, + { + "label": "Number of live births", + "type": "obs", + "required": false, + "id": "numberOfLiveBirths", + "questionOptions": { + "rendering": "number", + "concept": "1b6a7d76-755c-4db9-8f05-42fe28fc3175", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "160601" + } + ], + "disallowDecimals": true + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "validators": [] + }, + { + "label": "Number of living children", + "type": "obs", + "required": false, + "id": "numberOfLivingChildren", + "questionOptions": { + "rendering": "number", + "concept": "3b7d4768-8fc6-4a2d-9a83-05bd288b7108", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1825" + } + ], + "disallowDecimals": true + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "validators": [] + }, + { + "label": "Number of abortions", + "type": "obs", + "required": false, + "id": "numberOfAbortions", + "questionOptions": { + "rendering": "number", + "concept": "88e9ef3b-651f-47ea-89c5-5f751cee165b", + "disallowDecimals": true + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "validators": [] + }, + { + "label": "Birth outcome during the last pregnancy", + "type": "obs", + "required": false, + "id": "birthOutcomeDuringTheLastPregnancy", + "questionOptions": { + "rendering": "radio", + "concept": "2a07d3b8-c3d5-4fae-ac89-e0a1dfdd9915", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "161033" + } + ], + "answers": [ + { + "concept": "90950144-af82-460d-9393-e5e412445075", + "label": "No workbirth (Abortion)" + }, + { + "concept": "5066f452-5d8b-4e04-b815-0c212929e47e", + "label": "Cesarean" + }, + { + "concept": "dfb79477-ab61-47c4-b308-e1ab09757c18", + "label": "Vaginal delivery" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "validators": [] + }, + { + "label": "Place of delivery of the last pregnancy", + "type": "obsGroup", + "required": false, + "id": "placeOfDeliveryOfTheLastPregnancyGroup", + "questionOptions": { + "rendering": "group" + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "questions": [ + { + "label": "Place of delivery of the last pregnancy", + "type": "obs", + "required": false, + "id": "placeOfDeliveryOfTheLastPregnancy", + "questionOptions": { + "rendering": "select", + "concept": "023e0a9e-cf47-4a4d-9cf4-b2edfbe7fc33", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1572" + } + ], + "answers": [ + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "4b9b9184-6aa8-4875-ab10-f22092a0075b", + "label": "Hopital St Jean Limbe" + }, + { + "concept": "696114ce-8c7b-4018-a8d5-ee2e65d323d3", + "label": "Hopital Sacré Coeur Milot" + }, + { + "concept": "b0b1c920-02ba-47e7-93e5-9922e888aac0", + "label": "Hopital Justinien Cap Haitien" + }, + { + "concept": "50f4de56-b5b6-4939-aa73-7d7f5a5f8961", + "label": "Hopital HBCH" + }, + { + "concept": "df9cc02b-b427-4262-b30a-7b973aef23fc", + "label": "Home" + }, + { + "concept": "1ff3db17-7a6f-40bf-8062-a912773e905c", + "label": "Hopital Bon Samaritain Limbe" + }, + { + "concept": "1c61317b-f7cf-4709-829c-76abb6f6501b", + "label": "Hopital de Borgne" + }, + { + "concept": "57195bab-5935-4da4-b5de-e9ee1dba162e", + "label": "Hopital de Pignon" + }, + { + "concept": "6d1450bb-0109-456b-82f9-e495bcb5c959", + "label": "Hopital de Trou du Nord" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "validators": [] + } + ] + }, + { + "label": "Date of most recent pregnancy delivery", + "type": "obs", + "required": false, + "id": "dateOfMostRecentPregnancyDelivery", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "50a37eff-81a3-4cef-a19c-1f85d4e690d6", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1596" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "validators": [] + }, + { + "label": "Previous Delivery Complications", + "type": "obs", + "required": false, + "id": "previousDeliveryComplications", + "questionOptions": { + "rendering": "radio", + "concept": "e3892a91-1428-4816-8e83-834dcd738723", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "validators": [] + }, + { + "label": "Date of last period", + "type": "obs", + "required": false, + "id": "dateOfLastPeriod", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "6ed50023-d807-492f-a203-8ce87a942a52", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1427" + } + ] + }, + "validators": [] + }, + { + "label": "Estimated date of delivery", + "type": "obs", + "required": false, + "id": "estimatedDateOfDelivery", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "6422a83f-acc6-4953-8239-f18a0b6d90a4", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5596" + } + ] + }, + "validators": [] + }, + { + "label": "Estimated Gestational Age", + "type": "obsGroup", + "required": false, + "id": "estimatedGestationalAge", + "questionOptions": { + "rendering": "group", + "concept": "9e071d37-ee01-4785-a756-7e4059ffe736" + }, + "validators": [], + "questions": [ + { + "label": "Risky Pregnancy", + "type": "obs", + "questionOptions": { + "rendering": "radio", + "concept": "d291cf12-a568-4eec-9f86-9ef55333c3b2" + }, + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ], + "id": "riskyPregnancy" + } + ] + }, + { + "label": "Signs and Symptoms", + "type": "obsGroup", + "required": false, + "id": "signsAndSymptoms", + "questionOptions": { + "concept": "f7312165-7e96-4761-b4cf-d601a1a18f9c", + "rendering": "repeating" + }, + "questions": [ + { + "label": "Fundal height (cm)", + "type": "obs", + "required": false, + "id": "fundalHeight(Cm)", + "questionOptions": { + "rendering": "number", + "concept": "f857c495-98d2-4097-9018-d6641a8304a5", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1439" + } + ] + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Fetus Details", + "type": "obsGroup", + "required": false, + "id": "fetusDetails", + "questionOptions": { + "concept": "e8468864-09e2-454b-b984-94a3c0ff7727", + "rendering": "group" + }, + "questions": [ + { + "label": "Fetal Heart Rate (beats/min)", + "type": "obs", + "required": false, + "id": "fetalHeartRate(Beats/Min)", + "questionOptions": { + "rendering": "number", + "min": "120", + "max": "160", + "concept": "7ce5a9fe-d9e0-427e-a080-ce8a9c673822", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1440" + } + ], + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Presentation", + "type": "obs", + "required": false, + "id": "presentation", + "questionOptions": { + "rendering": "radio", + "concept": "d47e2e11-355e-4c62-86a7-8ebe45fb4292", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "160090" + } + ], + "answers": [ + { + "concept": "cbafba29-b62a-4675-910a-a6bb161de256", + "label": "Variable" + }, + { + "concept": "5bb2ea3b-a736-4533-bd5e-a1e9d835f721", + "label": "Transverse" + }, + { + "concept": "c4526510-3f10-11e4-adec-0800271c1b75", + "label": "Cephalic" + }, + { + "concept": "a0dc5727-c33e-479b-b70e-fb0eb7e45853", + "label": "Breech" + } + ] + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Physical examination notes", + "type": "obs", + "required": false, + "id": "physicalExaminationNotes", + "questionOptions": { + "rendering": "textarea", + "concept": "6d1b036f-829e-1c52-a74c-a8ec6d2f2d15" + }, + "validators": [] + }, + { + "label": "Childbirth Plan", + "type": "obs", + "required": false, + "id": "childbirthPlan", + "questionOptions": { + "rendering": "radio", + "concept": "0ae11d29-2ba0-4bae-a2fe-47603a82df3d", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "e3d5ba62-a432-4e7b-bab1-5ac29d41cf14", + "description": "Consultation prénatale", + "version": "1" +} diff --git "a/configs/openmrs/initializer_config/ampathforms/D\303\251part non autoris\303\251.json" "b/configs/openmrs/initializer_config/ampathforms/D\303\251part non autoris\303\251.json" new file mode 100644 index 0000000..043a4d9 --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/D\303\251part non autoris\303\251.json" @@ -0,0 +1,54 @@ +{ + "name": "Départ non autorisé", + "pages": [ + { + "label": "Départ non autorisé", + "sections": [ + { + "label": "Départ non autorisé", + "isExpanded": "true", + "questions": [ + { + "label": "Left without permission", + "type": "obs", + "required": false, + "id": "leftWithoutPermission", + "questionOptions": { + "rendering": "radio", + "concept": "2ffc2e24-fa5c-4cb1-9366-8faec8225ee6", + "answers": [ + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "Yes" + }, + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Comments", + "type": "obs", + "required": false, + "id": "comments", + "questionOptions": { + "rendering": "textarea", + "concept": "16430ab8-5e6d-4031-a622-815fd0c9e41a" + }, + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "2567021e-1666-4ffa-9504-9e66da01c31a", + "description": "Départ non autorisé", + "version": "1" +} \ No newline at end of file diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie gyn\303\251cologique.json" "b/configs/openmrs/initializer_config/ampathforms/Echographie gyn\303\251cologique.json" new file mode 100644 index 0000000..0258a3c --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Echographie gyn\303\251cologique.json" @@ -0,0 +1,35 @@ +{ + "name": "Echographie gynécologique", + "pages": [ + { + "label": "Echographie gynécologique", + "sections": [ + { + "label": "Echographie gynécologique", + "isExpanded": "true", + "questions": [ + { + "label": "Observations", + "type": "obs", + "required": false, + "id": "observations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounter": "Consultation", + "referencedForms": [], + "uuid": "d1f43dba-e483-4ded-aedf-40f84de577a2", + "description": "Echographie gynécologique", + "version": "1", + "published": true, + "retired": false +} \ No newline at end of file diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" new file mode 100644 index 0000000..a14e6f5 --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" @@ -0,0 +1,286 @@ +{ + "name": "Echographie obstétricale 1", + "pages": [ + { + "label": "Echographie obstétricale 1", + "sections": [ + { + "label": "Echographie obstétricale 1", + "isExpanded": "true", + "questions": [ + { + "label": "Confirmed Pregnancy", + "type": "obs", + "required": false, + "id": "confirmedPregnancy", + "questionOptions": { + "rendering": "radio", + "concept": "89e9cd9c-be64-491a-a96c-1201f4a74b0b", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "152305" + } + ], + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Confirmed Gestational Age", + "type": "obsGroup", + "required": false, + "id": "confirmedGestationalAge", + "questionOptions": { + "rendering": "group", + "concept": "31759f43-b3a4-4d9c-ba79-6e6baf2d5bdc" + }, + "questions": [ + { + "label": "Number of Weeks", + "type": "obs", + "required": false, + "id": "numberOfWeeks", + "questionOptions": { + "rendering": "number", + "concept": "73099ba8-73c7-4427-a973-76fc1e4d4120", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Number of Days", + "type": "obs", + "required": false, + "id": "numberOfDays", + "questionOptions": { + "rendering": "number", + "concept": "f887f487-58a2-4429-944c-c2134ea658de", + "disallowDecimals": true + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Location of pregnancy", + "type": "obs", + "required": false, + "id": "locationOfPregnancy", + "questionOptions": { + "rendering": "radio", + "concept": "309fba9e-7936-42e6-a7b6-d05830f5a432", + "answers": [ + { + "concept": "0c7dc1a3-e7de-40c0-8b75-5c8c3c513d57", + "label": "Abdominal Pregnancy" + }, + { + "concept": "b4b1d099-1932-4eda-bc72-7ba69b471b3a", + "label": "Intrauterine Pregnancy" + }, + { + "concept": "a999e659-d882-425e-b3db-a2d039d15ac6", + "label": "Other Ectopic Pregnancy" + }, + { + "concept": "7fc52ed8-8397-4016-be5a-b4686ef8fa7e", + "label": "Ovarian Pregnancy" + }, + { + "concept": "c9662450-d9f4-43c6-90d5-6172ec709283", + "label": "Tubal Pregnancy" + } + ] + }, + "validators": [] + }, + { + "label": "Estimated date of delivery", + "type": "obs", + "required": false, + "id": "estimatedDateOfDelivery", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "6422a83f-acc6-4953-8239-f18a0b6d90a4", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5596" + } + ] + }, + "validators": [] + }, + { + "label": "Number of Fetuses", + "type": "obs", + "required": false, + "id": "numberOfFetuses", + "questionOptions": { + "rendering": "number", + "concept": "a7ad184c-b79a-476d-9ba2-ef980375da28", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "165387" + } + ], + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Number of Placenta", + "type": "obs", + "required": false, + "id": "numberOfPlacenta", + "questionOptions": { + "rendering": "number", + "concept": "c1e61ae3-4de8-4fe1-9b7a-8c1ae56d1631", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Fetus Details", + "type": "obsGroup", + "required": false, + "id": "fetusDetails", + "questionOptions": { + "rendering": "repeating", + "concept": "ee66049d-8028-4f93-869d-8edcebd5d2e6" + }, + "questions": [ + { + "label": "Location of Placenta", + "type": "obs", + "required": false, + "id": "locationOfPlacenta", + "questionOptions": { + "rendering": "radio", + "concept": "f4d664f4-e6e5-47f7-8781-2255ebfacc97", + "answers": [ + { + "concept": "ca69545b-dfef-4210-b311-dc8a1d309311", + "label": "Anterior" + }, + { + "concept": "f5c721f6-7162-4533-9a83-4a4cd6997cb8", + "label": "Lateral" + }, + { + "concept": "1f82cf3c-ce84-4c98-a35a-c37c45edc5fc", + "label": "Posterior" + }, + { + "concept": "cc4c6921-1d06-48f7-a7d8-a0c6664b515e", + "label": "Praevia" + } + ] + }, + "validators": [] + }, + { + "label": "Fetal Heart Rate (beats/min)", + "type": "obs", + "required": false, + "id": "fetalHeartRate", + "questionOptions": { + "rendering": "number", + "min": "120", + "max": "160", + "concept": "7ce5a9fe-d9e0-427e-a080-ce8a9c673822", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1440" + } + ], + "disallowDecimals": true + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Risky Pregnancy", + "type": "obs", + "required": false, + "id": "riskyPregnancy", + "questionOptions": { + "rendering": "radio", + "concept": "d291cf12-a568-4eec-9f86-9ef55333c3b2", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Identified complications", + "type": "obs", + "required": false, + "id": "identifiedComplications", + "questionOptions": { + "rendering": "radio", + "concept": "6a228d2d-87ca-4d84-a774-ebc0e26b55c9", + "answers": [ + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + }, + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "89111520-a926-47c1-a4fb-82c70fd68cb1", + "description": "Echographie obstétricale 1", + "version": "1" +} \ No newline at end of file diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" new file mode 100644 index 0000000..897c266 --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" @@ -0,0 +1,366 @@ +{ + "name": "Echographie obstétricale 2", + "pages": [ + { + "label": "Echographie obstétricale 2", + "sections": [ + { + "label": "Echographie obstétricale 2", + "isExpanded": "true", + "questions": [ + { + "label": "Number of Fetuses", + "type": "obs", + "required": false, + "id": "numberOfFetuses", + "questionOptions": { + "rendering": "number", + "concept": "a7ad184c-b79a-476d-9ba2-ef980375da28", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "165387" + } + ], + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Number of Placenta", + "type": "obs", + "required": false, + "id": "numberOfPlacenta", + "questionOptions": { + "rendering": "number", + "concept": "c1e61ae3-4de8-4fe1-9b7a-8c1ae56d1631", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Fetus Details", + "type": "obsGroup", + "required": false, + "id": "fetusDetails", + "questionOptions": { + "rendering": "repeating", + "concept": "2324f25a-6634-4168-99a6-02c300132c3f" + }, + "questions": [ + { + "label": "Location of Placenta", + "type": "obs", + "required": false, + "id": "locationOfPlacenta", + "questionOptions": { + "rendering": "radio", + "concept": "f4d664f4-e6e5-47f7-8781-2255ebfacc97", + "answers": [ + { + "concept": "ca69545b-dfef-4210-b311-dc8a1d309311", + "label": "Anterior" + }, + { + "concept": "1f82cf3c-ce84-4c98-a35a-c37c45edc5fc", + "label": "Posterior" + }, + { + "concept": "f5c721f6-7162-4533-9a83-4a4cd6997cb8", + "label": "Lateral" + }, + { + "concept": "cc4c6921-1d06-48f7-a7d8-a0c6664b515e", + "label": "Praevia" + } + ] + }, + "validators": [] + }, + { + "label": "Fetal Heart Rate (beats/min)", + "type": "obs", + "required": false, + "id": "fetalHeartRate", + "questionOptions": { + "rendering": "number", + "min": "120", + "max": "160", + "concept": "7ce5a9fe-d9e0-427e-a080-ce8a9c673822", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1440" + } + ], + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Presentation", + "type": "obs", + "required": false, + "id": "presentation", + "questionOptions": { + "rendering": "radio", + "concept": "d47e2e11-355e-4c62-86a7-8ebe45fb4292", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "160090" + } + ], + "answers": [ + { + "concept": "c4526510-3f10-11e4-adec-0800271c1b75", + "label": "Cephalic" + }, + { + "concept": "a0dc5727-c33e-479b-b70e-fb0eb7e45853", + "label": "Breech" + }, + { + "concept": "5bb2ea3b-a736-4533-bd5e-a1e9d835f721", + "label": "Transverse" + }, + { + "concept": "cbafba29-b62a-4675-910a-a6bb161de256", + "label": "Variable" + } + ] + }, + "validators": [] + }, + { + "label": "Arms", + "type": "obs", + "required": false, + "id": "arms", + "questionOptions": { + "rendering": "radio", + "concept": "19aa76a5-7b92-47f9-91c1-581b20e9c2a0", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + }, + { + "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", + "label": "Not Seen" + } + ] + }, + "validators": [] + }, + { + "label": "Legs", + "type": "obs", + "required": false, + "id": "legs", + "questionOptions": { + "rendering": "radio", + "concept": "bdd6b795-8283-4c87-b3d4-4c7b74110e93", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + }, + { + "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", + "label": "Not Seen" + } + ] + }, + "validators": [] + }, + { + "label": "Brain", + "type": "obs", + "required": false, + "id": "brain", + "questionOptions": { + "rendering": "radio", + "concept": "8a0fcd33-1cf3-4136-9173-c8874104ae06", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + }, + { + "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", + "label": "Not Seen" + } + ] + }, + "validators": [] + }, + { + "label": "Heart", + "type": "obs", + "required": false, + "id": "heart", + "questionOptions": { + "rendering": "radio", + "concept": "24b631fa-3c4a-4e3b-bacf-c3c5d0405cc9", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + }, + { + "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", + "label": "Not Seen" + } + ] + }, + "validators": [] + }, + { + "label": "Lungs", + "type": "obs", + "required": false, + "id": "lungs", + "questionOptions": { + "rendering": "radio", + "concept": "8b1ce3d9-3841-427d-ab49-b92a28a6416e", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + }, + { + "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", + "label": "Not Seen" + } + ] + }, + "validators": [] + }, + { + "label": "Kidneys", + "type": "obs", + "required": false, + "id": "kidneys", + "questionOptions": { + "rendering": "radio", + "concept": "dc5154f9-30ba-4018-84b0-01306c2244f8", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + }, + { + "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", + "label": "Not Seen" + } + ] + }, + "validators": [] + }, + { + "label": "Genitals", + "type": "obs", + "required": false, + "id": "genitals", + "questionOptions": { + "rendering": "radio", + "concept": "9f0d5af7-bd0a-41b7-8281-e42dfe0d4248", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + }, + { + "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", + "label": "Not Seen" + } + ] + }, + "validators": [] + }, + { + "label": "Fetal Sex", + "type": "obs", + "required": false, + "id": "fetalSex", + "questionOptions": { + "rendering": "radio", + "concept": "730d5952-7f8a-41b7-add5-3b470335aea4", + "answers": [ + { + "concept": "48be742e-e22e-4bd9-bb2b-0d4840c60aeb", + "label": "Boy" + }, + { + "concept": "7adb833e-9e48-4b76-aa8f-24daa3acb810", + "label": "Girl" + }, + { + "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", + "label": "Not Seen" + } + ] + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounter": "Consultation", + "referencedForms": [], + "uuid": "9ddbe11e-b6ac-4788-a146-ef258853e129", + "description": "Echographie obstétricale 2", + "version": "1", + "published": true, + "retired": false, + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591" +} \ No newline at end of file diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" new file mode 100644 index 0000000..0d2209f --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" @@ -0,0 +1,262 @@ +{ + "name": "Echographie obstétricale 3", + "pages": [ + { + "label": "Echographie obstétricale 3", + "sections": [ + { + "label": "Echographie obstétricale 3", + "isExpanded": "true", + "questions": [ + { + "label": "Number of Fetuses", + "type": "obs", + "required": false, + "id": "numberOfFetuses", + "questionOptions": { + "rendering": "number", + "concept": "a7ad184c-b79a-476d-9ba2-ef980375da28", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "165387" + } + ], + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Number of Placenta", + "type": "obs", + "required": false, + "id": "numberOfPlacenta", + "questionOptions": { + "rendering": "number", + "concept": "c1e61ae3-4de8-4fe1-9b7a-8c1ae56d1631", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Fetus Details", + "type": "obsGroup", + "required": false, + "id": "fetusDetails", + "questionOptions": { + "rendering": "repeating", + "concept": "ee66049d-8028-4f93-869d-8edcebd5d2e6" + }, + "questions": [ + { + "label": "Location of Placenta", + "type": "obs", + "required": false, + "id": "locationOfPlacenta", + "questionOptions": { + "rendering": "radio", + "concept": "f4d664f4-e6e5-47f7-8781-2255ebfacc97", + "answers": [ + { + "concept": "ca69545b-dfef-4210-b311-dc8a1d309311", + "label": "Anterior" + }, + { + "concept": "f5c721f6-7162-4533-9a83-4a4cd6997cb8", + "label": "Lateral" + }, + { + "concept": "1f82cf3c-ce84-4c98-a35a-c37c45edc5fc", + "label": "Posterior" + }, + { + "concept": "cc4c6921-1d06-48f7-a7d8-a0c6664b515e", + "label": "Praevia" + } + ] + }, + "validators": [] + }, + { + "label": "Fetal Heart Rate (beats/min)", + "type": "obs", + "required": false, + "id": "fetalHeartRate", + "questionOptions": { + "rendering": "number", + "min": "120", + "max": "160", + "concept": "7ce5a9fe-d9e0-427e-a080-ce8a9c673822", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1440" + } + ], + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Presentation", + "type": "obs", + "required": false, + "id": "presentation", + "questionOptions": { + "rendering": "radio", + "concept": "d47e2e11-355e-4c62-86a7-8ebe45fb4292", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "160090" + } + ], + "answers": [ + { + "concept": "c4526510-3f10-11e4-adec-0800271c1b75", + "label": "Cephalic" + }, + { + "concept": "a0dc5727-c33e-479b-b70e-fb0eb7e45853", + "label": "Breech" + }, + { + "concept": "5bb2ea3b-a736-4533-bd5e-a1e9d835f721", + "label": "Transverse" + }, + { + "concept": "cbafba29-b62a-4675-910a-a6bb161de256", + "label": "Variable" + } + ] + }, + "validators": [] + }, + { + "label": "Biparietal diameter (cm)", + "type": "obs", + "required": false, + "id": "biparietalDiameter", + "questionOptions": { + "rendering": "number", + "concept": "f19b4e41-e18e-4e17-a7ff-48a33315d504" + }, + "validators": [] + }, + { + "label": "Occ-frontal diameter (cm)", + "type": "obs", + "required": false, + "id": "occ-FrontalDiameter", + "questionOptions": { + "rendering": "number", + "concept": "b0277458-f1c8-43d7-a18a-996a9f183b65" + }, + "validators": [] + }, + { + "label": "Cranial circumference (cm)", + "type": "obs", + "required": false, + "id": "cranialCircumference", + "questionOptions": { + "rendering": "number", + "concept": "96548d58-2335-4f6e-ae8b-c77fd8c6d051" + }, + "validators": [] + }, + { + "label": "Femur length (cm)", + "type": "obs", + "required": false, + "id": "femurLength", + "questionOptions": { + "rendering": "number", + "concept": "1391f581-6ff8-463d-95f3-cd23af17e65e" + }, + "validators": [] + }, + { + "label": "Humerus length (cm)", + "type": "obs", + "required": false, + "id": "humerusLength", + "questionOptions": { + "rendering": "number", + "concept": "fe37fd4a-31f1-48a7-adc4-e7833a7c6859" + }, + "validators": [] + }, + { + "label": "Abdominal circumference (cm)", + "type": "obs", + "required": false, + "id": "abdominalCircumference", + "questionOptions": { + "rendering": "number", + "concept": "dd7a5da2-ce47-4eae-8e26-3317fc53f4da" + }, + "validators": [] + }, + { + "label": "Estimated fetal weight (g)", + "type": "obs", + "required": false, + "id": "estimatedFetalWeight", + "questionOptions": { + "rendering": "number", + "concept": "c96709f0-f446-4081-98b1-494b562dd7b4" + }, + "validators": [] + }, + { + "label": "Weight Percentile", + "type": "obs", + "required": false, + "id": "weightPercentile", + "questionOptions": { + "rendering": "number", + "concept": "5c75e55f-845c-4df6-a6da-b45475a4a215", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "159428" + } + ], + "disallowDecimals": true + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounter": "Consultation", + "referencedForms": [], + "uuid": "acad07d9-945f-415d-a5b0-5cc1dc701115", + "description": "Echographie obstétricale 3", + "version": "1", + "published": true, + "retired": false, + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591" +} \ No newline at end of file diff --git a/configs/openmrs/initializer_config/ampathforms/Vaccinations.json b/configs/openmrs/initializer_config/ampathforms/Vaccinations.json new file mode 100644 index 0000000..1c58585 --- /dev/null +++ b/configs/openmrs/initializer_config/ampathforms/Vaccinations.json @@ -0,0 +1,105 @@ +{ + "name": "Vaccinations", + "pages": [ + { + "label": "Vaccination History", + "sections": [ + { + "label": "Vaccination History", + "isExpanded": "true", + "questions": [ + { + "label": "Vaccinations", + "type": "obs", + "required": true, + "id": "vaccinations", + "questionOptions": { + "rendering": "select", + "concept": "3c25e650-ccfa-48da-b276-a7872796b113", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "984" + } + ], + "answers": [ + { + "concept": "9199a4c6-b15f-482c-aa0e-c839bd0cf535", + "label": "BCG Vaccination" + }, + { + "concept": "8fdcd0a6-8bcf-4fad-b780-994bdeabaa9c", + "label": "Covid 19 Vaccination" + }, + { + "concept": "4a561f0d-d898-42ef-ac20-c3f48382604f", + "label": "Diphtheria Tetanus acellular Pertusis Vaccination" + }, + { + "concept": "9f24e11b-24e7-4a44-917b-645a461defc3", + "label": "Diphtheria Tetanus Pertusis Vaccination" + }, + { + "concept": "a5bda1d3-281e-4421-bd73-6d649381a9a5", + "label": "Oral Polio Vaccination" + }, + { + "concept": "5358e6bf-dcef-46aa-a6af-9d5be7f74d0f", + "label": "Typhim Vi Vaccination" + }, + { + "concept": "5ba4e40a-28f9-4c21-b589-add0c9cdec78", + "label": "Rotavirus Vaccination" + }, + { + "concept": "5d7c570a-f1f8-4e80-8804-e8d8e94ebd80", + "label": "Polio Vaccine-Inactivated Vaccination" + }, + { + "concept": "67b20a95-eaa4-4a54-ba8c-2e3c8aa2f327", + "label": "Pneumococcal Vaccination" + }, + { + "concept": "ed8d4bd9-9834-49f7-8700-8b384e5fa307", + "label": "Pneumococcal Polysaccharide Vaccination" + }, + { + "concept": "19e9c51d-e0de-4b2c-8eb0-598dbd11187c", + "label": "Pentavalent Vaccination" + } + ] + }, + "validators": [] + }, + { + "label": "Sequence number", + "type": "obs", + "required": false, + "id": "sequenceNumber", + "questionOptions": { + "rendering": "number", + "concept": "1f4109b3-b201-46df-a341-dcfa5299a187", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1418" + } + ], + "disallowDecimals": true + }, + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "c37025cf-13b7-4b99-9356-40e2b7a9e8c6", + "description": "Vaccinations", + "version": "1.0" +} \ No newline at end of file From 753933fb7c94ed134eb22bf1437efac58ebbaf01 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Mon, 21 Oct 2024 10:31:36 +0300 Subject: [PATCH 02/17] ignore ide vsc.xml --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 203b355..ad8e7f3 100644 --- a/.gitignore +++ b/.gitignore @@ -168,6 +168,7 @@ fabric.properties .idea/**/markdown-navigator.xml .idea/**/markdown-navigator-enh.xml .idea/**/markdown-navigator/ +.idea/vcs.xml # Cache file creation bug # See https://youtrack.jetbrains.com/issue/JBR-2257 From b84621792bc8cd9ec3d084e04220a39c72b82790 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 23 Oct 2024 16:12:54 +0300 Subject: [PATCH 03/17] add all fields --- .../Consultation pr\303\251natale.json" | 380 +++++++++++++++++- 1 file changed, 359 insertions(+), 21 deletions(-) diff --git "a/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" "b/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" index d8e7042..a3170ff 100644 --- "a/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" +++ "b/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" @@ -179,7 +179,8 @@ "required": false, "id": "placeOfDeliveryOfTheLastPregnancyGroup", "questionOptions": { - "rendering": "group" + "rendering": "group", + "concept": "05306cba-374b-40e8-ac40-4e8a510add61" }, "hide": { "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" @@ -247,6 +248,20 @@ "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" }, "validators": [] + }, + { + "label": "Other Health Centre", + "type": "obs", + "required": false, + "id": "otherHealthCentre", + "questionOptions": { + "rendering": "textarea", + "concept": "ebf58d81-6ca4-4f2b-9287-cffa5cb67441" + }, + "hide": { + "hideWhenExpression": "isEmpty(placeOfDeliveryOfTheLastPregnancy) || placeOfDeliveryOfTheLastPregnancy !== '26c0366b-83e4-4401-9699-e545219b8870'" + }, + "validators": [] } ] }, @@ -296,6 +311,20 @@ }, "validators": [] }, + { + "label": "Previous Delivery Complications Details", + "type": "obs", + "required": false, + "id": "previousDeliveryComplicationsDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "402bba9c-ee24-45ac-947b-c574157e397d" + }, + "hide": { + "hideWhenExpression": "isEmpty(previousDeliveryComplications) || previousDeliveryComplications !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, { "label": "Date of last period", "type": "obs", @@ -346,49 +375,243 @@ "validators": [], "questions": [ { - "label": "Risky Pregnancy", + "label": "Number of Weeks", "type": "obs", + "required": false, + "id": "numberOfWeeks", "questionOptions": { - "rendering": "radio", - "concept": "d291cf12-a568-4eec-9f86-9ef55333c3b2" + "rendering": "number", + "concept": "73099ba8-73c7-4427-a973-76fc1e4d4120", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Number of Days", + "type": "obs", + "required": false, + "id": "numberOfDays", + "questionOptions": { + "rendering": "number", + "concept": "f887f487-58a2-4429-944c-c2134ea658de", + "disallowDecimals": true }, - "answers": [ - { - "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", - "label": "Yes" - }, - { - "concept": "2120763c-6c49-4133-b532-1e931ab4858a", - "label": "No" - } - ], - "id": "riskyPregnancy" + "validators": [] } ] }, + { + "label": "Risky Pregnancy", + "type": "obs", + "required": false, + "id": "riskyPregnancy", + "questionOptions": { + "rendering": "radio", + "concept": "d291cf12-a568-4eec-9f86-9ef55333c3b2", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Pregnancy Risks", + "type": "obsGroup", + "required": false, + "id": "pregnancyRisksGroup", + "questionOptions": { + "rendering": "repeating", + "concept": "b35ad290-0d8f-4821-91fe-70b8411ce110" + }, + "hide": { + "hideWhenExpression": "isEmpty(riskyPregnancy) || riskyPregnancy !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "questions": [ + { + "label": "Pregnancy Risks", + "type": "obs", + "required": false, + "id": "pregnancyRisks", + "questionOptions": { + "rendering": "select", + "concept": "b35ad290-0d8f-4821-91fe-70b8411ce110", + "answers": [ + { + "concept": "edf4ecc4-44f6-457a-b561-179f4426b16a", + "label": "Diabetes (E14.9)" + }, + { + "concept": "138405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Human immunodeficiency virus (HIV) disease (B24)" + }, + { + "concept": "3cd50188-26fe-102b-80cb-0017a47871b2", + "label": "Hypertension (I10)" + }, + { + "concept": "3cccb654-26fe-102b-80cb-0017a47871b2", + "label": "Malnutrition (E46)" + }, + { + "concept": "50e4eb00-968a-456f-824b-cbe320064dcf", + "label": "Mother younger than 18 or older than 36 years" + }, + { + "concept": "115491AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Multiple gestation (O30.9)" + }, + { + "concept": "115115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Obesity (E66.9)" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "3cceae50-26fe-102b-80cb-0017a47871b2", + "label": "Syphilis (A53.9)" + } + ] + }, + "validators": [] + }, + { + "label": "Other Pregnancy Risks", + "type": "obs", + "required": false, + "id": "otherPregnancyRisks", + "questionOptions": { + "rendering": "textarea", + "concept": "ee39e8af-12e8-41ae-a1f9-b08acea07587" + }, + "hide": { + "hideWhenExpression": "isEmpty(pregnancyRisks) || pregnancyRisks !== '26c0366b-83e4-4401-9699-e545219b8870'" + }, + "validators": [] + } + ], + "validators": [] + }, { "label": "Signs and Symptoms", "type": "obsGroup", "required": false, - "id": "signsAndSymptoms", + "id": "signsAndSymptomsGroup", "questionOptions": { "concept": "f7312165-7e96-4761-b4cf-d601a1a18f9c", "rendering": "repeating" }, "questions": [ { - "label": "Fundal height (cm)", + "label": "Signs and Symptoms", "type": "obs", "required": false, - "id": "fundalHeight(Cm)", + "id": "signsAndSymptoms", "questionOptions": { - "rendering": "number", - "concept": "f857c495-98d2-4097-9018-d6641a8304a5", + "rendering": "select", + "concept": "f7312165-7e96-4761-b4cf-d601a1a18f9c", "conceptMappings": [ { "relationship": "SAME-AS", "type": "CIEL", - "value": "1439" + "value": "1727" + } + ], + "answers": [ + { + "concept": "7f703275-777c-4237-9d07-36c99ea0966c", + "label": "Abdominal pain" + }, + { + "concept": "6f8988d1-157a-44cc-ac3b-22b627a57db3", + "label": "Fever" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "e90fa130-09cd-4574-936f-91fca52a9324", + "label": "Swollen feet" + }, + { + "concept": "4ba98e11-cb3b-4a22-be4e-bb43f3078683", + "label": "Uterine contractions" + }, + { + "concept": "2c1e2efe-74cb-475d-a922-3785e02e7bd3", + "label": "Vaginal bleeding" + }, + { + "concept": "8d83ff2b-3f6f-432a-b0cd-5b4f2f1055fd", + "label": "Vision problems" + } + ] + }, + "validators": [] + }, + { + "label": "Other Signs and Symptoms", + "type": "obs", + "required": false, + "id": "otherSignsAndSymptoms", + "questionOptions": { + "rendering": "textarea", + "concept": "2f191568-b58f-4542-a69e-441209e88ea7" + }, + "hide": { + "hideWhenExpression": "isEmpty(signsAndSymptoms) || signsAndSymptoms !== '26c0366b-83e4-4401-9699-e545219b8870'" + }, + "validators": [] + }, + { + "label": "Duration", + "type": "obs", + "required": false, + "id": "duration", + "questionOptions": { + "rendering": "number", + "concept": "b0823b2c-4bc8-2a7c-41b5-7bf3c7f14e82", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Time Units", + "type": "obs", + "required": false, + "id": "timeUnits", + "questionOptions": { + "rendering": "radio", + "concept": "373b5749-82ff-a3d8-2e13-db76dd0499b3", + "answers": [ + { + "concept": "327cdb97-571c-2d13-306b-4024fce268cb", + "label": "Day(s)" + }, + { + "concept": "88e474ea-0ba4-11eb-a3aa-0242ac140008", + "label": "Hour(s)" + }, + { + "concept": "88e5cc3c-0ba4-11eb-a3aa-0242ac140008", + "label": "Month(s)" + }, + { + "concept": "88e55059-0ba4-11eb-a3aa-0242ac140008", + "label": "Week(s)" + }, + { + "concept": "a4d0c480-923b-49fe-b125-80453675fdea", + "label": "Year(s)" } ] }, @@ -397,6 +620,24 @@ ], "validators": [] }, + { + "label": "Fundal height (cm)", + "type": "obs", + "required": false, + "id": "fundalHeight(Cm)", + "questionOptions": { + "rendering": "number", + "concept": "f857c495-98d2-4097-9018-d6641a8304a5", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1439" + } + ] + }, + "validators": [] + }, { "label": "Fetus Details", "type": "obsGroup", @@ -463,6 +704,17 @@ ] }, "validators": [] + }, + { + "label": "Position", + "type": "obs", + "required": false, + "id": "position", + "questionOptions": { + "rendering": "textarea", + "concept": "7d6fe9a9-af03-4501-ab55-e6db95540409" + }, + "validators": [] } ], "validators": [] @@ -501,6 +753,92 @@ "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" }, "validators": [] + }, + { + "label": "Planned place of delivery", + "type": "obsGroup", + "required": false, + "id": "plannedPlaceOfDeliveryGroup", + "questionOptions": { + "rendering": "group", + "concept": "657e7263-a3d6-445e-9c24-81e765ea447d" + }, + "hide": { + "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" + }, + "questions": [ + { + "label": "Planned place of delivery", + "type": "obs", + "required": false, + "id": "plannedPlaceOfDelivery", + "questionOptions": { + "rendering": "select", + "concept": "6ef80ed0-2102-45d3-a188-ad57c16263dc", + "answers": [ + { + "concept": "df9cc02b-b427-4262-b30a-7b973aef23fc", + "label": "Home" + }, + { + "concept": "1ff3db17-7a6f-40bf-8062-a912773e905c", + "label": "Hopital Bon Samaritain Limbe" + }, + { + "concept": "1c61317b-f7cf-4709-829c-76abb6f6501b", + "label": "Hopital de Borgne" + }, + { + "concept": "57195bab-5935-4da4-b5de-e9ee1dba162e", + "label": "Hopital de Pignon" + }, + { + "concept": "6d1450bb-0109-456b-82f9-e495bcb5c959", + "label": "Hopital de Trou du Nord" + }, + { + "concept": "4b9b9184-6aa8-4875-ab10-f22092a0075b", + "label": "Hopital St Jean Limbe" + }, + { + "concept": "696114ce-8c7b-4018-a8d5-ee2e65d323d3", + "label": "Hopital Sacré Coeur Milot" + }, + { + "concept": "b0b1c920-02ba-47e7-93e5-9922e888aac0", + "label": "Hopital Justinien Cap Haitien" + }, + { + "concept": "50f4de56-b5b6-4939-aa73-7d7f5a5f8961", + "label": "Hopital HBCH" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(childbirthPlan) || childbirthPlan !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "Other Health Centre", + "type": "obs", + "required": false, + "id": "otherHealthCentre", + "questionOptions": { + "rendering": "textarea", + "concept": "ebf58d81-6ca4-4f2b-9287-cffa5cb67441" + }, + "hide": { + "hideWhenExpression": "isEmpty(plannedPlaceOfDelivery) || plannedPlaceOfDelivery !== '26c0366b-83e4-4401-9699-e545219b8870'" + }, + "validators": [] + } + ], + "validators": [] } ] } From 9b81ad33f3e389671f17af22be7f6f025a1f335d Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 23 Oct 2024 17:40:43 +0300 Subject: [PATCH 04/17] =?UTF-8?q?add=20Examen=20gyn=C3=A9cologique=20form?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Echographie obst\303\251tricale 1.json" | 43 ++- .../Examen gyn\303\251cologique.json" | 332 ++++++++++++++++++ 2 files changed, 371 insertions(+), 4 deletions(-) create mode 100644 "configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" index a14e6f5..53f00cf 100644 --- "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" +++ "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" @@ -240,6 +240,20 @@ }, "validators": [] }, + { + "label": "Other Pregnancy Risks", + "type": "obs", + "required": false, + "id": "otherPregnancyRisks", + "questionOptions": { + "rendering": "textarea", + "concept": "ee39e8af-12e8-41ae-a1f9-b08acea07587" + }, + "hide": { + "hideWhenExpression": "isEmpty(riskyPregnancy) || riskyPregnancy !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, { "label": "Identified complications", "type": "obs", @@ -249,16 +263,37 @@ "rendering": "radio", "concept": "6a228d2d-87ca-4d84-a774-ebc0e26b55c9", "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, { "concept": "2120763c-6c49-4133-b532-1e931ab4858a", "label": "No" - }, + } + ] + }, + "validators": [] + }, + { + "label": "Complications", + "type": "obs", + "required": false, + "id": "complications", + "questionOptions": { + "rendering": "textarea", + "concept": "1fac1715-4e6e-4f87-ad75-d4ecf8bbdbe8", + "conceptMappings": [ { - "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", - "label": "Yes" + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1576" } ] }, + "hide": { + "hideWhenExpression": "isEmpty(identifiedComplications) || identifiedComplications !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, "validators": [] }, { @@ -283,4 +318,4 @@ "uuid": "89111520-a926-47c1-a4fb-82c70fd68cb1", "description": "Echographie obstétricale 1", "version": "1" -} \ No newline at end of file +} diff --git "a/configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" "b/configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" new file mode 100644 index 0000000..07634d8 --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" @@ -0,0 +1,332 @@ +{ + "name": "Examen gynécologique", + "pages": [ + { + "label": "Examen gynécologique", + "sections": [ + { + "label": "Examen gynécologique", + "isExpanded": "true", + "questions": [ + { + "label": "Age at Menarche (Years)", + "type": "obs", + "required": false, + "id": "ageAtMenarche", + "questionOptions": { + "rendering": "number", + "concept": "d5fea038-5a9d-47b1-87d3-8a3b162db2c0", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Date of last period", + "type": "obs", + "required": false, + "id": "dateOfLastPeriod", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "6ed50023-d807-492f-a203-8ce87a942a52", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1427" + } + ] + }, + "validators": [] + }, + { + "label": "Total Number of Pregnancies (Gravidity)", + "type": "obs", + "required": false, + "id": "totalNumberOfPregnancies", + "questionOptions": { + "rendering": "number", + "concept": "5bab781c-96be-4c32-b75b-d7906ddff555", + "disallowDecimals": true + }, + "questionInfo": "Number of times the woman has been pregnant including current pregnancy if applicable", + "validators": [] + }, + { + "label": "Number of abortions", + "type": "obs", + "required": false, + "id": "numberOfAbortions", + "questionOptions": { + "rendering": "number", + "concept": "88e9ef3b-651f-47ea-89c5-5f751cee165b", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Number of Term Pregnancies", + "type": "obs", + "required": false, + "id": "numberOfTermPregnancies", + "questionOptions": { + "rendering": "number", + "concept": "b346c76b-56ba-4c27-97cc-f7b0f85bf581", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "160080" + } + ], + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Gyn complaint Set", + "type": "obsGroup", + "required": false, + "id": "gynComplaintSet", + "questionOptions": { + "rendering": "group", + "concept": "40b7e9a5-e251-4195-bf0f-d6b3ea7d6939" + }, + "questions": [ + { + "label": "Gyn complaint", + "type": "obs", + "required": false, + "id": "gynComplaint", + "questionOptions": { + "rendering": "select", + "concept": "55242d08-d58a-4412-9a3e-ff0c579bee0f", + "answers": [ + { + "concept": "148989AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Amenorrhea (N91.2)" + }, + { + "concept": "cd1d48f8-a791-4ac7-90a4-7336a58da545", + "label": "Breast problems" + }, + { + "concept": "3ccd154a-26fe-102b-80cb-0017a47871b2", + "label": "Dysmenorrhea (N94.6)" + }, + { + "concept": "6d9c595d-215b-4895-83d5-dadcbb2e164b", + "label": "Dyspareunia (N94.1)" + }, + { + "concept": "2e27f30d-33cc-7793-6678-0c420e260ad3", + "label": "Leucorrhea" + }, + { + "concept": "8b24f981-9078-47dc-bcf6-c24358f706c7", + "label": "Menorrhagia (N92.0)" + }, + { + "concept": "157544AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Lower abdominal pain (R10.3)" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "2c1e2efe-74cb-475d-a922-3785e02e7bd3", + "label": "Vaginal bleeding" + }, + { + "concept": "2c4a42db-09f2-4ee8-8b8a-f9f9be169024", + "label": "Vaginal Discharge" + }, + { + "concept": "9b2c628c-175b-1f1e-3381-38fd31147ed5", + "label": "Vaginal itching" + }, + { + "concept": "ba2b3fed-0ec0-0b69-4c2f-a0334be91263", + "label": "Voiding burns" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Contraception History Set", + "type": "obsGroup", + "required": false, + "id": "contraceptionHistorySet", + "questionOptions": { + "rendering": "group", + "concept": "d459bae9-34d8-433b-aabb-f833c941bb05" + }, + "questions": [ + { + "label": "Use of contraception", + "type": "obs", + "required": false, + "id": "useOfContraception", + "questionOptions": { + "rendering": "radio", + "concept": "914b5c0e-77f3-4a6d-b9ec-738df9d7a782", + "answers": [ + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "False" + }, + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "True" + } + ] + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Contraception Set", + "type": "obsGroup", + "required": false, + "id": "contraceptionSet", + "questionOptions": { + "rendering": "group", + "concept": "6c830082-d394-4f29-95ba-37d587016a4d" + }, + "questions": [ + { + "label": "Contraception", + "type": "obs", + "required": false, + "id": "contraception", + "questionOptions": { + "rendering": "select", + "concept": "5b60b970-0df4-4518-9717-a32a9d37798e", + "answers": [ + { + "concept": "f1f57397-ba51-4218-9cae-da74b6b52543", + "label": "Condom (unity)" + }, + { + "concept": "85ceb4d6-585d-48e1-8e46-af7e517b4667", + "label": "Contraceptive Implant" + }, + { + "concept": "ce15c503-9015-4855-b751-c6626f8af279", + "label": "Depo Provera Injection" + }, + { + "concept": "1c206a15-6196-4c44-b914-031f94c476f8", + "label": "IUD" + }, + { + "concept": "d320463b-1e09-45c8-88c3-626fce462c21", + "label": "Microlut (plaquette)" + }, + { + "concept": "0e577d2c-319b-4463-a94b-96c311eba6e1", + "label": "Microgynon (plaquette)" + } + ] + }, + "validators": [] + }, + { + "label": "Date", + "type": "obs", + "required": false, + "id": "date", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "e605731b-2e81-41a9-8446-2ed442c339e2", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1640" + } + ] + }, + "validators": [] + }, + { + "label": "Contraception date", + "type": "obs", + "required": false, + "id": "contraceptionDate", + "questionOptions": { + "rendering": "textarea", + "concept": "f2da2221-25d5-4697-b2b0-5c39b7d59ff7" + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Gyn History Set", + "type": "obsGroup", + "required": false, + "id": "gynHistorySet", + "questionOptions": { + "rendering": "group", + "concept": "b25e9790-46c0-4937-9a04-cead9b52b04b" + }, + "questions": [ + { + "label": "First sexual intercourse", + "type": "obs", + "required": false, + "id": "firstSexualIntercourse", + "questionOptions": { + "rendering": "textarea", + "concept": "288445fc-87a4-464b-81ca-f3a0e9454c1b" + }, + "validators": [] + }, + { + "label": "Number of partners", + "type": "obs", + "required": false, + "id": "numberOfPartners", + "questionOptions": { + "rendering": "number", + "concept": "cfe9491c-8f42-425d-9c0a-987c171006e6", + "disallowDecimals": true + }, + "validators": [] + } + ], + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "74fef8e4-7a9a-4a05-ab77-ae2cebbc9506", + "description": "Examen gynécologique", + "version": "1.0" +} \ No newline at end of file From 57a88cc4176c9686891609d6ad248184bfcd16dd Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Tue, 29 Oct 2024 03:12:18 +0300 Subject: [PATCH 05/17] feat: add all forms --- .../Echographie obst\303\251tricale 1.json" | 2 +- .../Echographie obst\303\251tricale 2.json" | 4 +- .../Echographie obst\303\251tricale 3.json" | 4 +- .../Examen des syst\303\250mes.json" | 1007 +++++++++++++++++ .../Examen gyn\303\251cologique.json" | 149 +-- .../Examen obst\303\251trical.json" | 132 +++ ...amination_1.json => Examen physique .json} | 0 .../Historique de sant\303\251.json" | 815 +++++++++++++ .../ampathforms/Motif de consultation.json | 109 ++ .../ampathforms/Moyen de transport.json | 80 ++ .../ampathforms/Nutrition.json | 639 +++++++++++ .../ampathforms/R\303\251f\303\251rence.json" | 122 ++ .../ampathforms/Signes vitaux.json | 173 +++ .../Suivi d\342\200\231urgences.json" | 76 ++ .../ampathforms/Vaccinations.json | 89 +- .../ampathforms/emergency_followup.json | 63 -- .../ampathforms/mode_of_arrival_1.json | 67 -- .../ampathforms/referral.json | 95 -- .../ampathforms/vitalsAndBiometrics.json | 275 ----- 19 files changed, 3321 insertions(+), 580 deletions(-) create mode 100644 "configs/openmrs/initializer_config/ampathforms/Examen des syst\303\250mes.json" create mode 100644 "configs/openmrs/initializer_config/ampathforms/Examen obst\303\251trical.json" rename configs/openmrs/initializer_config/ampathforms/{physical_examination_1.json => Examen physique .json} (100%) create mode 100644 "configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" create mode 100644 configs/openmrs/initializer_config/ampathforms/Motif de consultation.json create mode 100644 configs/openmrs/initializer_config/ampathforms/Moyen de transport.json create mode 100644 configs/openmrs/initializer_config/ampathforms/Nutrition.json create mode 100644 "configs/openmrs/initializer_config/ampathforms/R\303\251f\303\251rence.json" create mode 100644 configs/openmrs/initializer_config/ampathforms/Signes vitaux.json create mode 100644 "configs/openmrs/initializer_config/ampathforms/Suivi d\342\200\231urgences.json" delete mode 100644 configs/openmrs/initializer_config/ampathforms/emergency_followup.json delete mode 100644 configs/openmrs/initializer_config/ampathforms/mode_of_arrival_1.json delete mode 100644 configs/openmrs/initializer_config/ampathforms/referral.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" index 53f00cf..fb79659 100644 --- "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" +++ "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" @@ -196,7 +196,7 @@ "validators": [] }, { - "label": "Fetal Heart Rate (beats/min)", + "label": "Fetal Heart Rate (beats/min) (120 -160)", "type": "obs", "required": false, "id": "fetalHeartRate", diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" index 897c266..a77f8d5 100644 --- "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" +++ "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" @@ -79,7 +79,7 @@ "validators": [] }, { - "label": "Fetal Heart Rate (beats/min)", + "label": "Fetal Heart Rate (beats/min) (120 -160)", "type": "obs", "required": false, "id": "fetalHeartRate", @@ -363,4 +363,4 @@ "published": true, "retired": false, "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591" -} \ No newline at end of file +} diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" index 0d2209f..fdd2f30 100644 --- "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" +++ "b/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" @@ -79,7 +79,7 @@ "validators": [] }, { - "label": "Fetal Heart Rate (beats/min)", + "label": "Fetal Heart Rate (beats/min) (120 -160)", "type": "obs", "required": false, "id": "fetalHeartRate", @@ -259,4 +259,4 @@ "published": true, "retired": false, "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591" -} \ No newline at end of file +} diff --git "a/configs/openmrs/initializer_config/ampathforms/Examen des syst\303\250mes.json" "b/configs/openmrs/initializer_config/ampathforms/Examen des syst\303\250mes.json" new file mode 100644 index 0000000..051aa40 --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Examen des syst\303\250mes.json" @@ -0,0 +1,1007 @@ +{ + "name": "Examen des systèmes", + "pages": [ + { + "label": "Examen des systèmes", + "sections": [ + { + "label": "Examen des systèmes", + "isExpanded": "true", + "questions": [ + { + "label": "General Set", + "type": "obsGroup", + "required": false, + "id": "generalSet", + "questionOptions": { + "rendering": "group", + "concept": "aa314e8c-aaf2-4ae6-80c8-a9b228852f8f" + }, + "questions": [ + { + "label": "General", + "type": "obs", + "required": true, + "id": "general", + "questionOptions": { + "rendering": "checkbox", + "concept": "4a9edbef-9ad9-40a3-a5d3-83a1674bc4df", + "answers": [ + { + "concept": "3cf19000-26fe-102b-80cb-0017a47871b2", + "label": "Fatigue (R53)" + }, + { + "concept": "6f8988d1-157a-44cc-ac3b-22b627a57db3", + "label": "Fever" + }, + { + "concept": "e904d309-fb5c-452c-b9b1-8daf9a3eff15", + "label": "Loss of Appetite" + }, + { + "concept": "3cf2b548-26fe-102b-80cb-0017a47871b2", + "label": "Night sweats (R61.1)" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other", + "id": "genralOtherOption" + } + ] + } + }, + { + "label": "Other observations", + "type": "obs", + "required": true, + "id": "otherGeneralObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(general,'26c0366b-83e4-4401-9699-e545219b8870')" + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Skin Set", + "type": "obsGroup", + "required": false, + "id": "skinSet", + "questionOptions": { + "rendering": "group", + "concept": "da0abb70-c1d3-4478-ac11-b03ebcc0689f" + }, + "questions": [ + { + "label": "Skin", + "type": "obs", + "required": false, + "id": "skin", + "questionOptions": { + "rendering": "checkbox", + "concept": "db2ac1d4-6d8f-4c21-95a7-6bfd49faf42c", + "answers": [ + { + "concept": "ef35f99c-0f59-82a0-3e37-d175d03a35f2", + "label": "Dermatological pruritus" + }, + { + "concept": "1a384669-a1fe-46bc-a7cb-4a1ed0556918", + "label": "Discolorations" + }, + { + "concept": "bbcc605d-ee86-42eb-8a04-73648cbc9ef3", + "label": "Lesions" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "c1cad65e-5528-2120-42a0-0c7da5243491", + "label": "Rashes" + }, + { + "concept": "8b53b799-9127-4a38-89bb-3f3d90405557", + "label": "Tattoo" + } + ] + } + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherSkinObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(skin,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Head Set", + "type": "obsGroup", + "required": false, + "id": "headSet", + "questionOptions": { + "rendering": "group", + "concept": "212f798e-7625-459f-8512-a88606408126" + }, + "questions": [ + { + "label": "Head", + "type": "obs", + "required": false, + "id": "head", + "questionOptions": { + "rendering": "checkbox", + "concept": "6788f174-9be5-40af-b938-379cf3745c88", + "answers": [ + { + "concept": "6e6f3d4f-8bb9-7712-5d30-15ce540552b9", + "label": "Dizziness" + }, + { + "concept": "3cd24178-26fe-102b-80cb-0017a47871b2", + "label": "Headache (R51)" + }, + { + "concept": "671d5d29-2309-3e97-01eb-4edbdda1a671", + "label": "Mass" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "3cce938e-26fe-102b-80cb-0017a47871b2", + "label": "Seizure (R56.8)" + } + ] + } + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherHeadObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(head,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Eyes Set", + "type": "obsGroup", + "required": false, + "id": "eyesSet", + "questionOptions": { + "rendering": "group", + "concept": "bb9bf90d-1fad-4240-a79d-dbd6fcc1e038" + }, + "questions": [ + { + "label": "Eyes", + "type": "obs", + "required": false, + "id": "eyes", + "questionOptions": { + "rendering": "checkbox", + "concept": "c1eef44a-42ae-41a1-a78f-26a354c59334", + "answers": [ + { + "concept": "53521df8-e9f3-4e42-8649-7fe11df6bab2", + "label": "Conjuctivitis" + }, + { + "concept": "59437118-0d3a-49fc-1612-195787f0065d", + "label": "Discharge from the eyes" + }, + { + "concept": "26688603-992f-4171-a1d6-a5d344cdef29", + "label": "Eye itching" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "d5d18115-8cf3-4b10-9110-32dec69db4f6", + "label": "Pain" + }, + { + "concept": "19a92519-e350-434e-ba92-1cc42d031821", + "label": "Pallor" + }, + { + "concept": "71e58402-8b2e-4fe4-91bd-e2a220c92dc0", + "label": "Teary eyes" + }, + { + "concept": "f08dd30d-4211-50bf-6791-ab4d25e845a2", + "label": "Visual disturbance" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherEyesObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(eyes,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Ears Set", + "type": "obsGroup", + "required": false, + "id": "earsSet", + "questionOptions": { + "rendering": "group", + "concept": "85bd41e4-5982-4ffe-b0c3-92fcc6c7476b" + }, + "questions": [ + { + "label": "Ears", + "type": "obs", + "required": false, + "id": "ears", + "questionOptions": { + "rendering": "checkbox", + "concept": "4463d07e-fa84-4f31-8bb1-afc1d04a4501", + "answers": [ + { + "concept": "784cdb78-3b6d-447b-9eee-e29b6e4feae7", + "label": "Deaf" + }, + { + "concept": "6e6f3d4f-8bb9-7712-5d30-15ce540552b9", + "label": "Dizziness" + }, + { + "concept": "566d50e2-5041-4b81-b6d0-da87fdbf1c2f", + "label": "Ear Discharge" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "d5d18115-8cf3-4b10-9110-32dec69db4f6", + "label": "Pain" + }, + { + "concept": "e0964733-8dc6-9114-8ac0-9eeecc594fe9", + "label": "Tinnitus" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherEarsObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(ears,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Nose Set", + "type": "obsGroup", + "required": false, + "id": "noseSet", + "questionOptions": { + "rendering": "group", + "concept": "b970d95f-ebc7-4fcb-b163-cd8be32328e3" + }, + "questions": [ + { + "label": "Nose", + "type": "obs", + "required": false, + "id": "nose", + "questionOptions": { + "rendering": "checkbox", + "concept": "669eb2ed-6fe3-47d0-b9ed-17e3b8af1e85", + "answers": [ + { + "concept": "e72e92ae-ca88-4a01-862b-ce3e16c25f96", + "label": "Bleeding" + }, + { + "concept": "03e3c003-767a-4bcd-88cc-932ed65dbab6", + "label": "Nose Discharge" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "1607769b-1096-4399-8c22-981a8b4742e8", + "label": "Sinus Congestion" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherNoseObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(nose,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Mouth and Throat Set", + "type": "obsGroup", + "required": false, + "id": "mouthAndThroatSet", + "questionOptions": { + "rendering": "group", + "concept": "1a705716-d86c-427f-9bb4-6487fe748988" + }, + "questions": [ + { + "label": "Teeth", + "type": "obs", + "required": false, + "id": "teeth", + "questionOptions": { + "rendering": "checkbox", + "concept": "2de43a2e-e82c-4e04-a276-17dd4db40c54", + "answers": [ + { + "concept": "8137f84b-ca74-487a-ac3e-4c3364e97716", + "label": "Missing" + }, + { + "concept": "87a835f5-46c7-4e81-bfd4-687fa62d1cf1", + "label": "Loose" + } + ] + }, + "validators": [] + }, + { + "label": "Mouth and Throat Deformation", + "type": "obs", + "required": false, + "id": "mouthAndThroatDeformation", + "questionOptions": { + "rendering": "checkbox", + "concept": "bcda6677-244d-466c-9c33-98c02855b990", + "answers": [ + { + "concept": "08887d3e-78fe-4dff-84e4-3eea4287df02", + "label": "Pallet" + }, + { + "concept": "fd55467a-6453-4fc1-a9a7-0ff78e9baa4e", + "label": "Tongue" + } + ] + }, + "validators": [] + }, + { + "label": "Mouth and Throat", + "type": "obs", + "required": false, + "id": "mouthAndThroat", + "questionOptions": { + "rendering": "checkbox", + "concept": "55887656-fb44-4fcc-a9bc-4d73101ed31c", + "answers": [ + { + "concept": "d5d18115-8cf3-4b10-9110-32dec69db4f6", + "label": "Pain" + }, + { + "concept": "3cd4d0c8-26fe-102b-80cb-0017a47871b2", + "label": "Dysphagia (R13)" + } + ] + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Respiratory Set", + "type": "obsGroup", + "required": false, + "id": "respiratorySet", + "questionOptions": { + "rendering": "group", + "concept": "1885d33d-9384-4b41-a2a4-4550fea7bf2d" + }, + "questions": [ + { + "label": "Respiratory", + "type": "obs", + "required": false, + "id": "respiratory", + "questionOptions": { + "rendering": "checkbox", + "concept": "78d7751f-5ff3-4cef-b9a7-4c81d55fa5ed", + "answers": [ + { + "concept": "3cccf632-26fe-102b-80cb-0017a47871b2", + "label": "Cough (R05)" + }, + { + "concept": "97de94dd-7fc6-414b-afbe-934d6489e10e", + "label": "Orthopnea" + }, + { + "concept": "3cd656be-26fe-102b-80cb-0017a47871b2", + "label": "Hemoptysis (R04.2)" + }, + { + "concept": "3cf1a95a-26fe-102b-80cb-0017a47871b2", + "label": "Dyspnea (R06.0)" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "063cb6f4-f54d-4ee6-878b-6c683cacac8a", + "label": "Platypnea" + }, + { + "concept": "7629a17f-9fc1-4fb6-a766-059cc88620a3", + "label": "Productive Cough" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherRespiratoryObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(respiratory,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Cardiovascular Set", + "type": "obsGroup", + "required": false, + "id": "cardiovascularSet", + "questionOptions": { + "rendering": "group", + "concept": "2059f006-1c3f-4ab4-8d05-7c6d51c662d5" + }, + "questions": [ + { + "label": "Cardiovascular", + "type": "obs", + "required": false, + "id": "cardiovascular", + "questionOptions": { + "rendering": "checkbox", + "concept": "188fbe84-7fe4-459b-9dc5-689fc16c2e46", + "answers": [ + { + "concept": "3ccd2364-26fe-102b-80cb-0017a47871b2", + "label": "Chest Pain (R07.4)" + }, + { + "concept": "3fc8f995-6db1-43af-a277-f8c03a879e43", + "label": "Claudication" + }, + { + "concept": "25ec3417-f125-4e8c-8862-7f50123b4f81", + "label": "Dyspnea with Exertion" + }, + { + "concept": "05aa444c-d7e4-4b7f-a737-9cfbbe321d53", + "label": "Lower Extremity Edema" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "678517e9-53c3-4bac-8e5c-29ffd715a584", + "label": "Palpitations" + }, + { + "concept": "00e0aad9-7fa0-48af-9000-003bfd616875", + "label": "Paroxysmal Nocturnal Dyspnea" + }, + { + "concept": "1ddc1171-8b77-0f79-718d-0e467d4122f9", + "label": "Syncope" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherCardovascularObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(cardiovascular,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Groupe gastrointestinal", + "type": "obsGroup", + "required": false, + "id": "groupeGastrointestinal", + "questionOptions": { + "rendering": "group", + "concept": "660f5c64-d23c-4b98-a9fd-b507834fcab0" + }, + "questions": [ + { + "label": "Gastrointestinal", + "type": "obs", + "required": false, + "id": "gastrointestinal", + "questionOptions": { + "rendering": "checkbox", + "concept": "45b8d250-4f1a-47c2-ab1e-41205d41d675", + "answers": [ + { + "concept": "7f703275-777c-4237-9d07-36c99ea0966c", + "label": "Abdominal pain" + }, + { + "concept": "b9456fba-63b1-4c29-b3ae-67dc315dd06b", + "label": "Constipation" + }, + { + "concept": "3ccc6a00-26fe-102b-80cb-0017a47871b2", + "label": "Diarrhea (K52.9)" + }, + { + "concept": "d34da7b5-2ede-4231-8abf-a5fb27d69608", + "label": "Dyschezia" + }, + { + "concept": "3cd4d0c8-26fe-102b-80cb-0017a47871b2", + "label": "Dysphagia (R13)" + }, + { + "concept": "139006AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Hematemesis (K92.0)" + }, + { + "concept": "c7f7721d-8f2f-4bcf-a9b7-aff9470c9e6f", + "label": "Hematochezia" + }, + { + "concept": "1b5792c6-9fb0-445f-a588-823b8b5d091d", + "label": "Melena" + }, + { + "concept": "2b8d44e1-ee1f-4023-a9dc-6caf64ce3295", + "label": "Nausea" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "3cf1c930-26fe-102b-80cb-0017a47871b2", + "label": "Vomiting (R11)" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherGastrointestinalObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(gastrointestinal,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Genitourinary Set", + "type": "obsGroup", + "required": false, + "id": "genitourinarySet", + "questionOptions": { + "rendering": "group", + "concept": "a6a85459-c9ae-4480-96ae-1794890e7289" + }, + "questions": [ + { + "label": "Genitourinary", + "type": "obs", + "required": false, + "id": "genitourinary", + "questionOptions": { + "rendering": "checkbox", + "concept": "49fcd4a9-ad88-48ff-92d8-ff870c870e20", + "answers": [ + { + "concept": "d3a1d2a9-9281-24bc-7bf7-1d11d10c4226", + "label": "Dysuria" + }, + { + "concept": "f59b66ba-424a-2650-188d-75814d699ab8", + "label": "Hematuria" + }, + { + "concept": "21c3c2c3-3708-48ad-ad0e-5bc003cf732a", + "label": "Hesitation" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "98516372-a2c4-4f46-8004-b1ed6c5267a9", + "label": "Polyuria" + }, + { + "concept": "4305753b-937e-4a22-b299-e1680af09919", + "label": "Urgency" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherGenitourinaryObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(genitourinary,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Endocrine Set", + "type": "obsGroup", + "required": false, + "id": "endocrineSet", + "questionOptions": { + "rendering": "group", + "concept": "adf2279f-c34f-4db6-a8e1-21f0486ca490" + }, + "questions": [ + { + "label": "Endocrine", + "type": "obs", + "required": false, + "id": "endocrine", + "questionOptions": { + "rendering": "checkbox", + "concept": "b1eee37f-bf5a-4608-a108-7c603a3ec94e", + "answers": [ + { + "concept": "f870cb56-9948-4fb4-bf87-115370dcfaab", + "label": "Dry Skin" + }, + { + "concept": "58978ab4-9b80-4121-a2b9-b9202b2021c2", + "label": "Hair Problem" + }, + { + "concept": "f607ea8e-ef4c-4a0b-9d61-d7cd51c921c1", + "label": "Heat Intolerance" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "98516372-a2c4-4f46-8004-b1ed6c5267a9", + "label": "Polyuria" + }, + { + "concept": "9e170e03-52f3-20dd-084d-2ea7ca85458f", + "label": "Polydipsia" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherEndocrineObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(endocrine,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Musculoskeletal Set", + "type": "obsGroup", + "required": false, + "id": "musculoskeletalSet", + "questionOptions": { + "rendering": "group", + "concept": "c37bb128-d23e-41f0-b7b6-6186b98637ac" + }, + "questions": [ + { + "label": "Musculoskeletal", + "type": "obs", + "required": false, + "id": "musculoskeletal", + "questionOptions": { + "rendering": "checkbox", + "concept": "bed907b6-56f8-4bd5-8961-01a18e0cbfe2", + "answers": [ + { + "concept": "9a611f07-07f5-4aaf-b1b0-cfcf42b53d66", + "label": "Joint Deformity" + }, + { + "concept": "5ebdd207-22e6-4bbd-bda1-940bb6ecf2e1", + "label": "Joint Pain" + }, + { + "concept": "d3734a4c-410e-46a3-bf43-b52f5ad0298a", + "label": "Joint swelling" + }, + { + "concept": "f50a1782-5f2c-02ff-02ed-aaf633840f68", + "label": "Myalgia" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "116554AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Stiffness of Joint, not Elsewhere Classified (M25.6)" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherMusculoskeletalObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(musculoskeletal,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Skin and Lymphatic Set", + "type": "obsGroup", + "required": false, + "id": "skinAndLymphaticSet", + "questionOptions": { + "rendering": "group", + "concept": "2494b6d5-c4a1-4b44-a389-191a874e639c" + }, + "questions": [ + { + "label": "Skin and Lymphatic", + "type": "obs", + "required": false, + "id": "skinAndLymphatic", + "questionOptions": { + "rendering": "checkbox", + "concept": "94cc4a0a-281b-4c04-ae3a-cbaf60189aad", + "answers": [ + { + "concept": "2fe1f75c-61bc-4573-88ca-3d1b18daf9ec", + "label": "Bruises" + }, + { + "concept": "bbcc605d-ee86-42eb-8a04-73648cbc9ef3", + "label": "Lesions" + }, + { + "concept": "135488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Lymphadenopathy" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherSkinAndLymphaticObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(skinAndLymphatic,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + }, + { + "label": "Neuropsychiatric and Psychomotor Set", + "type": "obsGroup", + "required": false, + "id": "neuropsychiatricAndPsychomotorSet", + "questionOptions": { + "rendering": "group", + "concept": "a106b607-1514-4929-bf4e-60269cf49bc8" + }, + "questions": [ + { + "label": "Neuropsychiatric and Psychomotor", + "type": "obs", + "required": false, + "id": "neuropsychiatricAndPsychomotor", + "questionOptions": { + "rendering": "checkbox", + "concept": "4f8d3b98-bd77-4586-b851-2232fb76090c", + "answers": [ + { + "concept": "3ce6b1ee-26fe-102b-80cb-0017a47871b2", + "label": "Anxiety (F41.9)" + }, + { + "concept": "3cce9514-26fe-102b-80cb-0017a47871b2", + "label": "Depression (F32.9)" + }, + { + "concept": "12596595-2f20-4786-ba73-ae8bcd046f33", + "label": "Language Disorder" + }, + { + "concept": "73b5da3d-c564-4b48-b496-c889b12200b5", + "label": "Memory loss" + }, + { + "concept": "c9ee4047-e2ec-4f99-b179-762493627fd1", + "label": "Motor Skills Disorder" + }, + { + "concept": "039cb6b6-ad9f-4abc-9abd-c208ec75cbbb", + "label": "Neurosis" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "3ccea7fc-26fe-102b-80cb-0017a47871b2", + "label": "Psychosis (F29)" + }, + { + "concept": "01aa32c4-7878-45ba-b2d6-7cb3b49e5332", + "label": "Self Care Skill Deficiency" + } + ] + }, + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherNeuropsychiatricAndPsychomotorObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(neuropsychiatricAndPsychomotor,'26c0366b-83e4-4401-9699-e545219b8870')" + } + } + ], + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "", + "description": "Examen des systèmes", + "version": "1.0" +} diff --git "a/configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" "b/configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" index 07634d8..596b7d8 100644 --- "a/configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" +++ "b/configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" @@ -198,90 +198,91 @@ ] }, "validators": [] - } - ], - "validators": [] - }, - { - "label": "Contraception Set", - "type": "obsGroup", - "required": false, - "id": "contraceptionSet", - "questionOptions": { - "rendering": "group", - "concept": "6c830082-d394-4f29-95ba-37d587016a4d" - }, - "questions": [ + }, { - "label": "Contraception", - "type": "obs", + "label": "Contraception Set", + "type": "obsGroup", "required": false, - "id": "contraception", + "id": "contraceptionSet", "questionOptions": { - "rendering": "select", - "concept": "5b60b970-0df4-4518-9717-a32a9d37798e", - "answers": [ - { - "concept": "f1f57397-ba51-4218-9cae-da74b6b52543", - "label": "Condom (unity)" - }, - { - "concept": "85ceb4d6-585d-48e1-8e46-af7e517b4667", - "label": "Contraceptive Implant" + "rendering": "group", + "concept": "6c830082-d394-4f29-95ba-37d587016a4d" + }, + "questions": [ + { + "label": "Contraception", + "type": "obs", + "required": false, + "id": "contraception", + "questionOptions": { + "rendering": "select", + "concept": "5b60b970-0df4-4518-9717-a32a9d37798e", + "answers": [ + { + "concept": "f1f57397-ba51-4218-9cae-da74b6b52543", + "label": "Condom (unity)" + }, + { + "concept": "85ceb4d6-585d-48e1-8e46-af7e517b4667", + "label": "Contraceptive Implant" + }, + { + "concept": "ce15c503-9015-4855-b751-c6626f8af279", + "label": "Depo Provera Injection" + }, + { + "concept": "1c206a15-6196-4c44-b914-031f94c476f8", + "label": "IUD" + }, + { + "concept": "d320463b-1e09-45c8-88c3-626fce462c21", + "label": "Microlut (plaquette)" + }, + { + "concept": "0e577d2c-319b-4463-a94b-96c311eba6e1", + "label": "Microgynon (plaquette)" + } + ] }, - { - "concept": "ce15c503-9015-4855-b751-c6626f8af279", - "label": "Depo Provera Injection" + "validators": [] + }, + { + "label": "Date", + "type": "obs", + "required": false, + "id": "date", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "e605731b-2e81-41a9-8446-2ed442c339e2", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1640" + } + ] }, - { - "concept": "1c206a15-6196-4c44-b914-031f94c476f8", - "label": "IUD" - }, - { - "concept": "d320463b-1e09-45c8-88c3-626fce462c21", - "label": "Microlut (plaquette)" + "validators": [] + }, + { + "label": "Contraception date", + "type": "obs", + "required": false, + "id": "contraceptionDate", + "questionOptions": { + "rendering": "textarea", + "concept": "f2da2221-25d5-4697-b2b0-5c39b7d59ff7" }, - { - "concept": "0e577d2c-319b-4463-a94b-96c311eba6e1", - "label": "Microgynon (plaquette)" - } - ] - }, - "validators": [] - }, - { - "label": "Date", - "type": "obs", - "required": false, - "id": "date", - "datePickerFormat": "calendar", - "questionOptions": { - "rendering": "date", - "concept": "e605731b-2e81-41a9-8446-2ed442c339e2", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "1640" - } - ] - }, - "validators": [] - }, - { - "label": "Contraception date", - "type": "obs", - "required": false, - "id": "contraceptionDate", - "questionOptions": { - "rendering": "textarea", - "concept": "f2da2221-25d5-4697-b2b0-5c39b7d59ff7" - }, + "validators": [] + } + ], "validators": [] } ], "validators": [] }, + { "label": "Gyn History Set", "type": "obsGroup", @@ -329,4 +330,4 @@ "uuid": "74fef8e4-7a9a-4a05-ab77-ae2cebbc9506", "description": "Examen gynécologique", "version": "1.0" -} \ No newline at end of file +} diff --git "a/configs/openmrs/initializer_config/ampathforms/Examen obst\303\251trical.json" "b/configs/openmrs/initializer_config/ampathforms/Examen obst\303\251trical.json" new file mode 100644 index 0000000..04cd058 --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Examen obst\303\251trical.json" @@ -0,0 +1,132 @@ +{ + "name": "Examen obstétrical", + "pages": [ + { + "label": "Examen obstétrical", + "sections": [ + { + "label": "Examen obstétrical", + "isExpanded": "true", + "questions": [ + { + "label": "Hauteur utérine (Exam Obs)", + "type": "obs", + "required": false, + "id": "hauteurUtéRine(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "498d6b5e-abe3-4421-aed9-c99c588d521b" + }, + "validators": [] + }, + { + "label": "Présentation fœtale (Exam Obs)", + "type": "obs", + "required": false, + "id": "préSentationFœTale(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "0343ecb1-5b0c-4ae3-be51-129d3b33fc22" + }, + "validators": [] + }, + { + "label": "Station (Exam Obs)", + "type": "obs", + "required": false, + "id": "station(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "78c24b0d-2159-4ab0-80c5-a0169684f6c5" + }, + "validators": [] + }, + { + "label": "Position (Exam Obs)", + "type": "obs", + "required": false, + "id": "position(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "42f0d5bb-f39f-4ded-b01a-eae79646f999" + }, + "validators": [] + }, + { + "label": "BDCF (Exam Obs)", + "type": "obs", + "required": false, + "id": "bdcf(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "27be99a9-d913-4a60-a667-ac9389384370" + }, + "validators": [] + }, + { + "label": "Col (Exam Obs)", + "type": "obs", + "required": false, + "id": "col(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "10cf74ed-3e71-46fd-b805-cf28b6f9603f" + }, + "validators": [] + }, + { + "label": "Dilation (Exam Obs)", + "type": "obs", + "required": false, + "id": "dilation(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "732f8ec5-23c2-46d6-89fd-b7e3398ce5ce" + }, + "validators": [] + }, + { + "label": "Poche des eaux (Exam Obs)", + "type": "obs", + "required": false, + "id": "pocheDesEaux(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "8586c0e9-b8c3-406e-8e62-067a4d1568b4" + }, + "validators": [] + }, + { + "label": "Bassin (Exam Obs)", + "type": "obs", + "required": false, + "id": "bassin(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "86cef6c9-c8a5-4c3c-aa84-132b1253492a" + }, + "validators": [] + }, + { + "label": "Lignes Innom (Exam Obs)", + "type": "obs", + "required": false, + "id": "lignesInnom(ExamObs)", + "questionOptions": { + "rendering": "textarea", + "concept": "3ec55e17-ad8f-406f-aa02-1fba0a41ee4c" + }, + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "f30209a8-9d58-4b99-b99a-582b9006cce5", + "description": "Examen obstétrical", + "version": "1.0" +} \ No newline at end of file diff --git a/configs/openmrs/initializer_config/ampathforms/physical_examination_1.json b/configs/openmrs/initializer_config/ampathforms/Examen physique .json similarity index 100% rename from configs/openmrs/initializer_config/ampathforms/physical_examination_1.json rename to configs/openmrs/initializer_config/ampathforms/Examen physique .json diff --git "a/configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" "b/configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" new file mode 100644 index 0000000..e0b3496 --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" @@ -0,0 +1,815 @@ +{ + "name": "Historique de santé", + "pages": [ + { + "label": "Historique de santé", + "sections": [ + { + "label": "Historique de santé", + "isExpanded": "true", + "questions": [ + { + "label": "Allergique", + "type": "obs", + "required": true, + "id": "allergique", + "questionOptions": { + "rendering": "radio", + "concept": "74400b2a-ac0f-4dce-8589-1301a85c96b7", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Allergies", + "type": "obs", + "required": false, + "id": "allergies", + "questionOptions": { + "rendering": "textarea", + "concept": "f891f12b-9947-4cc4-aa97-b6ba47567a58", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "162141" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(allergique) || allergique !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "Past Admission History", + "type": "obsGroup", + "required": false, + "id": "pastAdmissionHistoryGroup", + "questionOptions": { + "rendering": "repeating", + "concept": "c7a45d8f-3032-4499-92d2-5c4e13f1f824" + }, + "questions": [ + { + "label": "Date", + "type": "obs", + "required": false, + "id": "date", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "e605731b-2e81-41a9-8446-2ed442c339e2", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1640" + } + ] + }, + "validators": [] + }, + { + "label": "Duration", + "type": "obs", + "required": false, + "id": "duration", + "questionOptions": { + "rendering": "number", + "concept": "b0823b2c-4bc8-2a7c-41b5-7bf3c7f14e82", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Time Units", + "type": "obs", + "required": false, + "id": "timeUnits", + "questionOptions": { + "rendering": "radio", + "concept": "373b5749-82ff-a3d8-2e13-db76dd0499b3", + "answers": [ + { + "concept": "88e474ea-0ba4-11eb-a3aa-0242ac140008", + "label": "Hour(s)" + }, + { + "concept": "327cdb97-571c-2d13-306b-4024fce268cb", + "label": "Day(s)" + }, + { + "concept": "88e55059-0ba4-11eb-a3aa-0242ac140008", + "label": "Week(s)" + }, + { + "concept": "88e5cc3c-0ba4-11eb-a3aa-0242ac140008", + "label": "Month(s)" + }, + { + "concept": "a4d0c480-923b-49fe-b125-80453675fdea", + "label": "Year(s)" + } + ] + }, + "validators": [] + }, + { + "label": "Reason", + "type": "obs", + "required": false, + "id": "reason", + "questionOptions": { + "rendering": "textarea", + "concept": "c03b8aa5-9a97-4e05-b717-84e6b2380894" + }, + "validators": [] + }, + { + "label": "Health Centre", + "type": "obs", + "required": false, + "id": "healthCentre", + "questionOptions": { + "rendering": "select", + "concept": "276cccb6-0c0b-4f84-8947-298aceea5e62", + "answers": [ + { + "concept": "1ff3db17-7a6f-40bf-8062-a912773e905c", + "label": "Hopital Bon Samaritain Limbe" + }, + { + "concept": "1c61317b-f7cf-4709-829c-76abb6f6501b", + "label": "Hopital de Borgne" + }, + { + "concept": "57195bab-5935-4da4-b5de-e9ee1dba162e", + "label": "Hopital de Pignon" + }, + { + "concept": "6d1450bb-0109-456b-82f9-e495bcb5c959", + "label": "Hopital de Trou du Nord" + }, + { + "concept": "50f4de56-b5b6-4939-aa73-7d7f5a5f8961", + "label": "Hopital HBCH" + }, + { + "concept": "b0b1c920-02ba-47e7-93e5-9922e888aac0", + "label": "Hopital Justinien Cap Haitien" + }, + { + "concept": "696114ce-8c7b-4018-a8d5-ee2e65d323d3", + "label": "Hopital Sacré Coeur Milot" + }, + { + "concept": "4b9b9184-6aa8-4875-ab10-f22092a0075b", + "label": "Hopital St Jean Limbe" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + } + ] + }, + "validators": [] + }, + { + "label": "Other Health Centre", + "type": "obs", + "required": false, + "id": "otherHealthCentre", + "questionOptions": { + "rendering": "textarea", + "concept": "ebf58d81-6ca4-4f2b-9287-cffa5cb67441" + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Current Medication Set", + "type": "obsGroup", + "required": false, + "id": "currentMedicationSet", + "questionOptions": { + "rendering": "group", + "concept": "e042aba1-aa61-4a95-82f9-77aa7decb607" + }, + "questions": [ + { + "label": "Current Medication", + "type": "obs", + "required": true, + "id": "currentMedication", + "questionOptions": { + "rendering": "radio", + "concept": "b44ca1a9-7d31-48af-818c-ef8ef046ac75", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Details", + "type": "obs", + "required": false, + "id": "currentMedicationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "9d20f065-9568-4769-80b5-f596907a8805" + }, + "hide": { + "hideWhenExpression": "isEmpty(currentMedication) || currentMedication !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Self Medication Set", + "type": "obsGroup", + "required": false, + "id": "selfMedicationSet", + "questionOptions": { + "rendering": "group", + "concept": "f25ea3a8-132e-46d3-bb03-6491ff73b313" + }, + "questions": [ + { + "label": "Self Medication", + "type": "obs", + "required": true, + "id": "selfMedication", + "questionOptions": { + "rendering": "radio", + "concept": "34628964-2ba7-453a-bf40-446cfb97ba04", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Details", + "type": "obs", + "required": false, + "id": "selfMedicationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "9d20f065-9568-4769-80b5-f596907a8805" + }, + "hide": { + "hideWhenExpression": "isEmpty(selfMedication) || selfMedication !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Personal History Set", + "type": "obsGroup", + "required": false, + "id": "personalHistorySet", + "questionOptions": { + "rendering": "group", + "concept": "511939df-d56b-45cb-8bb1-29814b1ae774" + }, + "questions": [ + { + "label": "Personal History", + "type": "obs", + "required": true, + "id": "personalHistory", + "questionOptions": { + "rendering": "select", + "concept": "c284cf60-1fae-4640-a6bc-d6dc7accb42c", + "answers": [ + { + "concept": "f891f12b-9947-4cc4-aa97-b6ba47567a58", + "label": "Allergies" + }, + { + "concept": "3ccc4bf6-26fe-102b-80cb-0017a47871b2", + "label": "Asthma (J45.9)" + }, + { + "concept": "13cf6c22-2eba-4a9b-a4ac-6683dec5c973", + "label": "Cancer (C80.9)" + }, + { + "concept": "f40bf9bb-fcaa-4f90-8199-197bc6cb2b03", + "label": "Heart disease (I51.9)" + }, + { + "concept": "3ccc7d2e-26fe-102b-80cb-0017a47871b2", + "label": "Hepatitis (K75.9)" + }, + { + "concept": "3cd50188-26fe-102b-80cb-0017a47871b2", + "label": "Hypertension (I10)" + }, + { + "concept": "529287bb-6bd6-4efd-a90d-4ea96dbb4802", + "label": "Mental illness (F99)" + }, + { + "concept": "17aba9e2-b0f0-4d62-9aba-1b2568437313", + "label": "None" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "3cce99c4-26fe-102b-80cb-0017a47871b2", + "label": "Peptic Ulcer (K27.9)" + }, + { + "concept": "117703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Sickle-cell anemia (D57.1)" + }, + { + "concept": "3ccca7cc-26fe-102b-80cb-0017a47871b2", + "label": "Tuberculosis (A16.9)" + }, + { + "concept": "105903f4-7b6d-496a-b613-37ab9d0f5450", + "label": "Type 1 diabetes (E10)" + }, + { + "concept": "8b26ecd3-8726-4c8e-b042-cbe71e44a863", + "label": "Type 2 diabetes (E11)" + } + ] + } + } + ], + "validators": [] + }, + { + "label": "Family History Set", + "type": "obsGroup", + "required": false, + "id": "familyHistorySet", + "questionOptions": { + "rendering": "group", + "concept": "Family History Set" + }, + "questions": [ + { + "label": "Family History", + "type": "obs", + "required": false, + "id": "familyHistory", + "questionOptions": { + "rendering": "select", + "concept": "e34f9f11-c50b-4096-828d-300a34edb0d1", + "answers": [ + { + "concept": "3ccc4bf6-26fe-102b-80cb-0017a47871b2", + "label": "Asthma (J45.9)" + }, + { + "concept": "13cf6c22-2eba-4a9b-a4ac-6683dec5c973", + "label": "Cancer (C80.9)" + }, + { + "concept": "f40bf9bb-fcaa-4f90-8199-197bc6cb2b03", + "label": "Heart disease (I51.9)" + }, + { + "concept": "3cd50188-26fe-102b-80cb-0017a47871b2", + "label": "Hypertension (I10)" + }, + { + "concept": "529287bb-6bd6-4efd-a90d-4ea96dbb4802", + "label": "Mental illness (F99)" + }, + { + "concept": "17aba9e2-b0f0-4d62-9aba-1b2568437313", + "label": "None" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "117703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Sickle-cell anemia (D57.1)" + }, + { + "concept": "105903f4-7b6d-496a-b613-37ab9d0f5450", + "label": "Type 1 diabetes (E10)" + }, + { + "concept": "8b26ecd3-8726-4c8e-b042-cbe71e44a863", + "label": "Type 2 diabetes (E11)" + } + ] + }, + "validators": [] + }, + { + "label": "Details", + "type": "obs", + "required": false, + "id": "details", + "questionOptions": { + "rendering": "textarea", + "concept": "9d20f065-9568-4769-80b5-f596907a8805" + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "History of Trauma", + "type": "obs", + "required": false, + "id": "historyOfTrauma", + "questionOptions": { + "rendering": "textarea", + "concept": "cc829606-ea12-4b83-ad83-b6986247733c" + }, + "validators": [] + }, + { + "label": "Past Surgical History", + "type": "obs", + "required": false, + "id": "pastSurgicalHistory", + "questionOptions": { + "rendering": "textarea", + "concept": "54e5b6d0-3a5a-4712-8e83-b77b194616d3" + }, + "validators": [] + }, + { + "label": "Life Style", + "type": "obsGroup", + "required": false, + "id": "lifeStyle", + "questionOptions": { + "rendering": "group", + "concept": "a12d125a-0394-4704-926a-97b8b6e10972" + }, + "questions": [ + { + "label": "Alcohol Use Set", + "type": "obsGroup", + "required": false, + "id": "alcoholUseSet", + "questionOptions": { + "rendering": "group", + "concept": "0b06374c-feb1-4a1e-a68d-7d4d41308eda" + }, + "questions": [ + { + "label": "Use of alcohol", + "type": "obs", + "required": false, + "id": "useOfAlcohol", + "questionOptions": { + "rendering": "radio", + "concept": "16a035ea-acf0-4e54-9c63-ffd126aaa3f7", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "CAGE", + "type": "obs", + "required": false, + "id": "cage", + "questionOptions": { + "rendering": "checkbox", + "concept": "1dcfdce8-d75b-4e14-b128-e2593e968e8e", + "answers": [ + { + "concept": "372f3da0-132f-4f00-a1cb-60c8d5b5d171", + "label": "Annoyed" + }, + { + "concept": "7a12b072-44a3-420b-807d-082821accfe8", + "label": "Cut Down" + }, + { + "concept": "6c97c859-1ae7-4821-90a1-9ea011011137", + "label": "Eye-opener" + }, + { + "concept": "5c33fc6c-54fa-4d14-83a0-fc2815277e1d", + "label": "Guilty" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(useOfAlcohol) || useOfAlcohol !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "CAGE Score", + "type": "obs", + "required": false, + "id": "cageScore", + "questionOptions": { + "rendering": "number", + "concept": "faba8eb0-d7f7-4f01-92af-b595c035a7a6", + "disallowDecimals": true + }, + "hide": { + "hideWhenExpression": "isEmpty(useOfAlcohol) || useOfAlcohol !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Tobacco History Set", + "type": "obsGroup", + "required": false, + "id": "tobaccoHistorySet", + "questionOptions": { + "rendering": "group", + "concept": "cb54b5fd-10f0-4748-81c9-a3f19983d748" + }, + "questions": [ + { + "label": "Tobacco use", + "type": "obs", + "required": false, + "id": "tobaccoUse", + "questionOptions": { + "rendering": "radio", + "concept": "61ac6631-a248-4dae-bd32-33520d26c04d", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Number of Tobacco sticks (Day)", + "type": "obs", + "required": false, + "id": "numberOfTobaccoSticks(Day)", + "questionOptions": { + "rendering": "number", + "concept": "d6540462-4f03-419c-a0d6-2e3371ba3147", + "disallowDecimals": true + }, + "hide": { + "hideWhenExpression": "isEmpty(tobaccoUse) || tobaccoUse !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "Smoking Duration (Year(s))", + "type": "obs", + "required": false, + "id": "smokingDuration(Year(S))", + "questionOptions": { + "rendering": "number", + "concept": "159931AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "conceptMappings": [ + { + "relationship": "NARROWER-THAN", + "type": "AMPATH", + "value": "2070" + }, + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "159931" + }, + { + "relationship": "SAME-AS", + "type": "SNOMED CT", + "value": "228487000" + } + ], + "disallowDecimals": true + }, + "hide": { + "hideWhenExpression": "isEmpty(tobaccoUse) || tobaccoUse !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "Pack Years (pack-year(s))", + "type": "obs", + "required": false, + "id": "packYears(Pack-Year(S))", + "questionOptions": { + "rendering": "number", + "concept": "4d24f560-7c9d-448c-8767-66ba584588a2" + }, + "hide": { + "hideWhenExpression": "isEmpty(tobaccoUse) || tobaccoUse !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "Year(s) since last smoke (Year(s))", + "type": "obs", + "required": false, + "id": "year(S)SinceLastSmoke(Year(S))", + "questionOptions": { + "rendering": "number", + "concept": "65be3d70-89db-4d59-afd9-83357d911956" + }, + "hide": { + "hideWhenExpression": "isEmpty(tobaccoUse) || tobaccoUse !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Marijuana", + "type": "obs", + "required": false, + "id": "marijuana", + "questionOptions": { + "rendering": "radio", + "concept": "386d919c-32c8-4621-b922-8b38f5db3c10", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "True" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "False" + } + ] + }, + "validators": [] + }, + { + "label": "Other Substance", + "type": "obs", + "required": false, + "id": "otherSubstance", + "questionOptions": { + "rendering": "radio", + "concept": "de52f07a-d72a-44d0-8f4e-c7698ae4d798", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "True" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "False" + } + ] + }, + "validators": [] + }, + { + "label": "Exercise", + "type": "obs", + "required": false, + "id": "exercise", + "questionOptions": { + "rendering": "radio", + "concept": "ebd6e645-10d1-47dd-9740-5f8aa609b414", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "True" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "False" + } + ] + }, + "validators": [] + }, + { + "label": "Sexual history", + "type": "obsGroup", + "required": false, + "id": "sexualHistory", + "questionOptions": { + "rendering": "group", + "concept": "f345f4d1-5178-4f4f-8159-9f8e0fd42828" + }, + "questions": [ + { + "label": "Sexual Orientation", + "type": "obs", + "required": false, + "id": "sexualOrientation", + "questionOptions": { + "rendering": "radio", + "concept": "71c00a33-20a2-4e02-98fe-de621d3c38f2", + "answers": [ + { + "concept": "f1f84eda-fcb5-4d99-808f-745deb93e25f", + "label": "Bisexual" + }, + { + "concept": "14f99da3-a9e0-424e-bf00-02dcbc0bf60d", + "label": "Heterosexual" + }, + { + "concept": "b1bfc81d-b867-4772-a129-1981289d9aca", + "label": "Homosexual" + } + ] + }, + "validators": [] + }, + { + "label": "Age at first intercourse", + "type": "obs", + "required": false, + "id": "ageAtFirstIntercourse", + "questionOptions": { + "rendering": "number", + "concept": "2f6144e3-ec2c-4858-b01e-af447d68c136", + "disallowDecimals": true + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "validators": [] + } + ], + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "44dc4d8f-e739-43c5-813a-d88d89c11775", + "description": "Historique de santé", + "version": "1.0" +} diff --git a/configs/openmrs/initializer_config/ampathforms/Motif de consultation.json b/configs/openmrs/initializer_config/ampathforms/Motif de consultation.json new file mode 100644 index 0000000..66f1482 --- /dev/null +++ b/configs/openmrs/initializer_config/ampathforms/Motif de consultation.json @@ -0,0 +1,109 @@ +{ + "name": "Motif de consultation", + "pages": [ + { + "label": "Motif de consultation", + "sections": [ + { + "label": "Motif de consultation", + "isExpanded": "true", + "questions": [ + { + "label": "Motif de consultation Data", + "type": "obsGroup", + "required": false, + "id": "motifDeConsultationData", + "questionOptions": { + "rendering": "repeating", + "concept": "c3949eb6-3f10-11e4-adec-0800271c1b75" + }, + "questions": [ + { + "label": "Motif de consultation", + "type": "obs", + "required": false, + "id": "motifDeConsultation", + "questionOptions": { + "rendering": "select-concept-answers", + "concept": "33c31827-1f0d-4843-a84c-e98db2406b27", + "datasource": { + "name": "select_concept_answers_datasource", + "config": { + "concept": "33c31827-1f0d-4843-a84c-e98db2406b27" + } + } + }, + "validators": [] + }, + { + "label": "Details", + "type": "obs", + "required": true, + "id": "details", + "questionOptions": { + "rendering": "textarea", + "concept": "9d20f065-9568-4769-80b5-f596907a8805" + }, + "hide": { + "hideWhenExpression": "isEmpty(motifDeConsultation)" + } + }, + { + "label": "Duration", + "type": "obs", + "required": true, + "id": "duration", + "questionOptions": { + "rendering": "number", + "concept": "b0823b2c-4bc8-2a7c-41b5-7bf3c7f14e82", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Time Units", + "type": "obs", + "required": true, + "id": "timeUnits", + "questionOptions": { + "rendering": "radio", + "concept": "373b5749-82ff-a3d8-2e13-db76dd0499b3", + "answers": [ + { + "concept": "88e474ea-0ba4-11eb-a3aa-0242ac140008", + "label": "Hour(s)" + }, + { + "concept": "327cdb97-571c-2d13-306b-4024fce268cb", + "label": "Day(s)" + }, + { + "concept": "88e55059-0ba4-11eb-a3aa-0242ac140008", + "label": "Week(s)" + }, + { + "concept": "88e5cc3c-0ba4-11eb-a3aa-0242ac140008", + "label": "Month(s)" + }, + { + "concept": "a4d0c480-923b-49fe-b125-80453675fdea", + "label": "Year(s)" + } + ] + } + } + ], + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "368d69a6-2b00-4d23-85f5-a70ef5d75761", + "description": "Motif de consultation", + "version": "1.0" +} diff --git a/configs/openmrs/initializer_config/ampathforms/Moyen de transport.json b/configs/openmrs/initializer_config/ampathforms/Moyen de transport.json new file mode 100644 index 0000000..020fe01 --- /dev/null +++ b/configs/openmrs/initializer_config/ampathforms/Moyen de transport.json @@ -0,0 +1,80 @@ +{ + "name": "Moyen de transport", + "pages": [ + { + "label": "Moyen de transport", + "sections": [ + { + "label": "Moyen de transport", + "isExpanded": "true", + "questions": [ + { + "label": "Mode of Arrival", + "type": "obsGroup", + "required": false, + "id": "modeOfArrival", + "questionOptions": { + "rendering": "group", + "concept": "f83eeb93-703a-4dd5-bd95-51a6580b4065" + }, + "questions": [ + { + "label": "Mode of Arrival", + "type": "obs", + "required": false, + "id": "moyenDeTransport", + "questionOptions": { + "rendering": "radio", + "concept": "f83eeb93-703a-4dd5-bd95-51a6580b4065", + "answers": [ + { + "concept": "8e84e437-35fa-4d31-8be9-9aa999f1ff94", + "label": "Ambulated" + }, + { + "concept": "0b290aeb-b4f6-4b37-b114-e7ce2e4c304c", + "label": "Car" + }, + { + "concept": "7a5b55b6-4617-42b9-808c-82116a259a6e", + "label": "Minibus" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + } + ] + }, + "validators": [] + }, + { + "hide": { + "hideWhenExpression": "isEmpty(moyenDeTransport) || moyenDeTransport !== '26c0366b-83e4-4401-9699-e545219b8870'" + }, + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "validators": [] + } + ], + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounter": "Consultation", + "referencedForms": [], + "uuid": "e2d88e5b-6391-4dda-ac2f-4b48b2d1e86b", + "description": "Moyen de transport", + "version": "1", + "published": true, + "retired": true +} diff --git a/configs/openmrs/initializer_config/ampathforms/Nutrition.json b/configs/openmrs/initializer_config/ampathforms/Nutrition.json new file mode 100644 index 0000000..ae14712 --- /dev/null +++ b/configs/openmrs/initializer_config/ampathforms/Nutrition.json @@ -0,0 +1,639 @@ +{ + "name": "Nutrition", + "pages": [ + { + "label": "Nutrition", + "sections": [ + { + "label": "Nutrition", + "isExpanded": "true", + "questions": [ + { + "label": "First Visit", + "type": "obs", + "required": false, + "id": "firstVisit", + "questionOptions": { + "rendering": "radio", + "concept": "c4b48a7a-7c13-4e7d-89ad-1df68c5c6801", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Admission Criteria", + "type": "obs", + "required": false, + "id": "admissionCriteria", + "questionOptions": { + "rendering": "radio", + "concept": "6a7ea608-0546-40f1-92d2-cd020e980414", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1655" + } + ], + "answers": [ + { + "concept": "8dfc3ec9-771a-42b6-ad45-aa0ac15b660c", + "label": "MUAC<115mm" + }, + { + "concept": "edaef9f4-2b5b-4b71-9019-74f1d40ad4d7", + "label": "Oedema" + }, + { + "concept": "1503f027-2693-4674-b658-de41d5df60e4", + "label": "Weight-for-height<-3SD/BMI<16" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(firstVisit) || firstVisit !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "Readmission", + "type": "obs", + "required": false, + "id": "readmission", + "questionOptions": { + "rendering": "radio", + "concept": "a2224476-1827-4270-9ace-c8fd7898fd21", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(firstVisit) || firstVisit !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "Weight Goal (Kg)", + "type": "obs", + "required": false, + "id": "weightGoal(Kg)", + "questionOptions": { + "rendering": "number", + "concept": "fc1f3f86-9332-4714-a4f4-ce88c173a5c2", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "163102" + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(firstVisit) || firstVisit !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "Malnutrition Signs and symptoms", + "type": "obsGroup", + "required": false, + "id": "malnutritionSignsAndSymptomsGroup", + "questionOptions": { + "rendering": "repeating", + "concept": "0fdb609d-41d2-401b-9f8f-e96c98aa0bdc" + }, + "questions": [ + { + "label": "Malnutrition Signs and symptoms", + "type": "obs", + "required": false, + "id": "malnutritionSignsAndSymptoms", + "questionOptions": { + "rendering": "radio", + "concept": "f9270e85-db3f-4e64-8f2a-be3b13863708", + "answers": [ + { + "concept": "3cccf632-26fe-102b-80cb-0017a47871b2", + "label": "Cough (R05)" + }, + { + "concept": "303b3a29-e1da-4a06-892a-648c43399316", + "label": "Diarrhea (> 3 watery stools)" + }, + { + "concept": "6f8988d1-157a-44cc-ac3b-22b627a57db3", + "label": "Fever" + }, + { + "concept": "d6a5068b-91cd-4b6d-86c6-a14fc493a7e7", + "label": "Frequent urination" + }, + { + "concept": "4f73dc25-e114-4666-8559-e3e2528bac7a", + "label": "Thirst" + }, + { + "concept": "3cf1c930-26fe-102b-80cb-0017a47871b2", + "label": "Vomiting (R11)" + } + ] + }, + "validators": [] + }, + { + "label": "Duration", + "type": "obs", + "required": false, + "id": "duration", + "questionOptions": { + "rendering": "number", + "concept": "b0823b2c-4bc8-2a7c-41b5-7bf3c7f14e82", + "disallowDecimals": true + }, + "validators": [] + }, + { + "label": "Time Units", + "type": "obs", + "required": false, + "id": "timeUnits", + "questionOptions": { + "rendering": "radio", + "concept": "373b5749-82ff-a3d8-2e13-db76dd0499b3", + "answers": [ + { + "concept": "327cdb97-571c-2d13-306b-4024fce268cb", + "label": "Day(s)" + }, + { + "concept": "88e474ea-0ba4-11eb-a3aa-0242ac140008", + "label": "Hour(s)" + }, + { + "concept": "88e5cc3c-0ba4-11eb-a3aa-0242ac140008", + "label": "Month(s)" + }, + { + "concept": "88e55059-0ba4-11eb-a3aa-0242ac140008", + "label": "Week(s)" + }, + { + "concept": "a4d0c480-923b-49fe-b125-80453675fdea", + "label": "Year(s)" + } + ] + }, + "validators": [] + } + ], + "validators": [] + }, + { + "label": "Grade of edema", + "type": "obs", + "required": false, + "id": "gradeOfEdema", + "questionOptions": { + "rendering": "radio", + "concept": "068dad25-16ff-4468-8f49-fa1666d493bf", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "164494" + } + ], + "answers": [ + { + "concept": "e7c0fefc-96e8-4ccb-b24b-92ec2024f579", + "label": "One plus" + }, + { + "concept": "9f14f988-be10-419b-b947-0508664b7ef2", + "label": "Two plus" + }, + { + "concept": "5f2ee7bc-8dcf-4617-b31c-2ac6c07617b5", + "label": "Zero" + } + ] + }, + "validators": [] + }, + { + "label": "Chest Indrawing", + "type": "obs", + "required": false, + "id": "chestIndrawing", + "questionOptions": { + "rendering": "radio", + "concept": "90eec1b7-57fc-41c4-9974-6f9587bdf368", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "142373" + } + ], + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Signs of dehydration", + "type": "obs", + "required": false, + "id": "signsOfDehydration", + "questionOptions": { + "rendering": "radio", + "concept": "f4da9202-f358-469c-9987-55cae483cbbb", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "162508" + } + ], + "answers": [ + { + "concept": "b821d08c-34f3-4614-9ae6-30a80bce0236", + "label": "Moderate" + }, + { + "concept": "17aba9e2-b0f0-4d62-9aba-1b2568437313", + "label": "None" + }, + { + "concept": "c728a231-e76a-4c68-aba6-a3909640f5b3", + "label": "Severe" + } + ] + }, + "validators": [] + }, + { + "label": "Frequent urination", + "type": "obs", + "required": false, + "id": "frequentUrination", + "questionOptions": { + "rendering": "radio", + "concept": "d6a5068b-91cd-4b6d-86c6-a14fc493a7e7", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "137593" + } + ], + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Thirst", + "type": "obs", + "required": false, + "id": "thirst", + "questionOptions": { + "rendering": "radio", + "concept": "4f73dc25-e114-4666-8559-e3e2528bac7a", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "164484" + } + ], + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "State of consciousness", + "type": "obs", + "required": false, + "id": "stateOfConsciousness", + "questionOptions": { + "rendering": "radio", + "concept": "afff0d91-df0f-4913-a34a-22e94628bbc5", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "162643" + } + ], + "answers": [ + { + "concept": "279561c9-e537-42c7-87cc-c16fe6eb6c6e", + "label": "Irritable" + }, + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "3af92575-4fde-4982-ae14-85f815c452c8", + "label": "Passive" + }, + { + "concept": "910a2ec7-0672-4880-a2b9-1f9938323611", + "label": "Restless" + } + ] + }, + "validators": [] + }, + { + "label": "Extremities", + "type": "obs", + "required": false, + "id": "extremities", + "questionOptions": { + "rendering": "radio", + "concept": "7ea58c8f-be4c-4c7c-80d7-e43459be45d4", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "24a58167-e111-48a7-953b-d4c169964821", + "label": "Cold" + } + ] + }, + "validators": [] + }, + { + "label": "Appearance of the ears", + "type": "obs", + "required": false, + "id": "appearanceOfTheEars", + "questionOptions": { + "rendering": "radio", + "concept": "3d993c8b-107d-4520-871c-b984d106343b", + "answers": [ + { + "concept": "6513d6c6-d706-4419-9311-ea7e32b2c5b1", + "label": "Dry" + }, + { + "concept": "566d50e2-5041-4b81-b6d0-da87fdbf1c2f", + "label": "Ear Discharge" + }, + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4d837b-5967-4ba6-902c-ca7651bebf34", + "label": "Pain (R52.9)" + } + ] + }, + "validators": [] + }, + { + "label": "Oral appearance", + "type": "obs", + "required": false, + "id": "oralAppearance", + "questionOptions": { + "rendering": "radio", + "concept": "4fe02b51-1e07-485b-a66a-94b98fdca754", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "9df01f14-c567-4a42-a53a-8eff79529479", + "label": "Inflammation" + }, + { + "concept": "a5dde366-b83b-4766-ae8b-2be0b77385bd", + "label": "Oral thrush" + } + ] + }, + "validators": [] + }, + { + "label": "Skin appearance", + "type": "obs", + "required": false, + "id": "skinAppearance", + "questionOptions": { + "rendering": "radio", + "concept": "28e80fcf-ddf1-48fd-8784-a6da98589f2c", + "answers": [ + { + "concept": "31e330c1-fe09-437c-9c84-10607d29f0d2", + "label": "Desquamation" + }, + { + "concept": "5b227510-5f7a-4d53-9f45-0a74556f1bfb", + "label": "Abscess" + }, + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "5597ab5f-4551-48d5-b09e-fdf66a5d18d5", + "label": "Scabies" + }, + { + "concept": "3c5c24dd-38a3-4418-8e8e-55c33df7b0b2", + "label": "Ulcers" + } + ] + }, + "validators": [] + }, + { + "label": "Lymph Nodes", + "type": "obs", + "required": false, + "id": "lymphNodes", + "questionOptions": { + "rendering": "radio", + "concept": "8d182e71-f10f-42de-b79e-6005917751bb", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "160683" + } + ], + "answers": [ + { + "concept": "2b3bc872-0a39-4988-bcb0-017841c6f300", + "label": "Axillary" + }, + { + "concept": "cba34152-fbda-4953-bc5c-0cc44db433a1", + "label": "Inguinal fold" + }, + { + "concept": "c1db62b1-082b-46b1-b2a8-bb8da60a6e5a", + "label": "Neck" + }, + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + } + ] + }, + "validators": [] + }, + { + "label": "Appetite", + "type": "obs", + "required": false, + "id": "appetite", + "questionOptions": { + "rendering": "radio", + "concept": "7c383fa5-d85b-4b5f-b41f-d86826403969", + "answers": [ + { + "concept": "b46aa35e-9fa3-4d61-9d88-e805648c7eac", + "label": "Fair" + }, + { + "concept": "b82cb558-1b79-4dba-a30a-2f7bd93d8c7c", + "label": "Good" + }, + { + "concept": "6c5e5c1d-137c-421c-ae7e-243dd24fbe18", + "label": "Refusal" + } + ] + }, + "validators": [] + }, + { + "label": "Other Problems", + "type": "obs", + "required": false, + "id": "otherProblems", + "questionOptions": { + "rendering": "radio", + "concept": "4dc86194-6a6b-44d5-8681-2d6d15f61577", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Other Problems Details", + "type": "obs", + "required": false, + "id": "otherProblemsDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "872f2b62-dbe7-430e-ba77-fa1440b170b7" + }, + "hide": { + "hideWhenExpression": "isEmpty(otherProblems) || otherProblems !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" + }, + "validators": [] + }, + { + "label": "Result of the visit", + "type": "obs", + "required": false, + "id": "resultOfTheVisit", + "questionOptions": { + "rendering": "radio", + "concept": "32de1494-eb45-47fa-bc1f-4ea80cb487e5", + "answers": [ + { + "concept": "713ab6cf-71e6-4f69-9a8a-747b948a5656", + "label": "Cured" + }, + { + "concept": "08e3c76b-f95c-48e2-9249-51311f3453ec", + "label": "Fail" + }, + { + "concept": "43da897c-9936-40db-9b19-7be549505d93", + "label": "Follow-up appointment" + }, + { + "concept": "fb25b6de-d7d2-4a0b-a2e0-54517e723d03", + "label": "Referred" + }, + { + "concept": "3cd5bb6d-29ae-4f3c-90e4-dd77fb08c2ca", + "label": "Withdrawal" + } + ] + }, + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "referencedForms": [], + "uuid": "47ad6522-d817-45cb-8e16-386bb090995d", + "description": "Nutrition", + "version": "1.0" +} diff --git "a/configs/openmrs/initializer_config/ampathforms/R\303\251f\303\251rence.json" "b/configs/openmrs/initializer_config/ampathforms/R\303\251f\303\251rence.json" new file mode 100644 index 0000000..2d076ab --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/R\303\251f\303\251rence.json" @@ -0,0 +1,122 @@ +{ + "name": "Référence", + "pages": [ + { + "label": "Référence", + "sections": [ + { + "label": "Referral", + "isExpanded": "true", + "questions": [ + { + "label": "Referral", + "type": "obsGroup", + "required": false, + "id": "referral", + "questionOptions": { + "rendering": "repeating", + "concept": "bda6b247-f1fa-40d8-9164-79aebe99bfaf" + }, + "questions": [ + { + "label": "Referred By", + "type": "obs", + "required": false, + "id": "referredBy", + "questionOptions": { + "rendering": "textarea", + "concept": "eb2cec8a-ee2e-4b12-9026-3d24e88bfab8" + }, + "validators": [] + }, + { + "label": "Health Centre", + "type": "obs", + "required": false, + "id": "healthCentre", + "questionOptions": { + "rendering": "radio", + "concept": "276cccb6-0c0b-4f84-8947-298aceea5e62", + "answers": [ + { + "concept": "4b9b9184-6aa8-4875-ab10-f22092a0075b", + "label": "Hopital St Jean Limbe" + }, + { + "concept": "696114ce-8c7b-4018-a8d5-ee2e65d323d3", + "label": "Hopital Sacré Coeur Milot" + }, + { + "concept": "b0b1c920-02ba-47e7-93e5-9922e888aac0", + "label": "Hopital Justinien Cap Haitien" + }, + { + "concept": "50f4de56-b5b6-4939-aa73-7d7f5a5f8961", + "label": "Hopital HBCH" + }, + { + "concept": "6d1450bb-0109-456b-82f9-e495bcb5c959", + "label": "Hopital de Trou du Nord" + }, + { + "concept": "57195bab-5935-4da4-b5de-e9ee1dba162e", + "label": "Hopital de Pignon" + }, + { + "concept": "1c61317b-f7cf-4709-829c-76abb6f6501b", + "label": "Hopital de Borgne" + }, + { + "concept": "1ff3db17-7a6f-40bf-8062-a912773e905c", + "label": "Hopital Bon Samaritain Limbe" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + } + ] + }, + "validators": [] + }, + { + "label": "Other Health Centre", + "type": "obs", + "required": false, + "id": "otherHealthCentre", + "questionOptions": { + "rendering": "textarea", + "concept": "ebf58d81-6ca4-4f2b-9287-cffa5cb67441" + }, + "hide": { + "hideWhenExpression": "isEmpty(healthCentre) || healthCentre !== '26c0366b-83e4-4401-9699-e545219b8870'" + }, + "validators": [] + }, + { + "label": "Referral Notes", + "type": "obs", + "required": false, + "id": "referralNotes", + "questionOptions": { + "rendering": "textarea", + "concept": "68224cb3-5b61-410d-b269-7b4edc572fd8" + }, + "validators": [] + } + ], + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounter": "Consultation", + "referencedForms": [], + "uuid": "4ae0cfeb-7834-43fe-b6fb-37d2f63cf37c", + "description": "Referral form", + "version": "1", + "published": true, + "retired": false +} diff --git a/configs/openmrs/initializer_config/ampathforms/Signes vitaux.json b/configs/openmrs/initializer_config/ampathforms/Signes vitaux.json new file mode 100644 index 0000000..c627413 --- /dev/null +++ b/configs/openmrs/initializer_config/ampathforms/Signes vitaux.json @@ -0,0 +1,173 @@ +{ + "name": "Signes vitaux", + "pages": [ + { + "label": "Signes vitaux", + "sections": [ + { + "label": "Signes vitaux", + "isExpanded": "true", + "questions": [ + { + "label": "Vital Signs", + "type": "obsGroup", + "required": false, + "id": "vitalSigns", + "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": [] + } + }, + { + "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": [] + } + }, + { + "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": [] + } + ], + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "a7feb1a0-4bd8-48d1-acfd-ce282d139f06", + "encounter": "REG", + "referencedForms": [], + "uuid": "895f7868-ca3f-33bb-9336-20f1daf461b3", + "description": "Vitals and Biometrics", + "version": "1", + "published": true, + "retired": false +} diff --git "a/configs/openmrs/initializer_config/ampathforms/Suivi d\342\200\231urgences.json" "b/configs/openmrs/initializer_config/ampathforms/Suivi d\342\200\231urgences.json" new file mode 100644 index 0000000..b7a2369 --- /dev/null +++ "b/configs/openmrs/initializer_config/ampathforms/Suivi d\342\200\231urgences.json" @@ -0,0 +1,76 @@ +{ + "name": "Suivi d’urgences", + "pages": [ + { + "label": "Suivi d’urgences", + "sections": [ + { + "label": "Emergency", + "isExpanded": "true", + "questions": [ + { + "label": "Emergency", + "type": "obsGroup", + "required": false, + "id": "emergency", + "questionOptions": { + "rendering": "repeating", + "concept": "2acd52d4-a0c5-45da-be77-0fe34bb3dd84" + }, + "questions": [ + { + "label": "Date / Time ", + "type": "encounterDatetime", + "required": false, + "id": "dateTime", + "datePickerFormat": "both", + "questionOptions": { + "rendering": "date" + } + }, + { + "label": "Action taken", + "type": "obs", + "required": false, + "id": "actionTaken", + "questionOptions": { + "rendering": "textarea", + "concept": "7d15e31b-021f-9f99-50e6-50ace62f3962", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "164378" + } + ] + }, + "validators": [] + }, + { + "label": "Observations", + "type": "obs", + "required": false, + "id": "observations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "validators": [] + } + ], + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounter": "Consultation", + "referencedForms": [], + "uuid": "b11bef46-cb83-47b1-90b7-75ac5dd629e3", + "description": "Suivi d’urgences", + "version": "1", + "published": true, + "retired": false +} diff --git a/configs/openmrs/initializer_config/ampathforms/Vaccinations.json b/configs/openmrs/initializer_config/ampathforms/Vaccinations.json index 1c58585..b788a99 100644 --- a/configs/openmrs/initializer_config/ampathforms/Vaccinations.json +++ b/configs/openmrs/initializer_config/ampathforms/Vaccinations.json @@ -90,6 +90,93 @@ "disallowDecimals": true }, "validators": [] + }, + { + "label": "Booster", + "type": "obs", + "required": false, + "id": "booster", + "questionOptions": { + "rendering": "radio", + "concept": "70bc9209-2b6e-4e17-9c4d-58923d3ac49e", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] + }, + "validators": [] + }, + { + "label": "Vaccination date", + "type": "obs", + "required": false, + "id": "vaccinationDate", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "31819490-ae2f-4bb2-ab30-522f93baa0d1", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1410" + } + ] + }, + "validators": [] + }, + { + "label": "Vaccine Manufacturer", + "type": "obs", + "required": false, + "id": "vaccineManufacturer", + "questionOptions": { + "rendering": "textarea", + "concept": "602ea0c3-c5ce-4ddd-87a5-a5135bb3cb08", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1419" + } + ] + }, + "validators": [] + }, + { + "label": "Vaccine Lot Number", + "type": "obs", + "required": false, + "id": "vaccineLotNumber", + "questionOptions": { + "rendering": "textarea" + }, + "validators": [] + }, + { + "label": "Vaccine lot expiration date", + "type": "obs", + "required": false, + "id": "vaccineLotExpirationDate", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "83189d40-6746-4bb6-a987-9afd4a766690", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "165907" + } + ] + }, + "validators": [] } ] } @@ -102,4 +189,4 @@ "uuid": "c37025cf-13b7-4b99-9356-40e2b7a9e8c6", "description": "Vaccinations", "version": "1.0" -} \ No newline at end of file +} diff --git a/configs/openmrs/initializer_config/ampathforms/emergency_followup.json b/configs/openmrs/initializer_config/ampathforms/emergency_followup.json deleted file mode 100644 index 9efe190..0000000 --- a/configs/openmrs/initializer_config/ampathforms/emergency_followup.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "Suivi d’urgences", - "pages": [ - { - "label": "Suivi d’urgences", - "sections": [ - { - "label": "Emergency", - "isExpanded": "true", - "questions": [ - { - "label": "Date / Time ", - "type": "encounterDatetime", - "required": false, - "id": "dateTime", - "datePickerFormat": "both", - "questionOptions": { - "rendering": "date" - } - }, - { - "label": "Action taken", - "type": "obs", - "required": false, - "id": "actionTaken", - "questionOptions": { - "rendering": "textarea", - "concept": "7d15e31b-021f-9f99-50e6-50ace62f3962", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "164378" - } - ] - }, - "validators": [] - }, - { - "label": "Observations", - "type": "obs", - "required": false, - "id": "observations", - "questionOptions": { - "rendering": "textarea", - "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" - }, - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounter": "Consultation", - "referencedForms": [], - "uuid": "b11bef46-cb83-47b1-90b7-75ac5dd629e3", - "description": "Suivi d’urgences", - "version": "1", - "published": true, - "retired": false - } \ No newline at end of file diff --git a/configs/openmrs/initializer_config/ampathforms/mode_of_arrival_1.json b/configs/openmrs/initializer_config/ampathforms/mode_of_arrival_1.json deleted file mode 100644 index bcb6a75..0000000 --- a/configs/openmrs/initializer_config/ampathforms/mode_of_arrival_1.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "name": "Moyen de transport", - "pages": [ - { - "label": "Moyen de transport", - "sections": [ - { - "label": "Moyen de transport", - "isExpanded": "true", - "questions": [ - { - "label": "Moyen de transport", - "type": "obs", - "required": false, - "id": "moyenDeTransport", - "questionOptions": { - "rendering": "radio", - "concept": "f83eeb93-703a-4dd5-bd95-51a6580b4065", - "answers": [ - { - "concept": "8e84e437-35fa-4d31-8be9-9aa999f1ff94", - "label": "Ambulated" - }, - { - "concept": "0b290aeb-b4f6-4b37-b114-e7ce2e4c304c", - "label": "Car" - }, - { - "concept": "7a5b55b6-4617-42b9-808c-82116a259a6e", - "label": "Minibus" - }, - { - "concept": "26c0366b-83e4-4401-9699-e545219b8870", - "label": "Other" - } - ] - }, - "validators": [] - }, - { - "hide": { - "hideWhenExpression": "isEmpty(moyenDeTransport) || moyenDeTransport !== '26c0366b-83e4-4401-9699-e545219b8870'" - }, - "label": "Other observations", - "type": "obs", - "required": false, - "id": "otherObservations", - "questionOptions": { - "rendering": "textarea", - "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" - }, - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounter": "Consultation", - "referencedForms": [], - "uuid": "e2d88e5b-6391-4dda-ac2f-4b48b2d1e86b", - "description": "Moyen de transport", - "version": "1", - "published": true, - "retired": true -} diff --git a/configs/openmrs/initializer_config/ampathforms/referral.json b/configs/openmrs/initializer_config/ampathforms/referral.json deleted file mode 100644 index d51b3a0..0000000 --- a/configs/openmrs/initializer_config/ampathforms/referral.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "name": "Reference", - "pages": [ - { - "label": "Reference", - "sections": [ - { - "label": "Referral", - "isExpanded": "true", - "questions": [ - { - "label": "Referred By", - "type": "obs", - "required": false, - "id": "referredBy", - "questionOptions": { - "rendering": "textarea", - "concept": "eb2cec8a-ee2e-4b12-9026-3d24e88bfab8" - }, - "validators": [] - }, - { - "label": "Health Centre", - "type": "obs", - "required": false, - "id": "healthCentre", - "questionOptions": { - "rendering": "radio", - "concept": "276cccb6-0c0b-4f84-8947-298aceea5e62", - "answers": [ - { - "concept": "4b9b9184-6aa8-4875-ab10-f22092a0075b", - "label": "Hopital St Jean Limbe" - }, - { - "concept": "696114ce-8c7b-4018-a8d5-ee2e65d323d3", - "label": "Hopital Sacré Coeur Milot" - }, - { - "concept": "b0b1c920-02ba-47e7-93e5-9922e888aac0", - "label": "Hopital Justinien Cap Haitien" - }, - { - "concept": "50f4de56-b5b6-4939-aa73-7d7f5a5f8961", - "label": "Hopital HBCH" - }, - { - "concept": "6d1450bb-0109-456b-82f9-e495bcb5c959", - "label": "Hopital de Trou du Nord" - }, - { - "concept": "57195bab-5935-4da4-b5de-e9ee1dba162e", - "label": "Hopital de Pignon" - }, - { - "concept": "1c61317b-f7cf-4709-829c-76abb6f6501b", - "label": "Hopital de Borgne" - }, - { - "concept": "1ff3db17-7a6f-40bf-8062-a912773e905c", - "label": "Hopital Bon Samaritain Limbe" - }, - { - "concept": "26c0366b-83e4-4401-9699-e545219b8870", - "label": "Other" - } - ] - }, - "validators": [] - }, - { - "label": "Referral Notes", - "type": "obs", - "required": false, - "id": "referralNotes", - "questionOptions": { - "rendering": "textarea", - "concept": "68224cb3-5b61-410d-b269-7b4edc572fd8" - }, - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounter": "Consultation", - "referencedForms": [], - "uuid": "4ae0cfeb-7834-43fe-b6fb-37d2f63cf37c", - "description": "Referral form", - "version": "1", - "published": true, - "retired": false -} \ No newline at end of file diff --git a/configs/openmrs/initializer_config/ampathforms/vitalsAndBiometrics.json b/configs/openmrs/initializer_config/ampathforms/vitalsAndBiometrics.json index dc30669..e69de29 100644 --- a/configs/openmrs/initializer_config/ampathforms/vitalsAndBiometrics.json +++ b/configs/openmrs/initializer_config/ampathforms/vitalsAndBiometrics.json @@ -1,275 +0,0 @@ -{ - "name": "Vitals and Biometrics", - "pages": [ - { - "label": "Vitals", - "sections": [ - { - "label": "Vital Signs", - "isExpanded": "true", - "questions": [ - { - "label": "Pain Scale", - "type": "obs", - "required": false, - "id": "painScale", - "questionOptions": { - "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" - } - ], - "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" - } - ], - "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", - "questions": [ - { - "label": "Height (cm)", - "type": "obs", - "required": false, - "id": "height", - "questionOptions": { - "rendering": "number", - "concept": "5090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5090" - } - ] - }, - "validators": [] - }, - { - "label": "Weight (kg)", - "type": "obs", - "required": false, - "id": "weight", - "questionOptions": { - "rendering": "number", - "min": "0", - "max": "700", - "concept": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5089" - } - ] - } - }, - { - "label": "Head Circumference (cm)", - "type": "obs", - "required": false, - "id": "headCircumference", - "questionOptions": { - "rendering": "number", - "concept": "09313648-8ba0-4480-a3a3-efe2d3b8a769" - }, - "validators": [] - }, - { - "label": "Abdominal Diameter (cm)", - "type": "obs", - "required": false, - "id": "abdominalDiameter", - "questionOptions": { - "rendering": "number", - "concept": "f95a4f13-80f0-4254-a1f2-bc06aea4c9c9" - }, - "validators": [] - }, - { - "label": "Mid-Upper Arm Circumference (cm)", - "type": "obs", - "required": false, - "id": "midUpperArmCircumference", - "questionOptions": { - "rendering": "number", - "concept": "f074942b-666b-4ca3-9f0e-1103128b3ae2", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "1343" - } - ] - } - } - ] - } - ] - }, - { - "label": "Triage", - "sections": [ - { - "label": "Triage", - "isExpanded": "true", - "questions": [ - { - "label": "Level of emergency severity assessment", - "type": "obs", - "required": true, - "id": "levelOfEmergencySeverityAssessment", - "questionOptions": { - "rendering": "select", - "concept": "bbb02557-0277-4979-a1fa-b0020f136066", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "159637" - } - ] - }, - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounterType": "a7feb1a0-4bd8-48d1-acfd-ce282d139f06", - "encounter": "REG", - "referencedForms": [], - "uuid": "895f7868-ca3f-33bb-9336-20f1daf461b3", - "description": "Vitals and Biometrics", - "version": "1", - "published": true, - "retired": false -} \ No newline at end of file From db5b829454531a2ca53fa5cc0117e903ef9c2e8a Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Tue, 29 Oct 2024 03:23:41 +0300 Subject: [PATCH 06/17] fix: use seperate keys on similar fields --- .../ampathforms/Consultation pr\303\251natale.json" | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git "a/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" "b/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" index a3170ff..c7689b7 100644 --- "a/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" +++ "b/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" @@ -253,7 +253,7 @@ "label": "Other Health Centre", "type": "obs", "required": false, - "id": "otherHealthCentre", + "id": "otherPlaceOfDeliveryOfTheLastPregnancy", "questionOptions": { "rendering": "textarea", "concept": "ebf58d81-6ca4-4f2b-9287-cffa5cb67441" @@ -763,9 +763,6 @@ "rendering": "group", "concept": "657e7263-a3d6-445e-9c24-81e765ea447d" }, - "hide": { - "hideWhenExpression": "isEmpty(visitNumber) || visitNumber !== '929e9a36-fdfa-42a3-a416-64be037c3155'" - }, "questions": [ { "label": "Planned place of delivery", @@ -827,7 +824,7 @@ "label": "Other Health Centre", "type": "obs", "required": false, - "id": "otherHealthCentre", + "id": "otherPlannedPlaceOfDelivery", "questionOptions": { "rendering": "textarea", "concept": "ebf58d81-6ca4-4f2b-9287-cffa5cb67441" From f963fcadb7a696be559a204bf891e5e6ede5505e Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 30 Oct 2024 07:00:54 +0300 Subject: [PATCH 07/17] fix: label names --- .../ampathforms/Historique de sant\303\251.json" | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git "a/configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" "b/configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" index e0b3496..b442211 100644 --- "a/configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" +++ "b/configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" @@ -685,11 +685,11 @@ "answers": [ { "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", - "label": "True" + "label": "Yes" }, { "concept": "2120763c-6c49-4133-b532-1e931ab4858a", - "label": "False" + "label": "No" } ] }, @@ -706,11 +706,11 @@ "answers": [ { "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", - "label": "True" + "label": "Yes" }, { "concept": "2120763c-6c49-4133-b532-1e931ab4858a", - "label": "False" + "label": "No" } ] }, @@ -727,11 +727,11 @@ "answers": [ { "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", - "label": "True" + "label": "Yes" }, { "concept": "2120763c-6c49-4133-b532-1e931ab4858a", - "label": "False" + "label": "No" } ] }, From 3599388b52b6dc046c9e80f5b5aaf9fd8da8bf7e Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 6 Nov 2024 09:44:57 +0300 Subject: [PATCH 08/17] rename form names --- .../initializer_config/ampathforms/consultation_prenatale.json | 0 .../initializer_config/ampathforms/depart_non_autorise.json | 0 .../initializer_config/ampathforms/echographie_gynecologique.json | 0 .../ampathforms/echographie_obstetricale_1.json | 0 .../ampathforms/echographie_obstetricale_2.json | 0 .../ampathforms/echographie_obstetricale_3.json | 0 .../initializer_config/ampathforms/examen_des_systemes.json | 0 .../initializer_config/ampathforms/examen_gynecologique.json | 0 .../initializer_config/ampathforms/examen_obstetrical.json | 0 .../ampathforms/{Examen physique .json => examen_physique.json} | 0 .../initializer_config/ampathforms/historique_de_sante.json | 0 .../{Motif de consultation.json => motif_de_consultation.json} | 0 .../{Moyen de transport.json => moyen_de_transport.json} | 0 .../ampathforms/{Nutrition.json => nutrition.json} | 0 .../openmrs/initializer_config/ampathforms/reference.json | 0 .../ampathforms/{Signes vitaux.json => signes_vitaux.json} | 0 .../openmrs/initializer_config/ampathforms/suivi_durgences.json | 0 .../ampathforms/{Vaccinations.json => vaccinations.json} | 0 .../{vitalsAndBiometrics.json => vitals_and_biometrics.json} | 0 19 files changed, 0 insertions(+), 0 deletions(-) rename "configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" => configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json (100%) rename "configs/openmrs/initializer_config/ampathforms/D\303\251part non autoris\303\251.json" => configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json (100%) rename "configs/openmrs/initializer_config/ampathforms/Echographie gyn\303\251cologique.json" => configs/openmrs/initializer_config/ampathforms/echographie_gynecologique.json (100%) rename "configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" => configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json (100%) rename "configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" => configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json (100%) rename "configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" => configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json (100%) rename "configs/openmrs/initializer_config/ampathforms/Examen des syst\303\250mes.json" => configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json (100%) rename "configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" => configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json (100%) rename "configs/openmrs/initializer_config/ampathforms/Examen obst\303\251trical.json" => configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json (100%) rename configs/openmrs/initializer_config/ampathforms/{Examen physique .json => examen_physique.json} (100%) rename "configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" => configs/openmrs/initializer_config/ampathforms/historique_de_sante.json (100%) rename configs/openmrs/initializer_config/ampathforms/{Motif de consultation.json => motif_de_consultation.json} (100%) rename configs/openmrs/initializer_config/ampathforms/{Moyen de transport.json => moyen_de_transport.json} (100%) rename configs/openmrs/initializer_config/ampathforms/{Nutrition.json => nutrition.json} (100%) rename "configs/openmrs/initializer_config/ampathforms/R\303\251f\303\251rence.json" => configs/openmrs/initializer_config/ampathforms/reference.json (100%) rename configs/openmrs/initializer_config/ampathforms/{Signes vitaux.json => signes_vitaux.json} (100%) rename "configs/openmrs/initializer_config/ampathforms/Suivi d\342\200\231urgences.json" => configs/openmrs/initializer_config/ampathforms/suivi_durgences.json (100%) rename configs/openmrs/initializer_config/ampathforms/{Vaccinations.json => vaccinations.json} (100%) rename configs/openmrs/initializer_config/ampathforms/{vitalsAndBiometrics.json => vitals_and_biometrics.json} (100%) diff --git "a/configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" b/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Consultation pr\303\251natale.json" rename to configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json diff --git "a/configs/openmrs/initializer_config/ampathforms/D\303\251part non autoris\303\251.json" b/configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/D\303\251part non autoris\303\251.json" rename to configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie gyn\303\251cologique.json" b/configs/openmrs/initializer_config/ampathforms/echographie_gynecologique.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Echographie gyn\303\251cologique.json" rename to configs/openmrs/initializer_config/ampathforms/echographie_gynecologique.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 1.json" rename to configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 2.json" rename to configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Echographie obst\303\251tricale 3.json" rename to configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Examen des syst\303\250mes.json" b/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Examen des syst\303\250mes.json" rename to configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" b/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Examen gyn\303\251cologique.json" rename to configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Examen obst\303\251trical.json" b/configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Examen obst\303\251trical.json" rename to configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json diff --git a/configs/openmrs/initializer_config/ampathforms/Examen physique .json b/configs/openmrs/initializer_config/ampathforms/examen_physique.json similarity index 100% rename from configs/openmrs/initializer_config/ampathforms/Examen physique .json rename to configs/openmrs/initializer_config/ampathforms/examen_physique.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" b/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Historique de sant\303\251.json" rename to configs/openmrs/initializer_config/ampathforms/historique_de_sante.json diff --git a/configs/openmrs/initializer_config/ampathforms/Motif de consultation.json b/configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json similarity index 100% rename from configs/openmrs/initializer_config/ampathforms/Motif de consultation.json rename to configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json diff --git a/configs/openmrs/initializer_config/ampathforms/Moyen de transport.json b/configs/openmrs/initializer_config/ampathforms/moyen_de_transport.json similarity index 100% rename from configs/openmrs/initializer_config/ampathforms/Moyen de transport.json rename to configs/openmrs/initializer_config/ampathforms/moyen_de_transport.json diff --git a/configs/openmrs/initializer_config/ampathforms/Nutrition.json b/configs/openmrs/initializer_config/ampathforms/nutrition.json similarity index 100% rename from configs/openmrs/initializer_config/ampathforms/Nutrition.json rename to configs/openmrs/initializer_config/ampathforms/nutrition.json diff --git "a/configs/openmrs/initializer_config/ampathforms/R\303\251f\303\251rence.json" b/configs/openmrs/initializer_config/ampathforms/reference.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/R\303\251f\303\251rence.json" rename to configs/openmrs/initializer_config/ampathforms/reference.json diff --git a/configs/openmrs/initializer_config/ampathforms/Signes vitaux.json b/configs/openmrs/initializer_config/ampathforms/signes_vitaux.json similarity index 100% rename from configs/openmrs/initializer_config/ampathforms/Signes vitaux.json rename to configs/openmrs/initializer_config/ampathforms/signes_vitaux.json diff --git "a/configs/openmrs/initializer_config/ampathforms/Suivi d\342\200\231urgences.json" b/configs/openmrs/initializer_config/ampathforms/suivi_durgences.json similarity index 100% rename from "configs/openmrs/initializer_config/ampathforms/Suivi d\342\200\231urgences.json" rename to configs/openmrs/initializer_config/ampathforms/suivi_durgences.json diff --git a/configs/openmrs/initializer_config/ampathforms/Vaccinations.json b/configs/openmrs/initializer_config/ampathforms/vaccinations.json similarity index 100% rename from configs/openmrs/initializer_config/ampathforms/Vaccinations.json rename to configs/openmrs/initializer_config/ampathforms/vaccinations.json diff --git a/configs/openmrs/initializer_config/ampathforms/vitalsAndBiometrics.json b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json similarity index 100% rename from configs/openmrs/initializer_config/ampathforms/vitalsAndBiometrics.json rename to configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json From 320023f9232d18bf96686ea8cad7520d80ccdb48 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 6 Nov 2024 09:48:36 +0300 Subject: [PATCH 09/17] rebase branch to main --- .../ampathforms/vitals_and_biometrics.json | 246 ++++++++++++++++++ 1 file changed, 246 insertions(+) diff --git a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json index e69de29..1cf870f 100644 --- a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json +++ b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json @@ -0,0 +1,246 @@ +{ + "name": "Vitals and Biometrics", + "pages": [ + { + "label": "Vitals", + "sections": [ + { + "label": "Vital Signs", + "isExpanded": "true", + "questions": [ + { + "label": "Pain Scale", + "type": "obs", + "required": false, + "id": "painScale", + "questionOptions": { + "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" + } + ], + "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" + } + ], + "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", + "questions": [ + { + "label": "Height (cm)", + "type": "obs", + "required": false, + "id": "height", + "questionOptions": { + "rendering": "number", + "concept": "5090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5090" + } + ] + }, + "validators": [] + }, + { + "label": "Weight (kg)", + "type": "obs", + "required": false, + "id": "weight", + "questionOptions": { + "rendering": "number", + "min": "0", + "max": "700", + "concept": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "5089" + } + ] + } + }, + { + "label": "Head Circumference (cm)", + "type": "obs", + "required": false, + "id": "headCircumference", + "questionOptions": { + "rendering": "number", + "concept": "09313648-8ba0-4480-a3a3-efe2d3b8a769" + }, + "validators": [] + }, + { + "label": "Abdominal Diameter (cm)", + "type": "obs", + "required": false, + "id": "abdominalDiameter", + "questionOptions": { + "rendering": "number", + "concept": "f95a4f13-80f0-4254-a1f2-bc06aea4c9c9" + }, + "validators": [] + }, + { + "label": "Mid-Upper Arm Circumference (cm)", + "type": "obs", + "required": false, + "id": "midUpperArmCircumference", + "questionOptions": { + "rendering": "number", + "concept": "f074942b-666b-4ca3-9f0e-1103128b3ae2", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1343" + } + ] + } + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "a7feb1a0-4bd8-48d1-acfd-ce282d139f06", + "encounter": "REG", + "referencedForms": [], + "uuid": "895f7868-ca3f-33bb-9336-20f1daf461b3", + "description": "Vitals and Biometrics", + "version": "1", + "published": true, + "retired": false +} From cb488b864c75ef67a44c4128acf8e8e7f981680b Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 6 Nov 2024 15:42:43 +0300 Subject: [PATCH 10/17] add encounterTypes --- .../ampathforms/depart_non_autorise.json | 5 +-- .../echographie_gynecologique.json | 5 +-- .../echographie_obstetricale_1.json | 3 +- .../echographie_obstetricale_2.json | 4 +-- .../echographie_obstetricale_3.json | 4 +-- .../ampathforms/examen_des_systemes.json | 3 +- .../ampathforms/examen_gynecologique.json | 3 +- .../ampathforms/examen_obstetrical.json | 5 +-- .../ampathforms/examen_physique.json | 5 +-- .../ampathforms/gynecology_ultrasound.json | 35 ------------------- .../ampathforms/historique_de_sante.json | 3 +- .../ampathforms/motif_de_consultation.json | 3 +- .../ampathforms/nutrition.json | 3 +- .../ampathforms/reference.json | 3 +- .../ampathforms/suivi_durgences.json | 3 +- .../ampathforms/vaccinations.json | 3 +- .../ampathforms/vitals_and_biometrics.json | 4 +-- 17 files changed, 36 insertions(+), 58 deletions(-) delete mode 100644 configs/openmrs/initializer_config/ampathforms/gynecology_ultrasound.json diff --git a/configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json b/configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json index 043a4d9..be30e35 100644 --- a/configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json +++ b/configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json @@ -46,9 +46,10 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "e9515b93-8932-4d9a-a9c2-655eba9142c5", + "encounter": "Départ non autorisé", "referencedForms": [], "uuid": "2567021e-1666-4ffa-9504-9e66da01c31a", "description": "Départ non autorisé", "version": "1" -} \ No newline at end of file +} diff --git a/configs/openmrs/initializer_config/ampathforms/echographie_gynecologique.json b/configs/openmrs/initializer_config/ampathforms/echographie_gynecologique.json index 0258a3c..b0152f8 100644 --- a/configs/openmrs/initializer_config/ampathforms/echographie_gynecologique.json +++ b/configs/openmrs/initializer_config/ampathforms/echographie_gynecologique.json @@ -25,11 +25,12 @@ } ], "processor": "EncounterFormProcessor", - "encounter": "Consultation", + "encounter": "Echographie gynécologique", + "encounterType": "b01f0262-232a-4489-aad3-9bb67ad0d166", "referencedForms": [], "uuid": "d1f43dba-e483-4ded-aedf-40f84de577a2", "description": "Echographie gynécologique", "version": "1", "published": true, "retired": false -} \ No newline at end of file +} diff --git a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json index fb79659..108cd43 100644 --- a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json +++ b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json @@ -313,7 +313,8 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "a46e76b4-019a-4f5e-813b-82fcb05e73c7", + "encounter": "Echographie obstétricale 1", "referencedForms": [], "uuid": "89111520-a926-47c1-a4fb-82c70fd68cb1", "description": "Echographie obstétricale 1", diff --git a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json index a77f8d5..30969b5 100644 --- a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json +++ b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json @@ -355,12 +355,12 @@ } ], "processor": "EncounterFormProcessor", - "encounter": "Consultation", + "encounter": "Echographie obstétricale 2", "referencedForms": [], "uuid": "9ddbe11e-b6ac-4788-a146-ef258853e129", "description": "Echographie obstétricale 2", "version": "1", "published": true, "retired": false, - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591" + "encounterType": "23c9cd94-75ed-42f2-a2f6-7945ca54b438" } diff --git a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json index fdd2f30..f5d0921 100644 --- a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json +++ b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json @@ -251,12 +251,12 @@ } ], "processor": "EncounterFormProcessor", - "encounter": "Consultation", + "encounter": "Echographie obstétricale 3", "referencedForms": [], "uuid": "acad07d9-945f-415d-a5b0-5cc1dc701115", "description": "Echographie obstétricale 3", "version": "1", "published": true, "retired": false, - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591" + "encounterType": "6a9d5873-1cd3-467c-b703-9c6c8ba5eb48" } diff --git a/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json b/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json index 051aa40..c7f8a34 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json @@ -999,7 +999,8 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "3f47549a-1bca-4836-87d1-9d422657fdf4", + "encounter": "Examen des systèmes", "referencedForms": [], "uuid": "", "description": "Examen des systèmes", diff --git a/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json b/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json index 596b7d8..6587abc 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json @@ -325,7 +325,8 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "55fd6104-58a2-46d9-9996-17b5d5138a21", + "encounter": "Examen gynécologique", "referencedForms": [], "uuid": "74fef8e4-7a9a-4a05-ab77-ae2cebbc9506", "description": "Examen gynécologique", diff --git a/configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json b/configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json index 04cd058..f77431e 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json @@ -124,9 +124,10 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "648adf26-bb2f-4b73-bc7a-466437d558b3", + "encounter": "Examen obstétrical", "referencedForms": [], "uuid": "f30209a8-9d58-4b99-b99a-582b9006cce5", "description": "Examen obstétrical", "version": "1.0" -} \ No newline at end of file +} diff --git a/configs/openmrs/initializer_config/ampathforms/examen_physique.json b/configs/openmrs/initializer_config/ampathforms/examen_physique.json index 01b1a66..9aacbe5 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_physique.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_physique.json @@ -351,11 +351,12 @@ } ], "processor": "EncounterFormProcessor", - "encounter": "Consultation", + "encounterType": "f1b49ab9-66de-4cb5-bdc6-4cbebf81cfa5\n", + "encounter": "Examen physique", "referencedForms": [], "uuid": "00716af3-1d4b-4cdf-aa8e-0800743d1542", "description": "Examen physique", "version": "1", "published": true, "retired": false - } \ No newline at end of file + } diff --git a/configs/openmrs/initializer_config/ampathforms/gynecology_ultrasound.json b/configs/openmrs/initializer_config/ampathforms/gynecology_ultrasound.json deleted file mode 100644 index 1f65d34..0000000 --- a/configs/openmrs/initializer_config/ampathforms/gynecology_ultrasound.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "Echographie gynécologique", - "pages": [ - { - "label": "Echographie gynécologique", - "sections": [ - { - "label": "Echographie gynécologique", - "isExpanded": "true", - "questions": [ - { - "label": "Observations", - "type": "obs", - "required": false, - "id": "observations", - "questionOptions": { - "rendering": "textarea", - "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" - }, - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounter": "Consultation", - "referencedForms": [], - "uuid": "d1f43dba-e483-4ded-aedf-40f84de577a2", - "description": "Echographie gynécologique", - "version": "1", - "published": true, - "retired": false - } \ No newline at end of file diff --git a/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json b/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json index b442211..d31acba 100644 --- a/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json +++ b/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json @@ -807,7 +807,8 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "5238458f-1505-44c6-9be9-bfcd4e9991ca", + "encounter": "Historique de santé", "referencedForms": [], "uuid": "44dc4d8f-e739-43c5-813a-d88d89c11775", "description": "Historique de santé", diff --git a/configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json b/configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json index 66f1482..49ce0ae 100644 --- a/configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json +++ b/configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json @@ -101,7 +101,8 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "ad368054-1610-4377-8785-2885757f763e", + "encounter": "Motif de consultation", "referencedForms": [], "uuid": "368d69a6-2b00-4d23-85f5-a70ef5d75761", "description": "Motif de consultation", diff --git a/configs/openmrs/initializer_config/ampathforms/nutrition.json b/configs/openmrs/initializer_config/ampathforms/nutrition.json index ae14712..7b04ce2 100644 --- a/configs/openmrs/initializer_config/ampathforms/nutrition.json +++ b/configs/openmrs/initializer_config/ampathforms/nutrition.json @@ -631,7 +631,8 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "0a669a95-6754-4160-a93b-ec37eab75c99", + "encounter": "Nutrition", "referencedForms": [], "uuid": "47ad6522-d817-45cb-8e16-386bb090995d", "description": "Nutrition", diff --git a/configs/openmrs/initializer_config/ampathforms/reference.json b/configs/openmrs/initializer_config/ampathforms/reference.json index 2d076ab..9141d3e 100644 --- a/configs/openmrs/initializer_config/ampathforms/reference.json +++ b/configs/openmrs/initializer_config/ampathforms/reference.json @@ -112,7 +112,8 @@ } ], "processor": "EncounterFormProcessor", - "encounter": "Consultation", + "encounter": "Reference", + "encounterType": "817abc8f-47b3-446c-bfad-22e49e8d2cf4", "referencedForms": [], "uuid": "4ae0cfeb-7834-43fe-b6fb-37d2f63cf37c", "description": "Referral form", diff --git a/configs/openmrs/initializer_config/ampathforms/suivi_durgences.json b/configs/openmrs/initializer_config/ampathforms/suivi_durgences.json index b7a2369..130dd04 100644 --- a/configs/openmrs/initializer_config/ampathforms/suivi_durgences.json +++ b/configs/openmrs/initializer_config/ampathforms/suivi_durgences.json @@ -66,7 +66,8 @@ } ], "processor": "EncounterFormProcessor", - "encounter": "Consultation", + "encounter": "Suivi d’urgences", + "encounterType": "3f3058a3-d264-47b4-a414-1d5ddc707121", "referencedForms": [], "uuid": "b11bef46-cb83-47b1-90b7-75ac5dd629e3", "description": "Suivi d’urgences", diff --git a/configs/openmrs/initializer_config/ampathforms/vaccinations.json b/configs/openmrs/initializer_config/ampathforms/vaccinations.json index b788a99..38c5ce2 100644 --- a/configs/openmrs/initializer_config/ampathforms/vaccinations.json +++ b/configs/openmrs/initializer_config/ampathforms/vaccinations.json @@ -184,7 +184,8 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "4bb8c32e-344b-43a7-8650-fe565cef94d2", + "encounter": "Vaccinations", "referencedForms": [], "uuid": "c37025cf-13b7-4b99-9356-40e2b7a9e8c6", "description": "Vaccinations", diff --git a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json index 1cf870f..aec8972 100644 --- a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json +++ b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json @@ -235,8 +235,8 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "a7feb1a0-4bd8-48d1-acfd-ce282d139f06", - "encounter": "REG", + "encounterType": "29b58312-7f0b-443d-8af6-b262acb764b6", + "encounter": "Vitals and Biometrics", "referencedForms": [], "uuid": "895f7868-ca3f-33bb-9336-20f1daf461b3", "description": "Vitals and Biometrics", From 702583e09202ca33ed6491bae5250330673f51ce Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 6 Nov 2024 15:52:00 +0300 Subject: [PATCH 11/17] =?UTF-8?q?update=20the=20Consultation=20pr=C3=A9nat?= =?UTF-8?q?ale=20encounter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../initializer_config/ampathforms/consultation_prenatale.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json b/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json index c7689b7..7546116 100644 --- a/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json +++ b/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json @@ -843,7 +843,8 @@ } ], "processor": "EncounterFormProcessor", - "encounterType": "dd528487-82a5-4082-9c72-ed246bd49591", + "encounterType": "061ab9e1-5ca4-4007-ae77-27ac9eadfa51", + "encounter": "Consultation prénatale", "referencedForms": [], "uuid": "e3d5ba62-a432-4e7b-bab1-5ac29d41cf14", "description": "Consultation prénatale", From cfda1aa7bfc7bb1dd7de379f0931ec54a82e3aff Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 6 Nov 2024 15:59:33 +0300 Subject: [PATCH 12/17] remove duplicate forms --- .../ampathforms/obstetrics_ultrasound_2.json | 362 ------------------ .../ampathforms/obstetrics_ultrasound_3.json | 263 ------------- 2 files changed, 625 deletions(-) delete mode 100644 configs/openmrs/initializer_config/ampathforms/obstetrics_ultrasound_2.json delete mode 100644 configs/openmrs/initializer_config/ampathforms/obstetrics_ultrasound_3.json diff --git a/configs/openmrs/initializer_config/ampathforms/obstetrics_ultrasound_2.json b/configs/openmrs/initializer_config/ampathforms/obstetrics_ultrasound_2.json deleted file mode 100644 index 02cb1b8..0000000 --- a/configs/openmrs/initializer_config/ampathforms/obstetrics_ultrasound_2.json +++ /dev/null @@ -1,362 +0,0 @@ -{ - "name": "Echographie obstétricale 2", - "pages": [ - { - "label": "Echographie obstétricale 2", - "sections": [ - { - "label": "Echographie obstétricale 2", - "isExpanded": "true", - "questions": [ - { - "label": "Number of Fetuses", - "type": "obs", - "required": false, - "id": "numberOfFetuses", - "questionOptions": { - "rendering": "number", - "concept": "a7ad184c-b79a-476d-9ba2-ef980375da28", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "165387" - } - ], - "disallowDecimals": true - }, - "validators": [] - }, - { - "label": "Number of Placenta", - "type": "obs", - "required": false, - "id": "numberOfPlacenta", - "questionOptions": { - "rendering": "number", - "concept": "c1e61ae3-4de8-4fe1-9b7a-8c1ae56d1631", - "disallowDecimals": true - }, - "validators": [] - } - ] - }, - { - "label": "Fetus Details", - "isExpanded": "true", - "questions": [ - { - "label": "Location of Placenta", - "type": "obs", - "required": false, - "id": "locationOfPlacenta", - "questionOptions": { - "rendering": "radio", - "concept": "f4d664f4-e6e5-47f7-8781-2255ebfacc97", - "answers": [ - { - "concept": "ca69545b-dfef-4210-b311-dc8a1d309311", - "label": "Anterior" - }, - { - "concept": "1f82cf3c-ce84-4c98-a35a-c37c45edc5fc", - "label": "Posterior" - }, - { - "concept": "f5c721f6-7162-4533-9a83-4a4cd6997cb8", - "label": "Lateral" - }, - { - "concept": "cc4c6921-1d06-48f7-a7d8-a0c6664b515e", - "label": "Praevia" - } - ] - }, - "validators": [] - }, - { - "label": "Fetal Heart Rate", - "type": "obs", - "required": false, - "id": "fetalHeartRate", - "questionOptions": { - "rendering": "number", - "concept": "7ce5a9fe-d9e0-427e-a080-ce8a9c673822", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "1440" - } - ], - "disallowDecimals": true - }, - "validators": [] - }, - { - "label": "Presentation", - "type": "obs", - "required": false, - "id": "presentation", - "questionOptions": { - "rendering": "radio", - "concept": "d47e2e11-355e-4c62-86a7-8ebe45fb4292", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "160090" - } - ], - "answers": [ - { - "concept": "c4526510-3f10-11e4-adec-0800271c1b75", - "label": "Cephalic" - }, - { - "concept": "a0dc5727-c33e-479b-b70e-fb0eb7e45853", - "label": "Breech" - }, - { - "concept": "5bb2ea3b-a736-4533-bd5e-a1e9d835f721", - "label": "Transverse" - }, - { - "concept": "cbafba29-b62a-4675-910a-a6bb161de256", - "label": "Variable" - } - ] - }, - "validators": [] - }, - { - "label": "Arms", - "type": "obs", - "required": false, - "id": "arms", - "questionOptions": { - "rendering": "radio", - "concept": "19aa76a5-7b92-47f9-91c1-581b20e9c2a0", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - }, - { - "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", - "label": "Not Seen" - } - ] - }, - "validators": [] - }, - { - "label": "Legs", - "type": "obs", - "required": false, - "id": "legs", - "questionOptions": { - "rendering": "radio", - "concept": "bdd6b795-8283-4c87-b3d4-4c7b74110e93", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - }, - { - "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", - "label": "Not Seen" - } - ] - }, - "validators": [] - }, - { - "label": "Brain", - "type": "obs", - "required": false, - "id": "brain", - "questionOptions": { - "rendering": "radio", - "concept": "8a0fcd33-1cf3-4136-9173-c8874104ae06", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - }, - { - "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", - "label": "Not Seen" - } - ] - }, - "validators": [] - }, - { - "label": "Heart", - "type": "obs", - "required": false, - "id": "heart", - "questionOptions": { - "rendering": "radio", - "concept": "24b631fa-3c4a-4e3b-bacf-c3c5d0405cc9", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - }, - { - "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", - "label": "Not Seen" - } - ] - }, - "validators": [] - }, - { - "label": "Lungs", - "type": "obs", - "required": false, - "id": "lungs", - "questionOptions": { - "rendering": "radio", - "concept": "8b1ce3d9-3841-427d-ab49-b92a28a6416e", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - }, - { - "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", - "label": "Not Seen" - } - ] - }, - "validators": [] - }, - { - "label": "Kidneys", - "type": "obs", - "required": false, - "id": "kidneys", - "questionOptions": { - "rendering": "radio", - "concept": "dc5154f9-30ba-4018-84b0-01306c2244f8", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - }, - { - "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", - "label": "Not Seen" - } - ] - }, - "validators": [] - }, - { - "label": "Genitals", - "type": "obs", - "required": false, - "id": "genitals", - "questionOptions": { - "rendering": "radio", - "concept": "9f0d5af7-bd0a-41b7-8281-e42dfe0d4248", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - }, - { - "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", - "label": "Not Seen" - } - ] - }, - "validators": [] - }, - { - "label": "Fetal Sex", - "type": "obs", - "required": false, - "id": "fetalSex", - "questionOptions": { - "rendering": "radio", - "concept": "730d5952-7f8a-41b7-add5-3b470335aea4", - "answers": [ - { - "concept": "48be742e-e22e-4bd9-bb2b-0d4840c60aeb", - "label": "Boy" - }, - { - "concept": "7adb833e-9e48-4b76-aa8f-24daa3acb810", - "label": "Girl" - }, - { - "concept": "f7139b53-6e10-4096-8e87-ea133fc8fc46", - "label": "Not Seen" - } - ] - }, - "validators": [] - } - ] - }, - { - "label": "Other observations", - "isExpanded": "true", - "questions": [ - { - "label": "Other observations", - "type": "obs", - "required": false, - "id": "otherObservations", - "questionOptions": { - "rendering": "textarea", - "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" - }, - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounter": "Consultation", - "referencedForms": [], - "uuid": "9ddbe11e-b6ac-4788-a146-ef258853e129", - "description": "Echographie obstétricale 2", - "version": "1", - "published": true, - "retired": false - } \ No newline at end of file diff --git a/configs/openmrs/initializer_config/ampathforms/obstetrics_ultrasound_3.json b/configs/openmrs/initializer_config/ampathforms/obstetrics_ultrasound_3.json deleted file mode 100644 index 3a0bb52..0000000 --- a/configs/openmrs/initializer_config/ampathforms/obstetrics_ultrasound_3.json +++ /dev/null @@ -1,263 +0,0 @@ -{ - "name": "Echographie obstétricale 3", - "pages": [ - { - "label": "Echographie obstétricale 3", - "sections": [ - { - "label": "Echographie obstétricale 3", - "isExpanded": "true", - "questions": [ - { - "label": "Number of Fetuses", - "type": "obs", - "required": false, - "id": "numberOfFetuses", - "questionOptions": { - "rendering": "number", - "concept": "a7ad184c-b79a-476d-9ba2-ef980375da28", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "165387" - } - ], - "disallowDecimals": true - }, - "validators": [] - }, - { - "label": "Number of Placenta", - "type": "obs", - "required": false, - "id": "numberOfPlacenta", - "questionOptions": { - "rendering": "number", - "concept": "c1e61ae3-4de8-4fe1-9b7a-8c1ae56d1631", - "disallowDecimals": true - }, - "validators": [] - } - ] - }, - { - "label": "Fetus Details", - "isExpanded": "true", - "questions": [ - { - "label": "Location of Placenta", - "type": "obs", - "required": false, - "id": "locationOfPlacenta", - "questionOptions": { - "rendering": "radio", - "concept": "f4d664f4-e6e5-47f7-8781-2255ebfacc97", - "answers": [ - { - "concept": "ca69545b-dfef-4210-b311-dc8a1d309311", - "label": "Anterior" - }, - { - "concept": "f5c721f6-7162-4533-9a83-4a4cd6997cb8", - "label": "Lateral" - }, - { - "concept": "1f82cf3c-ce84-4c98-a35a-c37c45edc5fc", - "label": "Posterior" - }, - { - "concept": "cc4c6921-1d06-48f7-a7d8-a0c6664b515e", - "label": "Praevia" - } - ] - }, - "validators": [] - }, - { - "label": "Fetal Heart Rate", - "type": "obs", - "required": false, - "id": "fetalHeartRate", - "questionOptions": { - "rendering": "number", - "concept": "7ce5a9fe-d9e0-427e-a080-ce8a9c673822", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "1440" - } - ], - "disallowDecimals": true - }, - "validators": [] - }, - { - "label": "Presentation", - "type": "obs", - "required": false, - "id": "presentation", - "questionOptions": { - "rendering": "radio", - "concept": "d47e2e11-355e-4c62-86a7-8ebe45fb4292", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "160090" - } - ], - "answers": [ - { - "concept": "c4526510-3f10-11e4-adec-0800271c1b75", - "label": "Cephalic" - }, - { - "concept": "a0dc5727-c33e-479b-b70e-fb0eb7e45853", - "label": "Breech" - }, - { - "concept": "5bb2ea3b-a736-4533-bd5e-a1e9d835f721", - "label": "Transverse" - }, - { - "concept": "cbafba29-b62a-4675-910a-a6bb161de256", - "label": "Variable" - } - ] - }, - "validators": [] - }, - { - "label": "Biparietal diameter ", - "type": "obs", - "required": false, - "id": "biparietalDiameter", - "questionOptions": { - "rendering": "number", - "concept": "f19b4e41-e18e-4e17-a7ff-48a33315d504" - }, - "validators": [] - }, - { - "label": "Occ-frontal diameter", - "type": "obs", - "required": false, - "id": "occ-FrontalDiameter", - "questionOptions": { - "rendering": "number", - "concept": "b0277458-f1c8-43d7-a18a-996a9f183b65" - }, - "validators": [] - }, - { - "label": "Cranial circumference ", - "type": "obs", - "required": false, - "id": "cranialCircumference", - "questionOptions": { - "rendering": "number", - "concept": "96548d58-2335-4f6e-ae8b-c77fd8c6d051" - }, - "validators": [] - }, - { - "label": "Femur length", - "type": "obs", - "required": false, - "id": "femurLength", - "questionOptions": { - "rendering": "number", - "concept": "1391f581-6ff8-463d-95f3-cd23af17e65e" - }, - "validators": [] - }, - { - "label": "Humerus length", - "type": "obs", - "required": false, - "id": "humerusLength", - "questionOptions": { - "rendering": "number", - "concept": "fe37fd4a-31f1-48a7-adc4-e7833a7c6859" - }, - "validators": [] - }, - { - "label": "Abdominal circumference", - "type": "obs", - "required": false, - "id": "abdominalCircumference", - "questionOptions": { - "rendering": "number", - "concept": "dd7a5da2-ce47-4eae-8e26-3317fc53f4da" - }, - "validators": [] - }, - { - "label": "Estimated fetal weight ", - "type": "obs", - "required": false, - "id": "estimatedFetalWeight", - "questionOptions": { - "rendering": "number", - "concept": "c96709f0-f446-4081-98b1-494b562dd7b4" - }, - "validators": [] - }, - { - "label": "Weight Percentile", - "type": "obs", - "required": false, - "id": "weightPercentile", - "questionOptions": { - "rendering": "number", - "concept": "5c75e55f-845c-4df6-a6da-b45475a4a215", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "159428" - } - ], - "disallowDecimals": true - }, - "validators": [] - } - ] - }, - { - "label": "Other observations", - "isExpanded": "true", - "questions": [] - }, - { - "label": "Other observations", - "isExpanded": "true", - "questions": [ - { - "label": "Other observations", - "type": "obs", - "required": false, - "id": "otherObservations", - "questionOptions": { - "rendering": "textarea", - "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" - }, - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounter": "Consultation", - "referencedForms": [], - "uuid": "acad07d9-945f-415d-a5b0-5cc1dc701115", - "description": "Echographie obstétricale 3", - "version": "1", - "published": true, - "retired": false - } \ No newline at end of file From c286d9750f59b3be1cef648ebad35d3ad9adc10a Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 6 Nov 2024 16:36:06 +0300 Subject: [PATCH 13/17] merge vitals related forms --- .../ampathforms/anthropometric_measure_1.json | 100 ------ .../ampathforms/moyen_de_transport.json | 80 ----- .../ampathforms/signes_vitaux.json | 173 ---------- .../ampathforms/triage.json | 56 ---- .../ampathforms/vitals_and_biometrics.json | 315 ++++++++++-------- 5 files changed, 181 insertions(+), 543 deletions(-) delete mode 100644 configs/openmrs/initializer_config/ampathforms/anthropometric_measure_1.json delete mode 100644 configs/openmrs/initializer_config/ampathforms/moyen_de_transport.json delete mode 100644 configs/openmrs/initializer_config/ampathforms/signes_vitaux.json delete mode 100644 configs/openmrs/initializer_config/ampathforms/triage.json diff --git a/configs/openmrs/initializer_config/ampathforms/anthropometric_measure_1.json b/configs/openmrs/initializer_config/ampathforms/anthropometric_measure_1.json deleted file mode 100644 index 46d8b70..0000000 --- a/configs/openmrs/initializer_config/ampathforms/anthropometric_measure_1.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "name": "Anthropométrie", - "pages": [ - { - "label": "Anthropométrie", - "sections": [ - { - "label": "Anthropométrie", - "isExpanded": "true", - "questions": [ - { - "label": "Height", - "type": "obs", - "required": false, - "id": "height", - "questionOptions": { - "rendering": "number", - "concept": "5090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5090" - } - ] - }, - "validators": [] - }, - { - "label": "Weight", - "type": "obs", - "required": false, - "id": "weight", - "questionOptions": { - "rendering": "number", - "concept": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5089" - } - ] - }, - "validators": [] - }, - { - "label": "Head Circumference", - "type": "obs", - "required": false, - "id": "headCircumference", - "questionOptions": { - "rendering": "number", - "concept": "09313648-8ba0-4480-a3a3-efe2d3b8a769" - }, - "validators": [] - }, - { - "label": "Abdominal Diameter", - "type": "obs", - "required": false, - "id": "abdominalDiameter", - "questionOptions": { - "rendering": "number", - "concept": "f95a4f13-80f0-4254-a1f2-bc06aea4c9c9" - }, - "validators": [] - }, - { - "label": "Mid-Upper Arm Circumference", - "type": "obs", - "required": false, - "id": "mid-UpperArmCircumference", - "questionOptions": { - "rendering": "number", - "concept": "f074942b-666b-4ca3-9f0e-1103128b3ae2", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "1343" - } - ] - }, - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounter": "Consultation", - "referencedForms": [], - "uuid": "5512c4aa-b983-4cac-8fa1-de143267719f", - "description": "Anthropométrie", - "version": "1", - "published": true, - "retired": false - } \ No newline at end of file diff --git a/configs/openmrs/initializer_config/ampathforms/moyen_de_transport.json b/configs/openmrs/initializer_config/ampathforms/moyen_de_transport.json deleted file mode 100644 index 020fe01..0000000 --- a/configs/openmrs/initializer_config/ampathforms/moyen_de_transport.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "name": "Moyen de transport", - "pages": [ - { - "label": "Moyen de transport", - "sections": [ - { - "label": "Moyen de transport", - "isExpanded": "true", - "questions": [ - { - "label": "Mode of Arrival", - "type": "obsGroup", - "required": false, - "id": "modeOfArrival", - "questionOptions": { - "rendering": "group", - "concept": "f83eeb93-703a-4dd5-bd95-51a6580b4065" - }, - "questions": [ - { - "label": "Mode of Arrival", - "type": "obs", - "required": false, - "id": "moyenDeTransport", - "questionOptions": { - "rendering": "radio", - "concept": "f83eeb93-703a-4dd5-bd95-51a6580b4065", - "answers": [ - { - "concept": "8e84e437-35fa-4d31-8be9-9aa999f1ff94", - "label": "Ambulated" - }, - { - "concept": "0b290aeb-b4f6-4b37-b114-e7ce2e4c304c", - "label": "Car" - }, - { - "concept": "7a5b55b6-4617-42b9-808c-82116a259a6e", - "label": "Minibus" - }, - { - "concept": "26c0366b-83e4-4401-9699-e545219b8870", - "label": "Other" - } - ] - }, - "validators": [] - }, - { - "hide": { - "hideWhenExpression": "isEmpty(moyenDeTransport) || moyenDeTransport !== '26c0366b-83e4-4401-9699-e545219b8870'" - }, - "label": "Other observations", - "type": "obs", - "required": false, - "id": "otherObservations", - "questionOptions": { - "rendering": "textarea", - "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" - }, - "validators": [] - } - ], - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounter": "Consultation", - "referencedForms": [], - "uuid": "e2d88e5b-6391-4dda-ac2f-4b48b2d1e86b", - "description": "Moyen de transport", - "version": "1", - "published": true, - "retired": true -} diff --git a/configs/openmrs/initializer_config/ampathforms/signes_vitaux.json b/configs/openmrs/initializer_config/ampathforms/signes_vitaux.json deleted file mode 100644 index c627413..0000000 --- a/configs/openmrs/initializer_config/ampathforms/signes_vitaux.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "name": "Signes vitaux", - "pages": [ - { - "label": "Signes vitaux", - "sections": [ - { - "label": "Signes vitaux", - "isExpanded": "true", - "questions": [ - { - "label": "Vital Signs", - "type": "obsGroup", - "required": false, - "id": "vitalSigns", - "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": [] - } - }, - { - "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": [] - } - }, - { - "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": [] - } - ], - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounterType": "a7feb1a0-4bd8-48d1-acfd-ce282d139f06", - "encounter": "REG", - "referencedForms": [], - "uuid": "895f7868-ca3f-33bb-9336-20f1daf461b3", - "description": "Vitals and Biometrics", - "version": "1", - "published": true, - "retired": false -} diff --git a/configs/openmrs/initializer_config/ampathforms/triage.json b/configs/openmrs/initializer_config/ampathforms/triage.json deleted file mode 100644 index a675970..0000000 --- a/configs/openmrs/initializer_config/ampathforms/triage.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "Triage", - "pages": [ - { - "label": "Triage", - "sections": [ - { - "label": "Triage", - "isExpanded": "true", - "questions": [ - { - "label": "Level of emergency severity assessment", - "type": "obs", - "required": true, - "id": "levelOfEmergencySeverityAssessment", - "questionOptions": { - "rendering": "radio", - "concept": "bbb02557-0277-4979-a1fa-b0020f136066", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "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": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounter": "Consultation", - "referencedForms": [], - "uuid": "4a9b9960-389a-4498-bda4-f0c03c7be877", - "description": "Triage Form", - "version": "1", - "published": true, - "retired": true -} diff --git a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json index aec8972..68d4109 100644 --- a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json +++ b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json @@ -2,153 +2,162 @@ "name": "Vitals and Biometrics", "pages": [ { - "label": "Vitals", + "label": "Vitals and Biometrics", "sections": [ { - "label": "Vital Signs", + "label": "Signes vitaux", "isExpanded": "true", "questions": [ { - "label": "Pain Scale", - "type": "obs", - "required": false, - "id": "painScale", - "questionOptions": { - "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", + "label": "Vital Signs", + "type": "obsGroup", "required": false, - "id": "temperatureTest", + "id": "vitalSigns", "questionOptions": { - "rendering": "number", - "min": "25", - "max": "43", - "concept": "0ff962b3-8730-4eb0-9028-82d403b066bf", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "5088" + "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": [] } - ], - "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": "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": [] } - ], - "disallowDecimals": true - }, + }, + { + "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": [] + } + ], "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", @@ -230,6 +239,44 @@ } } ] + }, + { + "label": "Triage", + "isExpanded": "true", + "questions": [ + { + "label": "Level of emergency severity assessment", + "type": "obs", + "required": true, + "id": "levelOfEmergencySeverityAssessment", + "questionOptions": { + "rendering": "radio", + "concept": "bbb02557-0277-4979-a1fa-b0020f136066", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "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": [] + } + ] } ] } From 2cece974be054e6df669a341312c56be8856b9b4 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Wed, 6 Nov 2024 17:00:17 +0300 Subject: [PATCH 14/17] 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": [] From 5a7d2783f8b5825231d8f5fab866909c90bea9c4 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Fri, 8 Nov 2024 12:16:24 +0300 Subject: [PATCH 15/17] fix: add publish and retired info on forms --- .../ampathforms/consultation_prenatale.json | 4 +++- .../initializer_config/ampathforms/depart_non_autorise.json | 4 +++- .../ampathforms/echographie_obstetricale_1.json | 4 +++- .../initializer_config/ampathforms/examen_des_systemes.json | 4 +++- .../initializer_config/ampathforms/examen_gynecologique.json | 4 +++- .../initializer_config/ampathforms/examen_obstetrical.json | 4 +++- .../initializer_config/ampathforms/historique_de_sante.json | 4 +++- .../initializer_config/ampathforms/motif_de_consultation.json | 4 +++- configs/openmrs/initializer_config/ampathforms/nutrition.json | 4 +++- .../openmrs/initializer_config/ampathforms/vaccinations.json | 4 +++- 10 files changed, 30 insertions(+), 10 deletions(-) diff --git a/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json b/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json index 7546116..e0e7dda 100644 --- a/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json +++ b/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json @@ -848,5 +848,7 @@ "referencedForms": [], "uuid": "e3d5ba62-a432-4e7b-bab1-5ac29d41cf14", "description": "Consultation prénatale", - "version": "1" + "version": "1", + "published": true, + "retired": false } diff --git a/configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json b/configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json index be30e35..f76c9b7 100644 --- a/configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json +++ b/configs/openmrs/initializer_config/ampathforms/depart_non_autorise.json @@ -51,5 +51,7 @@ "referencedForms": [], "uuid": "2567021e-1666-4ffa-9504-9e66da01c31a", "description": "Départ non autorisé", - "version": "1" + "version": "1", + "published": true, + "retired": false } diff --git a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json index 108cd43..26ca171 100644 --- a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json +++ b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json @@ -318,5 +318,7 @@ "referencedForms": [], "uuid": "89111520-a926-47c1-a4fb-82c70fd68cb1", "description": "Echographie obstétricale 1", - "version": "1" + "version": "1", + "published": true, + "retired": false } diff --git a/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json b/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json index c7f8a34..b49f004 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json @@ -1004,5 +1004,7 @@ "referencedForms": [], "uuid": "", "description": "Examen des systèmes", - "version": "1.0" + "version": "1", + "published": true, + "retired": false } diff --git a/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json b/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json index 6587abc..6297e2e 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json @@ -330,5 +330,7 @@ "referencedForms": [], "uuid": "74fef8e4-7a9a-4a05-ab77-ae2cebbc9506", "description": "Examen gynécologique", - "version": "1.0" + "version": "1", + "published": true, + "retired": false } diff --git a/configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json b/configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json index f77431e..5a42180 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_obstetrical.json @@ -129,5 +129,7 @@ "referencedForms": [], "uuid": "f30209a8-9d58-4b99-b99a-582b9006cce5", "description": "Examen obstétrical", - "version": "1.0" + "version": "1", + "published": true, + "retired": false } diff --git a/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json b/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json index d31acba..1dd2e7b 100644 --- a/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json +++ b/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json @@ -812,5 +812,7 @@ "referencedForms": [], "uuid": "44dc4d8f-e739-43c5-813a-d88d89c11775", "description": "Historique de santé", - "version": "1.0" + "version": "1", + "published": true, + "retired": false } diff --git a/configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json b/configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json index 49ce0ae..0eadfa1 100644 --- a/configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json +++ b/configs/openmrs/initializer_config/ampathforms/motif_de_consultation.json @@ -106,5 +106,7 @@ "referencedForms": [], "uuid": "368d69a6-2b00-4d23-85f5-a70ef5d75761", "description": "Motif de consultation", - "version": "1.0" + "version": "1", + "published": true, + "retired": false } diff --git a/configs/openmrs/initializer_config/ampathforms/nutrition.json b/configs/openmrs/initializer_config/ampathforms/nutrition.json index 7b04ce2..379d0a5 100644 --- a/configs/openmrs/initializer_config/ampathforms/nutrition.json +++ b/configs/openmrs/initializer_config/ampathforms/nutrition.json @@ -636,5 +636,7 @@ "referencedForms": [], "uuid": "47ad6522-d817-45cb-8e16-386bb090995d", "description": "Nutrition", - "version": "1.0" + "version": "1", + "published": true, + "retired": false } diff --git a/configs/openmrs/initializer_config/ampathforms/vaccinations.json b/configs/openmrs/initializer_config/ampathforms/vaccinations.json index 38c5ce2..89742f2 100644 --- a/configs/openmrs/initializer_config/ampathforms/vaccinations.json +++ b/configs/openmrs/initializer_config/ampathforms/vaccinations.json @@ -189,5 +189,7 @@ "referencedForms": [], "uuid": "c37025cf-13b7-4b99-9356-40e2b7a9e8c6", "description": "Vaccinations", - "version": "1.0" + "version": "1", + "published": true, + "retired": false } From a3aafc3fa383a1f813b1eca6af2b3b0d13e3ebf3 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Fri, 15 Nov 2024 10:18:41 +0300 Subject: [PATCH 16/17] fix: update concepts --- .../ampathforms/consultation_prenatale.json | 127 ++-- .../echographie_obstetricale_1.json | 2 +- .../ampathforms/examen_des_systemes.json | 33 +- .../ampathforms/examen_physique.json | 686 +++++++++--------- .../ampathforms/historique_de_sante.json | 2 +- .../ampathforms/suivi_durgences.json | 5 +- .../ampathforms/vaccinations.json | 332 +++++---- 7 files changed, 601 insertions(+), 586 deletions(-) diff --git a/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json b/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json index e0e7dda..3ac4250 100644 --- a/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json +++ b/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json @@ -423,81 +423,68 @@ }, { "label": "Pregnancy Risks", - "type": "obsGroup", + "type": "obs", "required": false, - "id": "pregnancyRisksGroup", + "id": "pregnancyRisks", "questionOptions": { - "rendering": "repeating", - "concept": "b35ad290-0d8f-4821-91fe-70b8411ce110" + "rendering": "checkbox-searchable", + "concept": "b35ad290-0d8f-4821-91fe-70b8411ce110", + "answers": [ + { + "concept": "edf4ecc4-44f6-457a-b561-179f4426b16a", + "label": "Diabetes (E14.9)" + }, + { + "concept": "138405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Human immunodeficiency virus (HIV) disease (B24)" + }, + { + "concept": "3cd50188-26fe-102b-80cb-0017a47871b2", + "label": "Hypertension (I10)" + }, + { + "concept": "3cccb654-26fe-102b-80cb-0017a47871b2", + "label": "Malnutrition (E46)" + }, + { + "concept": "50e4eb00-968a-456f-824b-cbe320064dcf", + "label": "Mother younger than 18 or older than 36 years" + }, + { + "concept": "115491AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Multiple gestation (O30.9)" + }, + { + "concept": "115115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Obesity (E66.9)" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" + }, + { + "concept": "3cceae50-26fe-102b-80cb-0017a47871b2", + "label": "Syphilis (A53.9)" + } + ] }, "hide": { "hideWhenExpression": "isEmpty(riskyPregnancy) || riskyPregnancy !== 'bf885a9d-9f98-4990-8c20-ac4ace816bfe'" }, - "questions": [ - { - "label": "Pregnancy Risks", - "type": "obs", - "required": false, - "id": "pregnancyRisks", - "questionOptions": { - "rendering": "select", - "concept": "b35ad290-0d8f-4821-91fe-70b8411ce110", - "answers": [ - { - "concept": "edf4ecc4-44f6-457a-b561-179f4426b16a", - "label": "Diabetes (E14.9)" - }, - { - "concept": "138405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Human immunodeficiency virus (HIV) disease (B24)" - }, - { - "concept": "3cd50188-26fe-102b-80cb-0017a47871b2", - "label": "Hypertension (I10)" - }, - { - "concept": "3cccb654-26fe-102b-80cb-0017a47871b2", - "label": "Malnutrition (E46)" - }, - { - "concept": "50e4eb00-968a-456f-824b-cbe320064dcf", - "label": "Mother younger than 18 or older than 36 years" - }, - { - "concept": "115491AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Multiple gestation (O30.9)" - }, - { - "concept": "115115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Obesity (E66.9)" - }, - { - "concept": "26c0366b-83e4-4401-9699-e545219b8870", - "label": "Other" - }, - { - "concept": "3cceae50-26fe-102b-80cb-0017a47871b2", - "label": "Syphilis (A53.9)" - } - ] - }, - "validators": [] - }, - { - "label": "Other Pregnancy Risks", - "type": "obs", - "required": false, - "id": "otherPregnancyRisks", - "questionOptions": { - "rendering": "textarea", - "concept": "ee39e8af-12e8-41ae-a1f9-b08acea07587" - }, - "hide": { - "hideWhenExpression": "isEmpty(pregnancyRisks) || pregnancyRisks !== '26c0366b-83e4-4401-9699-e545219b8870'" - }, - "validators": [] - } - ], + "validators": [] + }, + { + "label": "Other Pregnancy Risks", + "type": "obs", + "required": false, + "id": "otherPregnancyRisks", + "questionOptions": { + "rendering": "textarea", + "concept": "ee39e8af-12e8-41ae-a1f9-b08acea07587" + }, + "hide": { + "hideWhenExpression": "!arrayContains(pregnancyRisks,'26c0366b-83e4-4401-9699-e545219b8870')" + }, "validators": [] }, { @@ -506,7 +493,7 @@ "required": false, "id": "signsAndSymptomsGroup", "questionOptions": { - "concept": "f7312165-7e96-4761-b4cf-d601a1a18f9c", + "concept": "da18a735-7f7d-4f77-a01c-d6b2ecfc36fe", "rendering": "repeating" }, "questions": [ diff --git a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json index 26ca171..2609d68 100644 --- a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json +++ b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json @@ -163,7 +163,7 @@ "id": "fetusDetails", "questionOptions": { "rendering": "repeating", - "concept": "ee66049d-8028-4f93-869d-8edcebd5d2e6" + "concept": "83946617-9be2-5cc9-722c-19c2eb8179bc" }, "questions": [ { diff --git a/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json b/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json index b49f004..aedbef4 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_des_systemes.json @@ -445,10 +445,27 @@ { "concept": "3cd4d0c8-26fe-102b-80cb-0017a47871b2", "label": "Dysphagia (R13)" + }, + { + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" } ] }, "validators": [] + }, + { + "label": "Other observations", + "type": "obs", + "required": false, + "id": "otherNoseObservations", + "questionOptions": { + "rendering": "textarea", + "concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e" + }, + "hide": { + "hideWhenExpression": "!arrayContains(mouthAndThroat,'26c0366b-83e4-4401-9699-e545219b8870')" + } } ], "validators": [] @@ -488,10 +505,6 @@ "concept": "3cf1a95a-26fe-102b-80cb-0017a47871b2", "label": "Dyspnea (R06.0)" }, - { - "concept": "26c0366b-83e4-4401-9699-e545219b8870", - "label": "Other" - }, { "concept": "063cb6f4-f54d-4ee6-878b-6c683cacac8a", "label": "Platypnea" @@ -499,6 +512,9 @@ { "concept": "7629a17f-9fc1-4fb6-a766-059cc88620a3", "label": "Productive Cough" + },{ + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" } ] }, @@ -555,10 +571,6 @@ "concept": "05aa444c-d7e4-4b7f-a737-9cfbbe321d53", "label": "Lower Extremity Edema" }, - { - "concept": "26c0366b-83e4-4401-9699-e545219b8870", - "label": "Other" - }, { "concept": "678517e9-53c3-4bac-8e5c-29ffd715a584", "label": "Palpitations" @@ -570,6 +582,9 @@ { "concept": "1ddc1171-8b77-0f79-718d-0e467d4122f9", "label": "Syncope" + },{ + "concept": "26c0366b-83e4-4401-9699-e545219b8870", + "label": "Other" } ] }, @@ -891,7 +906,7 @@ "label": "Lesions" }, { - "concept": "135488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "concept": "3cce4c76-26fe-102b-80cb-0017a47871b2", "label": "Lymphadenopathy" }, { diff --git a/configs/openmrs/initializer_config/ampathforms/examen_physique.json b/configs/openmrs/initializer_config/ampathforms/examen_physique.json index 9aacbe5..3e01d89 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_physique.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_physique.json @@ -1,362 +1,362 @@ { - "name": "Examen physique", - "pages": [ - { - "label": "Examen physique", - "sections": [ - { - "label": "Examen physique", - "isExpanded": "true", - "questions": [ - { - "label": "General Examination", - "type": "obs", - "required": false, - "id": "generalExamination", - "questionOptions": { - "rendering": "radio", - "concept": "367a7caa-60d4-4a59-b5e1-a7fc5f18e2a8", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] + "name": "Examen physique", + "pages": [ + { + "label": "Examen physique", + "sections": [ + { + "label": "Examen physique", + "isExpanded": "true", + "questions": [ + { + "label": "General Examination", + "type": "obs", + "required": false, + "id": "generalExamination", + "questionOptions": { + "rendering": "radio", + "concept": "367a7caa-60d4-4a59-b5e1-a7fc5f18e2a8", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - { "hide": { - "hideWhenExpression": "isEmpty(generalExamination) || generalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" - }, - "label": "General Examination Details", - "type": "obs", - "required": false, - "id": "generalExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "dab496f6-35f7-44e5-be44-b920f9dba5cc" - } + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(generalExamination) || generalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" }, - { - "label": "Eyes/Nose/Throat/Ear Examination", - "type": "obs", - "required": false, - "id": "eyesNoseThroatEarExamination", - "questionOptions": { - "rendering": "radio", - "concept": "2c5a7263-45c1-44ea-bb0c-70f26cb8259a", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] - }, - { "hide": { - "hideWhenExpression": "isEmpty(eyesNoseThroatEarExamination) || eyesNoseThroatEarExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" - }, - "label": "Eyes/Nose/Throat/Ear Examination Details", - "type": "obs", - "required": false, - "id": "eyes/Nose/Throat/EarExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "01ce1ee3-4579-4c53-8d39-6bd399e69e30" - } - }, - { - "label": "Cardiovascular Examination", - "type": "obs", - "required": false, - "id": "cardiovascularExamination", - "questionOptions": { - "rendering": "radio", - "concept": "b4f8f5fb-4fc6-46e2-8bf4-92a965592b40", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] - }, - { "hide": { - "hideWhenExpression": "isEmpty(cardiovascularExamination) || cardiovascularExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" - }, - "label": "Cardiovascular Examination Details", - "type": "obs", - "required": false, - "id": "cardiovascularExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "9cd85ffb-591b-414f-b203-ade7133b4b30" - }, - "validators": [] - }, - { - "label": "Respiratory Examination", - "type": "obs", - "required": false, - "id": "respiratoryExamination", - "questionOptions": { - "rendering": "radio", - "concept": "f1d833b9-b0f3-4cae-83bc-fcd2ecfae7b5", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] - }, - { "hide": { - "hideWhenExpression": "isEmpty(respiratoryExamination) || respiratoryExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" - }, - "label": "Respiratory Examination Details", - "type": "obs", - "required": false, - "id": "respiratoryExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "081f69af-b5ca-4791-80b6-1546dd7fe476" - } - }, - { - "label": "Gastrointestinal Examination", - "type": "obs", - "required": false, - "id": "gastrointestinalExamination", - "questionOptions": { - "rendering": "radio", - "concept": "2254bb23-b287-4147-a922-c7c2dc88e11c", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] - }, - { "hide": { - "hideWhenExpression": "isEmpty(gastrointestinalExamination) || gastrointestinalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + "label": "General Examination Details", + "type": "obs", + "required": false, + "id": "generalExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "dab496f6-35f7-44e5-be44-b920f9dba5cc" + } + }, + { + "label": "Eyes/Nose/Throat/Ear Examination", + "type": "obs", + "required": false, + "id": "eyesNoseThroatEarExamination", + "questionOptions": { + "rendering": "radio", + "concept": "2c5a7263-45c1-44ea-bb0c-70f26cb8259a", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - "label": "Gastrointestinal Examination Details", - "type": "obs", - "required": false, - "id": "gastrointestinalExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "6898fefc-b2c0-45bd-8f81-728837cb119a" - }, - "validators": [] + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(eyesNoseThroatEarExamination) || eyesNoseThroatEarExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + }, + "label": "Eyes/Nose/Throat/Ear Examination Details", + "type": "obs", + "required": false, + "id": "eyes/Nose/Throat/EarExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "01ce1ee3-4579-4c53-8d39-6bd399e69e30" + } + }, + { + "label": "Cardiovascular Examination", + "type": "obs", + "required": false, + "id": "cardiovascularExamination", + "questionOptions": { + "rendering": "radio", + "concept": "b4f8f5fb-4fc6-46e2-8bf4-92a965592b40", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - { - "label": "Genitourinary Examination", - "type": "obs", - "required": false, - "id": "genitourinaryExamination", - "questionOptions": { - "rendering": "radio", - "concept": "bd618369-92ee-40f2-929c-f01b8aaebad7", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(cardiovascularExamination) || cardiovascularExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + }, + "label": "Cardiovascular Examination Details", + "type": "obs", + "required": false, + "id": "cardiovascularExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "9cd85ffb-591b-414f-b203-ade7133b4b30" }, - { "hide": { - "hideWhenExpression": "isEmpty(genitourinaryExamination) || genitourinaryExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + "validators": [] + }, + { + "label": "Respiratory Examination", + "type": "obs", + "required": false, + "id": "respiratoryExamination", + "questionOptions": { + "rendering": "radio", + "concept": "f1d833b9-b0f3-4cae-83bc-fcd2ecfae7b5", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - "label": "Genitourinary Examination Details", - "type": "obs", - "required": false, - "id": "genitourinaryExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "89c89cbc-b3ed-4120-8743-fb51aa4bcf25" - }, - "validators": [] + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(respiratoryExamination) || respiratoryExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + }, + "label": "Respiratory Examination Details", + "type": "obs", + "required": false, + "id": "respiratoryExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "081f69af-b5ca-4791-80b6-1546dd7fe476" + } + }, + { + "label": "Gastrointestinal Examination", + "type": "obs", + "required": false, + "id": "gastrointestinalExamination", + "questionOptions": { + "rendering": "radio", + "concept": "2254bb23-b287-4147-a922-c7c2dc88e11c", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - { - "label": "Musculoskeletal Examination", - "type": "obs", - "required": false, - "id": "musculoskeletalExamination", - "questionOptions": { - "rendering": "radio", - "concept": "1fca8183-96c5-457a-9afe-21c9601349bd", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(gastrointestinalExamination) || gastrointestinalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + }, + "label": "Gastrointestinal Examination Details", + "type": "obs", + "required": false, + "id": "gastrointestinalExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "6898fefc-b2c0-45bd-8f81-728837cb119a" }, - { "hide": { - "hideWhenExpression": "isEmpty(musculoskeletalExamination) || musculoskeletalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + "validators": [] + }, + { + "label": "Genitourinary Examination", + "type": "obs", + "required": false, + "id": "genitourinaryExamination", + "questionOptions": { + "rendering": "radio", + "concept": "bd618369-92ee-40f2-929c-f01b8aaebad7", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - "label": "Musculoskeletal Examination Details", - "type": "obs", - "required": false, - "id": "musculoskeletalExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "92cbeeaf-2e2b-423d-92ed-b84fe9075690" - }, - "validators": [] + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(genitourinaryExamination) || genitourinaryExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + }, + "label": "Genitourinary Examination Details", + "type": "obs", + "required": false, + "id": "genitourinaryExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "89c89cbc-b3ed-4120-8743-fb51aa4bcf25" }, - { - "label": "Neurological Examination", - "type": "obs", - "required": false, - "id": "neurologicalExamination", - "questionOptions": { - "rendering": "radio", - "concept": "4e85bdbe-b683-4a35-b886-af62b973b2f4", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] + "validators": [] + }, + { + "label": "Musculoskeletal Examination", + "type": "obs", + "required": false, + "id": "musculoskeletalExamination", + "questionOptions": { + "rendering": "radio", + "concept": "1fca8183-96c5-457a-9afe-21c9601349bd", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - { "hide": { - "hideWhenExpression": "isEmpty(neurologicalExamination) || neurologicalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(musculoskeletalExamination) || musculoskeletalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + }, + "label": "Musculoskeletal Examination Details", + "type": "obs", + "required": false, + "id": "musculoskeletalExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "92cbeeaf-2e2b-423d-92ed-b84fe9075690" }, - "label": "Neurological Examination Details", - "type": "obs", - "required": false, - "id": "neurologicalExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "004aa65f-72b5-4305-8bc8-7ad7ea7cf406" - }, - "validators": [] + "validators": [] + }, + { + "label": "Neurological Examination", + "type": "obs", + "required": false, + "id": "neurologicalExamination", + "questionOptions": { + "rendering": "radio", + "concept": "4e85bdbe-b683-4a35-b886-af62b973b2f4", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - { - "label": "Endocrinological Examination", - "type": "obs", - "required": false, - "id": "endocrinologicalExamination", - "questionOptions": { - "rendering": "radio", - "concept": "df5187e8-ae7e-49cd-9810-c945683e6df8", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(neurologicalExamination) || neurologicalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + }, + "label": "Neurological Examination Details", + "type": "obs", + "required": false, + "id": "neurologicalExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "004aa65f-72b5-4305-8bc8-7ad7ea7cf406" }, - { "hide": { - "hideWhenExpression": "isEmpty(endocrinologicalExamination) || endocrinologicalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + "validators": [] + }, + { + "label": "Endocrinological Examination", + "type": "obs", + "required": false, + "id": "endocrinologicalExamination", + "questionOptions": { + "rendering": "radio", + "concept": "df5187e8-ae7e-49cd-9810-c945683e6df8", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - "label": "Endocrinological Examination Details", - "type": "obs", - "required": false, - "id": "endocrinologicalExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "63394e99-953f-4ffc-97db-252b32b3b514" - }, - "validators": [] + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(endocrinologicalExamination) || endocrinologicalExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + }, + "label": "Endocrinological Examination Details", + "type": "obs", + "required": false, + "id": "endocrinologicalExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "63394e99-953f-4ffc-97db-252b32b3b514" }, - { - "label": "Skin Examination", - "type": "obs", - "required": false, - "id": "skinExamination", - "questionOptions": { - "rendering": "radio", - "concept": "323cfac9-f4c0-4381-b43c-bf2ecf282ce1", - "answers": [ - { - "concept": "036f30c9-ccff-4752-8206-722724cbbf49", - "label": "Normal" - }, - { - "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", - "label": "Abnormal" - } - ] - }, - "validators": [] + "validators": [] + }, + { + "label": "Skin Examination", + "type": "obs", + "required": false, + "id": "skinExamination", + "questionOptions": { + "rendering": "radio", + "concept": "323cfac9-f4c0-4381-b43c-bf2ecf282ce1", + "answers": [ + { + "concept": "036f30c9-ccff-4752-8206-722724cbbf49", + "label": "Normal" + }, + { + "concept": "7c4b5dff-ade6-4fab-9452-b3be4bcba89e", + "label": "Abnormal" + } + ] }, - { "hide": { - "hideWhenExpression": "isEmpty(skinExamination) || skinExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + "validators": [] + }, + { "hide": { + "hideWhenExpression": "isEmpty(skinExamination) || skinExamination !== '7c4b5dff-ade6-4fab-9452-b3be4bcba89e'" + }, + "label": "Skin Examination Details", + "type": "obs", + "required": false, + "id": "skinExaminationDetails", + "questionOptions": { + "rendering": "textarea", + "concept": "e8193958-0ea9-46be-8427-a9ab7da8a772" }, - "label": "Skin Examination Details", - "type": "obs", - "required": false, - "id": "skinExaminationDetails", - "questionOptions": { - "rendering": "textarea", - "concept": "e8193958-0ea9-46be-8427-a9ab7da8a772" - }, - "validators": [] - } - ] - } - ] - } - ], - "processor": "EncounterFormProcessor", - "encounterType": "f1b49ab9-66de-4cb5-bdc6-4cbebf81cfa5\n", - "encounter": "Examen physique", - "referencedForms": [], - "uuid": "00716af3-1d4b-4cdf-aa8e-0800743d1542", - "description": "Examen physique", - "version": "1", - "published": true, - "retired": false - } + "validators": [] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounterType": "f1b49ab9-66de-4cb5-bdc6-4cbebf81cfa5", + "encounter": "Examen physique", + "referencedForms": [], + "uuid": "00716af3-1d4b-4cdf-aa8e-0800743d1542", + "description": "Examen physique", + "version": "1", + "published": true, + "retired": false +} diff --git a/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json b/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json index 1dd2e7b..a37b5ad 100644 --- a/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json +++ b/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json @@ -618,7 +618,7 @@ "id": "smokingDuration(Year(S))", "questionOptions": { "rendering": "number", - "concept": "159931AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "concept": "dbab4772-1814-466f-a4ff-22aceca57200", "conceptMappings": [ { "relationship": "NARROWER-THAN", diff --git a/configs/openmrs/initializer_config/ampathforms/suivi_durgences.json b/configs/openmrs/initializer_config/ampathforms/suivi_durgences.json index 130dd04..3fbb10a 100644 --- a/configs/openmrs/initializer_config/ampathforms/suivi_durgences.json +++ b/configs/openmrs/initializer_config/ampathforms/suivi_durgences.json @@ -15,7 +15,7 @@ "id": "emergency", "questionOptions": { "rendering": "repeating", - "concept": "2acd52d4-a0c5-45da-be77-0fe34bb3dd84" + "concept": "0ab68a6e-4002-400b-8d3f-21c8cdd78dac" }, "questions": [ { @@ -25,7 +25,8 @@ "id": "dateTime", "datePickerFormat": "both", "questionOptions": { - "rendering": "date" + "rendering": "date", + "concept": "b6b02232-2a9f-43c9-a66f-b13d4acc4a93" } }, { diff --git a/configs/openmrs/initializer_config/ampathforms/vaccinations.json b/configs/openmrs/initializer_config/ampathforms/vaccinations.json index 89742f2..e630d79 100644 --- a/configs/openmrs/initializer_config/ampathforms/vaccinations.json +++ b/configs/openmrs/initializer_config/ampathforms/vaccinations.json @@ -9,174 +9,186 @@ "isExpanded": "true", "questions": [ { - "label": "Vaccinations", - "type": "obs", - "required": true, - "id": "vaccinations", + "label": "Vaccination History", + "type": "obsGroup", + "required": false, + "id": "vaccinationHistory", "questionOptions": { - "rendering": "select", - "concept": "3c25e650-ccfa-48da-b276-a7872796b113", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "984" - } - ], - "answers": [ - { - "concept": "9199a4c6-b15f-482c-aa0e-c839bd0cf535", - "label": "BCG Vaccination" - }, - { - "concept": "8fdcd0a6-8bcf-4fad-b780-994bdeabaa9c", - "label": "Covid 19 Vaccination" - }, - { - "concept": "4a561f0d-d898-42ef-ac20-c3f48382604f", - "label": "Diphtheria Tetanus acellular Pertusis Vaccination" - }, - { - "concept": "9f24e11b-24e7-4a44-917b-645a461defc3", - "label": "Diphtheria Tetanus Pertusis Vaccination" - }, - { - "concept": "a5bda1d3-281e-4421-bd73-6d649381a9a5", - "label": "Oral Polio Vaccination" + "rendering": "repeating", + "concept": "ee938d18-fa98-43e3-809f-61aa29726a46" + }, + "questions": [ + { + "label": "Vaccinations", + "type": "obs", + "required": true, + "id": "vaccinations", + "questionOptions": { + "rendering": "select", + "concept": "3c25e650-ccfa-48da-b276-a7872796b113", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "984" + } + ], + "answers": [ + { + "concept": "9199a4c6-b15f-482c-aa0e-c839bd0cf535", + "label": "BCG Vaccination" + }, + { + "concept": "8fdcd0a6-8bcf-4fad-b780-994bdeabaa9c", + "label": "Covid 19 Vaccination" + }, + { + "concept": "4a561f0d-d898-42ef-ac20-c3f48382604f", + "label": "Diphtheria Tetanus acellular Pertusis Vaccination" + }, + { + "concept": "9f24e11b-24e7-4a44-917b-645a461defc3", + "label": "Diphtheria Tetanus Pertusis Vaccination" + }, + { + "concept": "a5bda1d3-281e-4421-bd73-6d649381a9a5", + "label": "Oral Polio Vaccination" + }, + { + "concept": "5358e6bf-dcef-46aa-a6af-9d5be7f74d0f", + "label": "Typhim Vi Vaccination" + }, + { + "concept": "5ba4e40a-28f9-4c21-b589-add0c9cdec78", + "label": "Rotavirus Vaccination" + }, + { + "concept": "5d7c570a-f1f8-4e80-8804-e8d8e94ebd80", + "label": "Polio Vaccine-Inactivated Vaccination" + }, + { + "concept": "67b20a95-eaa4-4a54-ba8c-2e3c8aa2f327", + "label": "Pneumococcal Vaccination" + }, + { + "concept": "ed8d4bd9-9834-49f7-8700-8b384e5fa307", + "label": "Pneumococcal Polysaccharide Vaccination" + }, + { + "concept": "19e9c51d-e0de-4b2c-8eb0-598dbd11187c", + "label": "Pentavalent Vaccination" + } + ] }, - { - "concept": "5358e6bf-dcef-46aa-a6af-9d5be7f74d0f", - "label": "Typhim Vi Vaccination" + "validators": [] + }, + { + "label": "Sequence number", + "type": "obs", + "required": false, + "id": "sequenceNumber", + "questionOptions": { + "rendering": "number", + "concept": "1f4109b3-b201-46df-a341-dcfa5299a187", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1418" + } + ], + "disallowDecimals": true }, - { - "concept": "5ba4e40a-28f9-4c21-b589-add0c9cdec78", - "label": "Rotavirus Vaccination" + "validators": [] + }, + { + "label": "Booster", + "type": "obs", + "required": false, + "id": "booster", + "questionOptions": { + "rendering": "radio", + "concept": "70bc9209-2b6e-4e17-9c4d-58923d3ac49e", + "answers": [ + { + "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", + "label": "Yes" + }, + { + "concept": "2120763c-6c49-4133-b532-1e931ab4858a", + "label": "No" + } + ] }, - { - "concept": "5d7c570a-f1f8-4e80-8804-e8d8e94ebd80", - "label": "Polio Vaccine-Inactivated Vaccination" + "validators": [] + }, + { + "label": "Vaccination date", + "type": "obs", + "required": false, + "id": "vaccinationDate", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "31819490-ae2f-4bb2-ab30-522f93baa0d1", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1410" + } + ] }, - { - "concept": "67b20a95-eaa4-4a54-ba8c-2e3c8aa2f327", - "label": "Pneumococcal Vaccination" + "validators": [] + }, + { + "label": "Vaccine Manufacturer", + "type": "obs", + "required": false, + "id": "vaccineManufacturer", + "questionOptions": { + "rendering": "textarea", + "concept": "602ea0c3-c5ce-4ddd-87a5-a5135bb3cb08", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "1419" + } + ] }, - { - "concept": "ed8d4bd9-9834-49f7-8700-8b384e5fa307", - "label": "Pneumococcal Polysaccharide Vaccination" + "validators": [] + }, + { + "label": "Vaccine Lot Number", + "type": "obs", + "required": false, + "id": "vaccineLotNumber", + "questionOptions": { + "rendering": "textarea" }, - { - "concept": "19e9c51d-e0de-4b2c-8eb0-598dbd11187c", - "label": "Pentavalent Vaccination" - } - ] - }, - "validators": [] - }, - { - "label": "Sequence number", - "type": "obs", - "required": false, - "id": "sequenceNumber", - "questionOptions": { - "rendering": "number", - "concept": "1f4109b3-b201-46df-a341-dcfa5299a187", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "1418" - } - ], - "disallowDecimals": true - }, - "validators": [] - }, - { - "label": "Booster", - "type": "obs", - "required": false, - "id": "booster", - "questionOptions": { - "rendering": "radio", - "concept": "70bc9209-2b6e-4e17-9c4d-58923d3ac49e", - "answers": [ - { - "concept": "bf885a9d-9f98-4990-8c20-ac4ace816bfe", - "label": "Yes" + "validators": [] + }, + { + "label": "Vaccine lot expiration date", + "type": "obs", + "required": false, + "id": "vaccineLotExpirationDate", + "datePickerFormat": "calendar", + "questionOptions": { + "rendering": "date", + "concept": "83189d40-6746-4bb6-a987-9afd4a766690", + "conceptMappings": [ + { + "relationship": "SAME-AS", + "type": "CIEL", + "value": "165907" + } + ] }, - { - "concept": "2120763c-6c49-4133-b532-1e931ab4858a", - "label": "No" - } - ] - }, - "validators": [] - }, - { - "label": "Vaccination date", - "type": "obs", - "required": false, - "id": "vaccinationDate", - "datePickerFormat": "calendar", - "questionOptions": { - "rendering": "date", - "concept": "31819490-ae2f-4bb2-ab30-522f93baa0d1", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "1410" - } - ] - }, - "validators": [] - }, - { - "label": "Vaccine Manufacturer", - "type": "obs", - "required": false, - "id": "vaccineManufacturer", - "questionOptions": { - "rendering": "textarea", - "concept": "602ea0c3-c5ce-4ddd-87a5-a5135bb3cb08", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "1419" - } - ] - }, - "validators": [] - }, - { - "label": "Vaccine Lot Number", - "type": "obs", - "required": false, - "id": "vaccineLotNumber", - "questionOptions": { - "rendering": "textarea" - }, - "validators": [] - }, - { - "label": "Vaccine lot expiration date", - "type": "obs", - "required": false, - "id": "vaccineLotExpirationDate", - "datePickerFormat": "calendar", - "questionOptions": { - "rendering": "date", - "concept": "83189d40-6746-4bb6-a987-9afd4a766690", - "conceptMappings": [ - { - "relationship": "SAME-AS", - "type": "CIEL", - "value": "165907" - } - ] - }, - "validators": [] + "validators": [] + } + ] } ] } From 7f245785e1da353564a3cb26af0790238455cd82 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba Date: Fri, 15 Nov 2024 12:02:10 +0300 Subject: [PATCH 17/17] Fix- remove appended units on labels for number questions --- .../ampathforms/consultation_prenatale.json | 8 ++++---- .../ampathforms/echographie_obstetricale_1.json | 2 +- .../ampathforms/echographie_obstetricale_2.json | 2 +- .../ampathforms/echographie_obstetricale_3.json | 16 ++++++++-------- .../ampathforms/examen_gynecologique.json | 2 +- .../ampathforms/historique_de_sante.json | 16 ++++++++-------- .../ampathforms/nutrition.json | 4 ++-- .../ampathforms/vitals_and_biometrics.json | 10 +++++----- 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json b/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json index 3ac4250..c789761 100644 --- a/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json +++ b/configs/openmrs/initializer_config/ampathforms/consultation_prenatale.json @@ -608,10 +608,10 @@ "validators": [] }, { - "label": "Fundal height (cm)", + "label": "Fundal height", "type": "obs", "required": false, - "id": "fundalHeight(Cm)", + "id": "fundalHeight", "questionOptions": { "rendering": "number", "concept": "f857c495-98d2-4097-9018-d6641a8304a5", @@ -636,10 +636,10 @@ }, "questions": [ { - "label": "Fetal Heart Rate (beats/min)", + "label": "Fetal Heart Rate", "type": "obs", "required": false, - "id": "fetalHeartRate(Beats/Min)", + "id": "fetalHeartRate", "questionOptions": { "rendering": "number", "min": "120", diff --git a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json index 2609d68..793b83d 100644 --- a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json +++ b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_1.json @@ -196,7 +196,7 @@ "validators": [] }, { - "label": "Fetal Heart Rate (beats/min) (120 -160)", + "label": "Fetal Heart Rate", "type": "obs", "required": false, "id": "fetalHeartRate", diff --git a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json index 30969b5..56c5b56 100644 --- a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json +++ b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_2.json @@ -79,7 +79,7 @@ "validators": [] }, { - "label": "Fetal Heart Rate (beats/min) (120 -160)", + "label": "Fetal Heart Rate", "type": "obs", "required": false, "id": "fetalHeartRate", diff --git a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json index f5d0921..c37c1ec 100644 --- a/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json +++ b/configs/openmrs/initializer_config/ampathforms/echographie_obstetricale_3.json @@ -79,7 +79,7 @@ "validators": [] }, { - "label": "Fetal Heart Rate (beats/min) (120 -160)", + "label": "Fetal Heart Rate", "type": "obs", "required": false, "id": "fetalHeartRate", @@ -136,7 +136,7 @@ "validators": [] }, { - "label": "Biparietal diameter (cm)", + "label": "Biparietal diameter", "type": "obs", "required": false, "id": "biparietalDiameter", @@ -147,7 +147,7 @@ "validators": [] }, { - "label": "Occ-frontal diameter (cm)", + "label": "Occ-frontal diameter", "type": "obs", "required": false, "id": "occ-FrontalDiameter", @@ -158,7 +158,7 @@ "validators": [] }, { - "label": "Cranial circumference (cm)", + "label": "Cranial circumference", "type": "obs", "required": false, "id": "cranialCircumference", @@ -169,7 +169,7 @@ "validators": [] }, { - "label": "Femur length (cm)", + "label": "Femur length", "type": "obs", "required": false, "id": "femurLength", @@ -180,7 +180,7 @@ "validators": [] }, { - "label": "Humerus length (cm)", + "label": "Humerus length", "type": "obs", "required": false, "id": "humerusLength", @@ -191,7 +191,7 @@ "validators": [] }, { - "label": "Abdominal circumference (cm)", + "label": "Abdominal circumference", "type": "obs", "required": false, "id": "abdominalCircumference", @@ -202,7 +202,7 @@ "validators": [] }, { - "label": "Estimated fetal weight (g)", + "label": "Estimated fetal weight", "type": "obs", "required": false, "id": "estimatedFetalWeight", diff --git a/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json b/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json index 6297e2e..34f58c9 100644 --- a/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json +++ b/configs/openmrs/initializer_config/ampathforms/examen_gynecologique.json @@ -9,7 +9,7 @@ "isExpanded": "true", "questions": [ { - "label": "Age at Menarche (Years)", + "label": "Age at Menarche", "type": "obs", "required": false, "id": "ageAtMenarche", diff --git a/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json b/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json index a37b5ad..1549e73 100644 --- a/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json +++ b/configs/openmrs/initializer_config/ampathforms/historique_de_sante.json @@ -597,10 +597,10 @@ "validators": [] }, { - "label": "Number of Tobacco sticks (Day)", + "label": "Number of Tobacco sticks", "type": "obs", "required": false, - "id": "numberOfTobaccoSticks(Day)", + "id": "numberOfTobaccoSticks", "questionOptions": { "rendering": "number", "concept": "d6540462-4f03-419c-a0d6-2e3371ba3147", @@ -612,10 +612,10 @@ "validators": [] }, { - "label": "Smoking Duration (Year(s))", + "label": "Smoking Duration", "type": "obs", "required": false, - "id": "smokingDuration(Year(S))", + "id": "smokingDuration", "questionOptions": { "rendering": "number", "concept": "dbab4772-1814-466f-a4ff-22aceca57200", @@ -644,10 +644,10 @@ "validators": [] }, { - "label": "Pack Years (pack-year(s))", + "label": "Pack Years", "type": "obs", "required": false, - "id": "packYears(Pack-Year(S))", + "id": "packYears", "questionOptions": { "rendering": "number", "concept": "4d24f560-7c9d-448c-8767-66ba584588a2" @@ -658,10 +658,10 @@ "validators": [] }, { - "label": "Year(s) since last smoke (Year(s))", + "label": "Year(s) since last smoke", "type": "obs", "required": false, - "id": "year(S)SinceLastSmoke(Year(S))", + "id": "year(S)SinceLastSmoke", "questionOptions": { "rendering": "number", "concept": "65be3d70-89db-4d59-afd9-83357d911956" diff --git a/configs/openmrs/initializer_config/ampathforms/nutrition.json b/configs/openmrs/initializer_config/ampathforms/nutrition.json index 379d0a5..adbe1ee 100644 --- a/configs/openmrs/initializer_config/ampathforms/nutrition.json +++ b/configs/openmrs/initializer_config/ampathforms/nutrition.json @@ -89,10 +89,10 @@ "validators": [] }, { - "label": "Weight Goal (Kg)", + "label": "Weight Goal", "type": "obs", "required": false, - "id": "weightGoal(Kg)", + "id": "weightGoal", "questionOptions": { "rendering": "number", "concept": "fc1f3f86-9332-4714-a4f4-ce88c173a5c2", diff --git a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json index 4515f37..39f6b16 100644 --- a/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json +++ b/configs/openmrs/initializer_config/ampathforms/vitals_and_biometrics.json @@ -154,7 +154,7 @@ "isExpanded": "true", "questions": [ { - "label": "Height (cm)", + "label": "Height", "type": "obs", "required": false, "id": "height", @@ -172,7 +172,7 @@ "validators": [] }, { - "label": "Weight (kg)", + "label": "Weight", "type": "obs", "required": false, "id": "weight", @@ -191,7 +191,7 @@ } }, { - "label": "Head Circumference (cm)", + "label": "Head Circumference", "type": "obs", "required": false, "id": "headCircumference", @@ -202,7 +202,7 @@ "validators": [] }, { - "label": "Abdominal Diameter (cm)", + "label": "Abdominal Diameter", "type": "obs", "required": false, "id": "abdominalDiameter", @@ -213,7 +213,7 @@ "validators": [] }, { - "label": "Mid-Upper Arm Circumference (cm)", + "label": "Mid-Upper Arm Circumference", "type": "obs", "required": false, "id": "midUpperArmCircumference",