Stream: questionnaire
Topic: SDC IG Source Queries
Stefan Lang (Jun 12 2019 at 21:31):
I'm looking at the last ballot version of the SDC IG, especially at the SourceQueriesExtension
http://hl7.org/fhir/uv/sdc/2019May/extension-sdc-questionnaire-sourceQueries.html
That extension references a batch Bundle which shall contain a set of queries that should be executed to populate a QuestionnaireResponse.
Is there an example of such a Bundle somewhere? Couldn't find one in the IG and also can't easily imagine how it should look like.
Paul Lynch (Jun 12 2019 at 21:43):
sourceQueries is part of the StructureMap-based population approach, so since there would be a StructureMap to translate between the batch result and the QuestionnaireResponse, I suppose it could look like any Bundle of queries.
Stefan Lang (Jun 12 2019 at 21:52):
So that's just a Bundle of type batch, usually (but not necessarily) populated with a bunch of GET requests?
Lloyd McKenzie (Jun 12 2019 at 21:53):
You can take a look at the 'batch' query example from the main spec: http://build.fhir.org/bundle-request-medsallergies.html
Lloyd McKenzie (Jun 12 2019 at 21:53):
We don't have a specific SDC example that includes the 'substitution' parameters we've discussed yet.
Stefan Lang (Jun 12 2019 at 21:57):
OK, thanks, that clears it up for me.
Maybe (at least for now) just linking to that example from the IG would be helpful.
Lloyd McKenzie (Jun 12 2019 at 21:59):
Before we publish we'll have an SDC-specific example that shows the whole process (query, results of query, populated QuestionnaireResponse)
Last updated: Apr 12 2022 at 19:14 UTC