Skip to content

Commit

Permalink
Fix validation preventing saving of TPT discontinuation form (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
makombe authored Nov 9, 2023
1 parent cdff626 commit f2f1789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/ampathforms/TPT_Discontinuation_Form.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
},
{
"type": "js_expression",
"failsWhenExpression": "(new moment(encDate)).isAfter((new moment(myValue)), 'day') || (new moment(encDate)).isSame((new moment(myValue)), 'day')",
"failsWhenExpression": "(new moment(encDate)).isAfter((new moment(myValue)), 'day')",
"message": "Discontinuation Date should be greater than the encounter date."
}
]
Expand Down

0 comments on commit f2f1789

Please sign in to comment.