{
  "resourceType": "CodeSystem",
  "id": "bundle-type",
  "meta": {
    "lastUpdated": "2017-04-18T21:44:43.294+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <h2>BundleType</h2>\n            <div>\n              <p>Indicates the purpose of a bundle - how it was intended to be used.</p>\n\n            </div>\n            <p>This code system http://hl7.org/fhir/bundle-type defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\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>document\n                  <a name=\"bundle-type-document\"> </a>\n                </td>\n                <td>Document</td>\n                <td>The bundle is a document. The first resource is a Composition.</td>\n              </tr>\n              <tr>\n                <td>message\n                  <a name=\"bundle-type-message\"> </a>\n                </td>\n                <td>Message</td>\n                <td>The bundle is a message. The first resource is a MessageHeader.</td>\n              </tr>\n              <tr>\n                <td>transaction\n                  <a name=\"bundle-type-transaction\"> </a>\n                </td>\n                <td>Transaction</td>\n                <td>The bundle is a transaction - intended to be processed by a server as an atomic commit.</td>\n              </tr>\n              <tr>\n                <td>transaction-response\n                  <a name=\"bundle-type-transaction-response\"> </a>\n                </td>\n                <td>Transaction Response</td>\n                <td>The bundle is a transaction response. Because the response is a transaction response, the transaction has succeeded, and all responses are error free.</td>\n              </tr>\n              <tr>\n                <td>batch\n                  <a name=\"bundle-type-batch\"> </a>\n                </td>\n                <td>Batch</td>\n                <td>The bundle is a transaction - intended to be processed by a server as a group of actions.</td>\n              </tr>\n              <tr>\n                <td>batch-response\n                  <a name=\"bundle-type-batch-response\"> </a>\n                </td>\n                <td>Batch Response</td>\n                <td>The bundle is a batch response. Note that as a batch, some responses may indicate failure and others success.</td>\n              </tr>\n              <tr>\n                <td>history\n                  <a name=\"bundle-type-history\"> </a>\n                </td>\n                <td>History List</td>\n                <td>The bundle is a list of resources from a history interaction on a server.</td>\n              </tr>\n              <tr>\n                <td>searchset\n                  <a name=\"bundle-type-searchset\"> </a>\n                </td>\n                <td>Search Results</td>\n                <td>The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.</td>\n              </tr>\n              <tr>\n                <td>collection\n                  <a name=\"bundle-type-collection\"> </a>\n                </td>\n                <td>Collection</td>\n                <td>The bundle is a set of resources collected into a single package for ease of distribution.</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": 5
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "http://hl7.org/fhir/bundle-type",
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:oid:2.16.840.1.113883.4.642.1.613"
  },
  "version": "3.0.1",
  "name": "BundleType",
  "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": "Indicates the purpose of a bundle - how it was intended to be used.",
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/bundle-type",
  "content": "complete",
  "concept": [
    {
      "code": "document",
      "display": "Document",
      "definition": "The bundle is a document. The first resource is a Composition."
    },
    {
      "code": "message",
      "display": "Message",
      "definition": "The bundle is a message. The first resource is a MessageHeader."
    },
    {
      "code": "transaction",
      "display": "Transaction",
      "definition": "The bundle is a transaction - intended to be processed by a server as an atomic commit."
    },
    {
      "code": "transaction-response",
      "display": "Transaction Response",
      "definition": "The bundle is a transaction response. Because the response is a transaction response, the transaction has succeeded, and all responses are error free."
    },
    {
      "code": "batch",
      "display": "Batch",
      "definition": "The bundle is a transaction - intended to be processed by a server as a group of actions."
    },
    {
      "code": "batch-response",
      "display": "Batch Response",
      "definition": "The bundle is a batch response. Note that as a batch, some responses may indicate failure and others success."
    },
    {
      "code": "history",
      "display": "History List",
      "definition": "The bundle is a list of resources from a history interaction on a server."
    },
    {
      "code": "searchset",
      "display": "Search Results",
      "definition": "The bundle is a list of resources returned as a result of a search/query interaction, operation, or message."
    },
    {
      "code": "collection",
      "display": "Collection",
      "definition": "The bundle is a set of resources collected into a single package for ease of distribution."
    }
  ]
}