Skip to content

Commit

Permalink
TB_Disc mandatory field added on outcome (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckote authored Sep 8, 2023
1 parent 35259a7 commit 534ccdf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion configuration/ampathforms/TB_Discontinuation.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,17 @@
"label": "Treatment Outcome date",
"type": "obs",
"id": "treatmentOutcomeDate",
"required": "true",
"questionOptions": {
"concept": "159787AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "date"
},
"validators": [],
"validators": [
{
"type": "date",
"allowFutureDates": "false"
}
],
"hide": {
"hideWhenExpression": "isEmpty(treatmentOutcome) || treatmentOutcome === '159786AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
Expand Down

0 comments on commit 534ccdf

Please sign in to comment.