<OperationOutcome xmlns="http://hl7.org/fhir">
  <id value="core-examples-OperationOutcome-example" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2016-09-08T11:38:06.883+00:00" />
  </meta>
  <text>
    <status value="additional" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>W is not a recognized code for Gender.</p>
    </div>
  </text>
  <issue>
    <severity value="error" />
    <code value="code-invalid" />
    <details>
      <text value="The code &quot;W&quot; is not known and not legal in this context" />
    </details>
    <diagnostics value="Acme.Interop.FHIRProcessors.Patient.processGender line 2453" />
    <location value="/f:Person/f:gender" />
  </issue>
</OperationOutcome>