{
  "resourceType" : "StructureMap",
  "id" : "Vpr2ImplantableDeviceProsthesis",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap Vpr2ImplantableDeviceProsthesis</b></p><a name=\"Vpr2ImplantableDeviceProsthesis\"> </a><a name=\"hcVpr2ImplantableDeviceProsthesis\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://va.gov/fhir/StructureMap/Vpr2ImplantableDeviceProsthesis<span style=\"color: navy\">&quot; = &quot;</span>Vpr2ImplantableDeviceProsthesis<span style=\"color: navy\">&quot;\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-VprSurgery.html\" title=\"VPR surgery\">http://va.gov/fhir/StructureDefinition/VprSurgery</a><span style=\"color: navy\">&quot; </span><b>alias </b>VprSurgery <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-ImplantableDeviceProsthesis.html\" title=\"Implantable Device: Prosthesis\">http://va.gov/fhir/StructureDefinition/ImplantableDeviceProsthesis</a><span style=\"color: navy\">&quot; </span><b>alias </b>ImplantableDeviceProsthesis <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\">surgery</span><span style=\"color: navy\"> : </span>VprSurgery, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ImplantableDeviceProsthesis<span style=\"color: navy\">)</span><b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  surgery.facility<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.owner = <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/Vpr2ImplantableDeviceProsthesis",
  "version" : "2.5.0",
  "name" : "Vpr2ImplantableDeviceProsthesis",
  "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/VprSurgery",
    "mode" : "source",
    "alias" : "VprSurgery"
  },
  {
    "url" : "http://va.gov/fhir/StructureDefinition/ImplantableDeviceProsthesis",
    "mode" : "target",
    "alias" : "ImplantableDeviceProsthesis"
  }],
  "group" : [{
    "name" : "map",
    "typeMode" : "type-and-types",
    "input" : [{
      "name" : "surgery",
      "type" : "VprSurgery",
      "mode" : "source"
    },
    {
      "name" : "tgt",
      "type" : "ImplantableDeviceProsthesis",
      "mode" : "target"
    }],
    "rule" : [{
      "name" : "facility",
      "source" : [{
        "context" : "surgery",
        "element" : "facility",
        "variable" : "v"
      }],
      "target" : [{
        "context" : "tgt",
        "contextType" : "variable",
        "element" : "owner",
        "transform" : "copy",
        "parameter" : [{
          "valueId" : "v"
        }]
      }]
    }]
  }]
}