{
  "resourceType" : "CodeSystem",
  "id" : "map-target-list-mode",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      \n      \n            <h2>StructureMapTargetListMode</h2>\n      \n      \n            <div>\n        \n        \n              <p>If field is a list, how to manage the production.</p>\n\n      \n      \n            </div>\n      \n      \n            <p>This code system http://hl7.org/fhir/map-target-list-mode defines the following codes:</p>\n      \n      \n            <table class=\"codes\">\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">\n            \n            \n                  <b>Code</b>\n          \n          \n                </td>\n          \n          \n                <td>\n            \n            \n                  <b>Display</b>\n          \n          \n                </td>\n          \n          \n                <td>\n            \n            \n                  <b>Definition</b>\n          \n          \n                </td>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">first\n            \n            \n                  <a name=\"map-target-list-mode-first\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>First</td>\n          \n          \n                <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>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">share\n            \n            \n                  <a name=\"map-target-list-mode-share\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>Share</td>\n          \n          \n                <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>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">last\n            \n            \n                  <a name=\"map-target-list-mode-last\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>Last</td>\n          \n          \n                <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>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">collate\n            \n            \n                  <a name=\"map-target-list-mode-collate\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>Collate</td>\n          \n          \n                <td>re-use the first item in the list, and keep adding content to it.</td>\n        \n        \n              </tr>\n      \n      \n            </table>\n    \n    \n          </div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2
  },
  {
    "extension" : [{
      "url" : "packageId",
      "valueId" : "hl7.fhir.uv.xver-r4b.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/map-target-list-mode",
  "version" : "4.3.0",
  "name" : "StructureMapTargetListMode",
  "title" : "StructureMapTargetListMode",
  "status" : "draft",
  "experimental" : false,
  "date" : "2021-01-17T06:06:13+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 production.",
  "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-target-list-mode|4.0.1",
  "content" : "complete",
  "concept" : [{
    "code" : "first",
    "display" : "First",
    "definition" : "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."
  },
  {
    "code" : "share",
    "display" : "Share",
    "definition" : "the target instance is shared with the target instances generated by another rule (up to the first common n items, then create new ones)."
  },
  {
    "code" : "last",
    "display" : "Last",
    "definition" : "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."
  },
  {
    "code" : "collate",
    "display" : "Collate",
    "definition" : "re-use the first item in the list, and keep adding content to it."
  }]
}