{
  "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\">\n            <h2>AggregationMode</h2>\n            <div>\n              <p>How resource references can be aggregated.</p>\n\n            </div>\n            <p>This code system http://hl7.org/fhir/resource-aggregation-mode defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\n                <td>\n                  <b>Lvl</b>\n                </td>\n                <td>\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>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>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>  bundled\n                  <a name=\"resource-aggregation-mode-bundled\"> </a>\n                </td>\n                <td>Bundled</td>\n                <td>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-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."
        }
      ]
    }
  ]
}