Skip to content

Commit

Permalink
Validation of 18yrs section (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckote authored Oct 5, 2023
1 parent ea58b32 commit 79f18ab
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions configuration/ampathforms/HIV_Enrollment.json
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,7 @@
]
},
"hide": {
"hideWhenExpression": "isEmpty(patientType) || age > 18 && patientType === '4bd29eed-e486-426d-a2b6-7e5bb75319f6' || patientType === '159833AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(patientType) || age > 18 || patientType === '4bd29eed-e486-426d-a2b6-7e5bb75319f6' || patientType === '159833AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
},
{
Expand All @@ -1324,17 +1324,17 @@
"rendering": "select",
"answers": [
{
"concept": "yes",
"concept": "true",
"label": "Yes"
},
{
"concept": "no",
"concept": "false",
"label": "No"
}
]
},
"hide": {
"hideWhenExpression": "isEmpty(patientType) || age > 18 && patientType === '4bd29eed-e486-426d-a2b6-7e5bb75319f6' || patientType === '159833AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
"hideWhenExpression": "isEmpty(patientType) || age > 18 || patientType === '4bd29eed-e486-426d-a2b6-7e5bb75319f6' || patientType === '159833AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
},
{
Expand Down Expand Up @@ -1382,10 +1382,7 @@
}
}
],
"id": "guardianSuppORT",
"hide": {
"hideWhenExpression": "isEmpty(patientType) || age > 18 || patientType === '4bd29eed-e486-426d-a2b6-7e5bb75319f6' || patientType === '159833AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
"id": "guardianSuppORT"
}
]
},
Expand Down Expand Up @@ -1480,4 +1477,4 @@
}
],
"encounterType": "de78a6be-bfc5-4634-adc3-5f1a280455cc"
}
}

0 comments on commit 79f18ab

Please sign in to comment.