<OperationDefinition xmlns="http://hl7.org/fhir"> <id value="-s-transformToQuestionnaireResponse"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><h2>transformToQuestionnaireResponse</h2><p>OPERATION: transformToQuestionnaireResponse</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-transformToQuestionnaireResponse</pre><div><p>Transforms a DK-HL7 Questionnaire Response Document (QRD) XML document to a FHIR QuestionnaireResponse (ehealth-questionnaireresponse profile) resource. The input FHIR DocumentReference (ehealth-documentreference profile) contains the QRD XML document. The caller must ensure that the QRD XML document is valid and adheres to the DK-HL7 Questionnaire Response Document profile. The returned FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing a FHIR QuestionnaireResponse ehealth-questionnaireresponse profile) resource.</p> </div><p>URL: [base]/$transformToQuestionnaireResponse</p><p>Parameters</p><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>documentReference</td><td>0..1</td><td><a href="http://hl7.org/fhir/STU3/documentreference.html">DocumentReference</a></td><td/><td/></tr><tr><td>OUT</td><td>bundle</td><td>0..1</td><td><a href="http://hl7.org/fhir/STU3/bundle.html">Bundle</a></td><td/><td/></tr></table></div> </text> <url value="http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-transformToQuestionnaireResponse"/> <version value="2019.5.3"/> <name value="transformToQuestionnaireResponse"/> <status value="active"/> <kind value="operation"/> <date value="2019-06-07T11:10:06+00:00"/> <description value="Transforms a DK-HL7 Questionnaire Response Document (QRD) XML document to a FHIR QuestionnaireResponse (ehealth-questionnaireresponse profile) resource. The input FHIR DocumentReference (ehealth-documentreference profile) contains the QRD XML document. The caller must ensure that the QRD XML document is valid and adheres to the DK-HL7 Questionnaire Response Document profile. The returned FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing a FHIR QuestionnaireResponse ehealth-questionnaireresponse profile) resource."/> <idempotent value="true"/> <code value="transformToQuestionnaireResponse"/> <system value="true"/> <type value="false"/> <instance value="false"/> <parameter> <name value="documentReference"/> <use value="in"/> <min value="0"/> <max value="1"/> <type value="DocumentReference"/> </parameter> <parameter> <name value="bundle"/> <use value="out"/> <min value="0"/> <max value="1"/> <type value="Bundle"/> </parameter> </OperationDefinition>