<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="2f7704e4-f11a-47a9-b396-241ee4dc5095" />
  <meta>
    <lastUpdated value="2024-07-31T18:32:38.8818701+00:00" />
  </meta>
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml">No Narrative Content</div>
  </text>
  <url value="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-profile-OperationOutcome" />
  <version value="1.0.0" />
  <name value="OperationOutcome" />
  <title value="PHSD OperationOutcome" />
  <status value="draft" />
  <date value="2019-05-08T19:52:01.3691039+00:00" />
  <description value="This is the OperationOutcome Profile that contains error or warning information to help with troubleshooting." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="OperationOutcome" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/OperationOutcome" />
  <derivation value="constraint" />
  <differential>
    <element id="OperationOutcome">
      <path value="OperationOutcome" />
      <mustSupport value="true" />
    </element>
    <element id="OperationOutcome.id">
      <path value="OperationOutcome.id" />
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.&#xD;&#xA;When request is prossed even with the error id and meta elements will be returned." />
      <mustSupport value="true" />
    </element>
    <element id="OperationOutcome.meta">
      <path value="OperationOutcome.meta" />
      <mustSupport value="true" />
    </element>
    <element id="OperationOutcome.meta.profile">
      <path value="OperationOutcome.meta.profile" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="OperationOutcome.issue">
      <path value="OperationOutcome.issue" />
      <mustSupport value="true" />
    </element>
    <element id="OperationOutcome.issue.severity">
      <path value="OperationOutcome.issue.severity" />
      <mustSupport value="true" />
    </element>
    <element id="OperationOutcome.issue.code">
      <path value="OperationOutcome.issue.code" />
      <mustSupport value="true" />
    </element>
    <element id="OperationOutcome.issue.details">
      <path value="OperationOutcome.issue.details" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="http://ontariohealth.ca/fhir/ValueSet/phsd-master-service-data-exception-code" />
      </binding>
    </element>
    <element id="OperationOutcome.issue.details.coding">
      <path value="OperationOutcome.issue.details.coding" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="OperationOutcome.issue.details.coding.system">
      <path value="OperationOutcome.issue.details.coding.system" />
      <fixedUri value="http://ontariohealth.ca/fhir/CodeSystem/phsd-master-service-data-exception-code" />
      <mustSupport value="true" />
    </element>
    <element id="OperationOutcome.issue.details.coding.code">
      <path value="OperationOutcome.issue.details.coding.code" />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://ehealthontario.ca/fhir/ValueSet/ppr-master-service-data-exception-code" />
      </binding>
    </element>
    <element id="OperationOutcome.issue.details.text">
      <path value="OperationOutcome.issue.details.text" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>