{
  "resourceType" : "StructureMap",
  "resourceDefinition" : "http://hl7.org/fhir/StructureDefinition/StructureMap|0.1.0",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap TransformAppend</b></p><a name=\"TransformAppend\"> </a><a name=\"hcTransformAppend\"> </a><p><b>url</b>: <a href=\"http://hl7.org/fhir/uv/fml/StructureMap/TransformAppend\">http://hl7.org/fhir/uv/fml/StructureMap/TransformAppend</a></p><p><b>name</b>: TransformAppend</p><p><b>status</b>: Active</p><p><b>description</b>: </p><div><p>Example demonstrating the append transform to concatenate string values</p>\n</div><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/R5/patient.html\">Patient</a></p><p><b>mode</b>: Source Structure Definition</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/R5/patient.html\">Patient</a></p><p><b>mode</b>: Target Structure Definition</p></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: TransformAppend</p><blockquote><p><b>input</b></p><p><b>mode</b>: Source Instance</p><p><b>name</b>: src</p><p><b>type</b>: Patient</p></blockquote><blockquote><p><b>input</b></p><p><b>mode</b>: Target Instance</p><p><b>name</b>: tgt</p><p><b>type</b>: Patient</p></blockquote><blockquote><p><b>rule</b></p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td style=\"display: none\">*</td><td>src</td><td>name</td><td>v</td></tr></table><h3>Targets</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td style=\"display: none\">*</td><td>tgt</td><td>name</td><td>tn</td></tr></table><blockquote><p><b>rule</b></p><blockquote><p><b>source</b></p><p><b>context</b>: v</p><p><b>element</b>: family</p><p><b>variable</b>: f</p></blockquote><blockquote><p><b>source</b></p><p><b>context</b>: v</p><p><b>element</b>: text</p><p><b>variable</b>: t</p></blockquote><blockquote><p><b>target</b></p><p><b>context</b>: tn</p><p><b>element</b>: text</p><p><b>transform</b>: append</p><blockquote><p><b>parameter</b></p><p><b>value</b>: f</p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>:  </p></blockquote><blockquote><p><b>parameter</b></p><p><b>value</b>: t</p></blockquote></blockquote><p><b>name</b>: r1</p></blockquote><p><b>name</b>: r2</p></blockquote></blockquote></div>"
  },
  "url" : "http://hl7.org/fhir/uv/fml/StructureMap/TransformAppend",
  "name" : "TransformAppend",
  "status" : "active",
  "description" : "Example demonstrating the append transform to concatenate string values",
  "structure" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/Patient",
    "mode" : "source"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/Patient",
    "mode" : "target"
  }],
  "group" : [{
    "name" : "TransformAppend",
    "input" : [{
      "mode" : "source",
      "name" : "src",
      "type" : "Patient"
    },
    {
      "mode" : "target",
      "name" : "tgt",
      "type" : "Patient"
    }],
    "rule" : [{
      "source" : [{
        "context" : "src",
        "element" : ["name"],
        "variable" : "v"
      }],
      "target" : [{
        "context" : "tgt",
        "element" : ["name"],
        "variable" : "tn"
      }],
      "rule" : [{
        "source" : [{
          "context" : "v",
          "element" : ["family"],
          "variable" : "f"
        },
        {
          "context" : "v",
          "element" : ["text"],
          "variable" : "t"
        }],
        "target" : [{
          "context" : "tn",
          "element" : ["text"],
          "transform" : "append",
          "parameter" : [{
            "valueId" : "f"
          },
          {
            "valueString" : " "
          },
          {
            "valueId" : "t"
          }]
        }],
        "name" : "r1"
      }],
      "name" : "r2"
    }]
  }],
  "id" : "TransformAppend"
}