Stream: shorthand
Topic: Questionnaire answerValueSet
Vadim Peretokin (Nov 18 2021 at 07:46):
Is there a trick to getting answerValueSet
working in a Questionnaire Instance?
My valueset is defined as Id: PatientComorbidityHistory
but neither:
* item[=].answerValueSet=PatientComorbidityHistory
nor
* item[=].answerValueSet="<full canonical>/PatientComorbidityHistory"
are working.
Mareike Przysucha (Nov 18 2021 at 09:17):
Probably
* item[=].answerValueSet = Canonical(PatientComorbidityHistory)
works. Could you try it? Just a first suggestion.
Vadim Peretokin (Nov 18 2021 at 09:47):
Hm, no luck. I also tried Id: patient-comorbidity-history
given this example, but it's not picking that up either:
Screenshot-2021-11-18-at-10.47.14-AM.png
Vadim Peretokin (Nov 18 2021 at 09:52):
After re-running it a few times, moving the valueset definition above the questionnaire's and moving it back down, it works now. Odd
Mareike Przysucha (Nov 18 2021 at 09:56):
At least it works.
Chris Moesel (Nov 18 2021 at 13:48):
That is odd. Order of definitions should definitely not matter. Each run should be completely independent, so I don't know why moving it up one run and moving it back down for the next run would make a difference. But... I'm glad it's working and sorry it caused some trouble!
Last updated: Apr 12 2022 at 19:14 UTC