{
  "resourceType": "Bundle",
  "id": "bundle-response-medsallergies",
  "type": "batch-response",
  "entry": [
    {
      "resource": {
        "resourceType": "Patient",
        "id": "example",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2018-11-12T03:35:20.715Z"
        },
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n                        \u003ctable\u003e\n                            \u003ctbody\u003e\n                                \u003ctr\u003e\n                                    \u003ctd\u003eName\u003c/td\u003e\n                                    \u003ctd\u003ePeter James \n                                        \u003cb\u003eChalmers\u003c/b\u003e (\u0026quot;Jim\u0026quot;)\n                                    \u003c/td\u003e\n                                \u003c/tr\u003e\n                                \u003ctr\u003e\n                                    \u003ctd\u003eAddress\u003c/td\u003e\n                                    \u003ctd\u003e534 Erewhon, Pleasantville, Vic, 3999\u003c/td\u003e\n                                \u003c/tr\u003e\n                                \u003ctr\u003e\n                                    \u003ctd\u003eContacts\u003c/td\u003e\n                                    \u003ctd\u003eHome: unknown. Work: (03) 5555 6473\u003c/td\u003e\n                                \u003c/tr\u003e\n                                \u003ctr\u003e\n                                    \u003ctd\u003eId\u003c/td\u003e\n                                    \u003ctd\u003eMRN: 12345 (Acme Healthcare)\u003c/td\u003e\n                                \u003c/tr\u003e\n                            \u003c/tbody\u003e\n                        \u003c/table\u003e\n                    \u003c/div\u003e"
        },
        "identifier": [
          {
            "use": "usual",
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "MR"
                }
              ]
            },
            "system": "urn:oid:1.2.36.146.595.217.0.1",
            "value": "12345",
            "period": {
              "start": "2001-05-06"
            },
            "assigner": {
              "display": "Acme Healthcare"
            }
          }
        ],
        "active": true,
        "name": [
          {
            "use": "official",
            "family": "Chalmers",
            "given": [
              "Peter",
              "James"
            ]
          },
          {
            "use": "usual",
            "given": [
              "Jim"
            ]
          },
          {
            "use": "maiden",
            "family": "Windsor",
            "given": [
              "Peter",
              "James"
            ],
            "period": {
              "end": "2002"
            }
          }
        ],
        "telecom": [
          {
            "use": "home"
          },
          {
            "system": "phone",
            "value": "(03) 5555 6473",
            "use": "work",
            "rank": 1
          },
          {
            "system": "phone",
            "value": "(03) 3410 5613",
            "use": "mobile",
            "rank": 2
          },
          {
            "system": "phone",
            "value": "(03) 5555 8834",
            "use": "old",
            "period": {
              "end": "2014"
            }
          }
        ],
        "gender": "male",
        "birthDate": "1974-12-25",
        "_birthDate": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
              "valueDateTime": "1974-12-25T14:35:45-05:00"
            }
          ]
        },
        "deceasedBoolean": false,
        "address": [
          {
            "use": "home",
            "type": "both",
            "text": "534 Erewhon St PeasantVille, Rainbow, Vic  3999",
            "line": [
              "534 Erewhon St"
            ],
            "city": "PleasantVille",
            "district": "Rainbow",
            "state": "Vic",
            "postalCode": "3999",
            "period": {
              "start": "1974-12-25"
            }
          }
        ],
        "contact": [
          {
            "relationship": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0131",
                    "code": "N"
                  }
                ]
              }
            ],
            "name": {
              "family": "du Marché",
              "_family": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
                    "valueString": "VV"
                  }
                ]
              },
              "given": [
                "Bénédicte"
              ]
            },
            "telecom": [
              {
                "system": "phone",
                "value": "+33 (237) 998327"
              }
            ],
            "address": {
              "use": "home",
              "type": "both",
              "line": [
                "534 Erewhon St"
              ],
              "city": "PleasantVille",
              "district": "Rainbow",
              "state": "Vic",
              "postalCode": "3999",
              "period": {
                "start": "1974-12-25"
              }
            },
            "gender": "female",
            "period": {
              "start": "2012"
            }
          }
        ],
        "managingOrganization": {
          "reference": "Organization/1"
        }
      },
      "response": {
        "status": "200",
        "etag": "W/1",
        "lastModified": "2018-11-12T03:35:20.717Z"
      }
    },
    {
      "resource": {
        "resourceType": "Bundle",
        "id": "5bdf95d0-24a6-4024-95f5-d546fb479b",
        "meta": {
          "lastUpdated": "2018-11-12T05:42:16.086Z"
        },
        "type": "searchset",
        "total": 0,
        "link": [
          {
            "relation": "self",
            "url": "http://test.fhir.org/r5/MedicationStatement?_format\u003dapplication/fhir+xml\u0026search-id\u003d804eee4a-0a54-4414-9c07-169952f929\u0026\u0026patient\u003dexample\u0026_list\u003d%24current%2Dmedications\u0026_sort\u003d_id"
          }
        ]
      },
      "response": {
        "status": "200",
        "etag": "W/1",
        "lastModified": "2018-11-12T03:35:20.717Z"
      }
    },
    {
      "resource": {
        "resourceType": "Bundle",
        "id": "0c11a91c-3638-4d58-8cf1-40e60f43c6",
        "meta": {
          "lastUpdated": "2018-11-12T05:42:16.209Z"
        },
        "type": "searchset",
        "total": 0,
        "link": [
          {
            "relation": "self",
            "url": "http://test.fhir.org/r5/AllergyIntolerance?_format\u003dapplication/fhir+xml\u0026search-id\u003db1981f8a-4139-4db6-923d-77d764c990\u0026\u0026patient\u003dexample\u0026_list\u003d%24current%2Dallergies\u0026_sort\u003d_id"
          }
        ]
      },
      "response": {
        "status": "200",
        "etag": "W/1",
        "lastModified": "2018-11-12T03:35:20.717Z"
      }
    },
    {
      "resource": {
        "resourceType": "Bundle",
        "id": "19f0fa29-f8fe-4b07-b035-f488893f06",
        "meta": {
          "lastUpdated": "2018-11-12T05:42:16.279Z"
        },
        "type": "searchset",
        "total": 0,
        "link": [
          {
            "relation": "self",
            "url": "http://test.fhir.org/r5/Condition?_format\u003dapplication/fhir+xml\u0026search-id\u003d4d097c43-54aa-4157-b500-be22208dd0\u0026\u0026patient\u003dexample\u0026_list\u003d%24current%2Dproblems\u0026_sort\u003d_id"
          }
        ]
      },
      "response": {
        "status": "200",
        "etag": "W/1",
        "lastModified": "2018-11-12T03:35:20.717Z"
      }
    },
    {
      "resource": {
        "resourceType": "Bundle",
        "id": "dff8ab42-33f9-42ec-88c5-83d3f05323",
        "meta": {
          "lastUpdated": "2018-11-12T05:42:16.351Z"
        },
        "type": "searchset",
        "total": 0,
        "link": [
          {
            "relation": "self",
            "url": "http://test.fhir.org/r5/MedicationStatement?_format\u003dapplication/fhir+xml\u0026search-id\u003d31d4af75-cdcf-4f85-9666-4bafadebb5\u0026\u0026patient\u003dexample\u0026_sort\u003d_id"
          }
        ]
      },
      "response": {
        "status": "200",
        "etag": "W/1",
        "lastModified": "2018-11-12T03:35:20.717Z"
      }
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}