From 6592379ce1ef4765979db0e89da355a06ba4bc9e Mon Sep 17 00:00:00 2001 From: Daphne210 Date: Mon, 27 Oct 2025 22:14:21 +0300 Subject: [PATCH 1/7] Adding the general clinical assessment form --- .../General-Clinical-Assessment.json | 649 ++++++++++++++++++ 1 file changed, 649 insertions(+) create mode 100644 omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json diff --git a/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json b/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json new file mode 100644 index 000000000..ad2196a7c --- /dev/null +++ b/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json @@ -0,0 +1,649 @@ +{ + "name": "General Clinical Assessment Form", + "uuid": "10ed5964-6f0b-4fac-86ea-45ffcaf11316", + "version": "4.1.0", + "processor": "EncounterForm", + "encounterType": "d7151f82-c1f3-4152-a605-2f9ea7414a79", + "pages": [ + { + "label": "General Clinical Assessment", + "sections": [ + { + "label": "Presenting Signs and Symptoms", + "isExpanded": true, + "questions": [ + { + "id": "rosHeentGroup", + "label": "REVIEW OF SYSTEMS", + "type": "obsGroup", + "questionOptions": { + "rendering": "group", + "concept": "159615AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "questions": [ + { + "id": "generalComplaints", + "label": "General Complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc971347-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Chills", + "concept": "dc8da01e-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Night sweats", + "concept": "dcd4bde5-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Weight loss", + "concept": "832AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Vomiting", + "concept": "dccfffa9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Rash", + "concept": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Irritability", + "concept": "dcd497cd-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Fatigue", + "concept": "dccf483e-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Fever", + "concept": "dccf3652-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherGeneralComplaints", + "label": "Other general complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(generalComplaints) || generalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "heentComplaints", + "label": "HEENT complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc97178e-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Hearing Difficulties", + "concept": "dc8da01e-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Otorrhea", + "concept": "dc8dda64-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Ear Discharge", + "concept": "dc8dda64-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Oral Sores", + "concept": "dcb24847-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Candidias, Oral/Thrush", + "concept": "dcb5dbbb-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Vision Difficulties", + "concept": "dccf6a36-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Swallowing Difficulties", + "concept": "dccf7385-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Nasal Discharge", + "concept": "dcd47720-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Negative", + "concept": "dc85aa72-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "cardioplumonaryComplaints", + "label": "Cardiopulmonary complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc971bd5-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "TB", + "concept": "dc6527eb-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Cough", + "concept": "dc6625ec-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Chest Pain", + "concept": "dc66e797-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Tachypnea", + "concept": "dc888f11-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "History of Pneumonia", + "concept": "dc995103-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Productive cough", + "concept": "dccf8b23-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Shortness of breath", + "concept": "dccfa115-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Shortness of breath at rest", + "concept": "dccfa561-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Shortness of breath at exertion", + "concept": "dccfae22-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherCardiopulmonaryComplaints", + "label": "Other cardioplumonary complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(cardioplumonaryComplaints) || cardioplumonaryComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "gastrointestinalComplaints", + "label": "Gastrointestinal complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc974220-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Diarrhoea", + "concept": "dc54722c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Abdominal Pain", + "concept": "dc685df9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Nausea", + "concept": "dccff72c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Vomiting", + "concept": "dccfffa9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "History of Jaundice", + "concept": "dcd01935-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Refusal to feed", + "concept": "dcd47b5c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Abdominal Swelling", + "concept": "dcd48632-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Poor Appetite", + "concept": "dcd4c71b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Hepatic Disease", + "concept": "dcd4cb79-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherGastrointestinalComplaints", + "label": "Other gastrointestinal complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(gastrointestinalComplaints) || gastrointestinalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "genitourinaryComplaints", + "label": "Genitourinary complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc974aef-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "UTI", + "concept": "dc651994-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Hematuria", + "concept": "840AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Menstrauting", + "concept": "dcd0283c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Menopause", + "concept": "dcd02c78-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Vaginal Discharge", + "concept": "dcd03934-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Urethral Discharge", + "concept": "dcd041e4-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Dysuria", + "concept": "dcd48a93-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Oliguria", + "concept": "dcd48f0c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Renal Discharge", + "concept": "dcd4d521-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherGenitourinaryComplaints", + "label": "Other genitourinary complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(genitourinaryComplaints) || genitourinaryComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "musculoskeletalComplaints", + "label": "Musculoskeletal complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc974f60-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Joint Pain", + "concept": "dc658ee1-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Edema, Legs", + "concept": "dc7f4fb9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Joint Swelling", + "concept": "dcb5704c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Muscle Pain", + "concept": "dcd4d9c7-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Pain, Lower Extremities", + "concept": "dcd4de19-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherMusculoskeletalComplaints", + "label": "Other genitourinary complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(musculoskeletalComplaints) || musculoskeletalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "centralNervousComplaints", + "label": "Central Nervous complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc9753a4-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Mental Disorder", + "concept": "dc657b8b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Seizure", + "concept": "206AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Depression", + "concept": "dc6979b9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Headache", + "concept": "dc7fdcd0-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Paresthesia", + "concept": "dcd43de4-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Focal Weakness", + "concept": "dcd44273-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Confusion", + "concept": "dcd446b5-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Memory Problems", + "concept": "dcd5103b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherCentralNervousComplaints", + "label": "Other central nervous complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(musculoskeletalComplaints) || musculoskeletalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "developmentComplaints", + "label": "Development complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc9b484f-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Learning Problems", + "concept": "dcbddb5c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Delayed Milestones", + "concept": "dcd49359-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Regressed Milestones", + "concept": "dcd4a05b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Memory Problems", + "concept": "dcd5103b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherDevlopmentComplaints", + "label": "Other development complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(developmentComplaints) || developmentComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "obstetricalComplaints", + "label": "Obstetrical/Pregnancy complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "159614AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "answers": [ + { + "label": "Nausea and Vomiting", + "concept": "133473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Weight Gain", + "concept": "dcbdc2d6-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Abdominal Pain", + "concept": "dc685df9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Feotal Distress", + "concept": "118256AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Amenorrhea", + "concept": "148989AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Decreased feotal movements", + "concept": "113377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Poor Fetal Growth", + "concept": "118246AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Vaginal Bleeding", + "concept": "147232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherObstetricalComplaints", + "label": "Other obstetrical complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(obstetricalComplaints) || obstetricalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + } + ] + } + ] + }, + { + "label": "Chief Complaint/Pain Details", + "isExpanded": false, + "questions": [ + { + "id": "chiefCompliant", + "label": "Chief complaint", + "type": "obs", + "validators": [], + "questionOptions": { + "rendering": "radio", + "concept": "dcb1a6e1-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Symptomatic", + "concept": "dc970efd-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Asymptomatic", + "concept": "dca2d49c-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "painSeverity", + "label": "Pain Severity", + "type": "obs", + "validators": [], + "questionOptions": { + "rendering": "select", + "concept": "dce0d9c2-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Mild Severity", + "concept": "dcde529a-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Moderate Severity", + "concept": "dcde56ba-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Severe Sverity", + "concept": "dcde670d-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Life Threatening Severity", + "concept": "dca2882a-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "painSite", + "label": "Pain Site", + "type": "obs", + "questionOptions": { + "rendering": "text", + "concept": "9c78a74a-6c28-4c83-89e5-2ced9fec78d4" + } + } + ] + }, + { + "label": "Clinical Notes", + "isExpanded": false, + "questions": [ + { + "id": "clinical_notes", + "label": "Clinical notes", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "REPLACE_WITH_CONCEPT_CLINICAL_NOTES", + "rows": 3 + } + } + ] + }, + { + "label": "Encounter Details", + "isExpanded": true, + "questions": [ + { + "label": "Visit Date", + "type": "encounterDatetime", + "id": "encDate", + "questionOptions": { + "rendering": "datetime", + "allowFutureDates": "false" + } + }, + { + "id": "encounterLocation", + "label": "Location", + "type": "encounterLocation", + "questionOptions": { + "rendering": "encounter-location", + "locationTag": "b8bbf83e-645f-451f-8efe-a0db56f09676" + } + }, + { + "id": "encounterProvider", + "label": "Provider", + "type": "encounterProvider", + "questionOptions": { + "rendering": "encounter-provider" + } + } + ] + } + ] + } + ], + "formOptions": { + "usePreviousValueDisabled": false + }, + "description": "A form used for screening for a general body review." +} \ No newline at end of file From c57b56d911f865f599e9d6d2b6ae91fe0b8f56c5 Mon Sep 17 00:00:00 2001 From: Daphne210 Date: Mon, 27 Oct 2025 22:19:13 +0300 Subject: [PATCH 2/7] Adding the general clinical assessement form --- .../jsonforms/General-Assessment-Form.json | 649 ++++++++++++++++++ 1 file changed, 649 insertions(+) create mode 100644 omod/src/main/webapp/resources/jsonforms/General-Assessment-Form.json diff --git a/omod/src/main/webapp/resources/jsonforms/General-Assessment-Form.json b/omod/src/main/webapp/resources/jsonforms/General-Assessment-Form.json new file mode 100644 index 000000000..ad2196a7c --- /dev/null +++ b/omod/src/main/webapp/resources/jsonforms/General-Assessment-Form.json @@ -0,0 +1,649 @@ +{ + "name": "General Clinical Assessment Form", + "uuid": "10ed5964-6f0b-4fac-86ea-45ffcaf11316", + "version": "4.1.0", + "processor": "EncounterForm", + "encounterType": "d7151f82-c1f3-4152-a605-2f9ea7414a79", + "pages": [ + { + "label": "General Clinical Assessment", + "sections": [ + { + "label": "Presenting Signs and Symptoms", + "isExpanded": true, + "questions": [ + { + "id": "rosHeentGroup", + "label": "REVIEW OF SYSTEMS", + "type": "obsGroup", + "questionOptions": { + "rendering": "group", + "concept": "159615AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + "questions": [ + { + "id": "generalComplaints", + "label": "General Complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc971347-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Chills", + "concept": "dc8da01e-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Night sweats", + "concept": "dcd4bde5-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Weight loss", + "concept": "832AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Vomiting", + "concept": "dccfffa9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Rash", + "concept": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Irritability", + "concept": "dcd497cd-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Fatigue", + "concept": "dccf483e-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Fever", + "concept": "dccf3652-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherGeneralComplaints", + "label": "Other general complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(generalComplaints) || generalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "heentComplaints", + "label": "HEENT complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc97178e-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Hearing Difficulties", + "concept": "dc8da01e-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Otorrhea", + "concept": "dc8dda64-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Ear Discharge", + "concept": "dc8dda64-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Oral Sores", + "concept": "dcb24847-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Candidias, Oral/Thrush", + "concept": "dcb5dbbb-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Vision Difficulties", + "concept": "dccf6a36-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Swallowing Difficulties", + "concept": "dccf7385-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Nasal Discharge", + "concept": "dcd47720-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Negative", + "concept": "dc85aa72-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "cardioplumonaryComplaints", + "label": "Cardiopulmonary complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc971bd5-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "TB", + "concept": "dc6527eb-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Cough", + "concept": "dc6625ec-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Chest Pain", + "concept": "dc66e797-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Tachypnea", + "concept": "dc888f11-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "History of Pneumonia", + "concept": "dc995103-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Productive cough", + "concept": "dccf8b23-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Shortness of breath", + "concept": "dccfa115-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Shortness of breath at rest", + "concept": "dccfa561-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Shortness of breath at exertion", + "concept": "dccfae22-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherCardiopulmonaryComplaints", + "label": "Other cardioplumonary complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(cardioplumonaryComplaints) || cardioplumonaryComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "gastrointestinalComplaints", + "label": "Gastrointestinal complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc974220-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Diarrhoea", + "concept": "dc54722c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Abdominal Pain", + "concept": "dc685df9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Nausea", + "concept": "dccff72c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Vomiting", + "concept": "dccfffa9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "History of Jaundice", + "concept": "dcd01935-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Refusal to feed", + "concept": "dcd47b5c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Abdominal Swelling", + "concept": "dcd48632-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Poor Appetite", + "concept": "dcd4c71b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Hepatic Disease", + "concept": "dcd4cb79-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherGastrointestinalComplaints", + "label": "Other gastrointestinal complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(gastrointestinalComplaints) || gastrointestinalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "genitourinaryComplaints", + "label": "Genitourinary complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc974aef-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "UTI", + "concept": "dc651994-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Hematuria", + "concept": "840AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Menstrauting", + "concept": "dcd0283c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Menopause", + "concept": "dcd02c78-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Vaginal Discharge", + "concept": "dcd03934-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Urethral Discharge", + "concept": "dcd041e4-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Dysuria", + "concept": "dcd48a93-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Oliguria", + "concept": "dcd48f0c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Renal Discharge", + "concept": "dcd4d521-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherGenitourinaryComplaints", + "label": "Other genitourinary complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(genitourinaryComplaints) || genitourinaryComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "musculoskeletalComplaints", + "label": "Musculoskeletal complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc974f60-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Joint Pain", + "concept": "dc658ee1-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Edema, Legs", + "concept": "dc7f4fb9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Joint Swelling", + "concept": "dcb5704c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Muscle Pain", + "concept": "dcd4d9c7-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Pain, Lower Extremities", + "concept": "dcd4de19-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherMusculoskeletalComplaints", + "label": "Other genitourinary complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(musculoskeletalComplaints) || musculoskeletalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "centralNervousComplaints", + "label": "Central Nervous complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc9753a4-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Mental Disorder", + "concept": "dc657b8b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Seizure", + "concept": "206AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Depression", + "concept": "dc6979b9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Headache", + "concept": "dc7fdcd0-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Paresthesia", + "concept": "dcd43de4-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Focal Weakness", + "concept": "dcd44273-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Confusion", + "concept": "dcd446b5-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Memory Problems", + "concept": "dcd5103b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherCentralNervousComplaints", + "label": "Other central nervous complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(musculoskeletalComplaints) || musculoskeletalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "developmentComplaints", + "label": "Development complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "dc9b484f-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Learning Problems", + "concept": "dcbddb5c-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Delayed Milestones", + "concept": "dcd49359-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Regressed Milestones", + "concept": "dcd4a05b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Memory Problems", + "concept": "dcd5103b-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherDevlopmentComplaints", + "label": "Other development complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(developmentComplaints) || developmentComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + }, + { + "id": "obstetricalComplaints", + "label": "Obstetrical/Pregnancy complaints", + "type": "obs", + "questionOptions": { + "rendering": "multiCheckbox", + "concept": "159614AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "answers": [ + { + "label": "Nausea and Vomiting", + "concept": "133473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Weight Gain", + "concept": "dcbdc2d6-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Abdominal Pain", + "concept": "dc685df9-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Feotal Distress", + "concept": "118256AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Amenorrhea", + "concept": "148989AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Decreased feotal movements", + "concept": "113377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Poor Fetal Growth", + "concept": "118246AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Vaginal Bleeding", + "concept": "147232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + }, + { + "label": "Other specify", + "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "otherObstetricalComplaints", + "label": "Other obstetrical complaints", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" + }, + "hide": { + "hideWhenExpression": "isEmpty(obstetricalComplaints) || obstetricalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" + } + } + ] + } + ] + }, + { + "label": "Chief Complaint/Pain Details", + "isExpanded": false, + "questions": [ + { + "id": "chiefCompliant", + "label": "Chief complaint", + "type": "obs", + "validators": [], + "questionOptions": { + "rendering": "radio", + "concept": "dcb1a6e1-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Symptomatic", + "concept": "dc970efd-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Asymptomatic", + "concept": "dca2d49c-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "painSeverity", + "label": "Pain Severity", + "type": "obs", + "validators": [], + "questionOptions": { + "rendering": "select", + "concept": "dce0d9c2-30ab-102d-86b0-7a5022ba4115", + "answers": [ + { + "label": "Mild Severity", + "concept": "dcde529a-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Moderate Severity", + "concept": "dcde56ba-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Severe Sverity", + "concept": "dcde670d-30ab-102d-86b0-7a5022ba4115" + }, + { + "label": "Life Threatening Severity", + "concept": "dca2882a-30ab-102d-86b0-7a5022ba4115" + } + ] + } + }, + { + "id": "painSite", + "label": "Pain Site", + "type": "obs", + "questionOptions": { + "rendering": "text", + "concept": "9c78a74a-6c28-4c83-89e5-2ced9fec78d4" + } + } + ] + }, + { + "label": "Clinical Notes", + "isExpanded": false, + "questions": [ + { + "id": "clinical_notes", + "label": "Clinical notes", + "type": "obs", + "questionOptions": { + "rendering": "textarea", + "concept": "REPLACE_WITH_CONCEPT_CLINICAL_NOTES", + "rows": 3 + } + } + ] + }, + { + "label": "Encounter Details", + "isExpanded": true, + "questions": [ + { + "label": "Visit Date", + "type": "encounterDatetime", + "id": "encDate", + "questionOptions": { + "rendering": "datetime", + "allowFutureDates": "false" + } + }, + { + "id": "encounterLocation", + "label": "Location", + "type": "encounterLocation", + "questionOptions": { + "rendering": "encounter-location", + "locationTag": "b8bbf83e-645f-451f-8efe-a0db56f09676" + } + }, + { + "id": "encounterProvider", + "label": "Provider", + "type": "encounterProvider", + "questionOptions": { + "rendering": "encounter-provider" + } + } + ] + } + ] + } + ], + "formOptions": { + "usePreviousValueDisabled": false + }, + "description": "A form used for screening for a general body review." +} \ No newline at end of file From 4039c68a2476d6ffaf3aed341368dc442966c574 Mon Sep 17 00:00:00 2001 From: Daphne <89844768+Daphne210@users.noreply.github.com> Date: Mon, 27 Oct 2025 22:22:14 +0300 Subject: [PATCH 3/7] Delete omod/src/main/webapp/resources/jsonforms/General-Assessment-Form.json --- .../jsonforms/General-Assessment-Form.json | 649 ------------------ 1 file changed, 649 deletions(-) delete mode 100644 omod/src/main/webapp/resources/jsonforms/General-Assessment-Form.json diff --git a/omod/src/main/webapp/resources/jsonforms/General-Assessment-Form.json b/omod/src/main/webapp/resources/jsonforms/General-Assessment-Form.json deleted file mode 100644 index ad2196a7c..000000000 --- a/omod/src/main/webapp/resources/jsonforms/General-Assessment-Form.json +++ /dev/null @@ -1,649 +0,0 @@ -{ - "name": "General Clinical Assessment Form", - "uuid": "10ed5964-6f0b-4fac-86ea-45ffcaf11316", - "version": "4.1.0", - "processor": "EncounterForm", - "encounterType": "d7151f82-c1f3-4152-a605-2f9ea7414a79", - "pages": [ - { - "label": "General Clinical Assessment", - "sections": [ - { - "label": "Presenting Signs and Symptoms", - "isExpanded": true, - "questions": [ - { - "id": "rosHeentGroup", - "label": "REVIEW OF SYSTEMS", - "type": "obsGroup", - "questionOptions": { - "rendering": "group", - "concept": "159615AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - "questions": [ - { - "id": "generalComplaints", - "label": "General Complaints", - "type": "obs", - "questionOptions": { - "rendering": "multiCheckbox", - "concept": "dc971347-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "Chills", - "concept": "dc8da01e-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Night sweats", - "concept": "dcd4bde5-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Weight loss", - "concept": "832AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Vomiting", - "concept": "dccfffa9-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Rash", - "concept": "512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Irritability", - "concept": "dcd497cd-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Fatigue", - "concept": "dccf483e-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Fever", - "concept": "dccf3652-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Other specify", - "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "otherGeneralComplaints", - "label": "Other general complaints", - "type": "obs", - "questionOptions": { - "rendering": "textarea", - "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" - }, - "hide": { - "hideWhenExpression": "isEmpty(generalComplaints) || generalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" - } - }, - { - "id": "heentComplaints", - "label": "HEENT complaints", - "type": "obs", - "questionOptions": { - "rendering": "multiCheckbox", - "concept": "dc97178e-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "Hearing Difficulties", - "concept": "dc8da01e-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Otorrhea", - "concept": "dc8dda64-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Ear Discharge", - "concept": "dc8dda64-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Oral Sores", - "concept": "dcb24847-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Candidias, Oral/Thrush", - "concept": "dcb5dbbb-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Vision Difficulties", - "concept": "dccf6a36-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Swallowing Difficulties", - "concept": "dccf7385-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Nasal Discharge", - "concept": "dcd47720-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Negative", - "concept": "dc85aa72-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "cardioplumonaryComplaints", - "label": "Cardiopulmonary complaints", - "type": "obs", - "questionOptions": { - "rendering": "multiCheckbox", - "concept": "dc971bd5-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "TB", - "concept": "dc6527eb-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Cough", - "concept": "dc6625ec-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Chest Pain", - "concept": "dc66e797-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Tachypnea", - "concept": "dc888f11-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "History of Pneumonia", - "concept": "dc995103-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Productive cough", - "concept": "dccf8b23-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Shortness of breath", - "concept": "dccfa115-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Shortness of breath at rest", - "concept": "dccfa561-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Shortness of breath at exertion", - "concept": "dccfae22-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Other specify", - "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "otherCardiopulmonaryComplaints", - "label": "Other cardioplumonary complaints", - "type": "obs", - "questionOptions": { - "rendering": "textarea", - "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" - }, - "hide": { - "hideWhenExpression": "isEmpty(cardioplumonaryComplaints) || cardioplumonaryComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" - } - }, - { - "id": "gastrointestinalComplaints", - "label": "Gastrointestinal complaints", - "type": "obs", - "questionOptions": { - "rendering": "multiCheckbox", - "concept": "dc974220-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "Diarrhoea", - "concept": "dc54722c-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Abdominal Pain", - "concept": "dc685df9-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Nausea", - "concept": "dccff72c-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Vomiting", - "concept": "dccfffa9-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "History of Jaundice", - "concept": "dcd01935-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Refusal to feed", - "concept": "dcd47b5c-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Abdominal Swelling", - "concept": "dcd48632-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Poor Appetite", - "concept": "dcd4c71b-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Hepatic Disease", - "concept": "dcd4cb79-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Other specify", - "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "otherGastrointestinalComplaints", - "label": "Other gastrointestinal complaints", - "type": "obs", - "questionOptions": { - "rendering": "textarea", - "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" - }, - "hide": { - "hideWhenExpression": "isEmpty(gastrointestinalComplaints) || gastrointestinalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" - } - }, - { - "id": "genitourinaryComplaints", - "label": "Genitourinary complaints", - "type": "obs", - "questionOptions": { - "rendering": "multiCheckbox", - "concept": "dc974aef-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "UTI", - "concept": "dc651994-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Hematuria", - "concept": "840AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Menstrauting", - "concept": "dcd0283c-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Menopause", - "concept": "dcd02c78-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Vaginal Discharge", - "concept": "dcd03934-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Urethral Discharge", - "concept": "dcd041e4-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Dysuria", - "concept": "dcd48a93-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Oliguria", - "concept": "dcd48f0c-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Renal Discharge", - "concept": "dcd4d521-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Other specify", - "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "otherGenitourinaryComplaints", - "label": "Other genitourinary complaints", - "type": "obs", - "questionOptions": { - "rendering": "textarea", - "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" - }, - "hide": { - "hideWhenExpression": "isEmpty(genitourinaryComplaints) || genitourinaryComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" - } - }, - { - "id": "musculoskeletalComplaints", - "label": "Musculoskeletal complaints", - "type": "obs", - "questionOptions": { - "rendering": "multiCheckbox", - "concept": "dc974f60-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "Joint Pain", - "concept": "dc658ee1-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Edema, Legs", - "concept": "dc7f4fb9-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Joint Swelling", - "concept": "dcb5704c-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Muscle Pain", - "concept": "dcd4d9c7-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Pain, Lower Extremities", - "concept": "dcd4de19-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Other specify", - "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "otherMusculoskeletalComplaints", - "label": "Other genitourinary complaints", - "type": "obs", - "questionOptions": { - "rendering": "textarea", - "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" - }, - "hide": { - "hideWhenExpression": "isEmpty(musculoskeletalComplaints) || musculoskeletalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" - } - }, - { - "id": "centralNervousComplaints", - "label": "Central Nervous complaints", - "type": "obs", - "questionOptions": { - "rendering": "multiCheckbox", - "concept": "dc9753a4-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "Mental Disorder", - "concept": "dc657b8b-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Seizure", - "concept": "206AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Depression", - "concept": "dc6979b9-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Headache", - "concept": "dc7fdcd0-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Paresthesia", - "concept": "dcd43de4-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Focal Weakness", - "concept": "dcd44273-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Confusion", - "concept": "dcd446b5-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Memory Problems", - "concept": "dcd5103b-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Other specify", - "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "otherCentralNervousComplaints", - "label": "Other central nervous complaints", - "type": "obs", - "questionOptions": { - "rendering": "textarea", - "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" - }, - "hide": { - "hideWhenExpression": "isEmpty(musculoskeletalComplaints) || musculoskeletalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" - } - }, - { - "id": "developmentComplaints", - "label": "Development complaints", - "type": "obs", - "questionOptions": { - "rendering": "multiCheckbox", - "concept": "dc9b484f-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "Learning Problems", - "concept": "dcbddb5c-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Delayed Milestones", - "concept": "dcd49359-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Regressed Milestones", - "concept": "dcd4a05b-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Memory Problems", - "concept": "dcd5103b-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Other specify", - "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "otherDevlopmentComplaints", - "label": "Other development complaints", - "type": "obs", - "questionOptions": { - "rendering": "textarea", - "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" - }, - "hide": { - "hideWhenExpression": "isEmpty(developmentComplaints) || developmentComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" - } - }, - { - "id": "obstetricalComplaints", - "label": "Obstetrical/Pregnancy complaints", - "type": "obs", - "questionOptions": { - "rendering": "multiCheckbox", - "concept": "159614AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "answers": [ - { - "label": "Nausea and Vomiting", - "concept": "133473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Weight Gain", - "concept": "dcbdc2d6-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Abdominal Pain", - "concept": "dc685df9-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Feotal Distress", - "concept": "118256AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Amenorrhea", - "concept": "148989AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Decreased feotal movements", - "concept": "113377AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Poor Fetal Growth", - "concept": "118246AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Vaginal Bleeding", - "concept": "147232AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - }, - { - "label": "Other specify", - "concept": "dcd68a88-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "otherObstetricalComplaints", - "label": "Other obstetrical complaints", - "type": "obs", - "questionOptions": { - "rendering": "textarea", - "concept": "e7f0575a-a83d-11ed-afa1-0242ac120002" - }, - "hide": { - "hideWhenExpression": "isEmpty(obstetricalComplaints) || obstetricalComplaints !== 'dc971347-30ab-102d-86b0-7a5022ba4115'" - } - } - ] - } - ] - }, - { - "label": "Chief Complaint/Pain Details", - "isExpanded": false, - "questions": [ - { - "id": "chiefCompliant", - "label": "Chief complaint", - "type": "obs", - "validators": [], - "questionOptions": { - "rendering": "radio", - "concept": "dcb1a6e1-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "Symptomatic", - "concept": "dc970efd-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Asymptomatic", - "concept": "dca2d49c-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "painSeverity", - "label": "Pain Severity", - "type": "obs", - "validators": [], - "questionOptions": { - "rendering": "select", - "concept": "dce0d9c2-30ab-102d-86b0-7a5022ba4115", - "answers": [ - { - "label": "Mild Severity", - "concept": "dcde529a-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Moderate Severity", - "concept": "dcde56ba-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Severe Sverity", - "concept": "dcde670d-30ab-102d-86b0-7a5022ba4115" - }, - { - "label": "Life Threatening Severity", - "concept": "dca2882a-30ab-102d-86b0-7a5022ba4115" - } - ] - } - }, - { - "id": "painSite", - "label": "Pain Site", - "type": "obs", - "questionOptions": { - "rendering": "text", - "concept": "9c78a74a-6c28-4c83-89e5-2ced9fec78d4" - } - } - ] - }, - { - "label": "Clinical Notes", - "isExpanded": false, - "questions": [ - { - "id": "clinical_notes", - "label": "Clinical notes", - "type": "obs", - "questionOptions": { - "rendering": "textarea", - "concept": "REPLACE_WITH_CONCEPT_CLINICAL_NOTES", - "rows": 3 - } - } - ] - }, - { - "label": "Encounter Details", - "isExpanded": true, - "questions": [ - { - "label": "Visit Date", - "type": "encounterDatetime", - "id": "encDate", - "questionOptions": { - "rendering": "datetime", - "allowFutureDates": "false" - } - }, - { - "id": "encounterLocation", - "label": "Location", - "type": "encounterLocation", - "questionOptions": { - "rendering": "encounter-location", - "locationTag": "b8bbf83e-645f-451f-8efe-a0db56f09676" - } - }, - { - "id": "encounterProvider", - "label": "Provider", - "type": "encounterProvider", - "questionOptions": { - "rendering": "encounter-provider" - } - } - ] - } - ] - } - ], - "formOptions": { - "usePreviousValueDisabled": false - }, - "description": "A form used for screening for a general body review." -} \ No newline at end of file From 551eaca38ab59c0244392e04cb0723b6416595de Mon Sep 17 00:00:00 2001 From: Daphne210 Date: Tue, 28 Oct 2025 16:32:56 +0300 Subject: [PATCH 4/7] Creating an encounter type --- .../api/deploy/bundle/CommonMetadataBundle.java | 1 + .../ugandaemr/metadata/core/EncounterTypes.java | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/api/src/main/java/org/openmrs/module/ugandaemr/api/deploy/bundle/CommonMetadataBundle.java b/api/src/main/java/org/openmrs/module/ugandaemr/api/deploy/bundle/CommonMetadataBundle.java index 38aa34f33..731da147e 100644 --- a/api/src/main/java/org/openmrs/module/ugandaemr/api/deploy/bundle/CommonMetadataBundle.java +++ b/api/src/main/java/org/openmrs/module/ugandaemr/api/deploy/bundle/CommonMetadataBundle.java @@ -109,6 +109,7 @@ public void install() throws Exception { install(EncounterTypes.PROCEDURE_RESULTS_ENCOUNTER); install(EncounterTypes.HIV_SELF_TESTING_ENCOUNTER); install(EncounterTypes.HTS_CONTACT_TRACING_ENCOUNTER); + install(EncounterTypes.GENERAL_CLINICAL_ASSESSMENT_ENCOUNTER); //installing programs metadata diff --git a/api/src/main/java/org/openmrs/module/ugandaemr/metadata/core/EncounterTypes.java b/api/src/main/java/org/openmrs/module/ugandaemr/metadata/core/EncounterTypes.java index b1d243103..3009f32cf 100644 --- a/api/src/main/java/org/openmrs/module/ugandaemr/metadata/core/EncounterTypes.java +++ b/api/src/main/java/org/openmrs/module/ugandaemr/metadata/core/EncounterTypes.java @@ -658,4 +658,20 @@ public String uuid() { return "3849c43c-f14d-40ab-80d7-670cf251e525"; } }; + + public static EncounterTypeDescriptor GENERAL_CLINICAL_ASSESSMENT_ENCOUNTER = new EncounterTypeDescriptor() { + @Override + public String name() { + return "General Clinical Assessment Encounter"; + } + + @Override + public String description() { + return "This is a general cinical assessment encounter type"; + } + + public String uuid() { + return "7b2eed30-59cb-4a0e-9741-a568952b3d76"; + } + }; } \ No newline at end of file From b463be195bf7e094e4ba3b6f37639d35350ad663 Mon Sep 17 00:00:00 2001 From: Daphne210 Date: Tue, 28 Oct 2025 16:35:18 +0300 Subject: [PATCH 5/7] Changing to the right encounter type --- .../webapp/resources/jsonforms/General-Clinical-Assessment.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json b/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json index ad2196a7c..4bf068594 100644 --- a/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json +++ b/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json @@ -3,7 +3,7 @@ "uuid": "10ed5964-6f0b-4fac-86ea-45ffcaf11316", "version": "4.1.0", "processor": "EncounterForm", - "encounterType": "d7151f82-c1f3-4152-a605-2f9ea7414a79", + "encounterType": "3849c43c-f14d-40ab-80d7-670cf251e525", "pages": [ { "label": "General Clinical Assessment", From 4cab586ccf89240664e4b7cea767cbf893e46bc0 Mon Sep 17 00:00:00 2001 From: Daphne210 Date: Tue, 28 Oct 2025 16:36:23 +0300 Subject: [PATCH 6/7] Doing away with encounter on the name --- .../openmrs/module/ugandaemr/metadata/core/EncounterTypes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/org/openmrs/module/ugandaemr/metadata/core/EncounterTypes.java b/api/src/main/java/org/openmrs/module/ugandaemr/metadata/core/EncounterTypes.java index 3009f32cf..364baed02 100644 --- a/api/src/main/java/org/openmrs/module/ugandaemr/metadata/core/EncounterTypes.java +++ b/api/src/main/java/org/openmrs/module/ugandaemr/metadata/core/EncounterTypes.java @@ -662,7 +662,7 @@ public String uuid() { public static EncounterTypeDescriptor GENERAL_CLINICAL_ASSESSMENT_ENCOUNTER = new EncounterTypeDescriptor() { @Override public String name() { - return "General Clinical Assessment Encounter"; + return "General Clinical Assessment"; } @Override From 3c7045bdbfda126ec4b5cc1d773c1dca0ac6741f Mon Sep 17 00:00:00 2001 From: Daphne <89844768+Daphne210@users.noreply.github.com> Date: Tue, 28 Oct 2025 19:59:45 +0300 Subject: [PATCH 7/7] Update encounter type --- .../resources/jsonforms/General-Clinical-Assessment.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json b/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json index 4bf068594..64f728939 100644 --- a/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json +++ b/omod/src/main/webapp/resources/jsonforms/General-Clinical-Assessment.json @@ -3,7 +3,7 @@ "uuid": "10ed5964-6f0b-4fac-86ea-45ffcaf11316", "version": "4.1.0", "processor": "EncounterForm", - "encounterType": "3849c43c-f14d-40ab-80d7-670cf251e525", + "encounterType": "7b2eed30-59cb-4a0e-9741-a568952b3d76", "pages": [ { "label": "General Clinical Assessment", @@ -646,4 +646,4 @@ "usePreviousValueDisabled": false }, "description": "A form used for screening for a general body review." -} \ No newline at end of file +}