This page is part of the FHIR Specification (v5.0.0-snapshot1: Release 5 Snapshot #1). 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
| FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw JSON (canonical form + also see JSON Format Specification)
An example of a search response
{
"resourceType": "Bundle",
"id": "bundle-example",
"meta": {
"lastUpdated": "2014-08-18T01:43:30Z"
},
"type": "searchset",
"total": 3,
"link": [
{
"relation": "self",
"url": "https://example.com/base/MedicationRequest?patient=347&_include=MedicationRequest.medication&_count=2"
},
{
"relation": "next",
"url": "https://example.com/base/MedicationRequest?patient=347&searchId=ff15fd40-ff71-4b48-b366-09c706bed9d0&page=2"
}
],
"entry": [
{
"fullUrl": "https://example.com/base/MedicationRequest/3123",
"resource": {
"resourceType": "MedicationRequest",
"id": "3123",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div><p>Resource "3123" </p></div><p><b>status</b>: unknown</p><p><b>intent</b>: order</p><p><b>subject</b>: <a>Patient/347</a></p></div>"
},
"status": "unknown",
"intent": "order",
"medication": {
"reference": {
"reference": "Medication/example"
}
},
"subject": {
"reference": "Patient/347"
}
},
"search": {
"mode": "match",
"score": 1
}
},
{
"fullUrl": "https://example.com/base/Medication/example",
"resource": {
"resourceType": "Medication",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div><p>Resource "example" </p></div></div>"
}
},
"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.