DK EHMI SBDH IG
0.91.0 - ci-build
DK EHMI SBDH IG, published by MedCom. This guide is not an authorized publication; it is the continuous build for version 0.91.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk-ehmi-sbdh/ and changes regularly. See the Directory of published versions
Draft as of 2024-12-10 |
{
"resourceType" : "StructureMap",
"id" : "MedComMessagingMessage2MedComDocumentReference-transform",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap MedComMessagingMessage2MedComDocumentReference-transform</b></p><a name=\"MedComMessagingMessage2MedComDocumentReference-transform\"> </a><a name=\"hcMedComMessagingMessage2MedComDocumentReference-transform\"> </a><a name=\"MedComMessagingMessage2MedComDocumentReference-transform-da-DK\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedComMessagingMessage2MedComDocumentReference-transform<span style=\"color: navy\">" = "</span>Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference<span style=\"color: navy\">"\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"https://build.fhir.org/ig/medcomdk/dk-medcom-messaging/StructureDefinition-medcom-messaging-message.html\" title=\"MedComMessagingMessage\">http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-message</a><span style=\"color: navy\">" </span><b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"https://build.fhir.org/ig/medcomdk/dk-medcom-document/StructureDefinition-medcom-documentreference.html\" title=\"MedComDocumentReference\">http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference</a><span style=\"color: navy\">" </span><b>as </b><b>target</b>\r\n\r\n<b>group </b>MedComMessagingMessage2MedComDocumentReference<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">source</span><span style=\"color: navy\"> : </span>Bundle, <b>target</b> <span style=\"color: maroon\">target</span><span style=\"color: navy\"> : </span>DocumentReference<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> source<b> default </b>"zyx"<span style=\"color: navy\"><b> -> </b></span>target.versionid = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>"homeCommunityid"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"url" : "http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedComMessagingMessage2MedComDocumentReference-transform",
"version" : "0.91.0",
"name" : "Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference",
"title" : "Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference",
"status" : "draft",
"date" : "2024-12-10T14:41:40+00:00",
"publisher" : "MedCom",
"contact" : [
{
"name" : "MedCom",
"telecom" : [
{
"system" : "url",
"value" : "http://medcom.dk"
}
]
}
],
"description" : "Transformation specification of a Medcom FHIR Message and an ehmiSBDH Envelope to a DocumentReference",
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "DK",
"display" : "Denmark"
}
]
}
],
"structure" : [
{
"url" : "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-message",
"mode" : "source"
},
{
"url" : "http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference",
"mode" : "target"
}
],
"group" : [
{
"name" : "MedComMessagingMessage2MedComDocumentReference",
"typeMode" : "none",
"input" : [
{
"name" : "source",
"type" : "Bundle",
"mode" : "source"
},
{
"name" : "target",
"type" : "DocumentReference",
"mode" : "target"
}
],
"rule" : [
{
"name" : "homeCommunityid",
"source" : [
{
"context" : "source",
"defaultValueCode" : "zyx"
}
],
"target" : [
{
"context" : "target",
"contextType" : "variable",
"element" : "versionid",
"transform" : "create"
}
]
}
]
}
]
}