FHIR Chat · questionnareresponse · implementers

Stream: implementers

Topic: questionnareresponse


view this post on Zulip Marcel Hanselmann (Dec 11 2020 at 17:02):

I'm working on a laboratory order questionnaire and questionnaireresponse. The questionnaire should present a list of several analytes, which the user should be able to choice, multiple choice must be possible. So the list is represented as item of type group, with a nested item of type choice, containing some analytes as answerOptions. The Questionnaireresponse has exactly the same structure, i.e. an item and a nested item with the corresponding linkID's and in between the nested item the answers the user had selected. But the Publisher gives me an error "Items not of type group should not have items outside answers (use answer.item not .item)". Any help is welcome, thx. [questionnaireresponse.xml] (https://chat.fhir.org/user_uploads/10155/AXp784LQCqnFuoA_WPCD3nR7/questionnaireresponse.xml)

view this post on Zulip Eric Haas (Dec 11 2020 at 20:22):

Based on the error: "Items not of type group should not have items outside answers (use answer.item not .item" I suspectg you are linking and answer to a group item not an answer item. Verify that the structure do indeed match, that was a challenge for me when I created QRs..

view this post on Zulip Marcel Hanselmann (Dec 12 2020 at 09:48):

Thank you for the rapid answer. And the structure of Q and QR are congruent I think, look at the attached file. There must be an other issue.

view this post on Zulip Lloyd McKenzie (Dec 12 2020 at 15:02):

Can you provide the full instances?

view this post on Zulip Marcel Hanselmann (Dec 14 2020 at 06:10):

There is indeed an other issue, I'm searching for a solution. Thank you for help!

view this post on Zulip Lloyd McKenzie (Dec 14 2020 at 07:31):

The files you posted were trimmed. I'm asking if you can share the full questionnaire and full questionnaireResponse


Last updated: Apr 12 2022 at 19:14 UTC