{
  "resourceType": "StructureDefinition",
  "id": "fiphr-sd-selfcareplan-stu3",
  "meta": {
    "lastUpdated": "2018-01-23T14:03:00.076+00:00"
  },
  "url": "http://phr.kanta.fi/StructureDefinition/fiphr-sd-selfcareplan-stu3",
  "version": "0.9.0",
  "name": "fiphr-sd-selfcareplan-stu3",
  "title": "Finnish PHR SelfCarePlan profile",
  "status": "draft",
  "experimental": true,
  "date": "2018-09-25",
  "publisher": "SoteDigi Oy",
  "description": "StructureDefinition for FinnishPHR SelfCarePlan resource.",
  "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": "Self-care plan for patient",
        "definition": "Describes how the patient himself/herself or the authorized person is planning to care patient's condition or symptoms and what kind of actions is planned to be taken in order to work towards the goal."
      },
      {
        "id": "CarePlan.meta.profile",
        "path": "CarePlan.meta.profile",
        "min": 1,
        "max": "1",
        "fixedUri": "http://phr.kanta.fi/StructureDefinition/fiphr-sd-selfcareplan-stu3"
      },
      {
        "id": "CarePlan.meta.security",
        "path": "CarePlan.meta.security",
        "definition": "Security labels applied to this resource.  These tags connect specific resources to the overall security policy and infrastructure.",
        "max": "1",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SecurityLabels"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "required",
          "description": "Finnish PHR: Security Labels from the Healthcare Privacy and Security Classification System.",
          "valueSetReference": {
            "reference": "http://phr.kanta.fi/ValueSet/fiphr-vs-confidentiality"
          }
        }
      },
      {
        "id": "CarePlan.meta.security.system",
        "path": "CarePlan.meta.security.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v3/Confidentiality"
      },
      {
        "id": "CarePlan.meta.security.version",
        "path": "CarePlan.meta.security.version",
        "max": "0"
      },
      {
        "id": "CarePlan.meta.security.code",
        "path": "CarePlan.meta.security.code",
        "min": 1
      },
      {
        "id": "CarePlan.meta.security.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.meta.security.display",
        "min": 1
      },
      {
        "id": "CarePlan.meta.security.userSelected",
        "path": "CarePlan.meta.security.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.language",
        "path": "CarePlan.language",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference": {
                "reference": "http://hl7.org/fhir/ValueSet/all-languages"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "required",
          "description": "Finnish PHR: A code of human language."
        }
      },
      {
        "id": "CarePlan.text",
        "path": "CarePlan.text",
        "definition": "Narrative contains clinically relevant information of the resource in a human-readable format. The following fields are used: CarePlan.title, CarePlan.status, CarePlan.period, CarePlan.category, CarePlan.goal, CarePlan.description. If available, a text representation of SelfCareGoal resource is included in the narrative.",
        "min": 1
      },
      {
        "id": "CarePlan.contained",
        "path": "CarePlan.contained",
        "type": [
          {
            "code": "Goal",
            "profile": "http://phr.kanta.fi/StructureDefinition/fiphr-sd-selfcaregoal-stu3"
          }
        ]
      },
      {
        "id": "CarePlan.extension",
        "path": "CarePlan.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "CarePlan.extension:creatingApplication",
        "path": "CarePlan.extension",
        "sliceName": "creatingApplication",
        "definition": "Application identification information. SHALL have same values that has been registered for application in PHR application catalog.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication"
          }
        ]
      },
      {
        "id": "CarePlan.extension:creatingApplication.url",
        "path": "CarePlan.extension.url",
        "fixedUri": "http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication"
      },
      {
        "id": "CarePlan.identifier",
        "path": "CarePlan.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "exists",
              "path": "use"
            }
          ],
          "rules": "closed"
        },
        "min": 1
      },
      {
        "id": "CarePlan.identifier:FinnishPHRIdentifier",
        "path": "CarePlan.identifier",
        "sliceName": "FinnishPHRIdentifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.identifier:FinnishPHRIdentifier.use",
        "path": "CarePlan.identifier.use",
        "min": 1,
        "fixedCode": "official"
      },
      {
        "id": "CarePlan.identifier:FinnishPHRIdentifier.type",
        "path": "CarePlan.identifier.type",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier:FinnishPHRIdentifier.system",
        "path": "CarePlan.identifier.system",
        "min": 1,
        "fixedUri": "urn:ietf:rfc:3986"
      },
      {
        "id": "CarePlan.identifier:FinnishPHRIdentifier.value",
        "path": "CarePlan.identifier.value",
        "min": 1
      },
      {
        "id": "CarePlan.identifier:FinnishPHRIdentifier.period",
        "path": "CarePlan.identifier.period",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier:FinnishPHRIdentifier.assigner",
        "path": "CarePlan.identifier.assigner",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier:otherIdentifier",
        "path": "CarePlan.identifier",
        "sliceName": "otherIdentifier"
      },
      {
        "id": "CarePlan.identifier:otherIdentifier.use",
        "path": "CarePlan.identifier.use",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier:otherIdentifier.type",
        "path": "CarePlan.identifier.type",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier:otherIdentifier.system",
        "path": "CarePlan.identifier.system",
        "min": 1
      },
      {
        "id": "CarePlan.identifier:otherIdentifier.value",
        "path": "CarePlan.identifier.value",
        "min": 1
      },
      {
        "id": "CarePlan.identifier:otherIdentifier.period",
        "path": "CarePlan.identifier.period",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier:otherIdentifier.assigner",
        "path": "CarePlan.identifier.assigner",
        "max": "0"
      },
      {
        "id": "CarePlan.definition",
        "path": "CarePlan.definition",
        "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",
        "short": "draft | active | completed | cancelled"
      },
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "fixedCode": "plan"
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "min": 1,
        "max": "1",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "CarePlanCategory"
            }
          ],
          "strength": "required",
          "description": "Identifies what \"kind\" of self-care plan this is to support differentiation between multiple co-existing plans.",
          "valueSetReference": {
            "reference": "http://phr.kanta.fi/ValueSet/fiphr-vs-careplancategory"
          }
        }
      },
      {
        "id": "CarePlan.category.coding",
        "path": "CarePlan.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.category.coding.system",
        "path": "CarePlan.category.coding.system",
        "min": 1,
        "fixedUri": "http://phr.kanta.fi/CodeSystem/fiphr-cs-careplancategory"
      },
      {
        "id": "CarePlan.category.coding.version",
        "path": "CarePlan.category.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.category.coding.code",
        "path": "CarePlan.category.coding.code",
        "min": 1
      },
      {
        "id": "CarePlan.category.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.category.coding.display",
        "min": 1
      },
      {
        "id": "CarePlan.category.coding.userSelected",
        "path": "CarePlan.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.category.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.category.text",
        "max": "0"
      },
      {
        "id": "CarePlan.title",
        "path": "CarePlan.title",
        "min": 1
      },
      {
        "id": "CarePlan.description",
        "path": "CarePlan.description",
        "min": 1
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.subject.id",
        "path": "CarePlan.subject.id",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.reference",
        "path": "CarePlan.subject.reference",
        "min": 1
      },
      {
        "id": "CarePlan.subject.identifier",
        "path": "CarePlan.subject.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.subject.display",
        "max": "0"
      },
      {
        "id": "CarePlan.context",
        "path": "CarePlan.context",
        "max": "0"
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3"
          }
        ]
      },
      {
        "id": "CarePlan.author.reference",
        "path": "CarePlan.author.reference",
        "min": 1
      },
      {
        "id": "CarePlan.author.identifier",
        "path": "CarePlan.author.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.author.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.author.display",
        "max": "0"
      },
      {
        "id": "CarePlan.careTeam",
        "path": "CarePlan.careTeam",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses",
        "path": "CarePlan.addresses",
        "max": "0"
      },
      {
        "id": "CarePlan.supportingInfo",
        "path": "CarePlan.supportingInfo",
        "definition": "Identifies portions of the patient's record that specifically influenced the formation of the plan.  These might include co-morbidities, recent procedures, limitations, recent assessments, etc. Links also symptom check questionnaire responses to the careplan",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-stu3"
          }
        ]
      },
      {
        "id": "CarePlan.supportingInfo.reference",
        "path": "CarePlan.supportingInfo.reference",
        "min": 1
      },
      {
        "id": "CarePlan.supportingInfo.identifier",
        "path": "CarePlan.supportingInfo.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.supportingInfo.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.supportingInfo.display",
        "max": "0"
      },
      {
        "id": "CarePlan.goal",
        "path": "CarePlan.goal",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-sd-selfcaregoal-stu3",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.goal.reference",
        "path": "CarePlan.goal.reference",
        "min": 1
      },
      {
        "id": "CarePlan.goal.identifier",
        "path": "CarePlan.goal.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.goal.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.goal.display",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept",
        "path": "CarePlan.activity.outcomeCodeableConcept",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept.coding",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.outcomeReference",
        "path": "CarePlan.activity.outcomeReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.progress",
        "path": "CarePlan.activity.progress",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.progress.author[x]:authorReference",
        "path": "CarePlan.activity.progress.authorReference",
        "sliceName": "authorReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.activity.progress.author[x]:authorReference.reference",
        "path": "CarePlan.activity.progress.authorReference.reference",
        "min": 1
      },
      {
        "id": "CarePlan.activity.progress.author[x]:authorReference.identifier",
        "path": "CarePlan.activity.progress.authorReference.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.progress.author[x]:authorReference.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.activity.progress.authorReference.display",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.reference",
        "path": "CarePlan.activity.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail",
        "path": "CarePlan.activity.detail",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.category",
        "path": "CarePlan.activity.detail.category",
        "definition": "High-level categorization of the type of activity in a self-care plan.",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "CarePlanActivityCategory"
            }
          ],
          "strength": "required",
          "description": "High-level categorization of the type of activity in a self-care plan.",
          "valueSetReference": {
            "reference": "http://phr.kanta.fi/ValueSet/fiphr-vs-activitycategory"
          }
        }
      },
      {
        "id": "CarePlan.activity.detail.category.coding",
        "path": "CarePlan.activity.detail.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.activity.detail.category.coding.system",
        "path": "CarePlan.activity.detail.category.coding.system",
        "min": 1,
        "fixedUri": "http://phr.kanta.fi/CodeSystem/fiphr-cs-activitycategory"
      },
      {
        "id": "CarePlan.activity.detail.category.coding.version",
        "path": "CarePlan.activity.detail.category.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.category.coding.code",
        "path": "CarePlan.activity.detail.category.coding.code",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.category.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.activity.detail.category.coding.display",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.category.coding.userSelected",
        "path": "CarePlan.activity.detail.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.category.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.activity.detail.category.text",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.definition",
        "path": "CarePlan.activity.detail.definition",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://duodecim.fi/fhir/stu3/StructureDefinition/SelfCareActivityDefinition",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.activity.detail.definition.identifier",
        "path": "CarePlan.activity.detail.definition.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.definition.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.activity.detail.definition.display",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.code",
        "path": "CarePlan.activity.detail.code",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "CarePlanActivityType"
            }
          ],
          "strength": "required",
          "valueSetUri": "http://phr.kanta.fi/ValueSet/fiphr-vs-activitycode"
        }
      },
      {
        "id": "CarePlan.activity.detail.code.coding",
        "path": "CarePlan.activity.detail.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.activity.detail.code.coding.system",
        "path": "CarePlan.activity.detail.code.coding.system",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.code.coding.version",
        "path": "CarePlan.activity.detail.code.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.code.coding.code",
        "path": "CarePlan.activity.detail.code.coding.code",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.activity.detail.code.coding.display",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.code.coding.userSelected",
        "path": "CarePlan.activity.detail.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.activity.detail.code.text",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.reasonCode",
        "path": "CarePlan.activity.detail.reasonCode",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "CarePlanActivityReason"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://phr.kanta.fi/ValueSet/fiphr-vs-reminderid"
          }
        }
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding",
        "path": "CarePlan.activity.detail.reasonCode.coding",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.system",
        "path": "CarePlan.activity.detail.reasonCode.coding.system",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.version",
        "path": "CarePlan.activity.detail.reasonCode.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.code",
        "path": "CarePlan.activity.detail.reasonCode.coding.code",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.activity.detail.reasonCode.coding.display",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.userSelected",
        "path": "CarePlan.activity.detail.reasonCode.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.activity.detail.reasonCode.text",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.reasonReference",
        "path": "CarePlan.activity.detail.reasonReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.goal",
        "path": "CarePlan.activity.detail.goal",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.status",
        "path": "CarePlan.activity.detail.status",
        "short": "not-started | in-progress | completed | cancelled"
      },
      {
        "id": "CarePlan.activity.detail.statusReason",
        "path": "CarePlan.activity.detail.statusReason",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.location",
        "path": "CarePlan.activity.detail.location",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.performer",
        "path": "CarePlan.activity.detail.performer",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.activity.detail.performer.reference",
        "path": "CarePlan.activity.detail.performer.reference",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.performer.identifier",
        "path": "CarePlan.activity.detail.performer.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.performer.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.activity.detail.performer.display",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.product[x]",
        "path": "CarePlan.activity.detail.product[x]",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.dailyAmount",
        "path": "CarePlan.activity.detail.dailyAmount",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.quantity",
        "path": "CarePlan.activity.detail.quantity",
        "max": "0"
      },
      {
        "id": "CarePlan.note",
        "path": "CarePlan.note",
        "max": "0"
      },
      {
        "id": "CarePlan.note.author[x]:authorReference",
        "path": "CarePlan.note.authorReference",
        "sliceName": "authorReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.note.author[x]:authorReference.reference",
        "path": "CarePlan.note.authorReference.reference",
        "min": 1
      },
      {
        "id": "CarePlan.note.author[x]:authorReference.identifier",
        "path": "CarePlan.note.authorReference.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.note.author[x]:authorReference.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CarePlan.note.authorReference.display",
        "max": "0"
      }
    ]
  }
}