FHIR Cross-Version Mapping Pack
0.1.0 - Ballot for Release 5.1.0 International flag

FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions

: ConceptMap Transforms: R2 to R3 - TTL Representation

Page standards status: Draft Maturity Level: 1

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

 a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ConceptMap2to3"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/ConceptMap2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ConceptMap2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'ConceptMap Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/1.0/ConceptMap<span style=\"color: navy\">&quot; </span><b>alias </b>ConceptMapR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/ConceptMap<span style=\"color: navy\">&quot; </span><b>alias </b>ConceptMap <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-primitives2to3.html\" title=\"Primitive Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/primitives2to3</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-DomainResource2to3.html\" title=\"DomainResource Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/DomainResource2to3</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-CodeableConcept2to3.html\" title=\"CodeableConcept Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/CodeableConcept2to3</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-ContactPoint2to3.html\" title=\"ContactPoint Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/ContactPoint2to3</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-Identifier2to3.html\" title=\"Identifier Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/Identifier2to3</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-Reference2to3.html\" title=\"Reference Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/Reference2to3</a><span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>ConceptMap<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ConceptMapR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ConceptMap<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  src.url<span style=\"color: navy\"><b> -&gt; </b></span>tgt.url <i>&quot;ConceptMap-url&quot;</i><span style=\"color: navy\">;</span>\r\n  src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;ConceptMap-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n  src.version<span style=\"color: navy\"><b> -&gt; </b></span>tgt.version <i>&quot;ConceptMap-version&quot;</i><span style=\"color: navy\">;</span>\r\n  src.name<span style=\"color: navy\"><b> -&gt; </b></span>tgt.name <i>&quot;ConceptMap-name&quot;</i><span style=\"color: navy\">;</span>\r\n  src.status<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status <i>&quot;ConceptMap-status&quot;</i><span style=\"color: navy\">;</span>\r\n  src.experimental<span style=\"color: navy\"><b> -&gt; </b></span>tgt.experimental <i>&quot;ConceptMap-experimental&quot;</i><span style=\"color: navy\">;</span>\r\n  src.publisher<span style=\"color: navy\"><b> -&gt; </b></span>tgt.publisher <i>&quot;ConceptMap-publisher&quot;</i><span style=\"color: navy\">;</span>\r\n  src.contact<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.contact<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    vs0.name<span style=\"color: navy\"><b> -&gt; </b></span>vt0.name <i>&quot;ContactDetail-name&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.telecom<span style=\"color: navy\"><b> -&gt; </b></span>vt0.telecom <i>&quot;ContactDetail-telecom&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;ConceptMap-contact&quot;</i><span style=\"color: navy\">;</span>\r\n  src.date<span style=\"color: navy\"><b> -&gt; </b></span>tgt.date <i>&quot;ConceptMap-date&quot;</i><span style=\"color: navy\">;</span>\r\n  src.description<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description <i>&quot;ConceptMap-description&quot;</i><span style=\"color: navy\">;</span>\r\n  src.requirements<span style=\"color: navy\"><b> -&gt; </b></span>tgt.purpose <i>&quot;ConceptMap-purpose&quot;</i><span style=\"color: navy\">;</span>\r\n  src.copyright<span style=\"color: navy\"><b> -&gt; </b></span>tgt.copyright <i>&quot;ConceptMap-copyright&quot;</i><span style=\"color: navy\">;</span>\r\n  src.useContext<b> where </b>coding.system = 'urn:iso:std:iso:3166'<span style=\"color: navy\"><b> -&gt; </b></span>tgt.jurisdiction <i>&quot;ConceptMap-jurisdiction&quot;</i><span style=\"color: navy\">;</span>\r\n  src.useContext<b> as </b><span style=\"color: maroon\">vs</span><b> where </b>(coding.system = 'urn:iso:std:iso:3166').not()<span style=\"color: navy\"><b> -&gt; </b></span> tgt.useContext<b> as </b><span style=\"color: maroon\">uc</span><span style=\"color: navy\">, </span> uc.code<b> as </b><span style=\"color: maroon\">ucc</span><span style=\"color: navy\">, </span> ucc.system = <span style=\"color: blue\">'http://hl7.org/fhir/usage-context-type'</span><span style=\"color: navy\">, </span> ucc.code = <span style=\"color: blue\">'task'</span><span style=\"color: navy\">, </span> uc.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\">vt</span><b> then </b>CodeableConcept<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>&quot;ConceptMap-useContext&quot;</i><span style=\"color: navy\">;</span>\r\n  src.source<span style=\"color: navy\"><b> -&gt; </b></span>tgt.source <i>&quot;ConceptMap-source&quot;</i><span style=\"color: navy\">;</span>\r\n  src.target<span style=\"color: navy\"><b> -&gt; </b></span>tgt.target <i>&quot;ConceptMap-target&quot;</i><span style=\"color: navy\">;</span>\r\n  src.element<b> as </b><span style=\"color: maroon\">srcE</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    srcE.target<b> as </b><span style=\"color: maroon\">srcT</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.group<b> as </b><span style=\"color: maroon\">tgtGrp</span><span style=\"color: navy\">, </span> tgtGrp.element<b> as </b><span style=\"color: maroon\">tgtE</span><span style=\"color: navy\">, </span> tgtE.target<b> as </b><span style=\"color: maroon\">tgtT</span><b> then</b><span style=\"color: navy\"> {\r\n</span>      srcE.codeSystem<span style=\"color: navy\"><b> -&gt; </b></span>tgtGrp.source <i>&quot;ConceptMap-element-3&quot;</i><span style=\"color: navy\">;</span>\r\n      srcT.codeSystem<span style=\"color: navy\"><b> -&gt; </b></span>tgtGrp.target <i>&quot;ConceptMap-element-4&quot;</i><span style=\"color: navy\">;</span>\r\n      srcE.code<span style=\"color: navy\"><b> -&gt; </b></span>tgtE.code <i>&quot;ConceptMap-element-code&quot;</i><span style=\"color: navy\">;</span>\r\n      srcT.code<span style=\"color: navy\"><b> -&gt; </b></span>tgtT.code <i>&quot;ConceptMap-target-element&quot;</i><span style=\"color: navy\">;</span>\r\n      srcT.equivalence<span style=\"color: navy\"><b> -&gt; </b></span>tgtT.equivalence <i>&quot;ConceptMap-target-equivalence&quot;</i><span style=\"color: navy\">;</span>\r\n      srcT.comments<span style=\"color: navy\"><b> -&gt; </b></span>tgtT.comment <i>&quot;ConceptMap-target-comments&quot;</i><span style=\"color: navy\">;</span>\r\n      srcT.dependsOn<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtT.dependsOn<b> as </b><span style=\"color: maroon\">vt</span><b> then</b><span style=\"color: navy\"> {\r\n</span>        vs.element<span style=\"color: navy\"><b> -&gt; </b></span>vt.property <i>&quot;ConceptMap-target-dependsOn-element&quot;</i><span style=\"color: navy\">;</span>\r\n        vs.codeSystem<span style=\"color: navy\"><b> -&gt; </b></span>vt.system <i>&quot;ConceptMap-target-dependsOn-codeSystem&quot;</i><span style=\"color: navy\">;</span>\r\n        vs.code<span style=\"color: navy\"><b> -&gt; </b></span>vt.code <i>&quot;ConceptMap-target-dependsOn-code&quot;</i><span style=\"color: navy\">;</span>\r\n      <span style=\"color: navy\">}</span> <i>&quot;ConceptMap-target-dependsOn&quot;</i><span style=\"color: navy\">;</span>\r\n      srcT.product<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgtT.product<b> as </b><span style=\"color: maroon\">vt</span><b> then</b><span style=\"color: navy\"> {\r\n</span>        vs.element<span style=\"color: navy\"><b> -&gt; </b></span>vt.property <i>&quot;ConceptMap-target-product-element&quot;</i><span style=\"color: navy\">;</span>\r\n        vs.codeSystem<span style=\"color: navy\"><b> -&gt; </b></span>vt.system <i>&quot;ConceptMap-target-product-codeSystem&quot;</i><span style=\"color: navy\">;</span>\r\n        vs.code<span style=\"color: navy\"><b> -&gt; </b></span>vt.code <i>&quot;ConceptMap-target-product-code&quot;</i><span style=\"color: navy\">;</span>\r\n      <span style=\"color: navy\">}</span> <i>&quot;ConceptMap-target-product&quot;</i><span style=\"color: navy\">;</span>\r\n    <span style=\"color: navy\">}</span> <i>&quot;ConceptMap-element-2&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;ConceptMap-element-1&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "fhir" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [
