Skip to content

Commit

Permalink
Hiv enrollment form (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErickSomie authored Oct 12, 2023
1 parent ad2bb2c commit a8d82b9
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions configuration/ampathforms/HIV_Enrollment.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,10 @@
"id": "thisfacility",
"questionOptions": {
"concept": "162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "text"
"rendering": "text",
"calculate": {
"calculateExpression": "facilityConfirmed === '163266AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' && userLocation.display"
}
},
"hide": {
"hideWhenExpression": "facilityConfirmed !== '163266AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || patientType === '4bd29eed-e486-426d-a2b6-7e5bb75319f6' || patientType === '159833AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
Expand Down Expand Up @@ -1151,13 +1154,14 @@
"concept": "6032AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "radio",
"answers": [
{
"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "No"
},

{
"concept": "111759AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Yes"
},
{
"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "No"
}
]
},
Expand All @@ -1173,13 +1177,14 @@
"concept": "164500AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "radio",
"answers": [
{
"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "No"
},

{
"concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Yes"
},
{
"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "No"
}
]
},
Expand All @@ -1195,13 +1200,14 @@
"concept": "5272AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "radio",
"answers": [
{
"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "No"
},

{
"concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Yes"
},
{
"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "No"
}
]
},
Expand All @@ -1217,13 +1223,14 @@
"concept": "5632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "radio",
"answers": [
{
"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "No"
},

{
"concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Yes"
},
{
"concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "No"
}
]
},
Expand Down

0 comments on commit a8d82b9

Please sign in to comment.