Skip to content

Commit

Permalink
KHP3-4180 Only display 'Specify other Complaints' when 'Other' is se… (
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau authored Oct 5, 2023
1 parent 0591acc commit 5ab1f85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions configuration/ampathforms/HIV_Green_Card.json
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,9 @@
"label": "Delirium"
}
]
},
"hide": {
"hideWhenExpression": "isEmpty(personPresent) || personPresent !== '978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || comPlaiNtsToday !== 'true'"
}
},
{
Expand All @@ -854,7 +857,7 @@
},
"validators": [],
"hide": {
"hideWhenExpression": "comPlaiNtsToday !== 'true'"
"hideWhenExpression": "isEmpty(personPresent) || personPresent !== '978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || comPlaiNtsToday !== 'true'"
}
}
],
Expand All @@ -870,7 +873,7 @@
},
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(personPresent) || personPresent !== '978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || comPlaiNtsToday !== 'true'"
"hideWhenExpression": "isEmpty(personPresent) || personPresent !== '978AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || comPlaiNtsToday !== 'true' || cOmplaIntField !== '5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion configuration/ampathforms/PrEP_Initial.json
Original file line number Diff line number Diff line change
Expand Up @@ -2003,7 +2003,7 @@
{
"label": "Reason for failure to give appointment",
"type": "obs",
"id": "reason-tca-date",
"id": "reasonTcaDate",
"questionOptions": {
"concept": "2e91618a-1f42-4781-ae1e-96d0d8a86e16",
"rendering": "radio",
Expand Down

0 comments on commit 5ab1f85

Please sign in to comment.