Stream: questionnaire
Topic: Structred Data Capture worked example
Dave Barnet (Sep 08 2021 at 11:13):
Does anyone have (or can point to) a worked SDC example using StructureMap? I'd want to see an input Questionnaire resource example, a corresponding QuestionnaireResponse example and the StructureMap to create a bundle of resources from the QuestionnaireResponse. Would be very useful to me.
Lloyd McKenzie (Sep 08 2021 at 13:02):
@Joee Garcia
Oliver Egger (Sep 08 2021 at 14:05):
@Dave Barnet we are setting up all the things for the upcoming connectathon, you can preview it here (not all functionality is currently working)
switch on the developer tools / network in chrome an then enter:
https://ahdis.github.io/matchbox-formfiller/#/questionnaire/QuestionnaireRadiologyOrder
This will show you a rendered SDC Questionnaire, if you click on Save as a Draft it will store the QuestionnaireResponse on the sever (see also Networktab or Open Orders on https://ahdis.github.io/matchbox-formfiller/#/), if you click save and send it will transform the QuestionnaireResponse to a Bundle and store that on the server.
Oliver Egger (Sep 08 2021 at 14:10):
StructureMaps are here: https://test.ahdis.ch/matchbox-order/fhir/StructureMap/RadOrderQrToBundle and here: https://test.ahdis.ch/matchbox-order/fhir/StructureMap/OrfBundleToQr, however it might be easier to read it from the implementation guide: http://fhir.ch/ig/ch-rad-order/StructureMap-RadOrderQrToBundle.html and http://fhir.ch/ig/ch-orf/StructureMap-OrfQrToBundle.html
Kevin Mayfield (Sep 08 2021 at 14:15):
Slightly off topic.
@Dave Barnet how are you planning to ask.
Ref: your referral, please complete this form
Is it notionally a POST /Task ?
where Task.input = reference to questionnaire to be completed. Task.based = reference to referral.
Kevin Mayfield (Sep 08 2021 at 14:17):
I'm after use cases where we want to POST a task or clinical resource to an organization/practitioner
Lloyd McKenzie (Sep 08 2021 at 15:06):
@Kevin Mayfield yes, that'd be the typical mechanism.
Lloyd McKenzie (Sep 08 2021 at 15:07):
There's now explicit guidance in the SDC spec: http://build.fhir.org/ig/HL7/sdc/workflow.html#form-solicitation
Kevin Mayfield (Sep 08 2021 at 17:07):
Thats useful.
I think that is what we might be after (but I'm not 100% on the use case @Dave Barnet is looking at). How the completed questionnaire response is sent back (with additional resources) to the point of. sharing, I would presume is a transactional Bundle?
Joee Garcia (Sep 08 2021 at 18:10):
@Dave Barnet There are examples in the SDOH Clinical Care IG that extract resources from SDC QuestionnaireResponses using StructureMaps: http://hl7.org/fhir/us/sdoh-clinicalcare/STU1/mapping_instructions.html
Last updated: Apr 12 2022 at 19:14 UTC