{
  "resourceType" : "CodeSystem",
  "id" : "resource-aggregation-mode",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system \n              <code>http://hl7.org/fhir/resource-aggregation-mode</code> defines the following codes:\n            </p>\n            <table class=\"codes\">\n              <tr>\n                <td>\n                  <b>Lvl</b>\n                </td>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td>1</td>\n                <td style=\"white-space:nowrap\">contained\n                  <a name=\"resource-aggregation-mode-contained\"> </a>\n                </td>\n                <td>Contained</td>\n                <td>The reference is a local reference to a contained resource.</td>\n              </tr>\n              <tr>\n                <td>1</td>\n                <td style=\"white-space:nowrap\">referenced\n                  <a name=\"resource-aggregation-mode-referenced\"> </a>\n                </td>\n                <td>Referenced</td>\n                <td>The reference to a resource that has to be resolved externally to the resource that includes the reference.</td>\n              </tr>\n              <tr>\n                <td>2</td>\n                <td style=\"white-space:nowrap\">\u00a0\u00a0bundled\n                  <a name=\"resource-aggregation-mode-bundled\"> </a>\n                </td>\n                <td>Bundled</td>\n                <td>When the resource is in a Bundle, the resource the reference points to will be found in the same bundle as the resource that includes the reference.</td>\n              </tr>\n            </table>\n          </div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "normative"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
    "valueCode" : "4.0.0"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 5
  },
  {
    "extension" : [{
      "url" : "packageId",
      "valueId" : "hl7.fhir.uv.xver-r5.r4"
    },
    {
      "url" : "version",
      "valueString" : "0.1.0"
    },
    {
      "url" : "uri",
      "valueUri" : "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"
    }],
    "url" : "http://hl7.org/fhir/StructureDefinition/package-source"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  }],
  "url" : "http://hl7.org/fhir/resource-aggregation-mode",
  "version" : "5.0.0",
  "name" : "AggregationMode",
  "title" : "AggregationMode",
  "status" : "active",
  "experimental" : false,
  "date" : "2023-03-25T23:21:02-05:00",
  "publisher" : "FHIR Infrastructure",
  "contact" : [{
    "name" : "FHIR Infrastructure",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  }],
  "description" : "How resource references can be aggregated.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/resource-aggregation-mode|4.0.1",
  "content" : "complete",
  "concept" : [{
    "code" : "contained",
    "display" : "Contained",
    "definition" : "The reference is a local reference to a contained resource."
  },
  {
    "code" : "referenced",
    "display" : "Referenced",
    "definition" : "The reference to a resource that has to be resolved externally to the resource that includes the reference.",
    "concept" : [{
      "code" : "bundled",
      "display" : "Bundled",
      "definition" : "When the resource is in a Bundle, the resource the reference points to will be found in the same bundle as the resource that includes the reference."
    }]
  }]
}