National Directory of Healthcare Providers & Services (NDH) Implementation Guide
2.0.0-current - ci-build US

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 xml | Download


<StructureMap xmlns="http://hl7.org/fhir">
  <id value="PlanNetToNdhHealthcareServiceSM"/>
  <language value="en"/>
  <text>
    <status value="generated"/>
    <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">
<b>map</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhHealthcareServiceSM<span style="color: navy">&quot; = &quot;</span>PlanNetToNdhHealthcareServiceSM<span style="color: navy">&quot;

</span><span style="color: navy">// </span><span style="color: green">This StructureMap defines the mapping from Plan-Net HealthcareService to NDH HealthcareService.</span>

<b>uses</b><span style="color: navy"> &quot;</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">&quot; </span><b>alias </b>Source <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</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">&quot; </span><b>alias </b>Target <b>as </b><b>target</b>

<b>group </b>PlanNetToNdhHealthcareService<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>HealthcareService, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>HealthcareService<span style="color: navy">)</span><span style="color: navy"> {
</span>  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"> {
</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>&quot;setNewPatientsUrl&quot;</i><span style="color: navy">;</span>
    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>&quot;copyNewPatientsFromNetwork&quot;</i><span style="color: navy">;</span>
    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>&quot;copyNewPatientsCharacteristics&quot;</i><span style="color: navy">;</span>
    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"> {
</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>&quot;copyAcceptingPatientsUrl&quot;</i><span style="color: navy">;</span>
      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"> {
</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>&quot;translateAcceptingPatientsCoding&quot;</i><span style="color: navy">;</span>
        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>&quot;copyAcceptingPatientsOtherCoding&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span> <i>&quot;copyAcceptingPatientsValue&quot;</i><span style="color: navy">;</span>
    <span style="color: navy">}</span> <i>&quot;copyNewPatientsAcceptingPatients&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;copyNewPatientsExtension&quot;</i><span style="color: navy">;</span>
  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"> {
</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>&quot;setDeliveryMethodUrl&quot;</i><span style="color: navy">;</span>
    vDeliveryMethod.extension<b> as </b><span style="color: maroon">vDeliveryMethodSubExt</span><span style="color: navy"><b> -&gt; </b></span>vDeliveryMethodTgt.extension = <span style="color: maroon">vDeliveryMethodSubExt</span> <i>&quot;copyDeliveryMethodSubExt&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;copyDeliveryMethodExtension&quot;</i><span style="color: navy">;</span>
  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>
  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>
  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>
  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"> {