fhir:v "1"^^xsd:integer ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver>         ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
fhir:v "draft" ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver>         ]       ] )     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/StructureMap/ConceptMap2to3"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "ConceptMap2to3"] ; # 
  fhir:title [ fhir:v "ConceptMap Transforms: R2 to R3"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2024-02-22T03:16:50+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "ConceptMapTransformsR2toR3"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:structure ( [
fhir:url [
fhir:v "http://hl7.org/fhir/1.0/ConceptMap"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/1.0/ConceptMap>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "ConceptMapR2" ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/3.0/ConceptMap"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/3.0/ConceptMap>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "ConceptMap" ]
  ] ) ; # 
  fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/primitives2to3"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/primitives2to3>
  ] [
fhir:v "http://hl7.org/fhir/StructureMap/DomainResource2to3"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/DomainResource2to3>
  ] [
fhir:v "http://hl7.org/fhir/StructureMap/CodeableConcept2to3"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/CodeableConcept2to3>
  ] [
fhir:v "http://hl7.org/fhir/StructureMap/ContactPoint2to3"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/ContactPoint2to3>
  ] [
fhir:v "http://hl7.org/fhir/StructureMap/Identifier2to3"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/Identifier2to3>
  ] [
fhir:v "http://hl7.org/fhir/StructureMap/Reference2to3"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/Reference2to3>
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "ConceptMap" ] ;
fhir:extends [ fhir:v "DomainResource" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "ConceptMapR2" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "ConceptMap" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "ConceptMap-url" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "url" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "url" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-identifier" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "identifier" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "identifier" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-version" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "version" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "version" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-name" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "name" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "name" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-status" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-experimental" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "experimental" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "experimental" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-publisher" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "publisher" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "publisher" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-contact" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "contact" ] ;
fhir:variable [ fhir:v "vs0" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "contact" ] ;
fhir:variable [ fhir:v "vt0" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "ContactDetail-name" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "name" ] ;
fhir:variable [ fhir:v "vvv" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "name" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]         ] ) ;
        ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]           ] [
fhir:value [ fhir:v "vvv" ]           ] )         ] )       ] [
fhir:name [ fhir:v "ContactDetail-telecom" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "telecom" ] ;
fhir:variable [ fhir:v "vvv" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "telecom" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]         ] ) ;
        ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]           ] [
fhir:value [ fhir:v "vvv" ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-date" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "date" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "date" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-description" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "description" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "description" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-purpose" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "requirements" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "purpose" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-copyright" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "copyright" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "copyright" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-jurisdiction" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "useContext" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:condition [ fhir:v "coding.system = 'urn:iso:std:iso:3166'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "jurisdiction" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-useContext" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "useContext" ] ;
fhir:variable [ fhir:v "vs" ] ;
fhir:condition [ fhir:v "(coding.system = 'urn:iso:std:iso:3166').not()" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "useContext" ] ;
fhir:variable [ fhir:v "uc" ]       ] [
fhir:context [ fhir:v "uc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "ucc" ]       ] [
fhir:context [ fhir:v "ucc" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "http://hl7.org/fhir/usage-context-type" ]         ] )       ] [
fhir:context [ fhir:v "ucc" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "task" ]         ] )       ] [
fhir:context [ fhir:v "uc" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:variable [ fhir:v "vt" ] ;
fhir:transform [ fhir:v "create" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "CodeableConcept" ]         ] )       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "CodeableConcept" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vs" ]         ] [
fhir:value [ fhir:v "vt" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-source" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "source" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "source" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-target" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "target" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "target" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]         ] [
fhir:value [ fhir:v "vvv" ]         ] )       ] )     ] [
fhir:name [ fhir:v "ConceptMap-element-1" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:variable [ fhir:v "srcE" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "ConceptMap-element-2" ] ;
        ( fhir:source [
fhir:context [ fhir:v "srcE" ] ;
fhir:element [ fhir:v "target" ] ;
fhir:variable [ fhir:v "srcT" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "group" ] ;
fhir:variable [ fhir:v "tgtGrp" ]         ] [
fhir:context [ fhir:v "tgtGrp" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:variable [ fhir:v "tgtE" ]         ] [
fhir:context [ fhir:v "tgtE" ] ;
fhir:element [ fhir:v "target" ] ;
fhir:variable [ fhir:v "tgtT" ]         ] ) ;
        ( fhir:rule [
fhir:name [ fhir:v "ConceptMap-element-3" ] ;
          ( fhir:source [
fhir:context [ fhir:v "srcE" ] ;
fhir:element [ fhir:v "codeSystem" ] ;
fhir:variable [ fhir:v "vvv" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "tgtGrp" ] ;
fhir:element [ fhir:v "source" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]           ] ) ;
          ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]             ] [
fhir:value [ fhir:v "vvv" ]             ] )           ] )         ] [
fhir:name [ fhir:v "ConceptMap-element-4" ] ;
          ( fhir:source [
fhir:context [ fhir:v "srcT" ] ;
fhir:element [ fhir:v "codeSystem" ] ;
fhir:variable [ fhir:v "vvv" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "tgtGrp" ] ;
fhir:element [ fhir:v "target" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]           ] ) ;
          ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]             ] [
fhir:value [ fhir:v "vvv" ]             ] )           ] )         ] [
fhir:name [ fhir:v "ConceptMap-element-code" ] ;
          ( fhir:source [
fhir:context [ fhir:v "srcE" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "tgtE" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]           ] ) ;
          ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]             ] [
fhir:value [ fhir:v "vvv" ]             ] )           ] )         ] [
fhir:name [ fhir:v "ConceptMap-target-element" ] ;
          ( fhir:source [
fhir:context [ fhir:v "srcT" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "tgtT" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]           ] ) ;
          ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]             ] [
fhir:value [ fhir:v "vvv" ]             ] )           ] )         ] [
fhir:name [ fhir:v "ConceptMap-target-equivalence" ] ;
          ( fhir:source [
fhir:context [ fhir:v "srcT" ] ;
fhir:element [ fhir:v "equivalence" ] ;
fhir:variable [ fhir:v "vvv" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "tgtT" ] ;
fhir:element [ fhir:v "equivalence" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]           ] ) ;
          ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]             ] [
fhir:value [ fhir:v "vvv" ]             ] )           ] )         ] [
fhir:name [ fhir:v "ConceptMap-target-comments" ] ;
          ( fhir:source [
fhir:context [ fhir:v "srcT" ] ;
fhir:element [ fhir:v "comments" ] ;
fhir:variable [ fhir:v "vvv" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "tgtT" ] ;
fhir:element [ fhir:v "comment" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]           ] ) ;
          ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
            ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]             ] [
fhir:value [ fhir:v "vvv" ]             ] )           ] )         ] [
fhir:name [ fhir:v "ConceptMap-target-dependsOn" ] ;
          ( fhir:source [
fhir:context [ fhir:v "srcT" ] ;
fhir:element [ fhir:v "dependsOn" ] ;
fhir:variable [ fhir:v "vs" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "tgtT" ] ;
fhir:element [ fhir:v "dependsOn" ] ;
fhir:variable [ fhir:v "vt" ]           ] ) ;
          ( fhir:rule [
fhir:name [ fhir:v "ConceptMap-target-dependsOn-element" ] ;
            ( fhir:source [
fhir:context [ fhir:v "vs" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:variable [ fhir:v "vvv" ]             ] ) ;
            ( fhir:target [
fhir:context [ fhir:v "vt" ] ;
fhir:element [ fhir:v "property" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]             ] ) ;
            ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
              ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]               ] [
fhir:value [ fhir:v "vvv" ]               ] )             ] )           ] [
fhir:name [ fhir:v "ConceptMap-target-dependsOn-codeSystem" ] ;
            ( fhir:source [
fhir:context [ fhir:v "vs" ] ;
fhir:element [ fhir:v "codeSystem" ] ;
fhir:variable [ fhir:v "vvv" ]             ] ) ;
            ( fhir:target [
fhir:context [ fhir:v "vt" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]             ] ) ;
            ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
              ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]               ] [
fhir:value [ fhir:v "vvv" ]               ] )             ] )           ] [
fhir:name [ fhir:v "ConceptMap-target-dependsOn-code" ] ;
            ( fhir:source [
fhir:context [ fhir:v "vs" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ]             ] ) ;
            ( fhir:target [
fhir:context [ fhir:v "vt" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]             ] ) ;
            ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
              ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]               ] [
fhir:value [ fhir:v "vvv" ]               ] )             ] )           ] )         ] [
fhir:name [ fhir:v "ConceptMap-target-product" ] ;
          ( fhir:source [
fhir:context [ fhir:v "srcT" ] ;
fhir:element [ fhir:v "product" ] ;
fhir:variable [ fhir:v "vs" ]           ] ) ;
          ( fhir:target [
fhir:context [ fhir:v "tgtT" ] ;
fhir:element [ fhir:v "product" ] ;
fhir:variable [ fhir:v "vt" ]           ] ) ;
          ( fhir:rule [
fhir:name [ fhir:v "ConceptMap-target-product-element" ] ;
            ( fhir:source [
fhir:context [ fhir:v "vs" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:variable [ fhir:v "vvv" ]             ] ) ;
            ( fhir:target [
fhir:context [ fhir:v "vt" ] ;
fhir:element [ fhir:v "property" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]             ] ) ;
            ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
              ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]               ] [
fhir:value [ fhir:v "vvv" ]               ] )             ] )           ] [
fhir:name [ fhir:v "ConceptMap-target-product-codeSystem" ] ;
            ( fhir:source [
fhir:context [ fhir:v "vs" ] ;
fhir:element [ fhir:v "codeSystem" ] ;
fhir:variable [ fhir:v "vvv" ]             ] ) ;
            ( fhir:target [
fhir:context [ fhir:v "vt" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]             ] ) ;
            ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
              ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]               ] [
fhir:value [ fhir:v "vvv" ]               ] )             ] )           ] [
fhir:name [ fhir:v "ConceptMap-target-product-code" ] ;
            ( fhir:source [
fhir:context [ fhir:v "vs" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ]             ] ) ;
            ( fhir:target [
fhir:context [ fhir:v "vt" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ]             ] ) ;
            ( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
              ( fhir:parameter [
fhir:value [ fhir:v "vvv" ]               ] [
fhir:value [ fhir:v "vvv" ]               ] )             ] )           ] )         ] )       ] )     ] )
  ] ) . #