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

: Vpr2DocumentReferenceDocumentReference - 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 "Vpr2DocumentReferenceDocumentReference"] ; # 
  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 Vpr2DocumentReferenceDocumentReference</b></p><a name=\"Vpr2DocumentReferenceDocumentReference\"> </a><a name=\"hcVpr2DocumentReferenceDocumentReference\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://va.gov/fhir/StructureMap/Vpr2DocumentReferenceDocumentReference<span style=\"color: navy\">\" = \"</span>Vpr2DocumentReferenceDocumentReference<span style=\"color: navy\">\"#xD;\n#xD;\n</span><b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-VprDocument.html\" title=\"VPR document\">http://va.gov/fhir/StructureDefinition/VprDocument</a><span style=\"color: navy\">\" </span><b>alias </b>VprDocument <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-DocumentReferenceDocumentReference.html\" title=\"Document Reference DocumentReference\">http://va.gov/fhir/StructureDefinition/DocumentReferenceDocumentReference</a><span style=\"color: navy\">\" </span><b>alias </b>DocumentReferenceDocumentReference <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\">document</span><span style=\"color: navy\"> : </span>VprDocument, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DocumentReferenceDocumentReference<span style=\"color: navy\">)</span><b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {#xD;\n</span>  document.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.docStatus = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  document.clinician<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.author = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  document.parent<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.relatesTo<b> as </b><span style=\"color: maroon\">r0</span><span style=\"color: navy\">, </span> r0.target = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> r0.code = <span style=\"color: blue\">'#appends'</span><span style=\"color: navy\">;</span>#xD;\n  document.subject<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.description = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  document.content<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.content<b> as </b><span style=\"color: maroon\">c0</span><span style=\"color: navy\">, </span> c0.attachment<b> as </b><span style=\"color: maroon\">a1</span><span style=\"color: navy\">, </span> a1.url = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  document.content<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.content<b> as </b><span style=\"color: maroon\">c0</span><span style=\"color: navy\">, </span> c0.attachment<b> as </b><span style=\"color: maroon\">a1</span><span style=\"color: navy\">, </span> a1.size = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  document.content<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.content<b> as </b><span style=\"color: maroon\">c0</span><span style=\"color: navy\">, </span> c0.attachment<b> as </b><span style=\"color: maroon\">a1</span><span style=\"color: navy\">, </span> a1.hash = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  document.encounter<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.context<b> as </b><span style=\"color: maroon\">c0</span><span style=\"color: navy\">, </span> c0.encounter = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  document.facility<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.context<b> as </b><span style=\"color: maroon\">c0</span><span style=\"color: navy\">, </span> c0.facilityType = <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/Vpr2DocumentReferenceDocumentReference"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureMap/Vpr2DocumentReferenceDocumentReference>
  ] ; # 
  fhir:version [ fhir:v "2.5.0"] ; # 
  fhir:name [ fhir:v "Vpr2DocumentReferenceDocumentReference"] ; # 
  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/VprDocument"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureDefinition/VprDocument>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "VprDocument" ]
  ] [
fhir:url [
fhir:v "http://va.gov/fhir/StructureDefinition/DocumentReferenceDocumentReference"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureDefinition/DocumentReferenceDocumentReference>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "DocumentReferenceDocumentReference" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "map" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
    ( fhir:input [
fhir:name [ fhir:v "document" ] ;
fhir:type [ fhir:v "VprDocument" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "DocumentReferenceDocumentReference" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "status" ] ;
      ( fhir:source [
fhir:context [ fhir:v "document" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "docStatus" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "clinician" ] ;
      ( fhir:source [
fhir:context [ fhir:v "document" ] ;
fhir:element [ fhir:v "clinician" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "author" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "parent" ] ;
      ( fhir:source [
fhir:context [ fhir:v "document" ] ;
fhir:element [ fhir:v "parent" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "relatesTo" ] ;
fhir:variable [ fhir:v "r0" ]       ] [
fhir:context [ fhir:v "r0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "target" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "r0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#appends"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "subject" ] ;
      ( fhir:source [
fhir:context [ fhir:v "document" ] ;
fhir:element [ fhir:v "subject" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "description" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "content" ] ;
      ( fhir:source [
fhir:context [ fhir:v "document" ] ;
fhir:element [ fhir:v "content" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "content" ] ;
fhir:variable [ fhir:v "c0" ]       ] [
fhir:context [ fhir:v "c0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "attachment" ] ;
fhir:variable [ fhir:v "a1" ]       ] [
fhir:context [ fhir:v "a1" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "url" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "content" ] ;
      ( fhir:source [
fhir:context [ fhir:v "document" ] ;
fhir:element [ fhir:v "content" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "content" ] ;
fhir:variable [ fhir:v "c0" ]       ] [
fhir:context [ fhir:v "c0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "attachment" ] ;
fhir:variable [ fhir:v "a1" ]       ] [
fhir:context [ fhir:v "a1" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "size" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "content" ] ;
      ( fhir:source [
fhir:context [ fhir:v "document" ] ;
fhir:element [ fhir:v "content" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "content" ] ;
fhir:variable [ fhir:v "c0" ]       ] [
fhir:context [ fhir:v "c0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "attachment" ] ;
fhir:variable [ fhir:v "a1" ]       ] [
fhir:context [ fhir:v "a1" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "hash" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "encounter" ] ;
      ( fhir:source [
fhir:context [ fhir:v "document" ] ;
fhir:element [ fhir:v "encounter" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "context" ] ;
fhir:variable [ fhir:v "c0" ]       ] [
fhir:context [ fhir:v "c0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "encounter" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "facility" ] ;
      ( fhir:source [
fhir:context [ fhir:v "document" ] ;
fhir:element [ fhir:v "facility" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "context" ] ;
fhir:variable [ fhir:v "c0" ]       ] [
fhir:context [ fhir:v "c0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "facilityType" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] )
  ] ) . #