<StructureDefinition xmlns="http://hl7.org/fhir">
  <text>
    <status value="additional" />
    <div xmlns="http://www.w3.org/1999/xhtml">An Encounter profile represents the care period for a patient in a healthcare department.</div>
  </text>
  <url value="http://fhir.ishmed.com/R4/StructureDefinition/Encounter_Core_Department_1" />
  <version value="1.0.1" />
  <name value="Encounter_Core_Department_1" />
  <status value="active" />
  <date value="2022-07-29" />
  <publisher value="Oracle Cerner" />
  <description value="An Encounter profile represents the care period for a patient in a healthcare department." />
  <copyright value="Copyright © 2022, Oracle and/or its affiliates. All rights reserved." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern 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="Encounter" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Encounter" />
  <derivation value="constraint" />
  <differential>
    <element id="Encounter.status">
      <path value="Encounter.status" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.class">
      <path value="Encounter.class" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.subject">
      <path value="Encounter.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://fhir.ishmed.com/R4/StructureDefinition/Patient_Core_1" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Encounter.period">
      <path value="Encounter.period" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.account">
      <path value="Encounter.account" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.account.identifier">
      <path value="Encounter.account.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.location">
      <path value="Encounter.location" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.location.location">
      <path value="Encounter.location.location" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
        <targetProfile value="http://fhir.ishmed.com/R4/StructureDefinition/Location_Core_1" />
      </type>
    </element>
    <element id="Encounter.serviceProvider">
      <path value="Encounter.serviceProvider" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.partOf">
      <path value="Encounter.partOf" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter" />
        <targetProfile value="http://fhir.ishmed.com/R4/StructureDefinition/Encounter_Core_Facility_1" />
      </type>
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>