-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questionnaire Constraint support #2003
Comments
another use case is: if the 2 values are different, then show validation error cc @mmweru |
@jingtang10 it has been finalized that I'm working on this |
@shelaghm Should we use the pop-up dialog that displays a list of errors to show a global level error message from this constraint-extension to the user? |
if we go w/that, is there a setting to disable the "submit anyway" button? there are projects that would not want to have that option available |
@pld the visibility of "submit anyway" button is not configurable. A question: |
Closing this in favour of #1849 which was opened first. |
@pld we don't have this as a customized option at the moment. but as @FikriMilano said we might be able to add this. i'll create an issue for this. |
Is your feature request related to a problem? Please describe.
Do custom validation for a given
questionnaire.item
with a FHIRPath custom predicate and custom error message.Use case:
There is a vaccination date field, and we want to make sure that when the user inputs a date. The date must not be before the Patient's DOB.
What should happen:
If the user inputs a date that's before the Patient's DOB. Then show a custom error message below the field: “Date must not be before the DoB”.
Describe the solution you'd like
Add support for Questionnaire Constraint extension to do this.
Describe alternatives you've considered
N/A
Additional context
Would you like to work on the issue?
N/A
The text was updated successfully, but these errors were encountered: