<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="b45dba1b-1b22-45f4-9350-eb64e1cec41b" />
  <meta>
    <lastUpdated value="2020-06-29T09:53:09.933+00:00" />
  </meta>
  <url value="https://fhir.cambio.se/StructureDefinition/EncounterOutpatient/v1" />
  <name value="EncounterOutpatient" />
  <status value="draft" />
  <date value="2020-06-29T09:52:54.6174929+00:00" />
  <description value="The Encounter Outpatient is defined as an interaction between a patient and healthcare provider(s) that does not require an overnight stay in a hospital or medical facility. (Not implemented yet)" />
  <fhirVersion value="4.0.0" />
  <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="https://fhir.cambio.se/StructureDefinition/EncounterCore/v1" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <element id="Encounter.meta.source">
      <path value="Encounter.meta.source" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.status">
      <path value="Encounter.status" />
      <comment value="We only support arrived, in-progress, finished, entered-in-error and cancelled.&#xD;&#xA;For no-show patients, check Appointment status." />
    </element>
    <element id="Encounter.statusHistory">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="StatusHistory" />
      </extension>
      <path value="Encounter.statusHistory" />
      <max value="0" />
    </element>
    <element id="Encounter.class">
      <path value="Encounter.class" />
      <comment value="This is a high level categorization of contact types (a contact type group). E.g. outpatient, inpatient, emergency, ambulance and administrative, where each one can have several contact types.&#xD;&#xA;&#xD;&#xA;For this profile the following classifications are allowed: ambulatory, emergency, home health, field, short stay and virtual." />
    </element>
    <element id="Encounter.hospitalization.origin">
      <path value="Encounter.hospitalization.origin" />
      <comment value="Removed, not supported for normal OP encounters or emergency encounters" />
      <max value="0" />
    </element>
    <element id="Encounter.hospitalization.admitSource">
      <path value="Encounter.hospitalization.admitSource" />
      <comment value="Removed, not supported for normal OP encounters or emergency encounters" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>