MediRecords FHIR Implementation Guide
20220217 - ci-build


: Unauthorized Error Example - JSON Representation

Raw json | Download


{
  "resourceType" : "OperationOutcome",
  "id" : "mr-operation-outcome-401-unauthorized",
  "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=\"mr-operation-outcome-401-unauthorized\"> </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 \"mr-operation-outcome-401-unauthorized\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-operation-outcome-core.html\">MediRecords Core OperationOutcome</a></p></div><h3>Issues</h3><table class=\"grid\"><tr><td>-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Diagnostics</b></td></tr><tr><td>*</td><td>warning</td><td>expired</td><td>unauthorized</td></tr></table></div>"
  },
  "issue" : [
    {
      "severity" : "warning",
      "code" : "expired",
      "diagnostics" : "unauthorized"
    }
  ]
}