Stream: implementers
Topic: QuestionnaireResponse Title
Julius Libramm (Oct 12 2017 at 11:14):
Hey,
we currently implementing a Questionnaire with QuestionnaireResponse. We want to retrieve all QuestionnaireResponses to a patient and display the human readable" title-" element from the referenced Questionnaire without loading the Questionnaire itself. If we perfom "GET [base]/QuestionnaireResponse?subject=[PatientID]" we obtain all QuestionnaireResponse the patient has filled, we can't identify the different types of questionnaire resources.
Is it possible to do this with the existing structure or do we need to submit a changerequest for adding a type/name Element to the QuestionnaireResponse Ressource?
Lloyd McKenzie (Oct 12 2017 at 11:57):
You could look at populating QuestionnaireResponse.questionnaire.display with the title, then you wouldn't need to resolve the reference. If you don't have control over the authoring of the QuestionnaireResponses, then yes, you'd need to submit a change request, but that's a slipery slope so I don't know how the proposal would fare.
Brian Postlethwaite (Oct 16 2017 at 01:35):
+1 on using the Display value in the reference
(Try and always be client friendly and put the display values in)
Julius Libramm (Oct 16 2017 at 15:45):
Thanks a lot. As a workaround we now use the first item (linkID = title and type = display - maybe i add the hidden-extension) I think Lloyd's solution would be a little bit better.
From a consumer point of view a QuestionnaireResponse.title element would be the easiest solution (even if i understand what stands against it).
Lloyd McKenzie (Oct 17 2017 at 00:01):
You're certainly free to submit a change request - "Propose a change" link at the bottom of each page in the spec. Worst thing that can happen is you spend 5 minutes writing it up and the work group eventually says "no" or defines a standard extension.
Julius Libramm (Oct 17 2017 at 08:47):
Yes, i'll submit one. Currently I'm waiting for the confirmation from GForge for a new account.
Lloyd McKenzie (Oct 17 2017 at 14:34):
I accelerated that process. You should be good to go :)
Last updated: Apr 12 2022 at 19:14 UTC