<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="bd2b8c5b-6458-4078-bd7a-97b73f0781ad" />
  <meta>
    <lastUpdated value="2019-01-10T15:07:05.596+00:00" />
  </meta>
  <url value="http://healthyme.philips.com/fhir/StructureDefinition/CarePlan" />
  <version value="1" />
  <name value="CarePlan" />
  <title value="Care Plan" />
  <status value="draft" />
  <date value="2019-01-10T14:34:30.3460166+00:00" />
  <publisher value="Philips" />
  <description value="This describes the intention of how to deliver care for a particular Patient for a period of time, possibly limited to care for a specific condition or set of conditions." />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="CarePlan" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/CarePlan" />
  <derivation value="constraint" />
  <differential>
    <element id="CarePlan">
      <path value="CarePlan" />
      <short value="Healthcare plan for a specific patient" />
      <definition value="This describes the intention of how to deliver care for a particular Patient for a period of time, possibly limited to care for a specific condition or set of conditions." />
    </element>
    <element id="CarePlan.definition">
      <path value="CarePlan.definition" />
      <short value="Definition of the care plan" />
      <definition value="Refers to the PlanDefinition for the current CarePlan. All our Care Plans are based on such a PlanDefinition." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://healthyme.philips.com/fhir/StructureDefinition/PlanDefinition" />
      </type>
    </element>
    <element id="CarePlan.status">
      <path value="CarePlan.status" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="CarePlanStatus" />
        </extension>
        <strength value="required" />
        <valueSetUri value="http://healthyme.philips.com/fhir/ValueSet/care-plan-status" />
      </binding>
    </element>
    <element id="CarePlan.intent">
      <path value="CarePlan.intent" />
      <definition value="The degree of authority/intentionality associated with a care plan. We take “proposal” to mean that the care plan is recommended by a Practitioner and “order” to mean that the Patient was enrolled in the plan, either by a Practitioner or by himself (in both cases indicated by the author field)" />
    </element>
    <element id="CarePlan.category">
      <path value="CarePlan.category" />
      <definition value="The category of the plan, e.g., Lifestyle education (313204009), Disease management (401173007), or Hypertension clinical management plan (412779008). (Copied from the PlanDefinition)" />
      <min value="1" />
    </element>
    <element id="CarePlan.title">
      <path value="CarePlan.title" />
      <definition value="Human-friendly name (copied from the PlanDefinition)" />
      <min value="1" />
    </element>
    <element id="CarePlan.description">
      <path value="CarePlan.description" />
      <definition value="Natural language description of the plan (copied from the PlanDefinition)" />
    </element>
    <element id="CarePlan.subject">
      <path value="CarePlan.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="CarePlan.period">
      <path value="CarePlan.period" />
      <min value="1" />
    </element>
    <element id="CarePlan.author">
      <path value="CarePlan.author" />
      <definition value="The person (either a Practitioner or the Patient himself)  that proposed the plan or enrolled the Patient" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
      </type>
    </element>
    <element id="CarePlan.activity.reference">
      <path value="CarePlan.activity.reference" />
      <definition value="For activities to be done by the patient: A Task resource describing the activity." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://healthyme.philips.com/fhir/StructureDefinition/Task" />
      </type>
    </element>
    <element id="CarePlan.activity.detail">
      <path value="CarePlan.activity.detail" />
      <min value="1" />
    </element>
    <element id="CarePlan.activity.detail.definition">
      <path value="CarePlan.activity.detail.definition" />
      <definition value="The ActivityDefinition that defines this activity. Note that for a single ActivityDefinition there may be multiple Activities in the same care plan, in particular when the ActivityDefinition specifies a repetitive Timing." />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://healthyme.philips.com/fhir/StructureDefinition/ActivityDefinition" />
      </type>
    </element>
    <element id="CarePlan.activity.detail.scheduled[x]:scheduledTiming">
      <path value="CarePlan.activity.detail.scheduledTiming" />
      <sliceName value="scheduledTiming" />
      <definition value="When the activity occurred or is planned to occur. Whenever a repetitive activity is completed, a new Activity record is created with a Timing that specifies the actual occurrence (in an event field)." />
      <min value="1" />
      <type>
        <code value="Timing" />
      </type>
    </element>
  </differential>
</StructureDefinition>