<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ocp-episodeofcare" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2018-04-27T21:54:39.184+00:00" />
  </meta>
  <language value="US-en" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
The FHIR STU3 (Release 3) Omnibus Care Plan (OCP) EpisodeOfCare profile uses FHIR resources and describes minimum expectations for the EpisodeOfCare with supported data elements and changes to the cardinality about an individual OCP patient. It identifies which core elements, extensions, vocabularies and value sets SHALL be present in the resource when using this profile.
Dependencies:
   EpisodeOfCare profile that conform to this specification must include reference to other resources 
<ul><li>OCP-Patient</li><li>Condition</li><li>Organization</li><li>ReferralRequest</li><li>OCP-Practitioner</li><li>CareTeam</li><li>Account</li></ul></div>
  </text>
  <url value="http://hl7.org/fhir/StructureDefinition/ocp-episodeofcare" />
  <version value="1.0" />
  <name value="OCP EpisodeOfCare Profile" />
  <title value="OCP EpisodeOfCare Profile" />
  <status value="draft" />
  <date value="2018-03-23T00:30:10.643-04:00" />
  <publisher value="SAMHSA" />
  <contact>
    <name value="Neelima Chennamaraja" />
    <telecom>
      <system value="url" />
      <value value="www.eversolve.com" />
      <period>
        <start value="1999-06-15" />
      </period>
    </telecom>
    <telecom>
      <system value="email" />
      <value value="neelima@eversolve.com" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="The EpisodeOfCare Profile contains information about an association of a Omnibus Care Plan (OCP) Patient with a Healthcare Provider for a period of time under which related healthcare activities may occur. In many cases, this represents a period of time where the Healthcare Provider has some level of responsibility for the care of the patient regarding a specific condition or problem, even if not currently participating in an encounter.&#xD;&#xA;The EpisodeOfCare profile is primarily used as a tracking resource, and contains details about the purpose of the care and can exist without any activities. The minimal information that would be required in an episode of care would be a OCP patient, organization and a reason for the ongoing association. Other reasons for creating an EpisodeOfCare could be for tracking the details required for government reporting or billing.&#xD;&#xA;The primary difference between the EpisodeOfCare and the Encounter is that the Encounter records the details of an activity directly relating to the patient, while the EpisodeOfCare is the container that can link a series of Encounters together for problems/issues." />
  <jurisdiction>
    <coding>
      <code value="US" />
      <display value="US-Realm" />
    </coding>
    <text value="US-Realm OCP EpisodeOfCare Profile published by SAMHSA" />
  </jurisdiction>
  <purpose value="This profile for EpisodeOfCare includes all the elements related to basic need for OCP (which could change over time). This profile is intended to be implemented by OCP (Omnibus Care Plan) systems." />
  <copyright value="+Copyright (c) 2017 SAMHSA. All Rights Reserved." />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="EpisodeOfCare" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" />
  <derivation value="constraint" />
  <differential>
    <element id="EpisodeOfCare.status">
      <path value="EpisodeOfCare.status" />
      <definition value="System assigned status &quot;active&quot; when EpisodeOfCare is created based on the Enrollment task. At this time, this will be the only status but other status will be used in future when there are specific business requirements to track the EpisodeOfCare state machine." />
      <mustSupport value="true" />
    </element>
    <element id="EpisodeOfCare.statusHistory">
      <path value="EpisodeOfCare.statusHistory" />
      <short value="List of status codes (the current status may be included to cover the start date of the status)" />
      <definition value="The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource). Status history may be useful but will be implemented at later time depending on specific business needs regarding how to use it." />
    </element>
    <element id="EpisodeOfCare.type">
      <path value="EpisodeOfCare.type" />
      <definition value="A classification of the type of episode of care; e.g. specialist referral, disease management, type of funded care. System to populate &quot;hacc&quot; by default when created." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/StructureDefinition/CodeableConcept" />
      </type>
      <defaultValueCodeableConcept>
        <coding>
          <code value="hacc" />
          <display value="Home and Community Care" />
        </coding>
      </defaultValueCodeableConcept>
      <mustSupport value="true" />
    </element>
    <element id="EpisodeOfCare.diagnosis">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Diagnosis" />
      </extension>
      <path value="EpisodeOfCare.diagnosis" />
      <definition value="The list of diagnosis relevant to this episode of care. Diagnosis may be useful but will be implemented at later time depending on specific business needs and where to get those." />
    </element>
    <element id="EpisodeOfCare.diagnosis.condition">
      <path value="EpisodeOfCare.diagnosis.condition" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </type>
    </element>
    <element id="EpisodeOfCare.patient">
      <path value="EpisodeOfCare.patient" />
      <definition value="The patient who is the focus of this episode of care. System to populate reference to the current Patient context for which Enrollment task is active." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ocp-patient" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="EpisodeOfCare.managingOrganization">
      <path value="EpisodeOfCare.managingOrganization" />
      <definition value="The organization that has assumed the specific responsibilities for the specified duration. System to populate reference to the current organization context under which Enrollment task is active (generally user's organization but there should be current organization context since practitioner user may be linked to multiple organizations)." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="EpisodeOfCare.period">
      <path value="EpisodeOfCare.period" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="EpisodeOfCare.period.start">
      <path value="EpisodeOfCare.period.start" />
      <definition value="The start of the period. The boundary is inclusive. System populates start date when the Enrollment task is active." />
    </element>
    <element id="EpisodeOfCare.period.end">
      <path value="EpisodeOfCare.period.end" />
      <definition value="End date will not be used at this time but will be used when other status such as finished and cancelled are supported. &#xD;&#xA;The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time." />
    </element>
    <element id="EpisodeOfCare.referralRequest">
      <path value="EpisodeOfCare.referralRequest" />
      <definition value="Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.  Will not be used at this time but may be used in future when ReferralRequest is implemented." />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="EpisodeOfCare.careManager">
      <path value="EpisodeOfCare.careManager" />
      <definition value="The practitioner that is the care manager/care co-ordinator for this patient. System to populate reference to the Practitioner resource related to the current user context at the time of creating EpisodeOfCare based on when the Enrollment task is active. This will generally be care coordinator role but may also be care manager role." />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ocp-practitioner" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="EpisodeOfCare.team">
      <path value="EpisodeOfCare.team" />
      <definition value="The list of practitioners that may be facilitating this episode of care for specific purposes. Seems redudant to Care team so will not use it for now but there may be business needs at later." />
    </element>
  </differential>
</StructureDefinition>