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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="map-source-list-mode"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem map-source-list-mode</b></p><a name="map-source-list-mode"> </a><a name="hcmap-source-list-mode"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/map-source-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-source-list-mode-first"> </a></td><td>First</td><td>Only process this rule for the first in the list</td></tr><tr><td style="white-space:nowrap">not_first<a name="map-source-list-mode-not_first"> </a></td><td>All but the first</td><td>Process this rule for all but the first</td></tr><tr><td style="white-space:nowrap">last<a name="map-source-list-mode-last"> </a></td><td>Last</td><td>Only process this rule for the last in the list</td></tr><tr><td style="white-space:nowrap">not_last<a name="map-source-list-mode-not_last"> </a></td><td>All but the last</td><td>Process this rule for all but the last</td></tr><tr><td style="white-space:nowrap">only_one<a name="map-source-list-mode-only_one"> </a></td><td>Enforce only one</td><td>Only process this rule is there is only item</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status">
    <valueString value="Informative"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="2"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r3.r4"/>
    </extension>
    <extension url="version">
      <valueString value="0.0.1-snapshot-2"/>
    </extension>
  </extension>
  <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="trial-use">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="http://hl7.org/fhir/3.0/ImplementationGuide/hl7.fhir.uv.xver-r3.r4"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/map-source-list-mode"/>
  <version value="3.0.2"/>
  <name value="StructureMapSourceListMode"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2019-10-24T10:53:00+10:00"/>
  <publisher value="FHIR Infrastructure"/>
  <contact>
    <name value="FHIR Infrastructure"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="If field is a list, how to manage the source"/>
  <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-source-list-mode|4.0.1"/>
  <content value="complete"/>
  <concept>
    <code value="first"/>
    <display value="First"/>
    <definition value="Only process this rule for the first in the list"/>
  </concept>
  <concept>
    <code value="not_first"/>
    <display value="All but the first"/>
    <definition value="Process this rule for all but the first"/>
  </concept>
  <concept>
    <code value="last"/>
    <display value="Last"/>
    <definition value="Only process this rule for the last in the list"/>
  </concept>
  <concept>
    <code value="not_last"/>
    <display value="All but the last"/>
    <definition value="Process this rule for all but the last"/>
  </concept>
  <concept>
    <code value="only_one"/>
    <display value="Enforce only one"/>
    <definition value="Only process this rule is there is only item"/>
  </concept>
</CodeSystem>