Stream: questionnaire
Topic: References to included answer value sets
Morten Ernebjerg (Apr 29 2020 at 11:46):
I am looking at how to include ValueSets in Questionnaire.contained
for use in answerValueSet
fields (for R4). The type of answerValueSet
is canonical(ValueSet)
. I had assumed that to mean that this field can only contain a canonical URL. But the two provided examples with contained value sets (this and this) use the standard way of referencing contained resources, i.e. #[id]
. Indeed, the included ValueSet
resources do not have the url
field set. The Java validator seems to accept contained answer value sets referenced with a local (#x) ID, even if they also have canonical URLs. So I am wondering what the right way of referencing is, in particular for the case, where the value set to be included does have a canonical URL.
Grahame Grieve (Apr 29 2020 at 11:47):
http://hl7.org/fhir/references.html#canonical-fragments
Morten Ernebjerg (Apr 29 2020 at 11:49):
Ah right, thank you! - I was reading that section but somehow skipped exactly the crucial part :face_palm:
Last updated: Apr 12 2022 at 19:14 UTC