{ "resourceType" : "OperationDefinition", "id" : "-s-transform-to-QRD", "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>transform-to-QRD</h2><p>OPERATION: transform-to-QRD</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-transform-to-QRD</pre><div><p>Transforms a FHIR QuestionnaireResponse (ehealth-questionnaireresponse profile) resource to a DK-HL7 Questionnaire Response Document (QRD) XML document. The input FHIR Bundle contains FHIR Composition (ehealth-composition profile) resource referencing a FHIR QuestionnaireResponse (ehealth-documentreference profile) resource. The returned FHIR DocumentReference contains the QRD XML document adhering to the DK-HL7 Questionnaire Response Document profile.</p>\n</div><p>URL: [base]/$transform-to-QRD</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>bundle</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/bundle.html\">Bundle</a></td><td/><td/></tr><tr><td>OUT</td><td>documentReference</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/documentreference.html\">DocumentReference</a></td><td/><td/></tr></table></div>" }, "url" : "http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-transform-to-QRD", "name" : "transform-to-QRD", "status" : "active", "kind" : "operation", "date" : "2020-03-31T08:26:16+00:00", "description" : "Transforms a FHIR QuestionnaireResponse (ehealth-questionnaireresponse profile) resource to a DK-HL7 Questionnaire Response Document (QRD) XML document. The input FHIR Bundle contains FHIR Composition (ehealth-composition profile) resource referencing a FHIR QuestionnaireResponse (ehealth-documentreference profile) resource. The returned FHIR DocumentReference contains the QRD XML document adhering to the DK-HL7 Questionnaire Response Document profile.", "idempotent" : true, "code" : "transform-to-QRD", "system" : true, "type" : false, "instance" : false, "parameter" : [ { "name" : "bundle", "use" : "in", "min" : 0, "max" : "1", "type" : "Bundle" }, { "name" : "documentReference", "use" : "out", "min" : 0, "max" : "1", "type" : "DocumentReference" } ] }