{
  "resourceType" : "CodeSystem",
  "id" : "map-source-list-mode",
  "text" : {
    "status" : "generated",
    "div" : "<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>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status",
    "valueString" : "Informative"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2
  },
  {
    "extension" : [{
      "url" : "packageId",
      "valueId" : "hl7.fhir.uv.xver-r3.r4"
    },
    {
      "url" : "version",
      "valueString" : "0.0.1-snapshot-2"
    }],
    "url" : "http://hl7.org/fhir/StructureDefinition/package-source"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/3.0/ImplementationGuide/hl7.fhir.uv.xver-r3.r4"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/map-source-list-mode",
  "version" : "3.0.2",
  "name" : "StructureMapSourceListMode",
  "status" : "draft",
  "experimental" : false,
  "date" : "2019-10-24T10:53:00+10:00",
  "publisher" : "FHIR Infrastructure",
  "contact" : [{
    "name" : "FHIR Infrastructure",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  }],
  "description" : "If field is a list, how to manage the source",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/map-source-list-mode|4.0.1",
  "content" : "complete",
  "concept" : [{
    "code" : "first",
    "display" : "First",
    "definition" : "Only process this rule for the first in the list"
  },
  {
    "code" : "not_first",
    "display" : "All but the first",
    "definition" : "Process this rule for all but the first"
  },
  {
    "code" : "last",
    "display" : "Last",
    "definition" : "Only process this rule for the last in the list"
  },
  {
    "code" : "not_last",
    "display" : "All but the last",
    "definition" : "Process this rule for all but the last"
  },
  {
    "code" : "only_one",
    "display" : "Enforce only one",
    "definition" : "Only process this rule is there is only item"
  }]
}