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" : "Vpr2VAPatient",
"text" : {
"status" : "generated",
"div" : "<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\">\r\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\">"\r\n\r\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>\r\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>\r\n\r\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> <<type+>></b><span style=\"color: navy\"> {\r\n</span> demographics.icn<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </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>\r\n demographics.telecom<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </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>\r\n demographics.telecom<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </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>\r\n demographics.telecom<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </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>\r\n demographics.dob<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.birthDate = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n demographics.died<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.deceased = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n demographics.address<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </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>\r\n demographics.gender<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.gender = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n demographics.maritalStatus<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.maritalStatus = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n demographics.religion<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </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>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"url" : "http://va.gov/fhir/StructureMap/Vpr2VAPatient",
"version" : "2.5.0",
"name" : "Vpr2VAPatient",
"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/VprDemographics",
"mode" : "source",
"alias" : "VprDemographics"
},
{
"url" : "http://va.gov/fhir/StructureDefinition/VAPatient",
"mode" : "target",
"alias" : "VAPatient"
}
],
"group" : [
{
"name" : "map",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "demographics",
"type" : "VprDemographics",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "VAPatient",
"mode" : "target"
}
],
"rule" : [
{
"name" : "icn",
"source" : [
{
"context" : "demographics",
"element" : "icn",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "identifier",
"variable" : "i0"
},
{
"context" : "i0",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "i0",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "urn:oid:2.16.840.1.113883.4.349"
}
]
},
{
"context" : "i0",
"contextType" : "variable",
"element" : "type",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://terminology.hl7.org/CodeSystem/v2-0203#PN"
}
]
}
]
},
{
"name" : "telecom",
"source" : [
{
"context" : "demographics",
"element" : "telecom",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "telecom",
"variable" : "t0"
},
{
"context" : "t0",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "t0",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "#phone"
}
]
},
{
"context" : "t0",
"contextType" : "variable",
"element" : "use",
"transform" : "copy",
"parameter" : [
{
"valueString" : "#home"
}
]
}
]
},
{
"name" : "telecom",
"source" : [
{
"context" : "demographics",
"element" : "telecom",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "telecom",
"variable" : "t0"
},
{
"context" : "t0",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "t0",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "#phone"
}
]
},
{
"context" : "t0",
"contextType" : "variable",
"element" : "use",
"transform" : "copy",
"parameter" : [
{
"valueString" : "#work"
}
]
}
]
},
{
"name" : "telecom",
"source" : [
{
"context" : "demographics",
"element" : "telecom",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "telecom",
"variable" : "t0"
},
{
"context" : "t0",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "t0",
"contextType" : "variable",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "#phone"
}
]
},
{
"context" : "t0",
"contextType" : "variable",
"element" : "use",
"transform" : "copy",
"parameter" : [
{
"valueString" : "#mobile"
}
]
}
]
},
{
"name" : "dob",
"source" : [
{
"context" : "demographics",
"element" : "dob",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "birthDate",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "died",
"source" : [
{
"context" : "demographics",
"element" : "died",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "deceased",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "address",
"source" : [
{
"context" : "demographics",
"element" : "address",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "address",
"variable" : "a0"
},
{
"context" : "a0",
"contextType" : "variable",
"element" : "line",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "a0",
"contextType" : "variable",
"element" : "use",
"transform" : "copy",
"parameter" : [
{
"valueString" : "#home"
}
]
},
{
"context" : "a0",
"contextType" : "variable",
"element" : "type",
"transform" : "copy",
"parameter" : [
{
"valueString" : "#postal"
}
]
},
{
"context" : "a0",
"contextType" : "variable",
"element" : "line",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "a0",
"contextType" : "variable",
"element" : "line",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "a0",
"contextType" : "variable",
"element" : "city",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "a0",
"contextType" : "variable",
"element" : "state",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "a0",
"contextType" : "variable",
"element" : "postalCode",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "gender",
"source" : [
{
"context" : "demographics",
"element" : "gender",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "gender",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "maritalStatus",
"source" : [
{
"context" : "demographics",
"element" : "maritalStatus",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "maritalStatus",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "religion",
"source" : [
{
"context" : "demographics",
"element" : "religion",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "extension",
"variable" : "e0"
},
{
"context" : "e0",
"contextType" : "variable",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/StructureDefinition/patient-religion"
}
]
},
{
"context" : "e0",
"contextType" : "variable",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
}
]
}