National Directory of Healthcare Providers & Services (NDH) Implementation Guide
2.0.0-current - ci-build United States of America flag

National Directory of Healthcare Providers & Services (NDH) Implementation Guide, published by HL7 International / Patient Administration. This guide is not an authorized publication; it is the continuous build for version 2.0.0-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-us-ndh/ and changes regularly. See the Directory of published versions

: This StructureMap defines the mapping from Plan-Net Endpoint to NDH Endpoint.

Page standards status: Trial-use Maturity Level: 4

Raw ttl | Download

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

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

<http://hl7.org/fhir/StructureMap/PlanNetToNdhEndpointSM> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "PlanNetToNdhEndpointSM"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap PlanNetToNdhEndpointSM</b></p><a name=\"PlanNetToNdhEndpointSM\"> </a><a name=\"hcPlanNetToNdhEndpointSM\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhEndpointSM<span style=\"color: navy\">\" = \"</span>PlanNetToNdhEndpointSM<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">This StructureMap defines the mapping from Plan-Net Endpoint to NDH Endpoint.</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.2/StructureDefinition-plannet-Endpoint.html\" title=\"Plan-Net Endpoint\">http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Endpoint</a><span style=\"color: navy\">\" </span><b>alias </b>EndpointPN <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-ndh-Endpoint.html\" title=\"NDH Endpoint Profile\">http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Endpoint</a><span style=\"color: navy\">\" </span><b>alias </b>EndpointNDH <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>PlanNetToNdhEndpoint<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>EndpointPN, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>EndpointNDH<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  src.extension<b> as </b><span style=\"color: maroon\">vDroppedEndpointUsecase</span><b> where </b>(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/endpoint-usecase') <i>\"dropPlanNetEndpointUsecases\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">intentionally not mapped as there is no equivalent in NDH.</span>#xD;\n  src.language<b> as </b><span style=\"color: maroon\">vLanguage</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.language = <span style=\"color: maroon\">vLanguage</span><span style=\"color: navy\">;</span>#xD;\n  src.text<b> as </b><span style=\"color: maroon\">vText</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.text = <span style=\"color: maroon\">vText</span><span style=\"color: navy\">;</span>#xD;\n  src.managingOrganization<b> as </b><span style=\"color: maroon\">vManagingOrg</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.managingOrganization = <span style=\"color: maroon\">vManagingOrg</span><span style=\"color: navy\">;</span>#xD;\n  src.contact<b> as </b><span style=\"color: maroon\">vContactSrc</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.contact<b> as </b><span style=\"color: maroon\">vContactTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    vContactSrc.value<b> as </b><span style=\"color: maroon\">vContactValue</span><span style=\"color: navy\"><b> -&gt; </b></span>vContactTgt.value = <span style=\"color: maroon\">vContactValue</span> <i>\"copyContactValue\"</i><span style=\"color: navy\">;</span>#xD;\n    vContactSrc.system<b> as </b><span style=\"color: maroon\">vContactSystem</span><span style=\"color: navy\"><b> -&gt; </b></span>vContactTgt.system = <span style=\"color: maroon\">vContactSystem</span> <i>\"copyContactSystem\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"copyContact\"</i><span style=\"color: navy\">;</span>#xD;\n  src.identifier<b> as </b><span style=\"color: maroon\">vIdentifierSrc</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier<b> as </b><span style=\"color: maroon\">vIdentifierTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    vIdentifierSrc<b> as </b><span style=\"color: maroon\">vIdentifierValue</span><span style=\"color: navy\"><b> -&gt; </b></span>vIdentifierTgt = <span style=\"color: maroon\">vIdentifierValue</span> <i>\"copyIdentifierValue\"</i><span style=\"color: navy\">;</span>#xD;\n    vIdentifierSrc.assigner<b> as </b><span style=\"color: maroon\">vIdentifierAssigner</span><span style=\"color: navy\"><b> -&gt; </b></span>vIdentifierTgt.assigner = <span style=\"color: maroon\">vIdentifierAssigner</span> <i>\"copyIdentifierAssigner\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"copyIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  src.status<b> as </b><span style=\"color: maroon\">vStatus</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: maroon\">vStatus</span><span style=\"color: navy\">;</span>#xD;\n  src.connectionType<b> as </b><span style=\"color: maroon\">vConnectionTypeSrc</span><b> where </b>(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/EndpointConnectionTypeCS')<span style=\"color: navy\"><b> -&gt; </b></span>tgt.connectionType = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">vConnectionTypeSrc</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-endpoint-connection-type'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span> <i>\"translateConnectionType\"</i><span style=\"color: navy\">;</span>#xD;\n  src.connectionType<b> as </b><span style=\"color: maroon\">vConnectionTypeOtherSrc</span><b> where </b>(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/EndpointConnectionTypeCS')<span style=\"color: navy\"><b> -&gt; </b></span>tgt.connectionType = <span style=\"color: maroon\">vConnectionTypeOtherSrc</span> <i>\"copyConnectionTypeOther\"</i><span style=\"color: navy\">;</span>#xD;\n  src.name<b> as </b><span style=\"color: maroon\">vName</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.name = <span style=\"color: maroon\">vName</span><span style=\"color: navy\">;</span>#xD;\n  src.payloadType<b> as </b><span style=\"color: maroon\">vPayloadType</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.payloadType = <span style=\"color: maroon\">vPayloadType</span><span style=\"color: navy\">;</span>#xD;\n  src.payloadMimeType<b> as </b><span style=\"color: maroon\">vPayloadMimeType</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.payloadMimeType = <span style=\"color: maroon\">vPayloadMimeType</span><span style=\"color: navy\">;</span>#xD;\n  src.address<b> as </b><span style=\"color: maroon\">vAddress</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.address = <span style=\"color: maroon\">vAddress</span><span style=\"color: navy\">;</span>#xD;\n  src.header<b> as </b><span style=\"color: maroon\">vHeader</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.header = <span style=\"color: maroon\">vHeader</span><span style=\"color: navy\">;</span>#xD;\n  src.period<b> as </b><span style=\"color: maroon\">vPeriod</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.period = <span style=\"color: maroon\">vPeriod</span><span style=\"color: navy\">;</span>#xD;\n  src.meta<b> as </b><span style=\"color: maroon\">vMetaSrc</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.meta<b> as </b><span style=\"color: maroon\">vMetaTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    vMetaSrc.lastUpdated<b> as </b><span style=\"color: maroon\">vLastUpdated</span><span style=\"color: navy\"><b> -&gt; </b></span>vMetaTgt.lastUpdated = <span style=\"color: maroon\">vLastUpdated</span> <i>\"copyMetaLastUpdated\"</i><span style=\"color: navy\">;</span>#xD;\n    vMetaSrc<b> as </b><span style=\"color: maroon\">vMetaProfileSrc</span><span style=\"color: navy\"><b> -&gt; </b></span>vMetaTgt.profile = <span style=\"color: blue\">'http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Endpoint'</span> <i>\"setTargetProfile\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"copyMeta\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:Extension.valueCode [ fhir:value "pa" ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:Extension.valueInteger [
       fhir:value "4"^^xsd:integer ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" ] ;
         fhir:Extension.valueCanonical [
           fhir:value "http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh" ;
           fhir:link <http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh>
         ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:Extension.valueCode [
       fhir:value "trial-use" ;
       fhir:Element.extension [
         fhir:index -1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" ] ;
         fhir:Extension.valueCanonical [
           fhir:value "http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh" ;
           fhir:link <http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh>
         ]
       ]
     ]
  ] ;
  fhir:StructureMap.url [ fhir:value "http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhEndpointSM"] ;
  fhir:StructureMap.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.999.1.2.3.4.43.1" ]
  ] ;
  fhir:StructureMap.version [ fhir:value "2.0.0-current"] ;
  fhir:StructureMap.name [ fhir:value "PlanNetToNdhEndpointSM"] ;
  fhir:StructureMap.title [ fhir:value "This StructureMap defines the mapping from Plan-Net Endpoint to NDH Endpoint."] ;
  fhir:StructureMap.status [ fhir:value "active"] ;
  fhir:StructureMap.date [ fhir:value "2026-06-25T23:39:34+00:00"^^xsd:dateTime] ;
  fhir:StructureMap.publisher [ fhir:value "HL7 International / Patient Administration"] ;
  fhir:StructureMap.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "HL7 International / Patient Administration" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/pafm" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "pafm@lists.hl7.org" ]
     ]
  ] ;
  fhir:StructureMap.description [ fhir:value "This StructureMap defines the mapping from Plan-Net Endpoint to NDH Endpoint."] ;
  fhir:StructureMap.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "US" ] ;
       fhir:Coding.display [ fhir:value "United States of America" ]
     ]
  ] ;
  fhir:StructureMap.structure [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Endpoint" ;
       fhir:link <http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Endpoint>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "EndpointPN" ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Endpoint" ;
       fhir:link <http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Endpoint>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "EndpointNDH" ]
  ] ;
  fhir:StructureMap.group [
     fhir:index -1 ;
     fhir:StructureMap.group.name [ fhir:value "PlanNetToNdhEndpoint" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "src" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "EndpointPN" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "tgt" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "EndpointNDH" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "dropPlanNetEndpointUsecases" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vDroppedEndpointUsecase" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/endpoint-usecase')" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "intentionally not mapped as there is no equivalent in NDH." ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "language" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "language" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vLanguage" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "language" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vLanguage" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "text" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vText" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vText" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "managingOrganization" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "managingOrganization" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vManagingOrg" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "managingOrganization" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vManagingOrg" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "copyContact" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "contact" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vContactSrc" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "contact" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vContactTgt" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyContactValue" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vContactSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vContactValue" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vContactTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vContactValue" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyContactSystem" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vContactSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "system" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vContactSystem" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vContactTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vContactSystem" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "copyIdentifier" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "identifier" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vIdentifierSrc" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vIdentifierTgt" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyIdentifierValue" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vIdentifierSrc" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vIdentifierValue" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vIdentifierTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vIdentifierValue" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyIdentifierAssigner" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vIdentifierSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "assigner" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vIdentifierAssigner" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vIdentifierTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vIdentifierAssigner" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vStatus" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vStatus" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "translateConnectionType" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "connectionType" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vConnectionTypeSrc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/EndpointConnectionTypeCS')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "connectionType" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vConnectionTypeSrc" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-endpoint-connection-type" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "copyConnectionTypeOther" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "connectionType" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vConnectionTypeOtherSrc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/EndpointConnectionTypeCS')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "connectionType" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vConnectionTypeOtherSrc" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vName" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vName" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "payloadType" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "payloadType" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vPayloadType" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "payloadType" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vPayloadType" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "payloadMimeType" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "payloadMimeType" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vPayloadMimeType" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "payloadMimeType" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vPayloadMimeType" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "address" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "address" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vAddress" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vAddress" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "header" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "header" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vHeader" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "header" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vHeader" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "period" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "period" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vPeriod" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vPeriod" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "copyMeta" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "meta" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vMetaSrc" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vMetaTgt" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyMetaLastUpdated" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vMetaSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "lastUpdated" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vLastUpdated" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vMetaTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "lastUpdated" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vLastUpdated" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "setTargetProfile" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vMetaSrc" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vMetaProfileSrc" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vMetaTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "profile" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Endpoint" ]
           ]
         ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/PlanNetToNdhEndpointSM.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/StructureMap/PlanNetToNdhEndpointSM.ttl> .