Stream: questionnaire
Topic: answerOption display
Diane (Mar 08 2022 at 22:25):
This question comes from the discussion about using .code instead of .display in fhirpath expressions at
https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/answerOption.20as.20an.20expression.20result
Can implementers use different display values (different from the code system included in the questionnaire)?
Specifically, when a defined codeSystem is listed in answerOption.valueCoding.system, then values are used in the questionnaire as answerOptions, the code and the display elements must be used exactly as published.
For example, if a questionnaire uses code system https://terminology.hl7.org/CodeSystem-v2-0238.html eventSeriousness, which has values of:
Code Display
Y Yes
S Significant
N No
can the implementer change the display text to something else like the below?
Code Display
Y Yes, definitely
S Significantly serious
N Not really
I went ahead and changed all of my expressions to use .code just to be on the safe side.
Lloyd McKenzie (Mar 09 2022 at 04:00):
It depends. Implementers can always derive a Questionnaire from another Questionnaire and 'tweak' things. A simple example would be providing translations. Another might be 'simplifying' the language. Whether this is kosher or not depends on the rules set in the base Questionnaire. It's also possible that, if you reference a value set defined as a separate resource, the value set might be updated or a given terminology server might expand it and use a different designation than a different terminology server. If you want tight control, include the displays directly as options in the form or contained value sets and express licensing terms that prohibit translation/language alteration.
Last updated: Apr 12 2022 at 19:14 UTC