diff --git a/configs/openmrs_config/ampathforms/NCD_Consultation.json b/configs/openmrs_config/ampathforms/NCD_Consultation.json index 95d706cc..0f136420 100644 --- a/configs/openmrs_config/ampathforms/NCD_Consultation.json +++ b/configs/openmrs_config/ampathforms/NCD_Consultation.json @@ -1256,6 +1256,20 @@ "type": "obs", "validators": [] }, + { + "questionOptions": { + "rendering": "workspace-launcher", + "workspaceName": "add-drug-order", + "buttonType": "ghost", + "buttonLabel": "Add +", + "id": "ordering-id" + }, + "id": "orderDrugs", + "label": "Order for Drugs here:", + "hide": { + "hideWhenExpression": "isEmpty(medicinePrescribed) || medicinePrescribed !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, { "id": "medicineDetails", "hide": { diff --git a/configs/openmrs_config/ampathforms/NCD_Screening.json b/configs/openmrs_config/ampathforms/NCD_Screening.json index fb11c922..bb59a433 100644 --- a/configs/openmrs_config/ampathforms/NCD_Screening.json +++ b/configs/openmrs_config/ampathforms/NCD_Screening.json @@ -1188,6 +1188,19 @@ "type": "obs", "validators": [] }, + { + "questionOptions": { + "rendering": "workspace-launcher", + "workspaceName": "add-drug-order", + "buttonType": "ghost", + "buttonLabel": "Add +" + }, + "id": "orderDrugs", + "label": "Order for Drugs here:", + "hide": { + "hideWhenExpression": "isEmpty(medicinePrescribed) || medicinePrescribed !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, { "id": "medicineDetails", "hide": {