</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>&quot;copyTelecomSystem&quot;</i><span style="color: navy">;</span>
    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>&quot;copyTelecomValue&quot;</i><span style="color: navy">;</span>
    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>&quot;copyTelecomUse&quot;</i><span style="color: navy">;</span>
    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>&quot;copyTelecomRank&quot;</i><span style="color: navy">;</span>
    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>&quot;copyTelecomPeriod&quot;</i><span style="color: navy">;</span>
    vTelecomSrc.extension<b> as </b><span style="color: maroon">vContactpointAvailabletimeSrc</span><b> where </b>(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/contactpoint-availabletime')<span style="color: navy"><b> -&gt; </b></span>vTelecomTgt.extension<b> as </b><span style="color: maroon">vContactpointAvailabletimeTgt</span><b> then</b><span style="color: navy"> {
</span>      vContactpointAvailabletimeSrc<b> as </b><span style="color: maroon">vContactpointAvailabletimeForUrl</span><span style="color: navy"><b> -&gt; </b></span>vContactpointAvailabletimeTgt.url = <span style="color: blue">'http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-contactpoint-availabletime'</span> <i>&quot;setContactpointAvailabletimeUrl&quot;</i><span style="color: navy">;</span>
      vContactpointAvailabletimeSrc.extension<b> as </b><span style="color: maroon">vContactpointAvailabletimeSubExt</span><span style="color: navy"><b> -&gt; </b></span>vContactpointAvailabletimeTgt.extension = <span style="color: maroon">vContactpointAvailabletimeSubExt</span> <i>&quot;copyContactpointAvailabletimeSubExt&quot;</i><span style="color: navy">;</span>
      vContactpointAvailabletimeSrc.value<b> as </b><span style="color: maroon">vContactpointAvailabletimeValue</span><span style="color: navy"><b> -&gt; </b></span>vContactpointAvailabletimeTgt.value = <span style="color: maroon">vContactpointAvailabletimeValue</span> <i>&quot;copyContactpointAvailabletimeValue&quot;</i><span style="color: navy">;</span>
    <span style="color: navy">}</span> <i>&quot;copyTelecomContactpointAvailabletime&quot;</i><span style="color: navy">;</span>
    vTelecomSrc.extension<b> as </b><span style="color: maroon">vViaIntermediarySrc</span><b> where </b>(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/via-intermediary')<span style="color: navy"><b> -&gt; </b></span>vTelecomTgt.extension<b> as </b><span style="color: maroon">vViaIntermediaryTgt</span><b> then</b><span style="color: navy"> {
</span>      vViaIntermediarySrc<b> as </b><span style="color: maroon">vViaIntermediaryForUrl</span><span style="color: navy"><b> -&gt; </b></span>vViaIntermediaryTgt.url = <span style="color: blue">'http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-via-intermediary'</span> <i>&quot;setViaIntermediaryUrl&quot;</i><span style="color: navy">;</span>
      vViaIntermediarySrc.extension<b> as </b><span style="color: maroon">vViaIntermediarySubExt</span><span style="color: navy"><b> -&gt; </b></span>vViaIntermediaryTgt.extension = <span style="color: maroon">vViaIntermediarySubExt</span> <i>&quot;copyViaIntermediarySubExt&quot;</i><span style="color: navy">;</span>
      vViaIntermediarySrc.value<b> as </b><span style="color: maroon">vViaIntermediaryValue</span><span style="color: navy"><b> -&gt; </b></span>vViaIntermediaryTgt.value = <span style="color: maroon">vViaIntermediaryValue</span> <i>&quot;copyViaIntermediaryValue&quot;</i><span style="color: navy">;</span>
    <span style="color: navy">}</span> <i>&quot;copyTelecomViaIntermediary&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;copyTelecom&quot;</i><span style="color: navy">;</span>
  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>
  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>
  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>
  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>
  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>
  <span style="color: navy">// </span><span style="color: green">Translate Plan-Net HealthcareService category coding to NDH coding via ConceptMap.</span>
  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"> {
</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>&quot;copyCategoryText&quot;</i><span style="color: navy">;</span>
    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"> {
</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>&quot;setCategoryCodingSystem&quot;</i><span style="color: navy">;</span>
      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>&quot;translateCategoryCode&quot;</i><span style="color: navy">;</span>
      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>&quot;copyCategoryDisplay&quot;</i><span style="color: navy">;</span>
    <span style="color: navy">}</span> <i>&quot;translateCategoryCoding&quot;</i><span style="color: navy">;</span>
    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>&quot;copyCategoryCodingOther&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;copyCategory&quot;</i><span style="color: navy">;</span>
  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>
  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>
  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>
  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>
  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>
  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>
  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>
  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>
  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>
  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>
  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>
  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>
  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>
  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>
  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"> {
