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
| Page standards status: Trial-use | Maturity Level: 4 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="PlanNetToNdhInsurancePlanSM"/>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap PlanNetToNdhInsurancePlanSM</b></p><a name="PlanNetToNdhInsurancePlanSM"> </a><a name="hcPlanNetToNdhInsurancePlanSM"> </a><pre class="fml">
<b>map</b><span style="color: navy"> "</span>http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhInsurancePlanSM<span style="color: navy">" = "</span>PlanNetToNdhInsurancePlanSM<span style="color: navy">"
</span><span style="color: navy">// </span><span style="color: green">This StructureMap defines the mapping from Plan-Net InsurancePlan to NDH InsurancePlan.</span>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.2/StructureDefinition-plannet-InsurancePlan.html" title="Plan-Net InsurancePlan">http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-InsurancePlan</a><span style="color: navy">" </span><b>alias </b>Source <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="StructureDefinition-ndh-InsurancePlan.html" title="NDH InsurancePlan Profile">http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-InsurancePlan</a><span style="color: navy">" </span><b>alias </b>Target <b>as </b><b>target</b>
<b>group </b>PlanNetToNdhInsurancePlan<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>InsurancePlan, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>InsurancePlan<span style="color: navy">)</span><span style="color: navy"> {
</span> src.identifier<b> as </b><span style="color: maroon">vIdentifier</span><span style="color: navy"><b> -> </b></span>tgt.identifier = <span style="color: maroon">vIdentifier</span><span style="color: navy">;</span>
src.status<b> as </b><span style="color: maroon">vStatus</span><span style="color: navy"><b> -> </b></span>tgt.status = <span style="color: maroon">vStatus</span><span style="color: navy">;</span>
src.type<b> as </b><span style="color: maroon">vTypeSrc</span><span style="color: navy"><b> -> </b></span>tgt.type<b> as </b><span style="color: maroon">vTypeTgt</span><b> then</b><span style="color: navy"> {
</span> vTypeSrc.text<b> as </b><span style="color: maroon">vTypeText</span><span style="color: navy"><b> -> </b></span>vTypeTgt.text = <span style="color: maroon">vTypeText</span> <i>"copyTypeText"</i><span style="color: navy">;</span>
vTypeSrc.coding<b> as </b><span style="color: maroon">vTypeCodingSrc</span><b> where </b>(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/InsuranceProductTypeCS')<span style="color: navy"><b> -> </b></span>vTypeTgt.coding = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">vTypeCodingSrc</span><span style="color: navy">, </span><span style="color: blue">'http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-insurance-product-type'</span><span style="color: navy">, </span><span style="color: blue">'Coding'</span><span style="color: navy">)</span> <i>"translateTypeCoding"</i><span style="color: navy">;</span>
vTypeSrc.coding<b> as </b><span style="color: maroon">vTypeCodingOtherSrc</span><b> where </b>(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/InsuranceProductTypeCS')<span style="color: navy"><b> -> </b></span>vTypeTgt.coding = <span style="color: maroon">vTypeCodingOtherSrc</span> <i>"copyTypeCodingOther"</i><span style="color: navy">;</span>
<span style="color: navy">}</span> <i>"copyType"</i><span style="color: navy">;</span>
src.name<b> as </b><span style="color: maroon">vName</span><span style="color: navy"><b> -> </b></span>tgt.name = <span style="color: maroon">vName</span><span style="color: navy">;</span>
src.alias<b> as </b><span style="color: maroon">vAlias</span><span style="color: navy"><b> -> </b></span>tgt.alias = <span style="color: maroon">vAlias</span><span style="color: navy">;</span>
src.language<b> as </b><span style="color: maroon">vLanguage</span><span style="color: navy"><b> -> </b></span>tgt.language = <span style="color: maroon">vLanguage</span><span style="color: navy">;</span>
src.period<b> as </b><span style="color: maroon">vPeriod</span><span style="color: navy"><b> -> </b></span>tgt.period = <span style="color: maroon">vPeriod</span><span style="color: navy">;</span>
src.ownedBy<b> as </b><span style="color: maroon">vOwnedBy</span><span style="color: navy"><b> -> </b></span>tgt.ownedBy = <span style="color: maroon">vOwnedBy</span><span style="color: navy">;</span>
src.administeredBy<b> as </b><span style="color: maroon">vAdministeredBy</span><span style="color: navy"><b> -> </b></span>tgt.administeredBy = <span style="color: maroon">vAdministeredBy</span><span style="color: navy">;</span>
src.coverageArea<b> as </b><span style="color: maroon">vCoverageArea</span><span style="color: navy"><b> -> </b></span>tgt.coverageArea = <span style="color: maroon">vCoverageArea</span><span style="color: navy">;</span>
src.contact<b> as </b><span style="color: maroon">vContact</span><span style="color: navy"><b> -> </b></span>tgt.contact = <span style="color: maroon">vContact</span><span style="color: navy">;</span>
src.endpoint<b> as </b><span style="color: maroon">vEndpoint</span><span style="color: navy"><b> -> </b></span>tgt.endpoint = <span style="color: maroon">vEndpoint</span><span style="color: navy">;</span>
src.network<b> as </b><span style="color: maroon">vNetwork</span><span style="color: navy"><b> -> </b></span>tgt.network = <span style="color: maroon">vNetwork</span><span style="color: navy">;</span>
src.coverage<b> as </b><span style="color: maroon">vCoverage</span><span style="color: navy"><b> -> </b></span>tgt.coverage = <span style="color: maroon">vCoverage</span><span style="color: navy">;</span>
src.plan<b> as </b><span style="color: maroon">vPlan</span><span style="color: navy"><b> -> </b></span>tgt.plan = <span style="color: maroon">vPlan</span><span style="color: navy">;</span>
src.meta<b> as </b><span style="color: maroon">vMetaSrc</span><span style="color: navy"><b> -> </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> -> </b></span>vMetaTgt.lastUpdated = <span style="color: maroon">vLastUpdated</span><span style="color: navy">;</span>
<span style="color: navy">}</span><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/PlanNetToNdhInsurancePlanSM"/>
<version value="2.0.0-current"/>
<name value="PlanNetToNdhInsurancePlanSM"/>
<title
value="This StructureMap defines the mapping from Plan-Net InsurancePlan to NDH InsurancePlan."/>
<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 InsurancePlan to NDH InsurancePlan."/>
<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-InsurancePlan"/>
<mode value="source"/>
<alias value="Source"/>
</structure>
<structure>
<url
value="http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-InsurancePlan"/>
<mode value="target"/>
<alias value="Target"/>
</structure>
<group>
<name value="PlanNetToNdhInsurancePlan"/>
<typeMode value="none"/>
<input>
<name value="src"/>
<type value="InsurancePlan"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="InsurancePlan"/>
<mode value="target"/>
</input>
<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="status"/>
<source>
<context value="src"/>
<element value="status"/>
<variable value="vStatus"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="status"/>
<transform value="copy"/>
<parameter>
<valueId value="vStatus"/>
</parameter>
</target>
</rule>
<rule>
<name value="copyType"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="vTypeSrc"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="type"/>
<variable value="vTypeTgt"/>
</target>
<rule>
<name value="copyTypeText"/>
<source>
<context value="vTypeSrc"/>
<element value="text"/>
<variable value="vTypeText"/>
</source>
<target>
<context value="vTypeTgt"/>
<contextType value="variable"/>
<element value="text"/>
<transform value="copy"/>
<parameter>
<valueId value="vTypeText"/>
</parameter>
</target>
</rule>
<rule>
<name value="translateTypeCoding"/>
<source>
<context value="vTypeSrc"/>
<element value="coding"/>
<variable value="vTypeCodingSrc"/>
<condition
value="(system = 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/InsuranceProductTypeCS')"/>
</source>
<target>
<context value="vTypeTgt"/>
<contextType value="variable"/>
<element value="coding"/>
<transform value="translate"/>
<parameter>
<valueId value="vTypeCodingSrc"/>
</parameter>
<parameter>
<valueString
value="http://hl7.org/fhir/us/ndh/ConceptMap/plannet-to-ndh-insurance-product-type"/>
</parameter>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
</rule>
<rule>
<name value="copyTypeCodingOther"/>
<source>
<context value="vTypeSrc"/>
<element value="coding"/>
<variable value="vTypeCodingOtherSrc"/>
<condition
value="(system != 'http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/InsuranceProductTypeCS')"/>
</source>
<target>
<context value="vTypeTgt"/>
<contextType value="variable"/>
<element value="coding"/>
<transform value="copy"/>
<parameter>
<valueId value="vTypeCodingOtherSrc"/>
</parameter>
</target>
</rule>
</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="alias"/>
<source>
<context value="src"/>
<element value="alias"/>
<variable value="vAlias"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="alias"/>
<transform value="copy"/>
<parameter>
<valueId value="vAlias"/>
</parameter>
</target>
</rule>
<rule>
<name value="language"/>
<source>
<context value="src"/>
<element value="language"/>
<variable value="vLanguage"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="language"/>
<transform value="copy"/>
<parameter>
<valueId value="vLanguage"/>
</parameter>
</target>
</rule>
<rule>
<name value="period"/>
<source>
<context value="src"/>
<element value="period"/>
<variable value="vPeriod"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="period"/>
<transform value="copy"/>
<parameter>
<valueId value="vPeriod"/>
</parameter>
</target>
</rule>
<rule>
<name value="ownedBy"/>
<source>
<context value="src"/>
<element value="ownedBy"/>
<variable value="vOwnedBy"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="ownedBy"/>
<transform value="copy"/>
<parameter>
<valueId value="vOwnedBy"/>
</parameter>
</target>
</rule>
<rule>
<name value="administeredBy"/>
<source>
<context value="src"/>
<element value="administeredBy"/>
<variable value="vAdministeredBy"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="administeredBy"/>
<transform value="copy"/>
<parameter>
<valueId value="vAdministeredBy"/>
</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="contact"/>
<source>
<context value="src"/>
<element value="contact"/>
<variable value="vContact"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="contact"/>
<transform value="copy"/>
<parameter>
<valueId value="vContact"/>
</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="network"/>
<source>
<context value="src"/>
<element value="network"/>
<variable value="vNetwork"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="network"/>
<transform value="copy"/>
<parameter>
<valueId value="vNetwork"/>
</parameter>
</target>
</rule>
<rule>
<name value="coverage"/>
<source>
<context value="src"/>
<element value="coverage"/>
<variable value="vCoverage"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="coverage"/>
<transform value="copy"/>
<parameter>
<valueId value="vCoverage"/>
</parameter>
</target>
</rule>
<rule>
<name value="plan"/>
<source>
<context value="src"/>
<element value="plan"/>
<variable value="vPlan"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="plan"/>
<transform value="copy"/>
<parameter>
<valueId value="vPlan"/>
</parameter>
</target>
</rule>
<rule>
<name value="meta"/>
<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="lastUpdated"/>
<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>