Skip to content

Commit

Permalink
KH-365: Create a link to the drug order basket (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazlaw authored Nov 24, 2023
1 parent aa57e7f commit 7840a30
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions configs/openmrs_config/ampathforms/NCD_Consultation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
13 changes: 13 additions & 0 deletions configs/openmrs_config/ampathforms/NCD_Screening.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 7840a30

Please sign in to comment.