<?xml version="1.0" encoding="UTF-8"?>

<StructureMap xmlns="http://hl7.org/fhir" resourceDefinition="http://hl7.org/fhir/StructureDefinition/StructureMap|0.1.0">
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap GroupTypePlus</b></p><a name="GroupTypePlus"> </a><a name="hcGroupTypePlus"> </a><p><b>url</b>: <a href="http://hl7.org/fhir/uv/fml/StructureMap/GroupTypePlus">http://hl7.org/fhir/uv/fml/StructureMap/GroupTypePlus</a></p><p><b>name</b>: GroupTypePlus</p><p><b>status</b>: Active</p><p><b>description</b>: </p><div><p>Example demonstrating the type+ stereotype that also creates the target type when not fixed</p>
</div><blockquote><p><b>structure</b></p><p><b>url</b>: <a href="http://hl7.org/fhir/R5/datatypes.html#Identifier">Identifier</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/datatypes.html#Identifier">Identifier</a></p><p><b>mode</b>: Target Structure Definition</p></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: GroupTypePlus</p><blockquote><p><b>input</b></p><p><b>mode</b>: Source Instance</p><p><b>name</b>: src</p><p><b>type</b>: Identifier</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>: Identifier</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>system</td><td>v</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: tgt</p><p><b>element</b>: system</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td>v</td></tr></table></blockquote><p><b>name</b>: system</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>value</td><td>v</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: tgt</p><p><b>element</b>: value</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td>v</td></tr></table></blockquote><p><b>name</b>: value</p></blockquote><p><b>typeMode</b>: Default for type + combination</p></blockquote></div>
  </text>
  <url value="http://hl7.org/fhir/uv/fml/StructureMap/GroupTypePlus"/>
  <name value="GroupTypePlus"/>
  <status value="active"/>
  <description value="Example demonstrating the type+ stereotype that also creates the target type when not fixed"/>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/Identifier"/>
    <mode value="source"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/Identifier"/>
    <mode value="target"/>
  </structure>
  <group>
    <name value="GroupTypePlus"/>
    <input>
      <mode value="source"/>
      <name value="src"/>
      <type value="Identifier"/>
    </input>
    <input>
      <mode value="target"/>
      <name value="tgt"/>
      <type value="Identifier"/>
    </input>
    <rule>
      <source>
        <context value="src"/>
        <element value="system"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
      </target>
      <name value="system"/>
    </rule>
    <rule>
      <source>
        <context value="src"/>
        <element value="value"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
      </target>
      <name value="value"/>
    </rule>
    <typeMode value="type-and-types"/>
  </group>
  <id value="GroupTypePlus"/>
</StructureMap>