DK EHMI SBDH IG
1.0.2 - release Denmark flag

DK EHMI SBDH IG, published by MedCom. This guide is not an authorized publication; it is the continuous build for version 1.0.2 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

: Transform a MedcomMessagingMessage to an ehmiSBDH-Envelope - TTL Representation

Draft as of 2025-09-03

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MedComMessagingMessage2ehmiSbdh-transform"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap MedComMessagingMessage2ehmiSbdh-transform</b></p><a name=\"MedComMessagingMessage2ehmiSbdh-transform\"> </a><a name=\"hcMedComMessagingMessage2ehmiSbdh-transform\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedcomMessagingMessage2Sbdh-transform<span style=\"color: navy\">\" = \"</span>MedcomMessagingMessage2SbdhTransform<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Transform from a MedCom Messaging Messsage to an ehmiSBDH-Envelope</span>#xD;\n#xD;\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>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://build.fhir.org/ig/medcomdk/dk-ehmi-sbdh/ehmiSBDH/StandardBusinessDocumentHeader.xsd<span style=\"color: navy\">\" </span><b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>HeaderVersion<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>StandardBusinessDocumentHeader<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source<b> default </b>\"1.0\"<b> as </b><span style=\"color: maroon\">HeaderVersion</span><span style=\"color: navy\"><b> -&gt; </b></span>target.StandardBusinessDocumentHeader/HeaderVersion = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"HeaderVersion\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>SbdhSender<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">source</span><span style=\"color: navy\"> : </span>Organization, <b>target</b> <span style=\"color: maroon\">target</span><span style=\"color: navy\"> : </span>Sender<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source.[Bundle.entry[0].resource.sender.reference.resolve().identifier.where(system = 'https://www.gs1.org/gln').value]<span style=\"color: navy\"><b> -&gt; </b></span>target.StandardBusinessDocumentHeader/Sender/identifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SbdhSenderIdentifierValue\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"iso6523-actorid-upis\"<b> as </b><span style=\"color: maroon\">SbdhSenderIdentifierAuthority</span><span style=\"color: navy\"><b> -&gt; </b></span>target.StandardBusinessDocumentHeader/Sender/identifier@Authority = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SbdhSenderIdentifierAuthority\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>SbdhReceiver<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">source</span><span style=\"color: navy\"> : </span>Organization, <b>target</b> <span style=\"color: maroon\">target</span><span style=\"color: navy\"> : </span>Receiver<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source.[Bundle.entry[0].resource.destination.receiver.reference.resolve().identifier.where(system = 'https://www.gs1.org/gln').value]<span style=\"color: navy\"><b> -&gt; </b></span>target.StandardBusinessDocumentHeader/Receiver/identifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SbdhIdentifierValue\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"iso6523-actorid-upis\"<b> as </b><span style=\"color: maroon\">IdentifierAuthority</span><span style=\"color: navy\"><b> -&gt; </b></span>target.StandardBusinessDocumentHeader/Receiver/identifier@Authority = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SbdhReceiverIdentifierAuthority\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>SbdhDocumentIdentification<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">source</span><span style=\"color: navy\"> : </span>MessageHeader, <b>target</b> <span style=\"color: maroon\">target</span><span style=\"color: navy\"> : </span>DocumentIdentification<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source.MessageHeader.definition[pre|]<span style=\"color: navy\"><b> -&gt; </b></span>target.StandardBusinessDocumentHeader/DocumentIdentification/Standard = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SbdhDocumentIdentificationStandard\"</i><span style=\"color: navy\">;</span>#xD;\n  source.MessageHeader.definition[post|]<span style=\"color: navy\"><b> -&gt; </b></span>target.StandardBusinessDocumentHeader/DocumentIdentification/TypeVersion = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SbdhDocumentIdentificationTypeVersion\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> as </b><span style=\"color: maroon\">SbdhEnvelopeIdentifier</span><span style=\"color: navy\"><b> -&gt; </b></span>target = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SbdhDocumentIdentificationInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"Bundle\"<b> as </b><span style=\"color: maroon\">SbdhDocumentIdentificationType</span><span style=\"color: navy\"><b> -&gt; </b></span>target.StandardBusinessDocumentHeader/DocumentIdentification/Type = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SbdhDocumentIdentificationType\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>SbdhDocumentIdentificationCreationDateAndTime<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">source</span><span style=\"color: navy\"> : </span>Provenance, <b>target</b> <span style=\"color: maroon\">target</span><span style=\"color: navy\"> : </span>DocumentIdentification<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source.Provenance.recorded<span style=\"color: navy\"><b> -&gt; </b></span>target.StandardBusinessDocumentHeader/DocumentIdentification/CreationDateAndTime = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"SbdhDocumentIdentificationCreationDateAndTime\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>BusinessScopeEdeliveryMessageCommunication<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>sbdhBusinessScope<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source<b> default </b>\"DOCUMENTID\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[DOCUMENTID]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeDocumentType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.Bundle.id<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[DOCUMENTID]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeDocumentInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[DOCUMENTID]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeDocumentIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"PROCESSID\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[PROCESSID]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeProcessIdType\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"sdn-emergence\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[PROCESSID]/InstanceIdentifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeProcessIdInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[PROCESSID]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeProcessIdIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>BusinessScopeHealthMessageCommunication<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>sbdhBusinessScope<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source<b> default </b>\"PATIENTID\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[PATIENTID]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopePatientIdType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.MedComMessagingMessage(Bundle.entry.resource.ofType(Patient).identifier<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[PATIENTID]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopePatientIdInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[PATIENTID]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopePatientIdIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"SENDERID\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[SENDERID]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeSenderIdType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.MedComMessagingMessage(Bundle.entry.resource.ofType(SenderOrganization).identifier[SOR-ID].value<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[SENDERID]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeSenderIdInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[SENDERID]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeSenderIdIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"RECEIVERID\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[RECEIVERID]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeReceiverIdType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.MedComMessagingMessage(Bundle.entry.resource.ofType(ReceiverOrganization).identifier[SOR-ID].value<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[RECEIVERID]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeReceiverIdInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[RECEIVERID]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeReceiverIdIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"MESSAGEIDENTIFIER\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[MESSAGEIDENTIFIER]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeMessageIdentiferType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.MedComMessagingMessage(Bundle.entry[0].resource.id<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[MESSAGEIDENTIFIER]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeMessageIdentiferInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[MESSAGEIDENTIFIER]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeMessageIdentiferIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"MESSAGEENVELOPEIDENTIFIER\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[MESSAGEENVELOPEIDENTIFIER]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeMessageEnvelopeIdentiferType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.Bundle.id<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[MESSAGEENVELOPEIDENTIFIER]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeMessageEnvelopeIdentiferInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[MESSAGEENVELOPEIDENTIFIER]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeMessageEnvelopeIdentiferIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"ORIGINALMESSAGEIDENTIFIER\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALMESSAGEIDENTIFIER]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalMessageIdentiferType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.Bundle.id<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALMESSAGEIDENTIFIER]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalMessageIdentiferInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALMESSAGEIDENTIFIER]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalMessageIdentiferIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"ORIGINALENVELOPEIDENTIFIER\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALENVELOPEIDENTIFIER]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalEnvelopeIdentiferType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.Bundle.id<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALENVELOPEIDENTIFIER]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalEnvelopeIdentiferInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALENVELOPEIDENTIFIER]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalEnvelopeIdentiferIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"ORIGINALMESSAGESTANDARD\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALMESSAGESTANDARD]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalMessageStandardType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.Bundle.id<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALMESSAGESTANDARD]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalMessageStandardInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALMESSAGESTANDARD]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalMessageStandardIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"ORIGINALMESSAGEVERSION\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALMESSAGEVERSION]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalMessageVersionType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.Bundle.id<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALMESSAGEVERSION]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalMessageVersionInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ORIGINALMESSAGEVERSION]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeOriginalMessageVersionIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>BusinessScopeXdsMetadata<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>sbdhBusinessScope<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source<b> default </b>\"XDS-METADATA\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[XDS-METADATA]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeXdsMetadataType\"</i><span style=\"color: navy\">;</span>#xD;\n  source.Bundle.id<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[XDS-METADATA]/InstanceIdentifier = <b>copy</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeXdsMetadataInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[XDS-METADATA]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeXdsMetadataIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>BusinessScopeSbdhReliableMessaging<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>sbdhBusinessScopeReliableMessaging<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source<b> default </b>\"EHMI-ReceiptAcknowledgement\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ReceiptAcknowledgement]/Type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeReceiptAcknowledgement\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"Request\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ReceiptAcknowledgement]/InstanceIdentifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeReceiptAcknowledgementInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"dk-medcom-messaging\"<span style=\"color: navy\"><b> -&gt; </b></span>target.Scope[ReceiptAcknowledgement]/Identifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ScopeReceiptAcknowledgementIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"RequestingDocumentCreationDateTime\"<span style=\"color: navy\"><b> -&gt; </b></span>target.CorrelationInformation/RequestingDocumentCreationDateTime = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"CorrelationInformationRequestingDocumentCreationDateTime\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"RequestingDocumentInstanceIdentifier\"<span style=\"color: navy\"><b> -&gt; </b></span>target.CorrelationInformation/RequestingDocumentInstanceIdentifier = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"CorrelationInformationRequestingDocumentInstanceIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"ExpectedResponseDateTime\"<span style=\"color: navy\"><b> -&gt; </b></span>target.CorrelationInformation/ExpectedResponseDateTime = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"CorrelationInformationExpectedResponseDateTime\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>BusinessServicesRequest<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>sbdhBusinessScopeBusinessServices<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  source<b> default </b>\"EHMI-ReceiptAcknowledgement-Request\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceName = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"BusinessServiceReceiptAcknowledgementRequest\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"RequestingServiceTransaction\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/TypeOfServiceTransaction = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionTypeOfServiceTransaction\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"false\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/IsNonRepudiationRequired = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionIsNonRepudiationRequired\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"false\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/IsAuthenticationRequired = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionIsAuthenticationRequired\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"false\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/IsNonRepudiationOfReceiptRequired = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionIsNonRepudiationOfReceiptRequired\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"false\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/IsIntelligibleCheckRequired = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionIsIntelligibleCheckRequired\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"false\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/IsApplicationErrorResponseRequested = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionIsApplicationErrorResponseRequested\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"300000\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/TimeToAcknowledgeReceipt = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionTimeToAcknowledgeReceipt\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"0\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/TimeToAcknowledgeAcceptance = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionTimeToAcknowledgeAcceptance\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"0\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/TimeToPerform = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionTimeToPerform\"</i><span style=\"color: navy\">;</span>#xD;\n  source<b> default </b>\"0\"<span style=\"color: navy\"><b> -&gt; </b></span>target.BusinessService/ServiceTransaction/Recurrence = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>\"ServiceTransactionRecurrence\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:url [ fhir:v "http://medcomehmi.dk/ig/dk-ehmi-sbdh/StructureMap/MedcomMessagingMessage2Sbdh-transform"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.2"] ; # 
  fhir:name [ fhir:v "MedcomMessagingMessage2SbdhTransform"] ; # 
  fhir:title [ fhir:v "Transformation specification of a MedcomMessagingMessage to an ehmiSBDH-Envelope "] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2025-09-03T09:35:04+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "MedCom"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "MedCom" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://medcom.dk" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Transform from a MedCom Messaging Messsage to an ehmiSBDH-Envelope"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DK" ] ;
