FHIR Extensions Pack
5.1.0-ballot1 - Ballot for Release 5.1.0 International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

: FML Conversion for Bundle: R5 to R4 - TTL Representation

Page standards status: Trial-use 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 "Bundle5to4"] ; # 
  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/Bundle5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Bundle5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for Bundle: R5 to R4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>conceptmap</b><span style=\"color: navy\"> &quot;</span>BundleType<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-bundle-type.html\" title=\"Bundle Type\">http://hl7.org/fhir/bundle-type</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-bundle-type.html\" title=\"BundleType\">http://hl7.org/fhir/4.0/bundle-type</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>document <b>-</b> t<span style=\"color: navy\">:</span>document\r\n  s<span style=\"color: navy\">:</span>message <b>-</b> t<span style=\"color: navy\">:</span>message\r\n  s<span style=\"color: navy\">:</span>transaction <b>-</b> t<span style=\"color: navy\">:</span>transaction\r\n  s<span style=\"color: navy\">:</span>&quot;transaction-response&quot; <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">&quot;</span>transaction-response<span style=\"color: navy\">&quot;</span>\r\n  s<span style=\"color: navy\">:</span>batch <b>-</b> t<span style=\"color: navy\">:</span>batch\r\n  s<span style=\"color: navy\">:</span>&quot;batch-response&quot; <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">&quot;</span>batch-response<span style=\"color: navy\">&quot;</span>\r\n  s<span style=\"color: navy\">:</span>history <b>-</b> t<span style=\"color: navy\">:</span>history\r\n  s<span style=\"color: navy\">:</span>searchset <b>-</b> t<span style=\"color: navy\">:</span>searchset\r\n  s<span style=\"color: navy\">:</span>collection <b>-</b> t<span style=\"color: navy\">:</span>collection\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>HTTPVerb<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-http-verb.html\" title=\"H T T P Verb\">http://hl7.org/fhir/http-verb</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-http-verb.html\" title=\"HTTPVerb\">http://hl7.org/fhir/4.0/http-verb</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>GET <b>-</b> t<span style=\"color: navy\">:</span>GET\r\n  s<span style=\"color: navy\">:</span>HEAD <b>-</b> t<span style=\"color: navy\">:</span>HEAD\r\n  s<span style=\"color: navy\">:</span>POST <b>-</b> t<span style=\"color: navy\">:</span>POST\r\n  s<span style=\"color: navy\">:</span>PUT <b>-</b> t<span style=\"color: navy\">:</span>PUT\r\n  s<span style=\"color: navy\">:</span>DELETE <b>-</b> t<span style=\"color: navy\">:</span>DELETE\r\n  s<span style=\"color: navy\">:</span>PATCH <b>-</b> t<span style=\"color: navy\">:</span>PATCH\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>SearchEntryMode<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-search-entry-mode.html\" title=\"Search Entry Mode\">http://hl7.org/fhir/search-entry-mode</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-search-entry-mode.html\" title=\"SearchEntryMode\">http://hl7.org/fhir/4.0/search-entry-mode</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>match <b>-</b> t<span style=\"color: navy\">:</span>match\r\n  s<span style=\"color: navy\">:</span>include <b>-</b> t<span style=\"color: navy\">:</span>include\r\n  s<span style=\"color: navy\">:</span>outcome <b>-</b> t<span style=\"color: navy\">:</span>outcome\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R5/bundle.html\" title=\"Bundle\">http://hl7.org/fhir/StructureDefinition/Bundle</a><span style=\"color: navy\">&quot; </span><b>alias </b>BundleR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/bundle.html\" title=\"Bundle\">http://hl7.org/fhir/4.0/StructureDefinition/Bundle</a><span style=\"color: navy\">&quot; </span><b>alias </b>BundleR4 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>Bundle<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>BundleR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>BundleR4<span style=\"color: navy\">)</span><b> extends </b>Resource<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<span style=\"color: navy\">;</span>\r\n  src.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.type = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#BundleType'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.timestamp<span style=\"color: navy\"><b> -&gt; </b></span>tgt.timestamp<span style=\"color: navy\">;</span>\r\n  src.total<span style=\"color: navy\"><b> -&gt; </b></span>tgt.total<span style=\"color: navy\">;</span>\r\n  src.link<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.link<b> as </b><span style=\"color: maroon\">t</span><b> then </b>BundleLink<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.entry<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.entry<b> as </b><span style=\"color: maroon\">t</span><b> then </b>BundleEntry<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.signature<span style=\"color: navy\"><b> -&gt; </b></span>tgt.signature<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>BundleLink<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.relation<span style=\"color: navy\"><b> -&gt; </b></span>tgt.relation<span style=\"color: navy\">;</span>\r\n  src.url<span style=\"color: navy\"><b> -&gt; </b></span>tgt.url<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>BundleEntry<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.fullUrl<span style=\"color: navy\"><b> -&gt; </b></span>tgt.fullUrl<span style=\"color: navy\">;</span>\r\n  src.resource<span style=\"color: navy\"> : </span>Resource<span style=\"color: navy\"><b> -&gt; </b></span>tgt.resource<span style=\"color: navy\">;</span>\r\n  src.search<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.search<b> as </b><span style=\"color: maroon\">t</span><b> then </b>BundleEntrySearch<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.request<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.request<b> as </b><span style=\"color: maroon\">t</span><b> then </b>BundleEntryRequest<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.response<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.response<b> as </b><span style=\"color: maroon\">t</span><b> then </b>BundleEntryResponse<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>BundleEntrySearch<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.mode<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.mode = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#SearchEntryMode'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.score<span style=\"color: navy\"><b> -&gt; </b></span>tgt.score<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>BundleEntryRequest<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.method<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.method = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#HTTPVerb'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.url<span style=\"color: navy\"><b> -&gt; </b></span>tgt.url<span style=\"color: navy\">;</span>\r\n  src.ifNoneMatch<span style=\"color: navy\"><b> -&gt; </b></span>tgt.ifNoneMatch<span style=\"color: navy\">;</span>\r\n  src.ifModifiedSince<span style=\"color: navy\"><b> -&gt; </b></span>tgt.ifModifiedSince<span style=\"color: navy\">;</span>\r\n  src.ifMatch<span style=\"color: navy\"><b> -&gt; </b></span>tgt.ifMatch<span style=\"color: navy\">;</span>\r\n  src.ifNoneExist<span style=\"color: navy\"><b> -&gt; </b></span>tgt.ifNoneExist<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>BundleEntryResponse<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.status<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status<span style=\"color: navy\">;</span>\r\n  src.location<span style=\"color: navy\"><b> -&gt; </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n  src.etag<span style=\"color: navy\"><b> -&gt; </b></span>tgt.etag<span style=\"color: navy\">;</span>\r\n  src.lastModified<span style=\"color: navy\"><b> -&gt; </b></span>tgt.lastModified<span style=\"color: navy\">;</span>\r\n  src.outcome<span style=\"color: navy\"> : </span>Resource<span style=\"color: navy\"><b> -&gt; </b></span>tgt.outcome<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  ] ; # 
  fhir:contained ( [
a fhir:ConceptMap ;
fhir:id [ fhir:v "BundleType" ] ;
fhir:status [ fhir:v "active" ] ;
    ( fhir:group [
fhir:source [
fhir:v "http://hl7.org/fhir/bundle-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/bundle-type>       ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/4.0/bundle-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/bundle-type>       ] ;
      ( fhir:element [
fhir:code [ fhir:v "document" ] ;
        ( fhir:target [
fhir:code [ fhir:v "document" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "message" ] ;
        ( fhir:target [
fhir:code [ fhir:v "message" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "transaction" ] ;
        ( fhir:target [
fhir:code [ fhir:v "transaction" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "transaction-response" ] ;
        ( fhir:target [
fhir:code [ fhir:v "transaction-response" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "batch" ] ;
        ( fhir:target [
fhir:code [ fhir:v "batch" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "batch-response" ] ;
        ( fhir:target [
fhir:code [ fhir:v "batch-response" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "history" ] ;
        ( fhir:target [
fhir:code [ fhir:v "history" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "searchset" ] ;
        ( fhir:target [
fhir:code [ fhir:v "searchset" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "collection" ] ;
        ( fhir:target [
fhir:code [ fhir:v "collection" ] ;
fhir:relationship [ fhir:v "related-to" ] ;
fhir:comment [ fhir:v "s:\"subscription-notification\" - t:\"subscription-notification\"" ]         ] )       ] )     ] )
  ] [
a fhir:ConceptMap ;
fhir:id [ fhir:v "HTTPVerb" ] ;
fhir:status [ fhir:v "active" ] ;
    ( fhir:group [
fhir:source [
fhir:v "http://hl7.org/fhir/http-verb"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/http-verb>       ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/4.0/http-verb"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/http-verb>       ] ;
      ( fhir:element [
fhir:code [ fhir:v "GET" ] ;
        ( fhir:target [
fhir:code [ fhir:v "GET" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "HEAD" ] ;
        ( fhir:target [
fhir:code [ fhir:v "HEAD" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "POST" ] ;
        ( fhir:target [
fhir:code [ fhir:v "POST" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "PUT" ] ;
        ( fhir:target [
fhir:code [ fhir:v "PUT" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "DELETE" ] ;
        ( fhir:target [
fhir:code [ fhir:v "DELETE" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "PATCH" ] ;
        ( fhir:target [
fhir:code [ fhir:v "PATCH" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] )     ] )
  ] [
a fhir:ConceptMap ;
fhir:id [ fhir:v "SearchEntryMode" ] ;
fhir:status [ fhir:v "active" ] ;
    ( fhir:group [
fhir:source [
fhir:v "http://hl7.org/fhir/search-entry-mode"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/search-entry-mode>       ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/4.0/search-entry-mode"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/search-entry-mode>       ] ;
      ( fhir:element [
fhir:code [ fhir:v "match" ] ;
        ( fhir:target [
fhir:code [ fhir:v "match" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "include" ] ;
        ( fhir:target [
fhir:code [ fhir:v "include" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] [
fhir:code [ fhir:v "outcome" ] ;
        ( fhir:target [
fhir:code [ fhir:v "outcome" ] ;
fhir:relationship [ fhir:v "related-to" ]         ] )       ] )     ] )
  ] ) ; # 
  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.extensions"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions>         ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
fhir:v "trial-use" ;
      ( 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.extensions"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions>         ]       ] )     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/StructureMap/Bundle5to4"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "5.1.0-ballot1"] ; # 
  fhir:name [ fhir:v "Bundle5to4"] ; # 
  fhir:title [ fhir:v "FML Conversion for Bundle: R5 to R4"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2023-12-19T08:40:03+11: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 "FMLConversionforBundleR5toR4"] ; # 
  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/StructureDefinition/Bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "BundleR5" ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/4.0/StructureDefinition/Bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/StructureDefinition/Bundle>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "BundleR4" ]
  ] ) ; # 
  fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/*5to4"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/*5to4>
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "Bundle" ] ;
fhir:extends [ fhir:v "Resource" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "BundleR5" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "BundleR4" ] ;
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 "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 "type" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:transform [ fhir:v "translate" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "v" ]         ] [
fhir:value [ fhir:v "#BundleType" ]         ] [
fhir:value [ fhir:v "code" ]         ] )       ] )     ] [
fhir:name [ fhir:v "timestamp" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "timestamp" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "timestamp" ] ;
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 "total" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "total" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "total" ] ;
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 "link" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "link" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "link" ] ;
fhir:variable [ fhir:v "t" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "BundleLink" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] [
fhir:value [ fhir:v "t" ]         ] )       ] )     ] [
fhir:name [ fhir:v "entry" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "t" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "BundleEntry" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] [
fhir:value [ fhir:v "t" ]         ] )       ] )     ] [
fhir:name [ fhir:v "signature" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "signature" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "signature" ] ;
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 "BundleLink" ] ;
fhir:extends [ fhir:v "BackboneElement" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "relation" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "relation" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "relation" ] ;
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 "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 "BundleEntry" ] ;
fhir:extends [ fhir:v "BackboneElement" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "fullUrl" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "fullUrl" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "fullUrl" ] ;
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 "resourceResource" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:type [ fhir:v "Resource" ] ;
fhir:element [ fhir:v "resource" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "resource" ] ;
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 "search" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "search" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "search" ] ;
fhir:variable [ fhir:v "t" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "BundleEntrySearch" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] [
fhir:value [ fhir:v "t" ]         ] )       ] )     ] [
fhir:name [ fhir:v "request" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "request" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "request" ] ;
fhir:variable [ fhir:v "t" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "BundleEntryRequest" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] [
fhir:value [ fhir:v "t" ]         ] )       ] )     ] [
fhir:name [ fhir:v "response" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "response" ] ;
fhir:variable [ fhir:v "s" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "response" ] ;
fhir:variable [ fhir:v "t" ]       ] ) ;
      ( fhir:dependent [
fhir:name [ fhir:v "BundleEntryResponse" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "s" ]         ] [
fhir:value [ fhir:v "t" ]         ] )       ] )     ] )
  ] [
fhir:name [ fhir:v "BundleEntrySearch" ] ;
fhir:extends [ fhir:v "BackboneElement" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "mode" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "mode" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "mode" ] ;
fhir:transform [ fhir:v "translate" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "v" ]         ] [
fhir:value [ fhir:v "#SearchEntryMode" ]         ] [
fhir:value [ fhir:v "code" ]         ] )       ] )     ] [
fhir:name [ fhir:v "score" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "score" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "score" ] ;
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 "BundleEntryRequest" ] ;
fhir:extends [ fhir:v "BackboneElement" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "method" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "method" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "method" ] ;
fhir:transform [ fhir:v "translate" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "v" ]         ] [
fhir:value [ fhir:v "#HTTPVerb" ]         ] [
fhir:value [ fhir:v "code" ]         ] )       ] )     ] [
fhir:name [ fhir:v "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 "ifNoneMatch" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "ifNoneMatch" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "ifNoneMatch" ] ;
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 "ifModifiedSince" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "ifModifiedSince" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "ifModifiedSince" ] ;
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 "ifMatch" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "ifMatch" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "ifMatch" ] ;
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 "ifNoneExist" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "ifNoneExist" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "ifNoneExist" ] ;
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 "BundleEntryResponse" ] ;
fhir:extends [ fhir:v "BackboneElement" ] ;
    ( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "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 "location" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "location" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "location" ] ;
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 "etag" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "etag" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "etag" ] ;
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 "lastModified" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "lastModified" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "lastModified" ] ;
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 "outcomeResource" ] ;
      ( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:type [ fhir:v "Resource" ] ;
fhir:element [ fhir:v "outcome" ] ;
fhir:variable [ fhir:v "vvv" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "outcome" ] ;
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" ]         ] )       ] )     ] )
  ] ) . #