@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 -------------------------------------------------------------------

<http://hl7.org/fhir/extensions/StructureMap/Account3to2> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Account3to2"] ; # 
  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/Account3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Account3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Account Transforms: R3 to R2'</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/3.0/Account<span style=\"color: navy\">&quot; </span><b>alias </b>Account <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/1.0/Account<span style=\"color: navy\">&quot; </span><b>alias </b>AccountR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*3to2<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>Account<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Account, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>AccountR2<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;Account-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n  src.name<span style=\"color: navy\"><b> -&gt; </b></span>tgt.name <i>&quot;Account-name&quot;</i><span style=\"color: navy\">;</span>\r\n  src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type <i>&quot;Account-type&quot;</i><span style=\"color: navy\">;</span>\r\n  src.status<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status <i>&quot;Account-status&quot;</i><span style=\"color: navy\">;</span>\r\n  src.active<span style=\"color: navy\"><b> -&gt; </b></span>tgt.activePeriod <i>&quot;Account-activePeriod&quot;</i><span style=\"color: navy\">;</span>\r\n  src.balance<span style=\"color: navy\"><b> -&gt; </b></span>tgt.balance <i>&quot;Account-balance&quot;</i><span style=\"color: navy\">;</span>\r\n  src.subject<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subject <i>&quot;Account-subject&quot;</i><span style=\"color: navy\">;</span>\r\n  src.owner<span style=\"color: navy\"><b> -&gt; </b></span>tgt.owner <i>&quot;Account-owner&quot;</i><span style=\"color: navy\">;</span>\r\n  src.description<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description <i>&quot;Account-description&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/Account3to2"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "Account3to2"] ; # 
  fhir:title [ fhir:v "Account Transforms: R3 to R2"] ; # 
  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 "AccountTransformsR3toR2"] ; # 
  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/3.0/Account"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/3.0/Account>
     ] ;
     fhir:mode [ fhir:v "source" ] ;
     fhir:alias [ fhir:v "Account" ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/1.0/Account"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/1.0/Account>
     ] ;
     fhir:mode [ fhir:v "target" ] ;
     fhir:alias [ fhir:v "AccountR2" ]
  ] ) ; # 
  fhir:import ( [
     fhir:v "http://hl7.org/fhir/StructureMap/*3to2"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/StructureMap/*3to2>
  ] ) ; # 
  fhir:group ( [
     fhir:name [ fhir:v "Account" ] ;
     fhir:extends [ fhir:v "DomainResource" ] ;
     fhir:typeMode [ fhir:v "type-and-types" ] ;
     fhir:input ( [
       fhir:name [ fhir:v "src" ] ;
       fhir:type [ fhir:v "Account" ] ;
       fhir:mode [ fhir:v "source" ]
     ] [
       fhir:name [ fhir:v "tgt" ] ;
       fhir:type [ fhir:v "AccountR2" ] ;
       fhir:mode [ fhir:v "target" ]
     ] ) ;
     fhir:rule ( [
       fhir:name [ fhir:v "Account-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 "Account-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 "Account-type" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "type" ] ;
         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 "Account-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 "Account-activePeriod" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "active" ] ;
         fhir:variable [ fhir:v "vvv" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:element [ fhir:v "activePeriod" ] ;
         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 "Account-balance" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "balance" ] ;
         fhir:variable [ fhir:v "vvv" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:element [ fhir:v "balance" ] ;
         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 "Account-subject" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "subject" ] ;
         fhir:variable [ fhir:v "vvv" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:element [ fhir:v "subject" ] ;
         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 "Account-owner" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "src" ] ;
         fhir:element [ fhir:v "owner" ] ;
         fhir:variable [ fhir:v "vvv" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:element [ fhir:v "owner" ] ;
         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 "Account-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" ]
         ] )
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

