2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Bundle-response.json

Raw JSON (canonical form)

Response for the example transaction

{
  "resourceType": "Bundle",
  "id": "bundle-response",
  "meta": {
    "lastUpdated": "2014-08-18T01:43:33Z"
  },
  "type": "transaction-response",
  "base": "http://example.com/base",
  "entry": [
    {
      "resource": {
        "resourceType": "Patient",
        "id": "12423",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2014-08-18T01:43:31Z"
        },
        "text": {
          "status": "generated",
          "div": "<div>!-- Snipped for Brevity --></div>"
        },
        "name": [
          {
            "use": "official",
            "family": [
              "Chalmers"
            ],
            "given": [
              "Peter",
              "James"
            ]
          }
        ],
        "gender": "male",
        "birthDate": "1974-12-25",
        "active": true
      },
      "transactionResponse": {
        "status": "201 Created",
        "location": "Patient/12423/_history/1",
        "etag": "W/1"
      }
    },
    {
      "transactionResponse": {
        "status": "200 OK"
      }
    },
    {
      "transactionResponse": {
        "status": "200 OK",
        "location": "Patient/123/_history/4",
        "etag": "W/4"
      }
    },
    {
      "transactionResponse": {
        "status": "201 Created",
        "location": "Patient/12424/_history/1",
        "etag": "W/1"
      }
    },
    {
      "transactionResponse": {
        "status": "202 Accepted"
      }
    },
    {
      "transactionResponse": {
        "status": "DELETE"
      }
    },
    {
      "resource": {
        "resourceType": "Parameters",
        "parameter": [
          {
            "name": "name",
            "valueString": "LOINC"
          }
        ]
      },
      "transactionResponse": {
        "status": "200 ok"
      }
    },
    {
      "resource": {
        "resourceType": "Bundle",
        "id": "fb6ed6cb-324e-4588-87cd-0c92c68986ca",
        "type": "searchset"
      },
      "transactionResponse": {
        "status": "200 OK"
      }
    }
  ]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.