<OperationDefinition xmlns="http://hl7.org/fhir"> <id value="-s-transform-to-PHMR"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><h2>transform-to-PHMR</h2><p>OPERATION: transform-to-PHMR</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-transform-to-PHMR</pre><div><p>Transforms a FHIR Observation (ehealth-observation profile) resource to a DK-HL7 Personal Health Monitoring Report (PHMR) XML document. The input FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing one or more FHIR Observation (ehealth-observation profile) resources and referenced resources such as FHIR Organization. The returned FHIR DocumentReference contains the PHMR XML document adhering to the DK-HL7 Personal Health Monitoring Report profile.</p> </div><p>URL: [base]/$transform-to-PHMR</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> </text> <url value="http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-transform-to-PHMR"/> <name value="transform-to-PHMR"/> <status value="active"/> <kind value="operation"/> <date value="2020-03-31T08:26:16+00:00"/> <description value="Transforms a FHIR Observation (ehealth-observation profile) resource to a DK-HL7 Personal Health Monitoring Report (PHMR) XML document. The input FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing one or more FHIR Observation (ehealth-observation profile) resources and referenced resources such as FHIR Organization. The returned FHIR DocumentReference contains the PHMR XML document adhering to the DK-HL7 Personal Health Monitoring Report profile."/> <idempotent value="true"/> <code value="transform-to-PHMR"/> <system value="true"/> <type value="false"/> <instance value="false"/> <parameter> <name value="bundle"/> <use value="in"/> <min value="0"/> <max value="1"/> <type value="Bundle"/> </parameter> <parameter> <name value="documentReference"/> <use value="out"/> <min value="0"/> <max value="1"/> <type value="DocumentReference"/> </parameter> </OperationDefinition>