{ "resourceType" : "OperationDefinition", "id" : "-s-transform-to-observation", "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>transform-to-observation</h2><p>OPERATION: transform-to-observation</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-transform-to-observation</pre><div><p>Transforms a DK-HL7 Personal Health Monitoring Report (PHMR) XML document to a FHIR Observation (ehealth-observation profile) resource. The input FHIR DocumentReference (ehealth-documentreference profile) contains the PHMR XML document. The caller must ensure that the PHMR XML document is valid and adheres to the DK-HL7 Personal Health Monitoring Report profile. The returned FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing a FHIR Observation (ehealth-observation profile) resource.</p>\n</div><p>URL: [base]/$transform-to-observation</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>" }, "url" : "http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-transform-to-observation", "version" : "2019.6.1", "name" : "transform-to-observation", "status" : "active", "kind" : "operation", "date" : "2019-12-04T13:16:07+00:00", "description" : "Transforms a DK-HL7 Personal Health Monitoring Report (PHMR) XML document to a FHIR Observation (ehealth-observation profile) resource. The input FHIR DocumentReference (ehealth-documentreference profile) contains the PHMR XML document. The caller must ensure that the PHMR XML document is valid and adheres to the DK-HL7 Personal Health Monitoring Report profile. The returned FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing a FHIR Observation (ehealth-observation profile) resource.", "idempotent" : true, "code" : "transform-to-observation", "system" : true, "type" : false, "instance" : false, "parameter" : [ { "name" : "documentReference", "use" : "in", "min" : 0, "max" : "1", "type" : "DocumentReference" }, { "name" : "bundle", "use" : "out", "min" : 0, "max" : "1", "type" : "Bundle" } ] }