android-fhir icon indicating copy to clipboard operation
android-fhir copied to clipboard

Constraint support for global case

Open FikriMilano opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe. Constraint support has been implemented, but it only works if the constraint-extension is declared within a Questionnaire.item

Describe the solution you'd like Enhance this feature to also works if the constraint-extension is declared in the Questionnaire root.

Describe alternatives you've considered

  • Need to clarify whether global case means: The error shown globally using a snackbar / dialog i.e. the error won't show below the field just like what local case dose. Or The error still shown below the field, but we can target what field used to show that error, using the location sub-extension.

Additional context

  • Ticket for local case https://github.com/google/android-fhir/issues/1849
  • PR for local case https://github.com/google/android-fhir/pull/2199

Would you like to work on the issue? Yes

FikriMilano avatar Mar 15 '24 07:03 FikriMilano