US Veterans Health Administration FHIR Map Set Implementation Guide
2.5.0 - 260401a
US Veterans Health Administration FHIR Map Set Implementation Guide - Downloaded Version 2.5.0 See the Directory of published versions
| Draft as of 2026-03-31 |
{
"resourceType" : "StructureMap",
"id" : "Vpr2DocumentReferenceBinary",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap Vpr2DocumentReferenceBinary</b></p><a name=\"Vpr2DocumentReferenceBinary\"> </a><a name=\"hcVpr2DocumentReferenceBinary\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>http://va.gov/fhir/StructureMap/Vpr2DocumentReferenceBinary<span style=\"color: navy\">" = "</span>Vpr2DocumentReferenceBinary<span style=\"color: navy\">"\r\n\r\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>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-DocumentReferenceBinary.html\" title=\"Document Reference Binary\">http://va.gov/fhir/StructureDefinition/DocumentReferenceBinary</a><span style=\"color: navy\">" </span><b>alias </b>DocumentReferenceBinary <b>as </b><b>target</b>\r\n\r\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>DocumentReferenceBinary<span style=\"color: navy\">)</span><b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> document.content<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.data = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n document.content<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.contentType = <span style=\"color: blue\">'#text/plain'</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"url" : "http://va.gov/fhir/StructureMap/Vpr2DocumentReferenceBinary",
"version" : "2.5.0",
"name" : "Vpr2DocumentReferenceBinary",
"status" : "draft",
"date" : "2026-03-31T16:09:38+00:00",
"publisher" : "VA",
"contact" : [
{
"name" : "VA",
"telecom" : [
{
"system" : "url",
"value" : "https://www.va.gov"
}
]
}
],
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "US",
"display" : "United States of America"
}
]
}
],
"structure" : [
{
"url" : "http://va.gov/fhir/StructureDefinition/VprDocument",
"mode" : "source",
"alias" : "VprDocument"
},
{
"url" : "http://va.gov/fhir/StructureDefinition/DocumentReferenceBinary",
"mode" : "target",
"alias" : "DocumentReferenceBinary"
}
],
"group" : [
{
"name" : "map",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "document",
"type" : "VprDocument",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "DocumentReferenceBinary",
"mode" : "target"
}
],
"rule" : [
{
"name" : "content",
"source" : [
{
"context" : "document",
"element" : "content",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "data",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "content",
"source" : [
{
"context" : "document",
"element" : "content",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "contentType",
"transform" : "copy",
"parameter" : [
{
"valueString" : "#text/plain"
}
]
}
]
}
]
}
]
}