Details
-
Change Request
-
Resolution: Not Persuasive with Modification
-
Medium
-
FHIR Core (FHIR)
-
R4
-
FHIR Infrastructure
-
Questionnaire
-
-
Michael Donnelly/Rick Geimer: 12-0-1
-
Correction
-
Non-compatible
-
R5
Description
When validating a QuestionnaireResponse against a Questionnaire that has an Item that includes the regex extension http://hl7.org/fhir/StructureDefinition/regex there is nowhere to define what the error message to report to the user is.
e.g. Including a phone number or email address regex to check that the string formatting is valid. No way to report a custom error message to the via the OperationOutcome - controlled by the form designer that put the regex in place.
The implementation that I'm doing will just have to report that it had an invalid format.
(and will include the placeholder text to specify the format - if this is expected, we should document that somewhere - SDC IG?)