MediRecords FHIR Implementation Guide
1.4.1 - release


: Unprocessable Patient resource Error Example - XML Representation

Raw xml | Download


<OperationOutcome xmlns="http://hl7.org/fhir">
  <id value="fab9ac6f-80a6-4c77-94fe-b31121f15b52"/>
  <meta>
    <profile
             value="https://fhir.medirecords.com/StructureDefinition/mr-operation-outcome-core"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationOutcome fab9ac6f-80a6-4c77-94fe-b31121f15b52</b></p><a name="fab9ac6f-80a6-4c77-94fe-b31121f15b52"> </a><a name="hcfab9ac6f-80a6-4c77-94fe-b31121f15b52"> </a><a name="fab9ac6f-80a6-4c77-94fe-b31121f15b52-en-US"> </a><blockquote><p><b>issue</b></p><p><b>severity</b>: Error</p><p><b>code</b>: Invalid Code</p><p><b>details</b>: <span title="Codes:">A valid patient ethnicity is required</span></p><p><b>diagnostics</b>: Invalid Ethnicity provided in the request</p></blockquote><blockquote><p><b>issue</b></p><p><b>severity</b>: Error</p><p><b>code</b>: Invalid Code</p><p><b>details</b>: <span title="Codes:">Invalid Postcode provided in the request</span></p><p><b>diagnostics</b>: Postcode does not exists</p></blockquote></div>
  </text>
  <issue>
    <severity value="error"/>
    <code value="code-invalid"/>
    <details>
      <text value="A valid patient ethnicity is required"/>
    </details>
    <diagnostics value="Invalid Ethnicity provided in the request"/>
  </issue>
  <issue>
    <severity value="error"/>
    <code value="code-invalid"/>
    <details>
      <text value="Invalid Postcode provided in the request"/>
    </details>
    <diagnostics value="Postcode does not exists"/>
  </issue>
</OperationOutcome>