{
  "resourceType": "StructureDefinition",
  "id": "RE03",
  "url": "http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE03",
  "name": "CarePlan",
  "status": "draft",
  "description": "This profile contains all the information about the treatment and medication the patient has received. The profile also contains information about the patient’s complication and the diagnostic samples and examinations.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "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 the patient",
        "definition": "This profile contains all the information about the treatment and medication the patient has received. The profile also contains information about the patient’s complication and the diagnostic samples and examinations."
      },
      {
        "id": "CarePlan.identifier",
        "path": "CarePlan.identifier",
        "short": "Patient ID for the patient to whom the care plan is for",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.identifier.use",
        "path": "CarePlan.identifier.use",
        "max": "0",
        "fixedCode": "official"
      },
      {
        "id": "CarePlan.identifier.type",
        "path": "CarePlan.identifier.type",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier.system",
        "path": "CarePlan.identifier.system",
        "short": "Entry to Patient ID database",
        "min": 1
      },
      {
        "id": "CarePlan.identifier.value",
        "path": "CarePlan.identifier.value",
        "short": "Entry for an unique value string for a patient ID",
        "min": 1
      },
      {
        "id": "CarePlan.identifier.period",
        "path": "CarePlan.identifier.period",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier.assigner",
        "path": "CarePlan.identifier.assigner",
        "max": "0"
      },
      {
        "id": "CarePlan.instantiatesCanonical",
        "path": "CarePlan.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "CarePlan.instantiatesUri",
        "path": "CarePlan.instantiatesUri",
        "max": "0"
      },
      {
        "id": "CarePlan.basedOn",
        "path": "CarePlan.basedOn",
        "max": "0"
      },
      {
        "id": "CarePlan.replaces",
        "path": "CarePlan.replaces",
        "max": "0"
      },
      {
        "id": "CarePlan.partOf",
        "path": "CarePlan.partOf",
        "max": "0"
      },
      {
        "id": "CarePlan.status",
        "path": "CarePlan.status",
        "fixedCode": "active"
      },
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "fixedCode": "plan"
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "max": "0"
      },
      {
        "id": "CarePlan.title",
        "path": "CarePlan.title",
        "short": "Treatment plan for AML",
        "definition": "Treatment plan for a child with AML",
        "max": "0"
      },
      {
        "id": "CarePlan.description",
        "path": "CarePlan.description",
        "max": "0"
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "definition": "Identifies the patient whose intended care is described by the plan.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE01"
            ],
            "aggregation": [
              "bundled"
            ],
            "versioning": "specific"
          }
        ]
      },
      {
        "id": "CarePlan.subject.reference",
        "path": "CarePlan.subject.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.type",
        "path": "CarePlan.subject.type",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.identifier",
        "path": "CarePlan.subject.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.display",
        "path": "CarePlan.subject.display",
        "max": "0"
      },
      {
        "id": "CarePlan.encounter",
        "path": "CarePlan.encounter",
        "max": "0"
      },
      {
        "id": "CarePlan.period",
        "path": "CarePlan.period",
        "definition": "Indicates when the plan comes into effect and when the plan ends. Formats shall be DD-MM-YYYY",
        "max": "0"
      },
      {
        "id": "CarePlan.period.start",
        "path": "CarePlan.period.start",
        "definition": "The start of the period. The boundary is inclusive. Format shall be DD-MM-YYYY.",
        "max": "0"
      },
      {
        "id": "CarePlan.period.end",
        "path": "CarePlan.period.end",
        "definition": "The end of the period. The boundary is inclusive. Format shall be DD-MM-YYYY.",
        "max": "0"
      },
      {
        "id": "CarePlan.created",
        "path": "CarePlan.created",
        "max": "0"
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "definition": "This element contains a reference to the central ward which is responsible for the overall treatment of the patient",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://SeamlessInteroperabilityBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE06"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.author.reference",
        "path": "CarePlan.author.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.author.type",
        "path": "CarePlan.author.type",
        "max": "0"
      },
      {
        "id": "CarePlan.author.identifier",
        "path": "CarePlan.author.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.author.display",
        "path": "CarePlan.author.display",
        "max": "0"
      },
      {
        "id": "CarePlan.contributor",
        "path": "CarePlan.contributor",
        "definition": "Identifies the practitioners who provided the contents of the care plan.",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://SeamlessInteroperabilityBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE02"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.contributor.reference",
        "path": "CarePlan.contributor.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.contributor.type",
        "path": "CarePlan.contributor.type",
        "max": "0"
      },
      {
        "id": "CarePlan.contributor.identifier",
        "path": "CarePlan.contributor.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.contributor.display",
        "path": "CarePlan.contributor.display",
        "max": "0"
      },
      {
        "id": "CarePlan.careTeam",
        "path": "CarePlan.careTeam",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses",
        "path": "CarePlan.addresses",
        "definition": "Identifies the diagnoses whose management are handled by this plan.",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://SeamlessInteroperabilityBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE04"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.addresses.reference",
        "path": "CarePlan.addresses.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses.type",
        "path": "CarePlan.addresses.type",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses.identifier",
        "path": "CarePlan.addresses.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses.display",
        "path": "CarePlan.addresses.display",
        "max": "0"
      },
      {
        "id": "CarePlan.supportingInfo",
        "path": "CarePlan.supportingInfo",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE09",
              "http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE07",
              "http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE05",
              "http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE08",
              "http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE04",
              "http://ReuseBetweenEHRsForChildrenWithAML.dk/fhir/StructureDefinition/RE10"
            ],
            "aggregation": [
              "bundled"
            ],
            "versioning": "specific"
          }
        ]
      },
      {
        "id": "CarePlan.supportingInfo.reference",
        "path": "CarePlan.supportingInfo.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.supportingInfo.type",
        "path": "CarePlan.supportingInfo.type",
        "max": "0"
      },
      {
        "id": "CarePlan.supportingInfo.identifier",
        "path": "CarePlan.supportingInfo.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.supportingInfo.display",
        "path": "CarePlan.supportingInfo.display",
        "max": "0"
      },
      {
        "id": "CarePlan.goal",
        "path": "CarePlan.goal",
        "max": "0"
      },
      {
        "id": "CarePlan.activity",
        "path": "CarePlan.activity",
        "max": "0"
      },
      {
        "id": "CarePlan.note",
        "path": "CarePlan.note",
        "max": "0"
      }
    ]
  }
}