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-example.json

Raw JSON (canonical form)

An example of a search response

{
  "resourceType": "Bundle",
  "id": "bundle-example",
  "meta": {
    "lastUpdated": "2014-08-18T01:43:30Z"
  },
  "type": "searchset",
  "base": "http://example.com/base",
  "total": 3,
  "link": [
    {
      "relation": "self",
      "url": "https://example.com/base/MedicationPrescription?patient=347&_include=MedicationPrescription.medication"
    },
    {
      "relation": "next",
      "url": "https://example.com/base/MedicationPrescription?patient=347&searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2"
    }
  ],
  "entry": [
    {
      "resource": {
        "resourceType": "MedicationPrescription",
        "id": "3123",
        "patient": {
          "reference": "Patient/347"
        },
        "medication": {
          "reference": "Medication/example"
        }
      },
      "search": {
        "mode": "match",
        "score": 1
      }
    },
    {
      "resource": {
        "resourceType": "Medication",
        "id": "example"
      },
      "search": {
        "mode": "include"
      }
    }
  ]
}

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.