{
  "resourceType": "CodeSystem",
  "id": "resource-aggregation-mode",
  "meta": {
    "lastUpdated": "2023-03-26T15:21:02.749+11:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://hl7.org/fhir/resource-aggregation-mode</code> defines the following codes:</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\">  bundled<a name=\"resource-aggregation-mode-bundled\"> </a></td><td>Bundled</td><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></tr></table></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "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
    }
  ],
  "url": "http://hl7.org/fhir/resource-aggregation-mode",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.4.86"
    }
  ],
  "version": "5.0.0",
  "name": "AggregationMode",
  "title": "AggregationMode",
  "status": "active",
  "experimental": false,
  "date": "2023-03-26T15:21:02+11:00",
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        },
        {
          "system": "email",
          "value": "fhir@lists.hl7.org"
        }
      ]
    }
  ],
  "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",
  "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."
        }
      ]
    }
  ]
}