US Veterans Health Administration FHIR Map Set Implementation Guide
2.5.0 - 260401a United States of America flag

US Veterans Health Administration FHIR Map Set Implementation Guide - Downloaded Version 2.5.0 See the Directory of published versions

: Vpr2VAPatient - TTL Representation

Draft as of 2026-03-31

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Vpr2VAPatient"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap Vpr2VAPatient</b></p><a name=\"Vpr2VAPatient\"> </a><a name=\"hcVpr2VAPatient\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://va.gov/fhir/StructureMap/Vpr2VAPatient<span style=\"color: navy\">\" = \"</span>Vpr2VAPatient<span style=\"color: navy\">\"#xD;\n#xD;\n</span><b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-VprDemographics.html\" title=\"VPR demographics\">http://va.gov/fhir/StructureDefinition/VprDemographics</a><span style=\"color: navy\">\" </span><b>alias </b>VprDemographics <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-VAPatient.html\" title=\"VAPatient\">http://va.gov/fhir/StructureDefinition/VAPatient</a><span style=\"color: navy\">\" </span><b>alias </b>VAPatient <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>map<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">demographics</span><span style=\"color: navy\"> : </span>VprDemographics, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>VAPatient<span style=\"color: navy\">)</span><b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {#xD;\n</span>  demographics.icn<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.identifier<b> as </b><span style=\"color: maroon\">i0</span><span style=\"color: navy\">, </span> i0.value = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> i0.system = <span style=\"color: blue\">'urn:oid:2.16.840.1.113883.4.349'</span><span style=\"color: navy\">, </span> i0.type = <span style=\"color: blue\">'http://terminology.hl7.org/CodeSystem/v2-0203#PN'</span><span style=\"color: navy\">;</span>#xD;\n  demographics.telecom<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.telecom<b> as </b><span style=\"color: maroon\">t0</span><span style=\"color: navy\">, </span> t0.value = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> t0.system = <span style=\"color: blue\">'#phone'</span><span style=\"color: navy\">, </span> t0.use = <span style=\"color: blue\">'#home'</span><span style=\"color: navy\">;</span>#xD;\n  demographics.telecom<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.telecom<b> as </b><span style=\"color: maroon\">t0</span><span style=\"color: navy\">, </span> t0.value = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> t0.system = <span style=\"color: blue\">'#phone'</span><span style=\"color: navy\">, </span> t0.use = <span style=\"color: blue\">'#work'</span><span style=\"color: navy\">;</span>#xD;\n  demographics.telecom<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.telecom<b> as </b><span style=\"color: maroon\">t0</span><span style=\"color: navy\">, </span> t0.value = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> t0.system = <span style=\"color: blue\">'#phone'</span><span style=\"color: navy\">, </span> t0.use = <span style=\"color: blue\">'#mobile'</span><span style=\"color: navy\">;</span>#xD;\n  demographics.dob<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.birthDate = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  demographics.died<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.deceased = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  demographics.address<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.address<b> as </b><span style=\"color: maroon\">a0</span><span style=\"color: navy\">, </span> a0.line = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> a0.use = <span style=\"color: blue\">'#home'</span><span style=\"color: navy\">, </span> a0.type = <span style=\"color: blue\">'#postal'</span><span style=\"color: navy\">, </span> a0.line = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> a0.line = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> a0.city = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> a0.state = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> a0.postalCode = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  demographics.gender<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.gender = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  demographics.maritalStatus<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.maritalStatus = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  demographics.religion<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.extension<b> as </b><span style=\"color: maroon\">e0</span><span style=\"color: navy\">, </span> e0.url = <span style=\"color: blue\">'http://hl7.org/fhir/StructureDefinition/patient-religion'</span><span style=\"color: navy\">, </span> e0.value = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
fhir:v "http://va.gov/fhir/StructureMap/Vpr2VAPatient"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureMap/Vpr2VAPatient>
  ] ; # 
  fhir:version [ fhir:v "2.5.0"] ; # 
  fhir:name [ fhir:v "Vpr2VAPatient"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2026-03-31T16:09:38+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "VA"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "VA" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.va.gov" ]     ] )
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [
fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
fhir:l <urn:iso:std:iso:3166>       ] ;
fhir:code [ fhir:v "US" ] ;
fhir:display [ fhir:v "United States of America" ]     ] )
  ] ) ; # 
  fhir:structure ( [
fhir:url [
fhir:v "http://va.gov/fhir/StructureDefinition/VprDemographics"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureDefinition/VprDemographics>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "VprDemographics" ]
  ] [
fhir:url [
fhir:v "http://va.gov/fhir/StructureDefinition/VAPatient"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureDefinition/VAPatient>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "VAPatient" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "map" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
    ( fhir:input [
fhir:name [ fhir:v "demographics" ] ;
fhir:type [ fhir:v "VprDemographics" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "VAPatient" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "icn" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "icn" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "identifier" ] ;
fhir:variable [ fhir:v "i0" ]       ] [
fhir:context [ fhir:v "i0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "i0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "urn:oid:2.16.840.1.113883.4.349"           ]         ] )       ] [
fhir:context [ fhir:v "i0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203#PN"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "telecom" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "telecom" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "telecom" ] ;
fhir:variable [ fhir:v "t0" ]       ] [
fhir:context [ fhir:v "t0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "t0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#phone"           ]         ] )       ] [
fhir:context [ fhir:v "t0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "use" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#home"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "telecom" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "telecom" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "telecom" ] ;
fhir:variable [ fhir:v "t0" ]       ] [
fhir:context [ fhir:v "t0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "t0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#phone"           ]         ] )       ] [
fhir:context [ fhir:v "t0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "use" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#work"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "telecom" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "telecom" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "telecom" ] ;
fhir:variable [ fhir:v "t0" ]       ] [
fhir:context [ fhir:v "t0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "t0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#phone"           ]         ] )       ] [
fhir:context [ fhir:v "t0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "use" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#mobile"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "dob" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "dob" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "birthDate" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "died" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "died" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "deceased" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "address" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "address" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "address" ] ;
fhir:variable [ fhir:v "a0" ]       ] [
fhir:context [ fhir:v "a0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "line" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "a0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "use" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#home"           ]         ] )       ] [
fhir:context [ fhir:v "a0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#postal"           ]         ] )       ] [
fhir:context [ fhir:v "a0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "line" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "a0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "line" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "a0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "city" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "a0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "state" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "a0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "postalCode" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "gender" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "gender" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "gender" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "maritalStatus" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "maritalStatus" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maritalStatus" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "religion" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "religion" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "extension" ] ;
fhir:variable [ fhir:v "e0" ]       ] [
fhir:context [ fhir:v "e0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "url" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "http://hl7.org/fhir/StructureDefinition/patient-religion"           ]         ] )       ] [
fhir:context [ fhir:v "e0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] )
  ] ) . #