fhir:display [ fhir:v "Denmark" ]     ] )
  ] ) ; # 
  fhir:structure ( [
fhir:url [
fhir:v "http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-message"^^xsd:anyURI ;
fhir:link <http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-message>     ] ;
fhir:mode [ fhir:v "source" ]
  ] [
fhir:url [
fhir:v "https://build.fhir.org/ig/medcomdk/dk-ehmi-sbdh/ehmiSBDH/StandardBusinessDocumentHeader.xsd"^^xsd:anyURI ;
fhir:link <https://build.fhir.org/ig/medcomdk/dk-ehmi-sbdh/ehmiSBDH/StandardBusinessDocumentHeader.xsd>     ] ;
fhir:mode [ fhir:v "target" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "HeaderVersion" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "Bundle" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "StandardBusinessDocumentHeader" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "HeaderVersion" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "1.0"         ] ;
fhir:variable [ fhir:v "HeaderVersion" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "StandardBusinessDocumentHeader/HeaderVersion" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "SbdhSender" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "Organization" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "Sender" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "SbdhSenderIdentifierValue" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "[Bundle.entry[0].resource.sender.reference.resolve().identifier.where(system = 'https://www.gs1.org/gln').value]" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "StandardBusinessDocumentHeader/Sender/identifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "SbdhSenderIdentifierAuthority" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "iso6523-actorid-upis"         ] ;
fhir:variable [ fhir:v "SbdhSenderIdentifierAuthority" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "StandardBusinessDocumentHeader/Sender/identifier@Authority" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "SbdhReceiver" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "Organization" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "Receiver" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "SbdhIdentifierValue" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "[Bundle.entry[0].resource.destination.receiver.reference.resolve().identifier.where(system = 'https://www.gs1.org/gln').value]" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "StandardBusinessDocumentHeader/Receiver/identifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "SbdhReceiverIdentifierAuthority" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "iso6523-actorid-upis"         ] ;
fhir:variable [ fhir:v "IdentifierAuthority" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "StandardBusinessDocumentHeader/Receiver/identifier@Authority" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "SbdhDocumentIdentification" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "MessageHeader" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "DocumentIdentification" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "SbdhDocumentIdentificationStandard" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "MessageHeader.definition[pre|]" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "StandardBusinessDocumentHeader/DocumentIdentification/Standard" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "SbdhDocumentIdentificationTypeVersion" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "MessageHeader.definition[post|]" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "StandardBusinessDocumentHeader/DocumentIdentification/TypeVersion" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "SbdhDocumentIdentificationInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:variable [ fhir:v "SbdhEnvelopeIdentifier" ]       ] ) ;
      ( fhir:target [
fhir:id [ fhir:v "StandardBusinessDocumentHeader/DocumentIdentification/InstanceIdentifier" ] ;
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "SbdhDocumentIdentificationType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:code ;
fhir:v "Bundle"         ] ;
fhir:variable [ fhir:v "SbdhDocumentIdentificationType" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "StandardBusinessDocumentHeader/DocumentIdentification/Type" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "SbdhDocumentIdentificationCreationDateAndTime" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "Provenance" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "DocumentIdentification" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "SbdhDocumentIdentificationCreationDateAndTime" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "Provenance.recorded" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "StandardBusinessDocumentHeader/DocumentIdentification/CreationDateAndTime" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "BusinessScopeEdeliveryMessageCommunication" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "Bundle" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "sbdhBusinessScope" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "ScopeDocumentType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "DOCUMENTID"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[DOCUMENTID]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeDocumentInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "Bundle.id" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[DOCUMENTID]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeDocumentIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[DOCUMENTID]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeProcessIdType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "PROCESSID"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[PROCESSID]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeProcessIdInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "sdn-emergence"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[PROCESSID]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeProcessIdIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[PROCESSID]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "BusinessScopeHealthMessageCommunication" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "Bundle" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "sbdhBusinessScope" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "ScopePatientIdType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "PATIENTID"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[PATIENTID]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopePatientIdInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "MedComMessagingMessage(Bundle.entry.resource.ofType(Patient).identifier" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[PATIENTID]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopePatientIdIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[PATIENTID]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeSenderIdType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "SENDERID"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[SENDERID]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeSenderIdInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "MedComMessagingMessage(Bundle.entry.resource.ofType(SenderOrganization).identifier[SOR-ID].value" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[SENDERID]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeSenderIdIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[SENDERID]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeReceiverIdType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "RECEIVERID"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[RECEIVERID]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeReceiverIdInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "MedComMessagingMessage(Bundle.entry.resource.ofType(ReceiverOrganization).identifier[SOR-ID].value" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[RECEIVERID]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeReceiverIdIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[RECEIVERID]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeMessageIdentiferType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "MESSAGEIDENTIFIER"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[MESSAGEIDENTIFIER]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeMessageIdentiferInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "MedComMessagingMessage(Bundle.entry[0].resource.id" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[MESSAGEIDENTIFIER]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeMessageIdentiferIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[MESSAGEIDENTIFIER]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeMessageEnvelopeIdentiferType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "MESSAGEENVELOPEIDENTIFIER"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[MESSAGEENVELOPEIDENTIFIER]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeMessageEnvelopeIdentiferInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "Bundle.id" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[MESSAGEENVELOPEIDENTIFIER]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeMessageEnvelopeIdentiferIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[MESSAGEENVELOPEIDENTIFIER]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalMessageIdentiferType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "ORIGINALMESSAGEIDENTIFIER"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALMESSAGEIDENTIFIER]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalMessageIdentiferInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "Bundle.id" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALMESSAGEIDENTIFIER]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalMessageIdentiferIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALMESSAGEIDENTIFIER]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalEnvelopeIdentiferType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "ORIGINALENVELOPEIDENTIFIER"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALENVELOPEIDENTIFIER]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalEnvelopeIdentiferInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "Bundle.id" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALENVELOPEIDENTIFIER]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalEnvelopeIdentiferIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALENVELOPEIDENTIFIER]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalMessageStandardType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "ORIGINALMESSAGESTANDARD"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALMESSAGESTANDARD]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalMessageStandardInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "Bundle.id" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALMESSAGESTANDARD]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalMessageStandardIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALMESSAGESTANDARD]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalMessageVersionType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "ORIGINALMESSAGEVERSION"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALMESSAGEVERSION]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalMessageVersionInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "Bundle.id" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALMESSAGEVERSION]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeOriginalMessageVersionIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ORIGINALMESSAGEVERSION]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "BusinessScopeXdsMetadata" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "Bundle" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "sbdhBusinessScope" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "ScopeXdsMetadataType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "XDS-METADATA"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[XDS-METADATA]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeXdsMetadataInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:element [ fhir:v "Bundle.id" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[XDS-METADATA]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "copy" ]       ] )     ] [
fhir:name [ fhir:v "ScopeXdsMetadataIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[XDS-METADATA]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "BusinessScopeSbdhReliableMessaging" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "Bundle" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "sbdhBusinessScopeReliableMessaging" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "ScopeReceiptAcknowledgement" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "EHMI-ReceiptAcknowledgement"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ReceiptAcknowledgement]/Type" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeReceiptAcknowledgementInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "Request"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ReceiptAcknowledgement]/InstanceIdentifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ScopeReceiptAcknowledgementIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "dk-medcom-messaging"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "Scope[ReceiptAcknowledgement]/Identifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "CorrelationInformationRequestingDocumentCreationDateTime" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "RequestingDocumentCreationDateTime"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "CorrelationInformation/RequestingDocumentCreationDateTime" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "CorrelationInformationRequestingDocumentInstanceIdentifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "RequestingDocumentInstanceIdentifier"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "CorrelationInformation/RequestingDocumentInstanceIdentifier" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "CorrelationInformationExpectedResponseDateTime" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "ExpectedResponseDateTime"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "CorrelationInformation/ExpectedResponseDateTime" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "BusinessServicesRequest" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "source" ] ;
fhir:type [ fhir:v "Bundle" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "target" ] ;
fhir:type [ fhir:v "sbdhBusinessScopeBusinessServices" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "BusinessServiceReceiptAcknowledgementRequest" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "EHMI-ReceiptAcknowledgement-Request"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceName" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionTypeOfServiceTransaction" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "RequestingServiceTransaction"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/TypeOfServiceTransaction" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionIsNonRepudiationRequired" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "false"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/IsNonRepudiationRequired" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionIsAuthenticationRequired" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "false"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/IsAuthenticationRequired" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionIsNonRepudiationOfReceiptRequired" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "false"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/IsNonRepudiationOfReceiptRequired" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionIsIntelligibleCheckRequired" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "false"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/IsIntelligibleCheckRequired" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionIsApplicationErrorResponseRequested" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "false"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/IsApplicationErrorResponseRequested" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionTimeToAcknowledgeReceipt" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "300000"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/TimeToAcknowledgeReceipt" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionTimeToAcknowledgeAcceptance" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "0"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/TimeToAcknowledgeAcceptance" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionTimeToPerform" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "0"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/TimeToPerform" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] [
fhir:name [ fhir:v "ServiceTransactionRecurrence" ] ;
      ( fhir:source [
fhir:context [ fhir:v "source" ] ;
fhir:defaultValue [
a fhir:string ;
fhir:v "0"         ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "target" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "BusinessService/ServiceTransaction/Recurrence" ] ;
fhir:transform [ fhir:v "create" ]       ] )     ] )
  ] ) . #