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 class=\"res-header-id\"><b>Generated Narrative: MedicationRequest 3123</b></p><a name=\"3123\"> </a><a name=\"hc3123\"> </a><a name=\"3123-en-AU\"> </a><p><b>status</b>: unknown</p><p><b>intent</b>: order</p><h3>Medications</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"broken-link.html\">??</a></td></tr></table><p><b>subject</b>: <a href=\"patient-example-f001-pieter.html\">Pieter van de Heuvel male, DoB: 1944-11-17 ( urn:oid:2.16.840.1.113883.2.4.6.3#?ngen-9?\u00a0(use:\u00a0usual,\u00a0))</a></p></div>"
},
"status" : "unknown",
"intent" : "order",
"medication" : {
"reference" : {
"reference" : "Medication/example"
}
},
"subject" : {
"reference" : "Patient/f001"
}
},
"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 class=\"res-header-id\"><b>Generated Narrative: Medication example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><a name=\"example-en-AU\"> </a></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.