{
  "resourceType": "StructureDefinition",
  "id": "vkp-CarePlan-v090",
  "url": "http://ehelse.no/fhir/StructureDefinition/vkp-CarePlan-v090",
  "version": "0.9.0",
  "name": "VkpCarePlan",
  "status": "draft",
  "date": "2020-01-20",
  "description": "VKP norway uses the CarePlan to describe.\r\n- tjenesteoversikt\r\n- tiltaksplan\r\n- besøksplan",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "CarePlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CarePlan",
        "path": "CarePlan",
        "definition": "Describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.\r\n\r\nIn VKP application this resource is used for transmitting what is called \"tjeneste\", \"tiltaksplan\" and \"arbeidsplan\". The category is given by the category code and are required to be given according to vkp-careplan-category.\r\n\r\nThe actual description of the careplan is given as text information in CarePlan.activity.detail.description"
      },
      {
        "id": "CarePlan.identifier",
        "path": "CarePlan.identifier",
        "definition": "VKP project uses UUID. \r\n\r\nExample:\r\n~~~\r\n\"identifier\": [\r\n     {\r\n         \"system\":\"urn:ietf:rfc:3986\",\r\n         \"value\":\"urn:uuid:a76d9bbf-f293-4fb7-ad4c-2851cac77162\"\r\n     }\r\n]\r\n~~~\r\n\r\nThis records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "mustSupport": true
      },
      {
        "id": "CarePlan.identifier.system",
        "path": "CarePlan.identifier.system",
        "mustSupport": true
      },
      {
        "id": "CarePlan.identifier.value",
        "path": "CarePlan.identifier.value",
        "mustSupport": true
      },
      {
        "id": "CarePlan.basedOn",
        "path": "CarePlan.basedOn",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/CarePlan",
              "http://ehelse.no/fhir/StructureDefinition/vkp-CarePlan-v090"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.replaces",
        "path": "CarePlan.replaces",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/CarePlan",
              "http://ehelse.no/fhir/StructureDefinition/vkp-CarePlan-v090"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.partOf",
        "path": "CarePlan.partOf",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/CarePlan",
              "http://ehelse.no/fhir/StructureDefinition/vkp-CarePlan-v090"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.status",
        "path": "CarePlan.status",
        "mustSupport": true
      },
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "mustSupport": true
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "definition": "VKP-Norway uses vkp-careplan-category to identify the different kinds of care plans.  \r\n\r\nExamples: \r\ntiltaksplan\r\ntjeneste\r\narbeidsplan\r\n\r\nExample:\r\n~~~\r\n\"category\": [\r\n   {\r\n      \"coding\": [\r\n      {\r\n         \"system\":\"http://ehelse.no/fhir/CodeSystem/vkp-careplan-category-v090\",\r\n         \"code\":\"1\",\r\n         \"display\":\"behandlingsplan\"\r\n         }\r\n      ]\r\n   }\r\n]\r\n~~~",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "VKP-Norway uses vkp-careplan-category to identify the different kinds of care plans.",
          "valueSet": "http://ehelse.no/fhir/ValueSet/vkp-careplan-category-v090"
        }
      },
      {
        "id": "CarePlan.category.coding.system",
        "path": "CarePlan.category.coding.system",
        "fixedUri": "http://ehelse.no/fhir/CodeSystem/vkp-careplan-category-v090"
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "definition": "vkp-Patient is expected. Identifier should be nathional id number of the patient.\r\n\r\nIdentifies the patient or group whose intended care is described by the plan.\r\n\r\nExample:\r\n~~~\r\n \"subject\":{\r\n        \"identifier\":{\r\n            \"system\":\"urn:oid:2.16.578.1.12.4.1.4.1\",\r\n            \"value\":\"05073500186\"\r\n        },\r\n        \"display\":\"Ærlend Sørgård\"\r\n    },\r\n~~~",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/Group",
              "http://ehelse.no/fhir/StructureDefinition/vkp-Patient",
              "http://hl7.no/fhir/StructureDefinition/no-basis-Patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.subject.identifier",
        "path": "CarePlan.subject.identifier",
        "mustSupport": true
      },
      {
        "id": "CarePlan.period",
        "path": "CarePlan.period",
        "definition": "Indicates when the plan did (or is intended to) come into effect and end.\r\n\r\nExample:\r\n~~~\r\n\"period\":{\r\n   \"start\":\"2018-04-24T10:00:00.936+02:00\"\r\n}\r\n~~~",
        "mustSupport": true
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "definition": "Identifies the individual(s) or ogranization who is responsible for the content of the care plan.\r\n\r\nExample:\r\n~~~\r\n\"author\": [\r\n        {\r\n            \"identifier\":{\r\n                \"system\":\"urn:oid:2.16.578.1.12.4.1.2\",\r\n                \"value\":\"102287\"\r\n            },\r\n            \"display\":\"Sykepleietjeneste, pleie- og omsorg\"\r\n        }\r\n    ]\r\n~~~",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/CareTeam",
              "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.author.identifier",
        "path": "CarePlan.author.identifier",
        "mustSupport": true
      },
      {
        "id": "CarePlan.author.identifier.system",
        "path": "CarePlan.author.identifier.system",
        "short": "The official name of the HERid namespace",
        "definition": "The official name of the HERid namespace, identified by its oid value\r\n\r\nEstablishes the namespace for the value - that is, a URL that describes a set values that are unique.",
        "mustSupport": true
      },
      {
        "id": "CarePlan.author.identifier.value",
        "path": "CarePlan.author.identifier.value",
        "definition": "The HERid value identifing the author of the CarePlan (could be a HealthcareService)\r\nThe portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "mustSupport": true
      },
      {
        "id": "CarePlan.author.display",
        "path": "CarePlan.author.display",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity",
        "path": "CarePlan.activity",
        "definition": "VKP-Norway uses activity.detail element to describe the contents of a CarePlan (aktivitetsplan, tjeneste or tiltaksplan). \r\n\r\nIdentifies a planned action to occur as part of the plan.  For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail",
        "path": "CarePlan.activity.detail",
        "definition": "A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.\r\n\r\nVKP-Norway uses this information to describe the contents of a CarePlan (aktivitetsplan, tjeneste or tiltaksplan). \r\n\r\nExample of information in a tiltaksplan:\r\n~~~\r\n\"detail\":{\r\n   \"extension\": [\r\n   {\r\n      \"url\":\"http://ehelse.no/fhir/StructureDefinition/vkp-detailheader-v090\",\r\n      \"valueString\":\"Mål\"\r\n   }\r\n   ],\r\n      \"status\":\"in-progress\",\r\n      \"description\":\"27.02.2018: Trygghet ved utendørs aktivitet Reg: 27.02.2018 Aaltvedt, Vigdis (AALV) Ikke godkjent\"\r\n}\r\n~~~",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.extension",
        "path": "CarePlan.activity.detail.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "CarePlan.activity.detail.extension:header",
        "path": "CarePlan.activity.detail.extension",
        "sliceName": "header",
        "definition": "The header of an activity.detail, usually one of the following: \"Problem/Ressurs\", \"Mål\", \"Tiltak\" or \"Evaluering\"",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ehelse.no/fhir/StructureDefinition/vkp-detailheader-v090"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.activity.detail.description",
        "path": "CarePlan.activity.detail.description",
        "mustSupport": true
      },
      {
        "id": "CarePlan.context",
        "path": "CarePlan.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter",
              "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare",
              "http://ehelse.no/fhir/StructureDefinition/vkp-digital-Encounter-v090"
            ]
          }
        ]
      }
    ]
  }
}