@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhOrganizationAffiliationSM> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "PlanNetToNdhOrganizationAffiliationSM"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap PlanNetToNdhOrganizationAffiliationSM</b></p><a name=\"PlanNetToNdhOrganizationAffiliationSM\"> </a><a name=\"hcPlanNetToNdhOrganizationAffiliationSM\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhOrganizationAffiliationSM<span style=\"color: navy\">\" = \"</span>PlanNetToNdhOrganizationAffiliationSM<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 OrganizationAffiliation to NDH OrganizationAffiliation.</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-OrganizationAffiliation.html\" title=\"Plan-Net OrganizationAffiliation\">http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-OrganizationAffiliation</a><span style=\"color: navy\">\" </span><b>alias </b>Source <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-ndh-OrganizationAffiliation.html\" title=\"NDH OrganizationAffiliation Profile\">http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-OrganizationAffiliation</a><span style=\"color: navy\">\" </span><b>alias </b>Target <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>PlanNetToNdhOrganizationAffiliation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>OrganizationAffiliation, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>OrganizationAffiliation<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</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>#xD;\n  src.organization<b> as </b><span style=\"color: maroon\">vOrganization</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.organization = <span style=\"color: maroon\">vOrganization</span><span style=\"color: navy\">;</span>#xD;\n  src.participatingOrganization<b> as </b><span style=\"color: maroon\">vParticipatingOrganization</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.participatingOrganization = <span style=\"color: maroon\">vParticipatingOrganization</span><span style=\"color: navy\">;</span>#xD;\n  src.network<b> as </b><span style=\"color: maroon\">vNetwork</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.network = <span style=\"color: maroon\">vNetwork</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.healthcareService<b> as </b><span style=\"color: maroon\">vHealthcareService</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.healthcareService = <span style=\"color: maroon\">vHealthcareService</span><span style=\"color: navy\">;</span>#xD;\n  src.telecom<b> as </b><span style=\"color: maroon\">vTelecom</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.telecom = <span style=\"color: maroon\">vTelecom</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.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><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "pa"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 4 ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>
         ] ;
         fhir:value [
           a fhir:Canonical ;
           fhir:v "http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh>
         ]
       ] )
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "trial-use" ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>
         ] ;
         fhir:value [
           a fhir:Canonical ;
           fhir:v "http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh>
         ]
       ] )
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhOrganizationAffiliationSM"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/us/ndh/StructureMap/PlanNetToNdhOrganizationAffiliationSM>
  ] ; # 
  fhir:version [ fhir:v "2.0.0-current"] ; # 
  fhir:name [ fhir:v "PlanNetToNdhOrganizationAffiliationSM"] ; # 
  fhir:title [ fhir:v "This StructureMap defines the mapping from Plan-Net OrganizationAffiliation to NDH OrganizationAffiliation."] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2026-05-29T16:56:26+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / Patient Administration"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "HL7 International / Patient Administration" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/pafm" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "pafm@lists.hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This StructureMap defines the mapping from Plan-Net OrganizationAffiliation to NDH OrganizationAffiliation."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "US" ] ;
       fhir:display [ fhir:v "United States of America" ]
     ] )
  ] ) ; # 
  fhir:structure ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-OrganizationAffiliation"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-OrganizationAffiliation>
     ] ;
     fhir:mode [ fhir:v "source" ] ;
     fhir:alias [ fhir:v "Source" ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-OrganizationAffiliation"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-OrganizationAffiliation>
     ] ;
     fhir:mode [ fhir:v "target" ] ;
     fhir:alias [ fhir:v "Target" ]
  ] ) ; # 
  fhir:group ( [
     fhir:name [ fhir:v "PlanNetToNdhOrganizationAffiliation" ] ;
     fhir:typeMode [ fhir:v "none" ] ;
     fhir:input ( [
       fhir:name [ fhir:v "src" ] ;
       fhir:type [ fhir:v "OrganizationAffiliation" ] ;
       fhir:mode [ fhir:v "source" ]
     ] [
       fhir:name [ fhir:v "tgt" ] ;
       fhir:type [ fhir:v "OrganizationAffiliation" ] ;
       fhir:mode [ fhir:v "target" ]
     ] ) ;
     fhir:rule ( [
       fhir:name [ fhir:v "identifier" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "identifier" ] ;
         fhir:variable [ fhir:v "vIdentifier" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "identifier" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "vIdentifier"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "organization" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "organization" ] ;
         fhir:variable [ fhir:v "vOrganization" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "organization" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "vOrganization"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "participatingOrganization" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "participatingOrganization" ] ;
         fhir:variable [ fhir:v "vParticipatingOrganization" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "participatingOrganization" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "vParticipatingOrganization"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "network" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "network" ] ;
         fhir:variable [ fhir:v "vNetwork" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "network" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "vNetwork"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "location" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "location" ] ;
         fhir:variable [ fhir:v "vLocation" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "location" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "vLocation"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "healthcareService" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "healthcareService" ] ;
         fhir:variable [ fhir:v "vHealthcareService" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "healthcareService" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "vHealthcareService"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "telecom" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "telecom" ] ;
         fhir:variable [ fhir:v "vTelecom" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "telecom" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "vTelecom"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "endpoint" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "endpoint" ] ;
         fhir:variable [ fhir:v "vEndpoint" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "endpoint" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "vEndpoint"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "meta" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "meta" ] ;
         fhir:variable [ fhir:v "vMetaSrc" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "meta" ] ;
         fhir:variable [ fhir:v "vMetaTgt" ]
       ] ) ;
       fhir:rule ( [
         fhir:name [ fhir:v "lastUpdated" ] ;
         fhir:source ( [
           fhir:context [ fhir:v "vMetaSrc" ] ;
           fhir:element [ fhir:v "lastUpdated" ] ;
           fhir:variable [ fhir:v "vLastUpdated" ]
         ] ) ;
         fhir:target ( [
           fhir:context [ fhir:v "vMetaTgt" ] ;
           fhir:contextType [ fhir:v "variable" ] ;
           fhir:element [ fhir:v "lastUpdated" ] ;
           fhir:transform [ fhir:v "copy" ] ;
           fhir:parameter ( [
             fhir:value [
               a fhir:Id ;
               fhir:v "vLastUpdated"
             ]
           ] )
         ] )
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

