MediRecords FHIR Implementation Guide
1.4.1 - release


: Precondition Failed Error Example - JSON Representation

Raw json | Download


{
  "resourceType" : "OperationOutcome",
  "id" : "7dfb229f-c835-4913-bd7c-acfe51a835bf",
  "meta" : {
    "profile" : [
      🔗 "https://fhir.medirecords.com/StructureDefinition/mr-operation-outcome-core"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: OperationOutcome</b><a name=\"7dfb229f-c835-4913-bd7c-acfe51a835bf\"> </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 &quot;7dfb229f-c835-4913-bd7c-acfe51a835bf&quot; </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>Diagnostics</b></td></tr><tr><td style=\"display: none\">*</td><td>error</td><td>business-rule</td><td>Precondition Failed</td></tr></table></div>"
  },
  "issue" : [
    {
      "severity" : "error",
      "code" : "business-rule",
      "diagnostics" : "Precondition Failed"
    }
  ]
}