Skip to content

Commit

Permalink
KHP3-4449 Align HTS referral section to 2.x (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau authored Nov 1, 2023
1 parent 4634834 commit ea8a782
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions configuration/ampathforms/HTS_Initial.json
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@
"id": "kitNameB",
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(testResults) || testResults !== '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(testResults) || testResults === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
},
{
Expand All @@ -1152,7 +1152,7 @@
"id": "lotNumberB",
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(testResults) || testResults !== '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(testResults) || testResults === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
},
{
Expand All @@ -1176,7 +1176,7 @@
}
],
"hide": {
"hideWhenExpression": "isEmpty(testResults) || testResults !== '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(testResults) || testResults === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
},
{
Expand All @@ -1203,7 +1203,7 @@
"id": "testResultsB",
"validators": [],
"hide": {
"hideWhenExpression": "isEmpty(testResults) || testResults !== '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(testResults) || testResults === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
}
]
Expand Down Expand Up @@ -1412,9 +1412,9 @@
}
]
},
"id": "ClieNtReferrEd",
"id": "clientReferred",
"hide": {
"hideWhenExpression": "finalResult !=='664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(testResults) || testResults !== '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' "
}
},
{
Expand Down Expand Up @@ -1480,15 +1480,15 @@
},
"id": "refeRRalSerVicEs",
"hide": {
"hideWhenExpression": "isEmpty(ClieNtReferrEd) || ClieNtReferrEd !=='1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(clientReferred) || clientReferred !=='1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
}
]
},
{
"label": "Specify Referral",
"type": "obs",
"id": "SpeCrEferRed",
"id": "speCrEferRed",
"questionOptions": {
"rendering": "textbox",
"concept": "164359AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
Expand Down Expand Up @@ -1521,9 +1521,9 @@
}
]
},
"id": "ReferredForCare",
"id": "referredForCare",
"hide": {
"hideWhenExpression": "isEmpty(finalResult) || finalResult === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(testResults) || isEmpty(testResultsB) || testResults === '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults !== '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB !== '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' "
}
},
{
Expand All @@ -1543,9 +1543,9 @@
}
]
},
"id": "ReferredToCare",
"id": "referredToCare",
"hide": {
"hideWhenExpression": "isEmpty(finalResult) || finalResult === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(testResults) || isEmpty(testResultsB) || testResults === '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults !== '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB !== '703AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || testResults === '163611AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && testResultsB === '664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' "
}
},
{
Expand All @@ -1557,7 +1557,7 @@
"rendering": "text"
},
"hide": {
"hideWhenExpression": "ReferredToCare !== '164407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "referredToCare !== '164407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
}
]
Expand Down

0 comments on commit ea8a782

Please sign in to comment.