FHIR Chat · Retrieve Questionnaire from a QuestionnaireResponse · questionnaire

Stream: questionnaire

Topic: Retrieve Questionnaire from a QuestionnaireResponse


view this post on Zulip Code And Choke (Sep 25 2019 at 15:29):

Hello,

for a customized operation I would like to have an IResourceProvider, which will be implemented as an endpoint for a jpa-server.

@Operation(name = "$example", idempotent = true)
public Bundle example(@ResourceParam QuestionnaireResponse questionnaireResponse) {
Bundle bundle = new Bundle();
return bundle;
}

How can I retrieve the corresponding Questionnaire from the questionnaireResponse?

Thanks

view this post on Zulip Eric Haas (Sep 25 2019 at 16:18):

I'm not sure this is what you are asking but the QR has the element questionnaire which contains the canonical url for Q. That should be resolvable.

view this post on Zulip Eric Haas (Sep 25 2019 at 16:20):

just noticed you posted this on 2 different streams. for all our sanity please just post once. thanks


Last updated: Apr 12 2022 at 19:14 UTC