From 6fda5ed09cdb422e63f5570d1e777b74af4d5f41 Mon Sep 17 00:00:00 2001 From: kazlaw Date: Wed, 8 Jan 2025 11:03:45 +0300 Subject: [PATCH] HSC-356: Add Ward Admission Form --- .../ampathforms/ipd_admission_request.json | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 configs/openmrs/initializer_config/ampathforms/ipd_admission_request.json diff --git a/configs/openmrs/initializer_config/ampathforms/ipd_admission_request.json b/configs/openmrs/initializer_config/ampathforms/ipd_admission_request.json new file mode 100644 index 0000000..33f873f --- /dev/null +++ b/configs/openmrs/initializer_config/ampathforms/ipd_admission_request.json @@ -0,0 +1,67 @@ +{ + "name": "Ward Admission", + "pages": [ + { + "label": "Ward Request", + "sections": [ + { + "label": "Ward Details", + "isExpanded": "true", + "questions": [ + { + "type": "obsGroup", + "id": "inpatientDispositionConstruct", + "questionOptions": { + "concept": "CIEL:169405", + "rendering": "group" + }, + "questions": [ + { + "id": "disposition", + "type": "obs", + "required": true, + "questionOptions": { + "rendering": "radio", + "required": true, + "concept": "CIEL:169402", + "answers": [ + { + "concept": "CIEL:168619" + } + ] + }, + "validators": [] + }, + { + "id": "admitToLocation", + "type": "obs", + "required": true, + "questionOptions": { + "rendering": "ui-select-extended", + "required": true, + "concept": "CIEL:169403", + "datasource": { + "name": "location_datasource", + "config": { + "tag": "Admission Location" + } + } + } + } + ] + } + ] + } + ] + } + ], + "processor": "EncounterFormProcessor", + "encounter": "Transfer Request", + "encounterType": "ccfbdaaf-c0fb-45ec-b4fc-958fef5c5965", + "referencedForms": [], + "uuid": "445d42c5-6886-4457-8d50-d84d41b34508", + "description": "Create an admission request to an inpatient ward", + "version": "1.0.0", + "published": true, + "retired": false + } \ No newline at end of file