{
  "resourceType" : "CodeSystem",
  "id" : "resource-aggregation-mode",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem resource-aggregation-mode</b></p><a name=\"resource-aggregation-mode\"> </a><a name=\"hcresource-aggregation-mode\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/resource-aggregation-mode</code> defines the following codes in an undefined hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">contained<a name=\"resource-aggregation-mode-contained\"> </a></td><td>Contained</td><td>The reference is a local reference to a contained resource.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">referenced<a name=\"resource-aggregation-mode-referenced\"> </a></td><td>Referenced</td><td>The reference to a resource that has to be resolved externally to the resource that includes the reference.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0bundled<a name=\"resource-aggregation-mode-bundled\"> </a></td><td>Bundled</td><td>The resource the reference points to will be found in the same bundle as the resource that includes the reference.</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" : 0
  },
  {
    "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/resource-aggregation-mode",
  "version" : "3.0.2",
  "name" : "AggregationMode",
  "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" : "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" : "The resource the reference points to will be found in the same bundle as the resource that includes the reference."
    }]
  }]
}