<?xml version="1.0" encoding="UTF-8"?>

<OperationOutcome xmlns="http://hl7.org/fhir">
  <id value="OperationOutcomeParticipateInvalidPatient"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationOutcome OperationOutcomeParticipateInvalidPatient</b></p><a name="OperationOutcomeParticipateInvalidPatient"> </a><a name="hcOperationOutcomeParticipateInvalidPatient"> </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>Error</td><td>Element value invalid</td><td><span title="Codes:{https://fhir-ig.digital.health.nz/sdhr/CodeSystem/sdhr-outcome-codes sdhr-invalid-patient}">The patient parameter is invalid for the shared digital health record service operation. Please ensure the patient is correctly specified and matches the required NHI Patient URL format.</span></td></tr></table></div>
  </text>
  <issue>
    <severity value="error"/>
    <code value="value"/>
    <details>
      <coding>
        <system value="https://fhir-ig.digital.health.nz/sdhr/CodeSystem/sdhr-outcome-codes"/>
        <code value="sdhr-invalid-patient"/>
        <display value="SDHR Invalid Patient"/>
      </coding>
      <text value="The patient parameter is invalid for the shared digital health record service operation. Please ensure the patient is correctly specified and matches the required NHI Patient URL format."/>
    </details>
  </issue>
</OperationOutcome>