: 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><b>Generated Narrative: OperationOutcome</b><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9d\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource OperationOutcome "1e5cae20-85bf-11e8-b401-ffccd711ad9d" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-operation-outcome-core.html\">MR OperationOutcome</a></p></div><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</td><td>No Resource found matching the query "%s" <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-operation-outcome.html\">Operation Outcome Codes</a>#MSG_NO_MATCH)</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"
}
}
]
}