CH ORF (R4)
0.10.0 - STU 1 Ballot
This page is part of the CH ORF (R4) (v0.10.0: STU 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
map "http://fhir.ch/ig/ch-orf/StructureMap/OrfPrepopBundleToQr" = "OrfPrepopBundleToQr" // ORF Prepop Bundle To QuestionnaireResonse to support prepopulation acccording SDC uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as source uses "http://hl7.org/fhir/StructureDefinition/Parameters" alias Parameters as source uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as target imports "http://fhir.ch/ig/cda-fhir-maps/StructureMap/OrfBundleToQr" group OrfPrepopBundleToQr(source bundle : Bundle, target qr : QuestionnaireResponse) { bundle.entry as entry then { entry.resource : Parmameters as parameters then LaunchContextToQr(parameters, qr) "OrfPrepopBundleToQr"; }; } group LaunchContextToQr(source parameters : Parameters, target qr : QuestionnaireResponse) { parameters.parameter as parameter then { parameter.name where name = 'bundle' then { parameter.resource as bundle then OrfBundleToQr(bundle, qr) "lauchcontexttoqr"; } "bundle"; } "parameters"; }