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 HealthcareService to NDH HealthcareService.

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/PlanNetToNdhHealthcareServiceSM> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "PlanNetToNdhHealthcareServiceSM"] ;
  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 PlanNetToNdhHealthcareServiceSM</b></p><a name=\"PlanNetToNdhHealthcareServiceSM\"> </a><a name=\"hcPlanNetToNdhHealthcareServiceSM\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhHealthcareServiceSM<span style=\"color: navy\">\" = \"</span>PlanNetToNdhHealthcareServiceSM<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 HealthcareService to NDH HealthcareService.</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-HealthcareService.html\" title=\"Plan-Net HealthcareService\">http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-HealthcareService</a><span style=\"color: navy\">\" </span><b>alias </b>HealthcareServicePN <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-ndh-HealthcareService.html\" title=\"NDH HealthcareService Profile\">http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-HealthcareService</a><span style=\"color: navy\">\" </span><b>alias </b>HealthcareServiceNDH <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>PlanNetToNdhHealthcareService<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>HealthcareServicePN, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>HealthcareServiceNDH<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  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.extension<b> as </b><span style=\"color: maroon\">vNewPatientsSrc</span><b> where </b>(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/newpatients')<span style=\"color: navy\"><b> -&gt; </b></span>tgt.extension<b> as </b><span style=\"color: maroon\">vNewPatientsTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    vNewPatientsSrc<b> as </b><span style=\"color: maroon\">vNewPatientsForUrl</span><span style=\"color: navy\"><b> -&gt; </b></span>vNewPatientsTgt.url = <span style=\"color: blue\">'http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-newpatients'</span> <i>\"setNewPatientsUrl\"</i><span style=\"color: navy\">;</span>#xD;\n    vNewPatientsSrc.extension<b> as </b><span style=\"color: maroon\">vFromNetworkSrc</span><b> where </b>(url = 'fromNetwork')<span style=\"color: navy\"><b> -&gt; </b></span>vNewPatientsTgt.extension = <span style=\"color: maroon\">vFromNetworkSrc</span> <i>\"copyNewPatientsFromNetwork\"</i><span style=\"color: navy\">;</span>#xD;\n    vNewPatientsSrc.extension<b> as </b><span style=\"color: maroon\">vCharacteristicsSrc</span><b> where </b>(url = 'characteristics')<span style=\"color: navy\"><b> -&gt; </b></span>vNewPatientsTgt.extension = <span style=\"color: maroon\">vCharacteristicsSrc</span> <i>\"copyNewPatientsCharacteristics\"</i><span style=\"color: navy\">;</span>#xD;\n    vNewPatientsSrc.extension<b> as </b><span style=\"color: maroon\">vAcceptingPatientsSrc</span><b> where </b>(url = 'acceptingPatients')<span style=\"color: navy\"><b> -&gt; </b></span>vNewPatientsTgt.extension<b> as </b><span style=\"color: maroon\">vAcceptingPatientsTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      vAcceptingPatientsSrc.url<b> as </b><span style=\"color: maroon\">vAcceptingPatientsUrl</span><span style=\"color: navy\"><b> -&gt; </b></span>vAcceptingPatientsTgt.url = <span style=\"color: maroon\">vAcceptingPatientsUrl</span> <i>\"copyAcceptingPatientsUrl\"</i><span style=\"color: navy\">;</span>#xD;\n      vAcceptingPatientsSrc.value<b> as </b><span style=\"color: maroon\">vAcceptingPatientsValueSrc</span><b> where </b>(coding.exists())<span style=\"color: navy\"><b> -&gt; </b></span>vAcceptingPatientsTgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vAcceptingPatientsValueTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>        vAcceptingPatientsValueSrc.coding<b> as </b><span style=\"color: maroon\">vAcceptingPatientsCodingSrc</span><b> where </b>(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS')<span style=\"color: navy\"><b> -&gt; </b></span>vAcceptingPatientsValueTgt.coding = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">vAcceptingPatientsCodingSrc</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-accepting-patients'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span> <i>\"translateAcceptingPatientsCoding\"</i><span style=\"color: navy\">;</span>#xD;\n        vAcceptingPatientsValueSrc.coding<b> as </b><span style=\"color: maroon\">vAcceptingPatientsOtherCodingSrc</span><b> where </b>(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS')<span style=\"color: navy\"><b> -&gt; </b></span>vAcceptingPatientsValueTgt.coding = <span style=\"color: maroon\">vAcceptingPatientsOtherCodingSrc</span> <i>\"copyAcceptingPatientsOtherCoding\"</i><span style=\"color: navy\">;</span>#xD;\n      <span style=\"color: navy\">}</span> <i>\"copyAcceptingPatientsValue\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"copyNewPatientsAcceptingPatients\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"copyNewPatientsExtension\"</i><span style=\"color: navy\">;</span>#xD;\n  src.extension<b> as </b><span style=\"color: maroon\">vDeliveryMethod</span><b> where </b>(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/delivery-method')<span style=\"color: navy\"><b> -&gt; </b></span>tgt.extension<b> as </b><span style=\"color: maroon\">vDeliveryMethodTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    vDeliveryMethod<b> as </b><span style=\"color: maroon\">vDeliveryMethodForUrl</span><span style=\"color: navy\"><b> -&gt; </b></span>vDeliveryMethodTgt.url = <span style=\"color: blue\">'http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-delivery-method'</span> <i>\"setDeliveryMethodUrl\"</i><span style=\"color: navy\">;</span>#xD;\n    vDeliveryMethod.extension<b> as </b><span style=\"color: maroon\">vDeliveryMethodTypeSrc</span><b> where </b>(url = 'type')<span style=\"color: navy\"><b> -&gt; </b></span>vDeliveryMethodTgt.extension<b> as </b><span style=\"color: maroon\">vDeliveryMethodTypeTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      vDeliveryMethodTypeSrc<b> as </b><span style=\"color: maroon\">vDeliveryMethodTypeForUrl</span><span style=\"color: navy\"><b> -&gt; </b></span>vDeliveryMethodTypeTgt.url = <span style=\"color: blue\">'deliveryMethodtype'</span> <i>\"setDeliveryMethodTypeUrl\"</i><span style=\"color: navy\">;</span>#xD;\n      vDeliveryMethodTypeSrc.value<b> as </b><span style=\"color: maroon\">vDeliveryMethodTypeValueSrc</span><b> where </b>(coding.exists() and ($this is CodeableConcept))<span style=\"color: navy\"><b> -&gt; </b></span>vDeliveryMethodTypeTgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vDeliveryMethodTypeValueTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>        vDeliveryMethodTypeValueSrc.coding<b> as </b><span style=\"color: maroon\">vDeliveryMethodTypeCodingSrc</span><b> where </b>(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/DeliveryMethodCS')<span style=\"color: navy\"><b> -&gt; </b></span>vDeliveryMethodTypeValueTgt.coding = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">vDeliveryMethodTypeCodingSrc</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-delivery-method'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span> <i>\"translateDeliveryMethodTypeCoding\"</i><span style=\"color: navy\">;</span>#xD;\n        vDeliveryMethodTypeValueSrc.coding<b> as </b><span style=\"color: maroon\">vDeliveryMethodTypeOtherCodingSrc</span><b> where </b>(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/DeliveryMethodCS')<span style=\"color: navy\"><b> -&gt; </b></span>vDeliveryMethodTypeValueTgt.coding = <span style=\"color: maroon\">vDeliveryMethodTypeOtherCodingSrc</span> <i>\"copyDeliveryMethodTypeOtherCoding\"</i><span style=\"color: navy\">;</span>#xD;\n      <span style=\"color: navy\">}</span> <i>\"copyDeliveryMethodTypeValue\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"copyDeliveryMethodTypeSubExt\"</i><span style=\"color: navy\">;</span>#xD;\n    vDeliveryMethod.extension<b> as </b><span style=\"color: maroon\">vVirtualModalitiesSrc</span><b> where </b>(url = 'virtualModalities')<span style=\"color: navy\"><b> -&gt; </b></span>vDeliveryMethodTgt.extension<b> as </b><span style=\"color: maroon\">vVirtualModalitiesTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      vVirtualModalitiesSrc.url<b> as </b><span style=\"color: maroon\">vVirtualModalitiesUrl</span><span style=\"color: navy\"><b> -&gt; </b></span>vVirtualModalitiesTgt.url = <span style=\"color: maroon\">vVirtualModalitiesUrl</span> <i>\"copyVirtualModalitiesUrl\"</i><span style=\"color: navy\">;</span>#xD;\n      vVirtualModalitiesSrc.value<b> as </b><span style=\"color: maroon\">vVirtualModalitiesValueSrc</span><b> where </b>(coding.exists() and ($this is CodeableConcept))<span style=\"color: navy\"><b> -&gt; </b></span>vVirtualModalitiesTgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vVirtualModalitiesValueTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>        vVirtualModalitiesValueSrc.coding<b> as </b><span style=\"color: maroon\">vVirtualModalitiesCodingSrc</span><b> where </b>(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/VirtualModalitiesCS')<span style=\"color: navy\"><b> -&gt; </b></span>vVirtualModalitiesValueTgt.coding = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">vVirtualModalitiesCodingSrc</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-virtual-modalities'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span> <i>\"translateVirtualModalitiesCoding\"</i><span style=\"color: navy\">;</span>#xD;\n        vVirtualModalitiesValueSrc.coding<b> as </b><span style=\"color: maroon\">vVirtualModalitiesOtherCodingSrc</span><b> where </b>(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/VirtualModalitiesCS')<span style=\"color: navy\"><b> -&gt; </b></span>vVirtualModalitiesValueTgt.coding = <span style=\"color: maroon\">vVirtualModalitiesOtherCodingSrc</span> <i>\"copyVirtualModalitiesOtherCoding\"</i><span style=\"color: navy\">;</span>#xD;\n      <span style=\"color: navy\">}</span> <i>\"copyVirtualModalitiesValue\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"copyVirtualModalitiesSubExt\"</i><span style=\"color: navy\">;</span>#xD;\n    vDeliveryMethod.extension<b> as </b><span style=\"color: maroon\">vDeliveryMethodOtherSubExt</span><b> where </b>((url != 'type') and (url != 'virtualModalities'))<span style=\"color: navy\"><b> -&gt; </b></span>vDeliveryMethodTgt.extension = <span style=\"color: maroon\">vDeliveryMethodOtherSubExt</span> <i>\"copyDeliveryMethodOtherSubExt\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"copyDeliveryMethodExtension\"</i><span style=\"color: navy\">;</span>#xD;\n  src.identifier<b> as </b><span style=\"color: maroon\">vIdentifier</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier = <span style=\"color: maroon\">vIdentifier</span><span style=\"color: navy\">;</span>#xD;\n  src.location<b> as </b><span style=\"color: maroon\">vLocation</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.location = <span style=\"color: maroon\">vLocation</span><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.telecom<b> as </b><span style=\"color: maroon\">vTelecomSrc</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.telecom<b> as </b><span style=\"color: maroon\">vTelecomTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    vTelecomSrc.system<b> as </b><span style=\"color: maroon\">vTelecomSystem</span><span style=\"color: navy\"><b> -&gt; </b></span>vTelecomTgt.system = <span style=\"color: maroon\">vTelecomSystem</span> <i>\"copyTelecomSystem\"</i><span style=\"color: navy\">;</span>#xD;\n    vTelecomSrc.value<b> as </b><span style=\"color: maroon\">vTelecomValue</span><span style=\"color: navy\"><b> -&gt; </b></span>vTelecomTgt.value = <span style=\"color: maroon\">vTelecomValue</span> <i>\"copyTelecomValue\"</i><span style=\"color: navy\">;</span>#xD;\n    vTelecomSrc.use<b> as </b><span style=\"color: maroon\">vTelecomUse</span><span style=\"color: navy\"><b> -&gt; </b></span>vTelecomTgt.use = <span style=\"color: maroon\">vTelecomUse</span> <i>\"copyTelecomUse\"</i><span style=\"color: navy\">;</span>#xD;\n    vTelecomSrc.rank<b> as </b><span style=\"color: maroon\">vTelecomRank</span><span style=\"color: navy\"><b> -&gt; </b></span>vTelecomTgt.rank = <span style=\"color: maroon\">vTelecomRank</span> <i>\"copyTelecomRank\"</i><span style=\"color: navy\">;</span>#xD;\n    vTelecomSrc.period<b> as </b><span style=\"color: maroon\">vTelecomPeriod</span><span style=\"color: navy\"><b> -&gt; </b></span>vTelecomTgt.period = <span style=\"color: maroon\">vTelecomPeriod</span> <i>\"copyTelecomPeriod\"</i><span style=\"color: navy\">;</span>#xD;\n    vTelecomSrc.extension<b> as </b><span style=\"color: maroon\">vDroppedContactpointAvailabletimeSrc</span><b> where </b>(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/contactpoint-availabletime') <i>\"dropPlanNetContactpointAvailabletime\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">intentionally not mapped because ContactPointAvailableTime was removed from NDH.</span>#xD;\n    vTelecomSrc.extension<b> as </b><span style=\"color: maroon\">vDroppedViaIntermediarySrc</span><b> where </b>(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/via-intermediary') <i>\"dropPlanNetViaIntermediary\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">intentionally not mapped because ViaIntermediary was removed from NDH.</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"copyTelecom\"</i><span style=\"color: navy\">;</span>#xD;\n  src.program<b> as </b><span style=\"color: maroon\">vProgram</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.program = <span style=\"color: maroon\">vProgram</span><span style=\"color: navy\">;</span>#xD;\n  src.endpoint<b> as </b><span style=\"color: maroon\">vEndpoint</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.endpoint = <span style=\"color: maroon\">vEndpoint</span><span style=\"color: navy\">;</span>#xD;\n  src.active<b> as </b><span style=\"color: maroon\">vActive</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.active = <span style=\"color: maroon\">vActive</span><span style=\"color: navy\">;</span>#xD;\n  src.providedBy<b> as </b><span style=\"color: maroon\">vProvidedBy</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.providedBy = <span style=\"color: maroon\">vProvidedBy</span><span style=\"color: navy\">;</span>#xD;\n  src.coverageArea<b> as </b><span style=\"color: maroon\">vCoverageArea</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.coverageArea = <span style=\"color: maroon\">vCoverageArea</span><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Translate Plan-Net HealthcareService category coding to NDH coding via ConceptMap.</span>#xD;\n  src.category<b> as </b><span style=\"color: maroon\">vCategorySrc</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.category<b> as </b><span style=\"color: maroon\">vCategoryTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    vCategorySrc.text<b> as </b><span style=\"color: maroon\">vCategoryText</span><span style=\"color: navy\"><b> -&gt; </b></span>vCategoryTgt.text = <span style=\"color: maroon\">vCategoryText</span> <i>\"copyCategoryText\"</i><span style=\"color: navy\">;</span>#xD;\n    vCategorySrc.coding<b> as </b><span style=\"color: maroon\">vCategoryCodingSrc</span><b> where </b>(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/HealthcareServiceCategoryCS')<span style=\"color: navy\"><b> -&gt; </b></span>vCategoryTgt.coding<b> as </b><span style=\"color: maroon\">vCategoryCodingTgt</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      vCategoryCodingSrc<b> as </b><span style=\"color: maroon\">vCategoryCodingForSystem</span><span style=\"color: navy\"><b> -&gt; </b></span>vCategoryCodingTgt.system = <span style=\"color: blue\">'http://terminology.hl7.org/CodeSystem/ndh-healthcare-service-category'</span> <i>\"setCategoryCodingSystem\"</i><span style=\"color: navy\">;</span>#xD;\n      vCategoryCodingSrc.code<b> as </b><span style=\"color: maroon\">vCategoryCodeSrc</span><span style=\"color: navy\"><b> -&gt; </b></span>vCategoryCodingTgt.code = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">vCategoryCodeSrc</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-healthcare-service-category'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>\"translateCategoryCode\"</i><span style=\"color: navy\">;</span>#xD;\n      vCategoryCodingSrc.display<b> as </b><span style=\"color: maroon\">vCategoryDisplay</span><span style=\"color: navy\"><b> -&gt; </b></span>vCategoryCodingTgt.display = <span style=\"color: maroon\">vCategoryDisplay</span> <i>\"copyCategoryDisplay\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"translateCategoryCoding\"</i><span style=\"color: navy\">;</span>#xD;\n    vCategorySrc.coding<b> as </b><span style=\"color: maroon\">vCategoryCodingOtherSrc</span><b> where </b>(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/HealthcareServiceCategoryCS')<span style=\"color: navy\"><b> -&gt; </b></span>vCategoryTgt.coding = <span style=\"color: maroon\">vCategoryCodingOtherSrc</span> <i>\"copyCategoryCodingOther\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"copyCategory\"</i><span style=\"color: navy\">;</span>#xD;\n  src.type<b> as </b><span style=\"color: maroon\">vType</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.type = <span style=\"color: maroon\">vType</span><span style=\"color: navy\">;</span>#xD;\n  src.specialty<b> as </b><span style=\"color: maroon\">vSpecialty</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.specialty = <span style=\"color: maroon\">vSpecialty</span><span style=\"color: navy\">;</span>#xD;\n  src.appointmentRequired<b> as </b><span style=\"color: maroon\">vAppointmentRequired</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.appointmentRequired = <span style=\"color: maroon\">vAppointmentRequired</span><span style=\"color: navy\">;</span>#xD;\n  src.availableTime<b> as </b><span style=\"color: maroon\">vAvailableTime</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.availableTime = <span style=\"color: maroon\">vAvailableTime</span><span style=\"color: navy\">;</span>#xD;\n  src.notAvailable<b> as </b><span style=\"color: maroon\">vNotAvailable</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.notAvailable = <span style=\"color: maroon\">vNotAvailable</span><span style=\"color: navy\">;</span>#xD;\n  src.availabilityExceptions<b> as </b><span style=\"color: maroon\">vAvailabilityExceptions</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.availabilityExceptions = <span style=\"color: maroon\">vAvailabilityExceptions</span><span style=\"color: navy\">;</span>#xD;\n  src.eligibility<b> as </b><span style=\"color: maroon\">vEligibility</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.eligibility = <span style=\"color: maroon\">vEligibility</span><span style=\"color: navy\">;</span>#xD;\n  src.serviceProvisionCode<b> as </b><span style=\"color: maroon\">vServiceProvisionCode</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.serviceProvisionCode = <span style=\"color: maroon\">vServiceProvisionCode</span><span style=\"color: navy\">;</span>#xD;\n  src.comment<b> as </b><span style=\"color: maroon\">vComment</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.comment = <span style=\"color: maroon\">vComment</span><span style=\"color: navy\">;</span>#xD;\n  src.extraDetails<b> as </b><span style=\"color: maroon\">vExtraDetails</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.extraDetails = <span style=\"color: maroon\">vExtraDetails</span><span style=\"color: navy\">;</span>#xD;\n  src.photo<b> as </b><span style=\"color: maroon\">vPhoto</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.photo = <span style=\"color: maroon\">vPhoto</span><span style=\"color: navy\">;</span>#xD;\n  src.characteristic<b> as </b><span style=\"color: maroon\">vCharacteristic</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.characteristic = <span style=\"color: maroon\">vCharacteristic</span><span style=\"color: navy\">;</span>#xD;\n  src.communication<b> as </b><span style=\"color: maroon\">vCommunication</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.communication = <span style=\"color: maroon\">vCommunication</span><span style=\"color: navy\">;</span>#xD;\n  src.referralMethod<b> as </b><span style=\"color: maroon\">vReferralMethod</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.referralMethod = <span style=\"color: maroon\">vReferralMethod</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-HealthcareService'</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/PlanNetToNdhHealthcareServiceSM"] ;
  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.2" ]
  ] ;
  fhir:StructureMap.version [ fhir:value "2.0.0-current"] ;
  fhir:StructureMap.name [ fhir:value "PlanNetToNdhHealthcareServiceSM"] ;
  fhir:StructureMap.title [ fhir:value "This StructureMap defines the mapping from Plan-Net HealthcareService to NDH HealthcareService."] ;
  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 HealthcareService to NDH HealthcareService."] ;
  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-HealthcareService" ;
       fhir:link <http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-HealthcareService>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "HealthcareServicePN" ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-HealthcareService" ;
       fhir:link <http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-HealthcareService>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "HealthcareServiceNDH" ]
  ] ;
  fhir:StructureMap.group [
     fhir:index -1 ;
     fhir:StructureMap.group.name [ fhir:value "PlanNetToNdhHealthcareService" ] ;
     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 "HealthcareServicePN" ] ;
       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 "HealthcareServiceNDH" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       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 "copyNewPatientsExtension" ] ;
       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 "vNewPatientsSrc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/newpatients')" ]
       ] ;
       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 "extension" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vNewPatientsTgt" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "setNewPatientsUrl" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vNewPatientsSrc" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vNewPatientsForUrl" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vNewPatientsTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           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/base-ext-newpatients" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyNewPatientsFromNetwork" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vNewPatientsSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vFromNetworkSrc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'fromNetwork')" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vNewPatientsTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           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 "vFromNetworkSrc" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyNewPatientsCharacteristics" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vNewPatientsSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vCharacteristicsSrc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'characteristics')" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vNewPatientsTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           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 "vCharacteristicsSrc" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyNewPatientsAcceptingPatients" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vNewPatientsSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vAcceptingPatientsSrc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'acceptingPatients')" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vNewPatientsTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "vAcceptingPatientsTgt" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "copyAcceptingPatientsUrl" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vAcceptingPatientsSrc" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vAcceptingPatientsUrl" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "vAcceptingPatientsTgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             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 "vAcceptingPatientsUrl" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "copyAcceptingPatientsValue" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vAcceptingPatientsSrc" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vAcceptingPatientsValueSrc" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "(coding.exists())" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "vAcceptingPatientsTgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "vAcceptingPatientsValueTgt" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "translateAcceptingPatientsCoding" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "vAcceptingPatientsValueSrc" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vAcceptingPatientsCodingSrc" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS')" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "vAcceptingPatientsValueTgt" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               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 "vAcceptingPatientsCodingSrc" ]
               ], [
                 fhir:index -1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-accepting-patients" ]
               ], [
                 fhir:index -1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
               ]
             ]
           ], [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "copyAcceptingPatientsOtherCoding" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "vAcceptingPatientsValueSrc" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vAcceptingPatientsOtherCodingSrc" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS')" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "vAcceptingPatientsValueTgt" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               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 "vAcceptingPatientsOtherCodingSrc" ]
               ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "copyDeliveryMethodExtension" ] ;
       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 "vDeliveryMethod" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/delivery-method')" ]
       ] ;
       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 "extension" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vDeliveryMethodTgt" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "setDeliveryMethodUrl" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vDeliveryMethod" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vDeliveryMethodForUrl" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vDeliveryMethodTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           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/base-ext-delivery-method" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyDeliveryMethodTypeSubExt" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vDeliveryMethod" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vDeliveryMethodTypeSrc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'type')" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vDeliveryMethodTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "vDeliveryMethodTypeTgt" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "setDeliveryMethodTypeUrl" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vDeliveryMethodTypeSrc" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vDeliveryMethodTypeForUrl" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "vDeliveryMethodTypeTgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             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 "deliveryMethodtype" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "copyDeliveryMethodTypeValue" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vDeliveryMethodTypeSrc" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vDeliveryMethodTypeValueSrc" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "(coding.exists() and ($this is CodeableConcept))" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "vDeliveryMethodTypeTgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "vDeliveryMethodTypeValueTgt" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "translateDeliveryMethodTypeCoding" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "vDeliveryMethodTypeValueSrc" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vDeliveryMethodTypeCodingSrc" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/DeliveryMethodCS')" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "vDeliveryMethodTypeValueTgt" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               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 "vDeliveryMethodTypeCodingSrc" ]
               ], [
                 fhir:index -1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-delivery-method" ]
               ], [
                 fhir:index -1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
               ]
             ]
           ], [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "copyDeliveryMethodTypeOtherCoding" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "vDeliveryMethodTypeValueSrc" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vDeliveryMethodTypeOtherCodingSrc" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/DeliveryMethodCS')" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "vDeliveryMethodTypeValueTgt" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               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 "vDeliveryMethodTypeOtherCodingSrc" ]
               ]
             ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyVirtualModalitiesSubExt" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vDeliveryMethod" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vVirtualModalitiesSrc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'virtualModalities')" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vDeliveryMethodTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "vVirtualModalitiesTgt" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "copyVirtualModalitiesUrl" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vVirtualModalitiesSrc" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vVirtualModalitiesUrl" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "vVirtualModalitiesTgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             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 "vVirtualModalitiesUrl" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "copyVirtualModalitiesValue" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vVirtualModalitiesSrc" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vVirtualModalitiesValueSrc" ] ;
             fhir:StructureMap.group.rule.source.condition [ fhir:value "(coding.exists() and ($this is CodeableConcept))" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "vVirtualModalitiesTgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "vVirtualModalitiesValueTgt" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "translateVirtualModalitiesCoding" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "vVirtualModalitiesValueSrc" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vVirtualModalitiesCodingSrc" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/VirtualModalitiesCS')" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "vVirtualModalitiesValueTgt" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               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 "vVirtualModalitiesCodingSrc" ]
               ], [
                 fhir:index -1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-virtual-modalities" ]
               ], [
                 fhir:index -1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
               ]
             ]
           ], [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "copyVirtualModalitiesOtherCoding" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "vVirtualModalitiesValueSrc" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vVirtualModalitiesOtherCodingSrc" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/VirtualModalitiesCS')" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "vVirtualModalitiesValueTgt" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               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 "vVirtualModalitiesOtherCodingSrc" ]
               ]
             ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyDeliveryMethodOtherSubExt" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vDeliveryMethod" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vDeliveryMethodOtherSubExt" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "((url != 'type') and (url != 'virtualModalities'))" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vDeliveryMethodTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           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 "vDeliveryMethodOtherSubExt" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
       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 "vIdentifier" ]
       ] ;
       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.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vIdentifier" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "location" ] ;
       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 "location" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vLocation" ]
       ] ;
       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 "location" ] ;
         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 "vLocation" ]
         ]
       ]
     ], [
       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 "copyTelecom" ] ;
       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 "telecom" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vTelecomSrc" ]
       ] ;
       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 "telecom" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vTelecomTgt" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyTelecomSystem" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vTelecomSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "system" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vTelecomSystem" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vTelecomTgt" ] ;
           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 "vTelecomSystem" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyTelecomValue" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vTelecomSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vTelecomValue" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vTelecomTgt" ] ;
           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 "vTelecomValue" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyTelecomUse" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vTelecomSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "use" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vTelecomUse" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vTelecomTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "use" ] ;
           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 "vTelecomUse" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyTelecomRank" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vTelecomSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "rank" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vTelecomRank" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vTelecomTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "rank" ] ;
           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 "vTelecomRank" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyTelecomPeriod" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vTelecomSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "period" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vTelecomPeriod" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vTelecomTgt" ] ;
           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 "vTelecomPeriod" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "dropPlanNetContactpointAvailabletime" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vTelecomSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vDroppedContactpointAvailabletimeSrc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/contactpoint-availabletime')" ]
         ] ;
         fhir:StructureMap.group.rule.documentation [ fhir:value "intentionally not mapped because ContactPointAvailableTime was removed from NDH." ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "dropPlanNetViaIntermediary" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vTelecomSrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vDroppedViaIntermediarySrc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/via-intermediary')" ]
         ] ;
         fhir:StructureMap.group.rule.documentation [ fhir:value "intentionally not mapped because ViaIntermediary was removed from NDH." ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "program" ] ;
       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 "program" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vProgram" ]
       ] ;
       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 "program" ] ;
         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 "vProgram" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "endpoint" ] ;
       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 "endpoint" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vEndpoint" ]
       ] ;
       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 "endpoint" ] ;
         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 "vEndpoint" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "active" ] ;
       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 "active" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vActive" ]
       ] ;
       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 "active" ] ;
         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 "vActive" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "providedBy" ] ;
       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 "providedBy" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vProvidedBy" ]
       ] ;
       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 "providedBy" ] ;
         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 "vProvidedBy" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "coverageArea" ] ;
       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 "coverageArea" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vCoverageArea" ]
       ] ;
       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 "coverageArea" ] ;
         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 "vCoverageArea" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "copyCategory" ] ;
       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 "category" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vCategorySrc" ]
       ] ;
       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 "category" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vCategoryTgt" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyCategoryText" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vCategorySrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vCategoryText" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vCategoryTgt" ] ;
           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 "vCategoryText" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "translateCategoryCoding" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vCategorySrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vCategoryCodingSrc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/HealthcareServiceCategoryCS')" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vCategoryTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "vCategoryCodingTgt" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "setCategoryCodingSystem" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vCategoryCodingSrc" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vCategoryCodingForSystem" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "vCategoryCodingTgt" ] ;
             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.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/ndh-healthcare-service-category" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "translateCategoryCode" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vCategoryCodingSrc" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vCategoryCodeSrc" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "vCategoryCodingTgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             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 "vCategoryCodeSrc" ]
             ], [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-healthcare-service-category" ]
             ], [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "code" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "copyCategoryDisplay" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vCategoryCodingSrc" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "display" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vCategoryDisplay" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "vCategoryCodingTgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
             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 "vCategoryDisplay" ]
             ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "copyCategoryCodingOther" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vCategorySrc" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vCategoryCodingOtherSrc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/HealthcareServiceCategoryCS')" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "vCategoryTgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
           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 "vCategoryCodingOtherSrc" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
       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 "type" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vType" ]
       ] ;
       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 "type" ] ;
         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 "vType" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "specialty" ] ;
       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 "specialty" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vSpecialty" ]
       ] ;
       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 "specialty" ] ;
         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 "vSpecialty" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "appointmentRequired" ] ;
       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 "appointmentRequired" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vAppointmentRequired" ]
       ] ;
       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 "appointmentRequired" ] ;
         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 "vAppointmentRequired" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "availableTime" ] ;
       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 "availableTime" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vAvailableTime" ]
       ] ;
       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 "availableTime" ] ;
         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 "vAvailableTime" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "notAvailable" ] ;
       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 "notAvailable" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vNotAvailable" ]
       ] ;
       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 "notAvailable" ] ;
         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 "vNotAvailable" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "availabilityExceptions" ] ;
       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 "availabilityExceptions" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vAvailabilityExceptions" ]
       ] ;
       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 "availabilityExceptions" ] ;
         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 "vAvailabilityExceptions" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "eligibility" ] ;
       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 "eligibility" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vEligibility" ]
       ] ;
       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 "eligibility" ] ;
         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 "vEligibility" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "serviceProvisionCode" ] ;
       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 "serviceProvisionCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vServiceProvisionCode" ]
       ] ;
       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 "serviceProvisionCode" ] ;
         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 "vServiceProvisionCode" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "comment" ] ;
       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 "comment" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vComment" ]
       ] ;
       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 "comment" ] ;
         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 "vComment" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "extraDetails" ] ;
       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 "extraDetails" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vExtraDetails" ]
       ] ;
       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 "extraDetails" ] ;
         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 "vExtraDetails" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "photo" ] ;
       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 "photo" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vPhoto" ]
       ] ;
       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 "photo" ] ;
         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 "vPhoto" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "characteristic" ] ;
       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 "characteristic" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vCharacteristic" ]
       ] ;
       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 "characteristic" ] ;
         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 "vCharacteristic" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "communication" ] ;
       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 "communication" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vCommunication" ]
       ] ;
       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 "communication" ] ;
         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 "vCommunication" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "referralMethod" ] ;
       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 "referralMethod" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vReferralMethod" ]
       ] ;
       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 "referralMethod" ] ;
         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 "vReferralMethod" ]
         ]
       ]
     ], [
       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-HealthcareService" ]
           ]
         ]
       ]
     ]
  ] .

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

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