{
  "resourceType": "StructureDefinition",
  "id": "bd2b8c5b-6458-4078-bd7a-97b73f0781ad",
  "meta": {
    "lastUpdated": "2019-01-10T15:07:05.596+00:00"
  },
  "url": "http://healthyme.philips.com/fhir/StructureDefinition/CarePlan",
  "version": "1",
  "name": "CarePlan",
  "title": "Care Plan",
  "status": "draft",
  "date": "2019-01-10T14:34:30.3460166+00:00",
  "publisher": "Philips",
  "description": "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": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "CarePlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CarePlan",
        "path": "CarePlan",
        "short": "Healthcare plan for a specific patient",
        "definition": "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."
      },
      {
        "id": "CarePlan.definition",
        "path": "CarePlan.definition",
        "short": "Definition of the care plan",
        "definition": "Refers to the PlanDefinition for the current CarePlan. All our Care Plans are based on such a PlanDefinition.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://healthyme.philips.com/fhir/StructureDefinition/PlanDefinition"
          }
        ]
      },
      {
        "id": "CarePlan.status",
        "path": "CarePlan.status",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "CarePlanStatus"
            }
          ],
          "strength": "required",
          "valueSetUri": "http://healthyme.philips.com/fhir/ValueSet/care-plan-status"
        }
      },
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "definition": "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)"
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "definition": "The category of the plan, e.g., Lifestyle education (313204009), Disease management (401173007), or Hypertension clinical management plan (412779008). (Copied from the PlanDefinition)",
        "min": 1
      },
      {
        "id": "CarePlan.title",
        "path": "CarePlan.title",
        "definition": "Human-friendly name (copied from the PlanDefinition)",
        "min": 1
      },
      {
        "id": "CarePlan.description",
        "path": "CarePlan.description",
        "definition": "Natural language description of the plan (copied from the PlanDefinition)"
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "CarePlan.period",
        "path": "CarePlan.period",
        "min": 1
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "definition": "The person (either a Practitioner or the Patient himself)  that proposed the plan or enrolled the Patient",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "CarePlan.activity.reference",
        "path": "CarePlan.activity.reference",
        "definition": "For activities to be done by the patient: A Task resource describing the activity.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://healthyme.philips.com/fhir/StructureDefinition/Task"
          }
        ]
      },
      {
        "id": "CarePlan.activity.detail",
        "path": "CarePlan.activity.detail",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.definition",
        "path": "CarePlan.activity.detail.definition",
        "definition": "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": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://healthyme.philips.com/fhir/StructureDefinition/ActivityDefinition"
          }
        ]
      },
      {
        "id": "CarePlan.activity.detail.scheduled[x]:scheduledTiming",
        "path": "CarePlan.activity.detail.scheduledTiming",
        "sliceName": "scheduledTiming",
        "definition": "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": 1,
        "type": [
          {
            "code": "Timing"
          }
        ]
      }
    ]
  }
}