Skip to content

Commit

Permalink
Update HTS_Linkage.json (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErickSomie authored Nov 2, 2023
1 parent ea8a782 commit f4b433d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions configuration/ampathforms/HTS_Linkage.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@
"id": "thisfacility",
"questionOptions": {
"concept": "162724AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "text"
"rendering": "text",
"calculate": {
"calculateExpression": "userLocation.display"
}

},
"hide": {
Expand Down Expand Up @@ -197,7 +200,12 @@
{
"type": "date",
"allowFutureDates": "false"
}
},
{
"type": "js_expression",
"failsWhenExpression": "(new moment(dateenrolled)).isAfter((new moment(myValue)), 'day')",
"message": "ART start date should be greater than or equal to the enrolment date."
}
],
"id": "artstartdate"
},
Expand Down

0 comments on commit f4b433d

Please sign in to comment.