: Bundle including OperationOutcome to indicate no search result returned - JSON Representation
Raw json | Download
{
"resourceType" : "Bundle",
"id" : "2a64fcef-1d91-4aa0-a5dc-72e23f1c776b",
"meta" : {
"lastUpdated" : "2021-05-10T01:43:30Z"
},
"type" : "searchset",
"total" : 0,
"entry" : [
{
"fullUrl" : "urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9d",
"resource" : {
"resourceType" : "OperationOutcome",
"id" : "1e5cae20-85bf-11e8-b401-ffccd711ad9d",
"meta" : {
"profile" : [
🔗 "https://fhir.medirecords.com/StructureDefinition/mr-operation-outcome-core"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"OperationOutcome_1e5cae20-85bf-11e8-b401-ffccd711ad9d\"> </a><p class=\"res-header-id\"><b>Generated Narrative: OperationOutcome 1e5cae20-85bf-11e8-b401-ffccd711ad9d</b></p><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9d\"> </a><a name=\"hc1e5cae20-85bf-11e8-b401-ffccd711ad9d\"> </a><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9d-en-US\"> </a><h3>Issues</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Details</b></td></tr><tr><td style=\"display: none\">*</td><td>Information</td><td>Informational Note</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/operation-outcome MSG_NO_MATCH}\">No Resource found matching the query "%s"</span></td></tr></table></div>"
},
"issue" : [
{
"severity" : "information",
"code" : "informational",
"details" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/operation-outcome",
"code" : "MSG_NO_MATCH",
"display" : "No Resource found matching the query \"%s\""
}
]
}
}
]
},
"search" : {
"mode" : "outcome"
}
}
]
}