diff --git a/omod/src/main/webapp/resources/jsonforms/HMIS-HIV-003-HivCareArtCard-ClinicalAssessmentPage.json b/omod/src/main/webapp/resources/jsonforms/HMIS-HIV-003-HivCareArtCard-ClinicalAssessmentPage.json index 02cde3088..df85e7ba9 100644 --- a/omod/src/main/webapp/resources/jsonforms/HMIS-HIV-003-HivCareArtCard-ClinicalAssessmentPage.json +++ b/omod/src/main/webapp/resources/jsonforms/HMIS-HIV-003-HivCareArtCard-ClinicalAssessmentPage.json @@ -29,7 +29,7 @@ "label": "Provider:", "type": "encounterProvider", "questionOptions": { - "rendering": "ui-select-extended" + "rendering": "encounter-provider" }, "id": "encProvider " }, @@ -37,7 +37,7 @@ "label": "Location:", "type": "encounterLocation", "questionOptions": { - "rendering": "ui-select-extended" + "rendering": "encounter-location" }, "id": "encLocation" } @@ -51,6 +51,7 @@ "label": "Pregnancy", "type": "obs", "id": "pregnant", + "required": "true", "questionOptions": { "rendering": "checkbox", "concept": "cd48b900-dd21-45ce-ae6b-b38ad2a3a695", @@ -140,6 +141,7 @@ "label": "ANC No.", "type": "obs", "id": "anc_no", + "required": "true", "questionOptions": { "rendering": "number", "concept": "c7231d96-34d8-4bf7-a509-c810f75e3329", @@ -264,6 +266,7 @@ "label": "TB Status", "type": "obs", "id": "tb_status", + "required": "true", "questionOptions": { "rendering": "select", "concept": "dce02aa1-30ab-102d-86b0-7a5022ba4115", @@ -801,9 +804,10 @@ } }, { - "label": "ART Adherence ", + "label": "ART Adherence", "type": "obs", "id": "art_adherence", + "required": true, "questionOptions": { "rendering": "radio", "concept": "dce03b2f-30ab-102d-86b0-7a5022ba4115", @@ -901,6 +905,161 @@ } ] }, + { + "label": "Viral Load", + "isExpanded": "true", + "questions": [ + { + "label": "Tests Ordered", + "id": "tests_ordered", + "type": "testOrder", + "questionOptions": { + "rendering": "repeating", + "orderSettingUuid": "INPATIENT", + "orderType": "testorder", + "selectableOrders": [ + { + "concept": "1eb05918-f50c-4cad-a827-3c78f296a10a", + "label": "VL", + "conceptMappings": [] + } + ] + } + }, + { + "label": "Specimen ID", + "type": "obs", + "id": "specimen_id", + "required": "true", + "questionOptions": { + "rendering": "text", + "concept": "0f998893-ab24-4ee4-922a-f197ac5fd6e6", + "conceptMappings": [], + "answers": [] + }, + "validators": [], + "hide": { + "hideWhenExpression": "isEmpty(tests_ordered) || !tests_ordered.includes('1eb05918-f50c-4cad-a827-3c78f296a10a')" + } + }, + { + "label": "Specimen source", + "type": "obs", + "id": "specimen_source", + "required": "true", + "questionOptions": { + "rendering": "select", + "concept": "159959AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "answers": [ + { + "concept": "162403AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Ascitic fluid", + "conceptMappings": [] + }, + { + "concept": "159995AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Cerebrospinal fluid", + "conceptMappings": [] + }, + { + "concept": "159993AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Feces", + "conceptMappings": [] + }, + { + "concept": "1002AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Plasma", + "conceptMappings": [] + }, + { + "concept": "1001AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Serum", + "conceptMappings": [] + }, + { + "concept": "1004AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Sputum", + "conceptMappings": [] + }, + { + "concept": "159994AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Urine", + "conceptMappings": [] + }, + { + "concept": "1000AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Whole Blood Sample", + "conceptMappings": [] + }, + { + "concept": "a9ecc403-25b5-48c8-974f-815acc074328", + "label": "Dried Blood Spot", + "conceptMappings": [] + }, + { + "concept": "b123b9db-4d5e-4e64-8821-071b77dae457", + "label": "Swab Samples", + "conceptMappings": [] + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(tests_ordered) || !tests_ordered.includes('1eb05918-f50c-4cad-a827-3c78f296a10a')" + } + }, + { + "label": "Indication for viral load testing", + "type": "obs", + "id": "indication_vl_testing", + "required": "true", + "questionOptions": { + "rendering": "select", + "concept": "59f36196-3ebe-4fea-be92-6fc9551c3a11", + "conceptMappings": [], + "answers": [ + { + "concept": "67fab588-d3b0-4aa5-a165-ebd3b00b285b", + "label": "12 months after ART initiation", + "conceptMappings": [] + }, + { + "concept": "224c94e0-2b8b-4deb-892c-04151ee0e885", + "label": "6 months after ART initiation", + "conceptMappings": [] + }, + { + "concept": "f3cdf0b6-321a-493d-a7e8-9a2b2a077f72", + "label": "Suspected treatment failure", + "conceptMappings": [] + }, + { + "concept": "bab153f4-7679-4040-9716-6879dffef905", + "label": "Special Considerations", + "conceptMappings": [] + }, + { + "concept": "20ab2ec5-5390-4461-b85f-69bf650ce992", + "label": "Repeat (after IAC)", + "conceptMappings": [] + }, + { + "concept": "68b58a80-af4e-43a5-a70d-113747a6cbb7", + "label": "Routine", + "conceptMappings": [] + }, + { + "concept": "588ac57f-a4d0-47c2-9852-92502194ec4a", + "label": "1st ANC visit", + "conceptMappings": [] + } + ] + }, + "hide": { + "hideWhenExpression": "isEmpty(tests_ordered) || !tests_ordered.includes('1eb05918-f50c-4cad-a827-3c78f296a10a')" + } + } + ] + }, { "label": "DSD Model", "isExpanded": "true", @@ -932,6 +1091,7 @@ { "label": "Patient Categorization", "type": "obs", + "required": "true", "id": "patient_categorization", "questionOptions": { "rendering": "select", @@ -954,6 +1114,7 @@ "label": "Approach", "type": "obs", "id": "approach", + "required": "true", "questionOptions": { "rendering": "select", "concept": "73312fee-c321-11e8-a355-529269fb1459", diff --git a/omod/src/main/webapp/resources/jsonforms/HMIS-LAB-001-GENERAL-LABORATORY-TEST-REQUEST-FORM.json b/omod/src/main/webapp/resources/jsonforms/HMIS-LAB-001-GENERAL-LABORATORY-TEST-REQUEST-FORM.json index 5df41ab31..0b928b0cd 100644 --- a/omod/src/main/webapp/resources/jsonforms/HMIS-LAB-001-GENERAL-LABORATORY-TEST-REQUEST-FORM.json +++ b/omod/src/main/webapp/resources/jsonforms/HMIS-LAB-001-GENERAL-LABORATORY-TEST-REQUEST-FORM.json @@ -93,11 +93,6 @@ "label": "Cd4", "conceptMappings": [] }, - { - "concept": "1eb05918-f50c-4cad-a827-3c78f296a10a", - "label": "VL", - "conceptMappings": [] - }, { "concept": "1643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "label": "Malaria RDT", @@ -560,56 +555,6 @@ } ] } - }, - { - "label": "Indication for viral load testing", - "type": "obs", - "id": "indication_vl_testing", - "questionOptions": { - "rendering": "select", - "concept": "59f36196-3ebe-4fea-be92-6fc9551c3a11", - "conceptMappings": [], - "answers": [ - { - "concept": "67fab588-d3b0-4aa5-a165-ebd3b00b285b", - "label": "12 months after ART initiation", - "conceptMappings": [] - }, - { - "concept": "224c94e0-2b8b-4deb-892c-04151ee0e885", - "label": "6 months after ART initiation", - "conceptMappings": [] - }, - { - "concept": "f3cdf0b6-321a-493d-a7e8-9a2b2a077f72", - "label": "Suspected treatment failure", - "conceptMappings": [] - }, - { - "concept": "bab153f4-7679-4040-9716-6879dffef905", - "label": "Special Considerations", - "conceptMappings": [] - }, - { - "concept": "20ab2ec5-5390-4461-b85f-69bf650ce992", - "label": "Repeat (after IAC)", - "conceptMappings": [] - }, - { - "concept": "68b58a80-af4e-43a5-a70d-113747a6cbb7", - "label": "Routine", - "conceptMappings": [] - }, - { - "concept": "588ac57f-a4d0-47c2-9852-92502194ec4a", - "label": "1st ANC visit", - "conceptMappings": [] - } - ] - }, - "hide": { - "hideWhenExpression": "isEmpty(tests_ordered) || !tests_ordered.includes('1eb05918-f50c-4cad-a827-3c78f296a10a')" - } } ] }