{
  "resourceType": "CodeSystem",
  "id": "resource-aggregation-mode",
  "meta": {
    "lastUpdated": "2017-04-18T21:44:43.294+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>AggregationMode</h2><div><p>How resource references can be aggregated.</p></div><p>This code system http://hl7.org/fhir/resource-aggregation-mode defines the following codes:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td>contained\r\n                  <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>referenced\r\n                  <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>  bundled\r\n                  <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
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "http://hl7.org/fhir/resource-aggregation-mode",
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:oid:2.16.840.1.113883.4.642.1.79"
  },
  "version": "3.0.1",
  "name": "AggregationMode",
  "status": "draft",
  "experimental": false,
  "date": "2017-04-18T21:44:43+00: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.",
  "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": "The resource the reference points to will be found in the same bundle as the resource that includes the reference."
        }
      ]
    }
  ]
}