</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>&quot;copyMetaLastUpdated&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;copyMeta&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pa"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="4">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh"/>
      </extension>
    </valueCode>
  </extension>
  <url
       value="http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhHealthcareServiceSM"/>
  <version value="2.0.0-current"/>
  <name value="PlanNetToNdhHealthcareServiceSM"/>
  <title
         value="This StructureMap defines the mapping from Plan-Net HealthcareService to NDH HealthcareService."/>
  <status value="active"/>
  <date value="2026-05-29T16:56:26+00:00"/>
  <publisher value="HL7 International / Patient Administration"/>
  <contact>
    <name value="HL7 International / Patient Administration"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/pafm"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="pafm@lists.hl7.org"/>
    </telecom>
  </contact>
  <description
               value="This StructureMap defines the mapping from Plan-Net HealthcareService to NDH HealthcareService."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
      <display value="United States of America"/>
    </coding>
  </jurisdiction>
  <structure>
    <url
         value="http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-HealthcareService"/>
    <mode value="source"/>
    <alias value="Source"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-HealthcareService"/>
    <mode value="target"/>
    <alias value="Target"/>
  </structure>
  <group>
    <name value="PlanNetToNdhHealthcareService"/>
    <typeMode value="none"/>
    <input>
      <name value="src"/>
      <type value="HealthcareService"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="HealthcareService"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="copyNewPatientsExtension"/>
      <source>
        <context value="src"/>
        <element value="extension"/>
        <variable value="vNewPatientsSrc"/>
        <condition
                   value="(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/newpatients')"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="extension"/>
        <variable value="vNewPatientsTgt"/>
      </target>
      <rule>
        <name value="setNewPatientsUrl"/>
        <source>
          <context value="vNewPatientsSrc"/>
          <variable value="vNewPatientsForUrl"/>
        </source>
        <target>
          <context value="vNewPatientsTgt"/>
          <contextType value="variable"/>
          <element value="url"/>
          <transform value="copy"/>
          <parameter>
            <valueString
                         value="http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-newpatients"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="copyNewPatientsFromNetwork"/>
        <source>
          <context value="vNewPatientsSrc"/>
          <element value="extension"/>
          <variable value="vFromNetworkSrc"/>
          <condition value="(url = 'fromNetwork')"/>
        </source>
        <target>
          <context value="vNewPatientsTgt"/>
          <contextType value="variable"/>
          <element value="extension"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vFromNetworkSrc"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="copyNewPatientsCharacteristics"/>
        <source>
          <context value="vNewPatientsSrc"/>
          <element value="extension"/>
          <variable value="vCharacteristicsSrc"/>
          <condition value="(url = 'characteristics')"/>
        </source>
        <target>
          <context value="vNewPatientsTgt"/>
          <contextType value="variable"/>
          <element value="extension"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vCharacteristicsSrc"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="copyNewPatientsAcceptingPatients"/>
        <source>
          <context value="vNewPatientsSrc"/>
          <element value="extension"/>
          <variable value="vAcceptingPatientsSrc"/>
          <condition value="(url = 'acceptingPatients')"/>
        </source>
        <target>
          <context value="vNewPatientsTgt"/>
          <contextType value="variable"/>
          <element value="extension"/>
          <variable value="vAcceptingPatientsTgt"/>
        </target>
        <rule>
          <name value="copyAcceptingPatientsUrl"/>
          <source>
            <context value="vAcceptingPatientsSrc"/>
            <element value="url"/>
            <variable value="vAcceptingPatientsUrl"/>
          </source>
          <target>
            <context value="vAcceptingPatientsTgt"/>
            <contextType value="variable"/>
            <element value="url"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="vAcceptingPatientsUrl"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="copyAcceptingPatientsValue"/>
          <source>
            <context value="vAcceptingPatientsSrc"/>
            <element value="value"/>
            <variable value="vAcceptingPatientsValueSrc"/>
            <condition value="(coding.exists())"/>
          </source>
          <target>
            <context value="vAcceptingPatientsTgt"/>
            <contextType value="variable"/>
            <element value="value"/>
            <variable value="vAcceptingPatientsValueTgt"/>
            <transform value="create"/>
            <parameter>
              <valueString value="CodeableConcept"/>
            </parameter>
          </target>
          <rule>
            <name value="translateAcceptingPatientsCoding"/>
            <source>
              <context value="vAcceptingPatientsValueSrc"/>
              <element value="coding"/>
              <variable value="vAcceptingPatientsCodingSrc"/>
              <condition
                         value="(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS')"/>
            </source>
            <target>
              <context value="vAcceptingPatientsValueTgt"/>
              <contextType value="variable"/>
              <element value="coding"/>
              <transform value="translate"/>
              <parameter>
                <valueId value="vAcceptingPatientsCodingSrc"/>
              </parameter>
              <parameter>
                <valueString
                             value="http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-accepting-patients"/>
              </parameter>
              <parameter>
                <valueString value="Coding"/>
              </parameter>
            </target>
          </rule>
          <rule>
            <name value="copyAcceptingPatientsOtherCoding"/>
            <source>
              <context value="vAcceptingPatientsValueSrc"/>
              <element value="coding"/>
              <variable value="vAcceptingPatientsOtherCodingSrc"/>
              <condition
                         value="(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/AcceptingPatientsCS')"/>
            </source>
            <target>
              <context value="vAcceptingPatientsValueTgt"/>
              <contextType value="variable"/>
              <element value="coding"/>
              <transform value="copy"/>
              <parameter>
                <valueId value="vAcceptingPatientsOtherCodingSrc"/>
              </parameter>
            </target>
          </rule>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="copyDeliveryMethodExtension"/>
      <source>
        <context value="src"/>
        <element value="extension"/>
        <variable value="vDeliveryMethod"/>
        <condition
                   value="(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/delivery-method')"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="extension"/>
        <variable value="vDeliveryMethodTgt"/>
      </target>
      <rule>
        <name value="setDeliveryMethodUrl"/>
        <source>
          <context value="vDeliveryMethod"/>
          <variable value="vDeliveryMethodForUrl"/>
        </source>
        <target>
          <context value="vDeliveryMethodTgt"/>
          <contextType value="variable"/>
          <element value="url"/>
          <transform value="copy"/>
          <parameter>
            <valueString
                         value="http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-delivery-method"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="copyDeliveryMethodSubExt"/>
        <source>
          <context value="vDeliveryMethod"/>
          <element value="extension"/>
          <variable value="vDeliveryMethodSubExt"/>
        </source>
        <target>
          <context value="vDeliveryMethodTgt"/>
          <contextType value="variable"/>
          <element value="extension"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vDeliveryMethodSubExt"/>
          </parameter>
        </target>
      </rule>
    </rule>
    <rule>
      <name value="identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vIdentifier"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="identifier"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vIdentifier"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="location"/>
      <source>
        <context value="src"/>
        <element value="location"/>
        <variable value="vLocation"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="location"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vLocation"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vName"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="name"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vName"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="copyTelecom"/>
      <source>
        <context value="src"/>
        <element value="telecom"/>
        <variable value="vTelecomSrc"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="telecom"/>
        <variable value="vTelecomTgt"/>
      </target>
      <rule>
        <name value="copyTelecomSystem"/>
        <source>
          <context value="vTelecomSrc"/>
          <element value="system"/>
          <variable value="vTelecomSystem"/>
        </source>
        <target>
          <context value="vTelecomTgt"/>
          <contextType value="variable"/>
          <element value="system"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vTelecomSystem"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="copyTelecomValue"/>
        <source>
          <context value="vTelecomSrc"/>
          <element value="value"/>
          <variable value="vTelecomValue"/>
        </source>
        <target>
          <context value="vTelecomTgt"/>
          <contextType value="variable"/>
          <element value="value"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vTelecomValue"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="copyTelecomUse"/>
        <source>
          <context value="vTelecomSrc"/>
          <element value="use"/>
          <variable value="vTelecomUse"/>
        </source>
        <target>
          <context value="vTelecomTgt"/>
          <contextType value="variable"/>
          <element value="use"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vTelecomUse"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="copyTelecomRank"/>
        <source>
          <context value="vTelecomSrc"/>
          <element value="rank"/>
          <variable value="vTelecomRank"/>
        </source>
        <target>
          <context value="vTelecomTgt"/>
          <contextType value="variable"/>
          <element value="rank"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vTelecomRank"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="copyTelecomPeriod"/>
        <source>
          <context value="vTelecomSrc"/>
          <element value="period"/>
          <variable value="vTelecomPeriod"/>
        </source>
        <target>
          <context value="vTelecomTgt"/>
          <contextType value="variable"/>
          <element value="period"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vTelecomPeriod"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="copyTelecomContactpointAvailabletime"/>
        <source>
          <context value="vTelecomSrc"/>
          <element value="extension"/>
          <variable value="vContactpointAvailabletimeSrc"/>
          <condition
                     value="(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/contactpoint-availabletime')"/>
        </source>
        <target>
          <context value="vTelecomTgt"/>
          <contextType value="variable"/>
          <element value="extension"/>
          <variable value="vContactpointAvailabletimeTgt"/>
        </target>
        <rule>
          <name value="setContactpointAvailabletimeUrl"/>
          <source>
            <context value="vContactpointAvailabletimeSrc"/>
            <variable value="vContactpointAvailabletimeForUrl"/>
          </source>
          <target>
            <context value="vContactpointAvailabletimeTgt"/>
            <contextType value="variable"/>
            <element value="url"/>
            <transform value="copy"/>
            <parameter>
              <valueString
                           value="http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-contactpoint-availabletime"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="copyContactpointAvailabletimeSubExt"/>
          <source>
            <context value="vContactpointAvailabletimeSrc"/>
            <element value="extension"/>
            <variable value="vContactpointAvailabletimeSubExt"/>
          </source>
          <target>
            <context value="vContactpointAvailabletimeTgt"/>
            <contextType value="variable"/>
            <element value="extension"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="vContactpointAvailabletimeSubExt"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="copyContactpointAvailabletimeValue"/>
          <source>
            <context value="vContactpointAvailabletimeSrc"/>
            <element value="value"/>
            <variable value="vContactpointAvailabletimeValue"/>
          </source>
          <target>
            <context value="vContactpointAvailabletimeTgt"/>
            <contextType value="variable"/>
            <element value="value"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="vContactpointAvailabletimeValue"/>
            </parameter>
          </target>
        </rule>
      </rule>
      <rule>
        <name value="copyTelecomViaIntermediary"/>
        <source>
          <context value="vTelecomSrc"/>
          <element value="extension"/>
          <variable value="vViaIntermediarySrc"/>
          <condition
                     value="(url = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/via-intermediary')"/>
        </source>
        <target>
          <context value="vTelecomTgt"/>
          <contextType value="variable"/>
          <element value="extension"/>
          <variable value="vViaIntermediaryTgt"/>
        </target>
        <rule>
          <name value="setViaIntermediaryUrl"/>
          <source>
            <context value="vViaIntermediarySrc"/>
            <variable value="vViaIntermediaryForUrl"/>
          </source>
          <target>
            <context value="vViaIntermediaryTgt"/>
            <contextType value="variable"/>
            <element value="url"/>
            <transform value="copy"/>
            <parameter>
              <valueString
                           value="http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-via-intermediary"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="copyViaIntermediarySubExt"/>
          <source>
            <context value="vViaIntermediarySrc"/>
            <element value="extension"/>
            <variable value="vViaIntermediarySubExt"/>
          </source>
          <target>
            <context value="vViaIntermediaryTgt"/>
            <contextType value="variable"/>
            <element value="extension"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="vViaIntermediarySubExt"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="copyViaIntermediaryValue"/>
          <source>
            <context value="vViaIntermediarySrc"/>
            <element value="value"/>
            <variable value="vViaIntermediaryValue"/>
          </source>
          <target>
            <context value="vViaIntermediaryTgt"/>
            <contextType value="variable"/>
            <element value="value"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="vViaIntermediaryValue"/>
            </parameter>
          </target>
        </rule>
      </rule>
    </rule>
    <rule>
      <name value="program"/>
      <source>
        <context value="src"/>
        <element value="program"/>
        <variable value="vProgram"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="program"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vProgram"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="endpoint"/>
      <source>
        <context value="src"/>
        <element value="endpoint"/>
        <variable value="vEndpoint"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="endpoint"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vEndpoint"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="active"/>
      <source>
        <context value="src"/>
        <element value="active"/>
        <variable value="vActive"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="active"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vActive"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="providedBy"/>
      <source>
        <context value="src"/>
        <element value="providedBy"/>
        <variable value="vProvidedBy"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="providedBy"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vProvidedBy"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="coverageArea"/>
      <source>
        <context value="src"/>
        <element value="coverageArea"/>
        <variable value="vCoverageArea"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="coverageArea"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vCoverageArea"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="copyCategory"/>
      <source>
        <context value="src"/>
        <element value="category"/>
        <variable value="vCategorySrc"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="category"/>
        <variable value="vCategoryTgt"/>
      </target>
      <rule>
        <name value="copyCategoryText"/>
        <source>
          <context value="vCategorySrc"/>
          <element value="text"/>
          <variable value="vCategoryText"/>
        </source>
        <target>
          <context value="vCategoryTgt"/>
          <contextType value="variable"/>
          <element value="text"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vCategoryText"/>
          </parameter>
        </target>
      </rule>
      <rule>
        <name value="translateCategoryCoding"/>
        <source>
          <context value="vCategorySrc"/>
          <element value="coding"/>
          <variable value="vCategoryCodingSrc"/>
          <condition
                     value="(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/HealthcareServiceCategoryCS')"/>
        </source>
        <target>
          <context value="vCategoryTgt"/>
          <contextType value="variable"/>
          <element value="coding"/>
          <variable value="vCategoryCodingTgt"/>
        </target>
        <rule>
          <name value="setCategoryCodingSystem"/>
          <source>
            <context value="vCategoryCodingSrc"/>
            <variable value="vCategoryCodingForSystem"/>
          </source>
          <target>
            <context value="vCategoryCodingTgt"/>
            <contextType value="variable"/>
            <element value="system"/>
            <transform value="copy"/>
            <parameter>
              <valueString
                           value="http://terminology.hl7.org/CodeSystem/ndh-healthcare-service-category"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="translateCategoryCode"/>
          <source>
            <context value="vCategoryCodingSrc"/>
            <element value="code"/>
            <variable value="vCategoryCodeSrc"/>
          </source>
          <target>
            <context value="vCategoryCodingTgt"/>
            <contextType value="variable"/>
            <element value="code"/>
            <transform value="translate"/>
            <parameter>
              <valueId value="vCategoryCodeSrc"/>
            </parameter>
            <parameter>
              <valueString
                           value="http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-healthcare-service-category"/>
            </parameter>
            <parameter>
              <valueString value="code"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="copyCategoryDisplay"/>
          <source>
            <context value="vCategoryCodingSrc"/>
            <element value="display"/>
            <variable value="vCategoryDisplay"/>
          </source>
          <target>
            <context value="vCategoryCodingTgt"/>
            <contextType value="variable"/>
            <element value="display"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="vCategoryDisplay"/>
            </parameter>
          </target>
        </rule>
      </rule>
      <rule>
        <name value="copyCategoryCodingOther"/>
        <source>
          <context value="vCategorySrc"/>
          <element value="coding"/>
          <variable value="vCategoryCodingOtherSrc"/>
          <condition
                     value="(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/HealthcareServiceCategoryCS')"/>
        </source>
        <target>
          <context value="vCategoryTgt"/>
          <contextType value="variable"/>
          <element value="coding"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vCategoryCodingOtherSrc"/>
          </parameter>
        </target>
      </rule>
    </rule>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vType"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="type"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vType"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="specialty"/>
      <source>
        <context value="src"/>
        <element value="specialty"/>
        <variable value="vSpecialty"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="specialty"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vSpecialty"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="appointmentRequired"/>
      <source>
        <context value="src"/>
        <element value="appointmentRequired"/>
        <variable value="vAppointmentRequired"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="appointmentRequired"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vAppointmentRequired"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="availableTime"/>
      <source>
        <context value="src"/>
        <element value="availableTime"/>
        <variable value="vAvailableTime"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="availableTime"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vAvailableTime"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="notAvailable"/>
      <source>
        <context value="src"/>
        <element value="notAvailable"/>
        <variable value="vNotAvailable"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="notAvailable"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vNotAvailable"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="availabilityExceptions"/>
      <source>
        <context value="src"/>
        <element value="availabilityExceptions"/>
        <variable value="vAvailabilityExceptions"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="availabilityExceptions"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vAvailabilityExceptions"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="eligibility"/>
      <source>
        <context value="src"/>
        <element value="eligibility"/>
        <variable value="vEligibility"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="eligibility"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vEligibility"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="serviceProvisionCode"/>
      <source>
        <context value="src"/>
        <element value="serviceProvisionCode"/>
        <variable value="vServiceProvisionCode"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="serviceProvisionCode"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vServiceProvisionCode"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="comment"/>
      <source>
        <context value="src"/>
        <element value="comment"/>
        <variable value="vComment"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="comment"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vComment"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="extraDetails"/>
      <source>
        <context value="src"/>
        <element value="extraDetails"/>
        <variable value="vExtraDetails"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="extraDetails"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vExtraDetails"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="photo"/>
      <source>
        <context value="src"/>
        <element value="photo"/>
        <variable value="vPhoto"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="photo"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vPhoto"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="characteristic"/>
      <source>
        <context value="src"/>
        <element value="characteristic"/>
        <variable value="vCharacteristic"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="characteristic"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vCharacteristic"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="communication"/>
      <source>
        <context value="src"/>
        <element value="communication"/>
        <variable value="vCommunication"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="communication"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vCommunication"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="referralMethod"/>
      <source>
        <context value="src"/>
        <element value="referralMethod"/>
        <variable value="vReferralMethod"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="referralMethod"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="vReferralMethod"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="copyMeta"/>
      <source>
        <context value="src"/>
        <element value="meta"/>
        <variable value="vMetaSrc"/>
      </source>
      <target>
        <context value="tgt"/>
        <contextType value="variable"/>
        <element value="meta"/>
        <variable value="vMetaTgt"/>
      </target>
      <rule>
        <name value="copyMetaLastUpdated"/>
        <source>
          <context value="vMetaSrc"/>
          <element value="lastUpdated"/>
          <variable value="vLastUpdated"/>
        </source>
        <target>
          <context value="vMetaTgt"/>
          <contextType value="variable"/>
          <element value="lastUpdated"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="vLastUpdated"/>
          </parameter>
        </target>
      </rule>
    </rule>
  </group>
</StructureMap>