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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="map-target-list-mode"/>
  <meta>
    <lastUpdated value="2026-04-01T17:59:15.240+00:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: CodeSystem map-target-list-mode</b>
      </p>
      <a name="map-target-list-mode"> </a>
      <a name="hcmap-target-list-mode"> </a>
      <p>This case-sensitive code system 
        <code>http://hl7.org/fhir/map-target-list-mode</code> defines the following codes:
      </p>
      <table class="codes">
        <tr>
          <td style="white-space:nowrap">
            <b>Code</b>
          </td>
          <td>
            <b>Display</b>
          </td>
          <td>
            <b>Definition</b>
          </td>
        </tr>
        <tr>
          <td style="white-space:nowrap">first
            <a name="map-target-list-mode-first"> </a>
          </td>
          <td>First</td>
          <td>when the target list is being assembled, the items for this rule go first. If more than one rule defines a first item (for a given instance of mapping) then this is an error.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">share
            <a name="map-target-list-mode-share"> </a>
          </td>
          <td>Share</td>
          <td>the target instance is shared with the target instances generated by another rule (up to the first common n items, then create new ones).</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">last
            <a name="map-target-list-mode-last"> </a>
          </td>
          <td>Last</td>
          <td>when the target list is being assembled, the items for this rule go last. If more than one rule defines a last item (for a given instance of mapping) then this is an error.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">single
            <a name="map-target-list-mode-single"> </a>
          </td>
          <td>single</td>
          <td>the target instance is shared with a number of target instances generated by another rule (up to the first common n items, then create new ones).</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="4"/>
  </extension>
  <url value="http://hl7.org/fhir/map-target-list-mode"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.4.686"/>
  </identifier>
  <identifier>
    <use value="old"/>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.1.672"/>
  </identifier>
  <version value="6.0.0-ballot4"/>
  <name value="StructureMapTargetListMode"/>
  <title value="Structure Map Target List Mode"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2021-01-05T10:01:24+11:00"/>
  <publisher value="HL7 (FHIR Project)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="fhir@lists.hl7.org"/>
    </telecom>
  </contact>
  <description value="If field is a list, how to manage the production."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <valueSet value="http://hl7.org/fhir/ValueSet/map-target-list-mode"/>
  <content value="complete"/>
  <concept>
    <code value="first"/>
    <display value="First"/>
    <definition value="when the target list is being assembled, the items for this rule go first. If more than one rule defines a first item (for a given instance of mapping) then this is an error."/>
  </concept>
  <concept>
    <code value="share"/>
    <display value="Share"/>
    <definition value="the target instance is shared with the target instances generated by another rule (up to the first common n items, then create new ones)."/>
  </concept>
  <concept>
    <code value="last"/>
    <display value="Last"/>
    <definition value="when the target list is being assembled, the items for this rule go last. If more than one rule defines a last item (for a given instance of mapping) then this is an error."/>
  </concept>
  <concept>
    <code value="single"/>
    <display value="single"/>
    <definition value="the target instance is shared with a number of target instances generated by another rule (up to the first common n items, then create new ones)."/>
  </concept>
</CodeSystem>