Skip to content
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

Add support for element extension: regex #466

Closed
3 tasks done
fredhersch opened this issue May 11, 2021 · 0 comments · Fixed by #555
Closed
3 tasks done

Add support for element extension: regex #466

fredhersch opened this issue May 11, 2021 · 0 comments · Fixed by #555
Assignees
Labels
P1 High priority issue type:enhancement New feature or request
Milestone

Comments

@fredhersch
Copy link
Collaborator

fredhersch commented May 11, 2021

Is your feature request related to a problem? Please describe.
As a questionnaire developer I can add in regex expressions for item validation

Describe the solution you'd like

  • Given a regex expression within a valid FHIR Questionnaire, use the expression to validate the input field when moving to the next field
  • If there is a validation error, display the error message in-line (as per issue)
  • TODO: Review current Questionnaire for the validation error text

Additional context
See example for a postal code regex expression within the HIV Case Reporting questionnaire

        <extension url="http://hl7.org/fhir/StructureDefinition/regex">
          <valueString value="[A-Z][0-9][A-Z] [0-9][A-Z][0-9]"/>
        </extension>

Would you like to work on the issue?
Happy to support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High priority issue type:enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants