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

: StructureDefinition 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 "StructureDefinition2to3"] ; # 
  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/StructureDefinition2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'StructureDefinition2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'StructureDefinition 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/StructureDefinition<span style=\"color: navy\">&quot; </span><b>alias </b>StructureDefinitionR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/StructureDefinition<span style=\"color: navy\">&quot; </span><b>alias </b>StructureDefinition <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>StructureDefinition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>StructureDefinitionR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>StructureDefinition<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;StructureDefinition-url&quot;</i><span style=\"color: navy\">;</span>\r\n  src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;StructureDefinition-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n  src.version<span style=\"color: navy\"><b> -&gt; </b></span>tgt.version <i>&quot;StructureDefinition-version&quot;</i><span style=\"color: navy\">;</span>\r\n  src.name<span style=\"color: navy\"><b> -&gt; </b></span>tgt.name <i>&quot;StructureDefinition-name&quot;</i><span style=\"color: navy\">;</span>\r\n  src.display<span style=\"color: navy\"><b> -&gt; </b></span>tgt.title <i>&quot;StructureDefinition-title&quot;</i><span style=\"color: navy\">;</span>\r\n  src.status<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status <i>&quot;StructureDefinition-status&quot;</i><span style=\"color: navy\">;</span>\r\n  src.experimental<span style=\"color: navy\"><b> -&gt; </b></span>tgt.experimental <i>&quot;StructureDefinition-experimental&quot;</i><span style=\"color: navy\">;</span>\r\n  src.publisher<span style=\"color: navy\"><b> -&gt; </b></span>tgt.publisher <i>&quot;StructureDefinition-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;StructureDefinition-contact&quot;</i><span style=\"color: navy\">;</span>\r\n  src.date<span style=\"color: navy\"><b> -&gt; </b></span>tgt.date <i>&quot;StructureDefinition-date&quot;</i><span style=\"color: navy\">;</span>\r\n  src.description<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description <i>&quot;StructureDefinition-description&quot;</i><span style=\"color: navy\">;</span>\r\n  src.requirements<span style=\"color: navy\"><b> -&gt; </b></span>tgt.purpose <i>&quot;StructureDefinition-purpose&quot;</i><span style=\"color: navy\">;</span>\r\n  src.copyright<span style=\"color: navy\"><b> -&gt; </b></span>tgt.copyright <i>&quot;StructureDefinition-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;StructureDefinition-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> 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;StructureDefinition-useContext&quot;</i><span style=\"color: navy\">;</span>\r\n  src.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.keyword <i>&quot;StructureDefinition-keyword&quot;</i><span style=\"color: navy\">;</span>\r\n  src.fhirVersion<span style=\"color: navy\"><b> -&gt; </b></span>tgt.fhirVersion <i>&quot;StructureDefinition-fhirVersion&quot;</i><span style=\"color: navy\">;</span>\r\n  src.mapping<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.mapping<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    vs0.identity<span style=\"color: navy\"><b> -&gt; </b></span>vt0.identity <i>&quot;mapping-identity&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.uri<span style=\"color: navy\"><b> -&gt; </b></span>vt0.uri <i>&quot;mapping-uri&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.name<span style=\"color: navy\"><b> -&gt; </b></span>vt0.name <i>&quot;mapping-name&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.comments<span style=\"color: navy\"><b> -&gt; </b></span>vt0.comment <i>&quot;mapping-comments&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;StructureDefinition-mapping&quot;</i><span style=\"color: navy\">;</span>\r\n  src<b> where </b>constrainedType.empty()<span style=\"color: navy\"><b> -&gt; </b></span>tgt.derivation = <span style=\"color: blue\">'specialization'</span> <i>&quot;StructureDefinition-derivation-1&quot;</i><span style=\"color: navy\">;</span>\r\n  src.id<b> as </b><span style=\"color: maroon\">vs</span><b> where </b>src.constrainedType.empty()<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type = <span style=\"color: maroon\">vs</span> <i>&quot;StructureDefinition-type-1&quot;</i><span style=\"color: navy\">;</span>\r\n  src<b> where </b>constrainedType.exists()<span style=\"color: navy\"><b> -&gt; </b></span>tgt.derivation = <span style=\"color: blue\">'constraint'</span> <i>&quot;StructureDefinition-derivation-2&quot;</i><span style=\"color: navy\">;</span>\r\n  src.constrainedType<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.type = <span style=\"color: maroon\">vs</span> <i>&quot;StructureDefinition-type-2&quot;</i><span style=\"color: navy\">;</span>\r\n  src.kind<b> where </b>$this = 'logical'<span style=\"color: navy\"><b> -&gt; </b></span>tgt.kind <i>&quot;StructureDefinition-kind-1&quot;</i><span style=\"color: navy\">;</span>\r\n  src.kind<b> where </b>$this = 'resource'<span style=\"color: navy\"><b> -&gt; </b></span>tgt.kind <i>&quot;StructureDefinition-kind-2&quot;</i><span style=\"color: navy\">;</span>\r\n  src.kind<b> as </b><span style=\"color: maroon\">vt</span><b> where </b>($this = 'datatype') and (src.id in ('boolean' | 'integer' | 'string' | 'decimal' | 'uri' | 'base64Binary' | 'instant' | 'date' | 'dateTime' | 'time' | 'code' | 'oid' | 'id' | 'markdown' | 'unsignedInt' | 'positiveInt'))<span style=\"color: navy\"><b> -&gt; </b></span>tgt.kind = <span style=\"color: blue\">'primitive-type'</span><b> as </b><span style=\"color: maroon\">vt</span> <i>&quot;StructureDefinition-kind-3&quot;</i><span style=\"color: navy\">;</span>\r\n  src.kind<b> as </b><span style=\"color: maroon\">vt</span><b> where </b>($this = 'datatype') and (src.id in ('boolean' | 'integer' | 'string' | 'decimal' | 'uri' | 'base64Binary' | 'instant' | 'date' | 'dateTime' | 'time' | 'code' | 'oid' | 'id' | 'markdown' | 'unsignedInt' | 'positiveInt')).not()<span style=\"color: navy\"><b> -&gt; </b></span>tgt.kind = <span style=\"color: blue\">'complex-type'</span><b> as </b><span style=\"color: maroon\">vt</span> <i>&quot;StructureDefinition-kind-4&quot;</i><span style=\"color: navy\">;</span>\r\n  src.abstract<span style=\"color: navy\"><b> -&gt; </b></span>tgt.abstract <i>&quot;StructureDefinition-abstract&quot;</i><span style=\"color: navy\">;</span>\r\n  src.contextType<span style=\"color: navy\"><b> -&gt; </b></span>tgt.contextType <i>&quot;StructureDefinition-contextType&quot;</i><span style=\"color: navy\">;</span>\r\n  src.context<span style=\"color: navy\"><b> -&gt; </b></span>tgt.context <i>&quot;StructureDefinition-context&quot;</i><span style=\"color: navy\">;</span>\r\n  src.constrainedType<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type <i>&quot;StructureDefinition-type&quot;</i><span style=\"color: navy\">;</span>\r\n  src.base<span style=\"color: navy\"><b> -&gt; </b></span>tgt.baseDefinition <i>&quot;StructureDefinition-baseDefinition&quot;</i><span style=\"color: navy\">;</span>\r\n  src.snapshot<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.snapshot<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    vs0.element first<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span> vt0.element<b> as </b><span style=\"color: maroon\">vt</span><span style=\"color: navy\">, </span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'boolean'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">first</span><span style=\"color: navy\">, </span> first.value = <span style=\"color: blue\">'true'</span><b> then </b>ElementDefinition<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><span style=\"color: maroon\">first</span><span style=\"color: navy\">)</span> <i>&quot;snapshot-element-1&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.element not_first<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span> vt0.element<b> as </b><span style=\"color: maroon\">vt</span><span style=\"color: navy\">, </span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'boolean'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">first</span><span style=\"color: navy\">, </span> first.value = <span style=\"color: blue\">'false'</span><b> then </b>ElementDefinition<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><span style=\"color: maroon\">first</span><span style=\"color: navy\">)</span> <i>&quot;snapshot-element-2&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;StructureDefinition-snapshot&quot;</i><span style=\"color: navy\">;</span>\r\n  src.differential first<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.differential<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    vs0.element first<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span> vt0.element<b> as </b><span style=\"color: maroon\">vt</span><span style=\"color: navy\">, </span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'boolean'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">first</span><span style=\"color: navy\">, </span> first.value = <span style=\"color: blue\">'true'</span><b> then </b>ElementDefinition<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><span style=\"color: maroon\">first</span><span style=\"color: navy\">)</span> <i>&quot;differential-element-1&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.element not_first<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span> vt0.element<b> as </b><span style=\"color: maroon\">vt</span><span style=\"color: navy\">, </span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'boolean'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">first</span><span style=\"color: navy\">, </span> first.value = <span style=\"color: blue\">'false'</span><b> then </b>ElementDefinition<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><span style=\"color: maroon\">first</span><span style=\"color: navy\">)</span> <i>&quot;differential-element-2&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;StructureDefinition-differential&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/StructureDefinition2to3"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "StructureDefinition2to3"] ; # 
  fhir:title [ fhir:v "StructureDefinition 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 "StructureDefinitionTransformsR2toR3"] ; # 
  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/StructureDefinition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/1.0/StructureDefinition>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "StructureDefinitionR2" ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/3.0/StructureDefinition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/3.0/StructureDefinition>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "StructureDefinition" ]
  ] ) ; # 
  fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/*2to3"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/*2to3>
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "StructureDefinition" ] ;
fhir:extends [ fhir:v "DomainResource" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "StructureDefinitionR2" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "StructureDefinition" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-title" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "title" ] ;
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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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 "StructureDefinition-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:dependent [
fhir:name [ fhir:v "CodeableConcept" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vs" ]         ] [
fhir:value [ fhir:v "vt" ]         ] )       ] )     ] [
fhir:name [ fhir:v "StructureDefinition-keyword" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "keyword" ] ;
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 "StructureDefinition-fhirVersion" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "fhirVersion" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "fhirVersion" ] ;
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 "StructureDefinition-mapping" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "mapping" ] ;
fhir:variable [ fhir:v "vs0" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "mapping" ] ;
fhir:variable [ fhir:v "vt0" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "mapping-identity" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "identity" ] ;
fhir:variable [ fhir:v "vvv" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "identity" ] ;
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 "mapping-uri" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "uri" ] ;
fhir:variable [ fhir:v "vvv" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "uri" ] ;
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 "mapping-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 "mapping-comments" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "comments" ] ;
fhir:variable [ fhir:v "vvv" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
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 "StructureDefinition-derivation-1" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:condition [ fhir:v "constrainedType.empty()" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "derivation" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "specialization" ]         ] )       ] )     ] [
fhir:name [ fhir:v "StructureDefinition-type-1" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "id" ] ;
fhir:variable [ fhir:v "vs" ] ;
fhir:condition [ fhir:v "src.constrainedType.empty()" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vs" ]         ] )       ] )     ] [
fhir:name [ fhir:v "StructureDefinition-derivation-2" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:condition [ fhir:v "constrainedType.exists()" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "derivation" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "constraint" ]         ] )       ] )     ] [
fhir:name [ fhir:v "StructureDefinition-type-2" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "constrainedType" ] ;
fhir:variable [ fhir:v "vs" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "vs" ]         ] )       ] )     ] [
fhir:name [ fhir:v "StructureDefinition-kind-1" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "kind" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:condition [ fhir:v "$this = 'logical'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "kind" ] ;
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 "StructureDefinition-kind-2" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "kind" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:condition [ fhir:v "$this = 'resource'" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "kind" ] ;
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 "StructureDefinition-kind-3" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "kind" ] ;
fhir:variable [ fhir:v "vt" ] ;
fhir:condition [ fhir:v "($this = 'datatype') and (src.id in ('boolean' | 'integer' | 'string' | 'decimal' | 'uri' | 'base64Binary' | 'instant' | 'date' | 'dateTime' | 'time' | 'code' | 'oid' | 'id' | 'markdown' | 'unsignedInt' | 'positiveInt'))" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "kind" ] ;
fhir:variable [ fhir:v "vt" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "primitive-type" ]         ] )       ] )     ] [
fhir:name [ fhir:v "StructureDefinition-kind-4" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "kind" ] ;
fhir:variable [ fhir:v "vt" ] ;
fhir:condition [ fhir:v "($this = 'datatype') and (src.id in ('boolean' | 'integer' | 'string' | 'decimal' | 'uri' | 'base64Binary' | 'instant' | 'date' | 'dateTime' | 'time' | 'code' | 'oid' | 'id' | 'markdown' | 'unsignedInt' | 'positiveInt')).not()" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "kind" ] ;
fhir:variable [ fhir:v "vt" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "complex-type" ]         ] )       ] )     ] [
fhir:name [ fhir:v "StructureDefinition-abstract" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "abstract" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "abstract" ] ;
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 "StructureDefinition-contextType" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "contextType" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "contextType" ] ;
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 "StructureDefinition-context" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "context" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "context" ] ;
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 "StructureDefinition-type" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "constrainedType" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "type" ] ;
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 "StructureDefinition-baseDefinition" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "base" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "baseDefinition" ] ;
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 "StructureDefinition-snapshot" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "snapshot" ] ;
fhir:variable [ fhir:v "vs0" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "snapshot" ] ;
fhir:variable [ fhir:v "vt0" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "snapshot-element-1" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:listMode [ fhir:v "first" ] ;
fhir:variable [ fhir:v "vs" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:variable [ fhir:v "vt" ]         ] [
fhir:variable [ fhir:v "first" ] ;
fhir:transform [ fhir:v "create" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "boolean" ]           ] )         ] [
fhir:context [ fhir:v "first" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "true" ]           ] )         ] ) ;
        ( fhir:dependent [
fhir:name [ fhir:v "ElementDefinition" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "vs" ]           ] [
fhir:value [ fhir:v "vt" ]           ] [
fhir:value [ fhir:v "first" ]           ] )         ] )       ] [
fhir:name [ fhir:v "snapshot-element-2" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:listMode [ fhir:v "not_first" ] ;
fhir:variable [ fhir:v "vs" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:variable [ fhir:v "vt" ]         ] [
fhir:variable [ fhir:v "first" ] ;
fhir:transform [ fhir:v "create" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "boolean" ]           ] )         ] [
fhir:context [ fhir:v "first" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "false" ]           ] )         ] ) ;
        ( fhir:dependent [
fhir:name [ fhir:v "ElementDefinition" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "vs" ]           ] [
fhir:value [ fhir:v "vt" ]           ] [
fhir:value [ fhir:v "first" ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "StructureDefinition-differential" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "differential" ] ;
fhir:listMode [ fhir:v "first" ] ;
fhir:variable [ fhir:v "vs0" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "differential" ] ;
fhir:variable [ fhir:v "vt0" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "differential-element-1" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:listMode [ fhir:v "first" ] ;
fhir:variable [ fhir:v "vs" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:variable [ fhir:v "vt" ]         ] [
fhir:variable [ fhir:v "first" ] ;
fhir:transform [ fhir:v "create" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "boolean" ]           ] )         ] [
fhir:context [ fhir:v "first" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "true" ]           ] )         ] ) ;
        ( fhir:dependent [
fhir:name [ fhir:v "ElementDefinition" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "vs" ]           ] [
fhir:value [ fhir:v "vt" ]           ] [
fhir:value [ fhir:v "first" ]           ] )         ] )       ] [
fhir:name [ fhir:v "differential-element-2" ] ;
        ( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:listMode [ fhir:v "not_first" ] ;
fhir:variable [ fhir:v "vs" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "element" ] ;
fhir:variable [ fhir:v "vt" ]         ] [
fhir:variable [ fhir:v "first" ] ;
fhir:transform [ fhir:v "create" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "boolean" ]           ] )         ] [
fhir:context [ fhir:v "first" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "false" ]           ] )         ] ) ;
        ( fhir:dependent [
fhir:name [ fhir:v "ElementDefinition" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "vs" ]           ] [
fhir:value [ fhir:v "vt" ]           ] [
fhir:value [ fhir:v "first" ]           ] )         ] )       ] )     ] )
  ] ) . #