PackagesCanonicalsLogsProblems
    Packages
    SUPPORT.R4@3.0.0
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-selfcareplan-r4
description: StructureDefinition for FinnishPHR SelfCarePlan resource.
package_name: SUPPORT.R4
derivation: constraint
name: FIPHRSDCarePlan
type: CarePlan
elements:
  description: {index: 27}
  category:
    binding: {strength: required, valueSet: 'http://phr.kanta.fi/ValueSet/fiphr-vs-careplancategory'}
    index: 18
    elements:
      coding:
        index: 19
        elements:
          system:
            pattern: {type: Uri, value: 'http://phr.kanta.fi/CodeSystem/fiphr-cs-careplancategory'}
            index: 20
          version: {index: 21}
          code: {index: 22}
          display: {index: 23}
          userSelected: {index: 24}
        required: [display, system, code]
      text: {index: 25}
    required: [coding, text]
  addresses: {index: 41}
  meta:
    elements:
      profile:
        pattern: {type: Canonical, value: 'http://phr.kanta.fi/StructureDefinition/fiphr-sd-selfcareplan-r4'}
        index: 0
    required: [profile]
  supportingInfo:
    type: Reference
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-questionnaireresponse-r4']
    index: 42
    elements:
      reference: {index: 43}
      type: {index: 44}
      identifier: {index: 45}
      display: {index: 46}
    required: [reference]
  encounter: {index: 34}
  goal:
    type: Reference
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-selfcaregoal-r4']
    index: 47
    elements:
      reference: {index: 48}
      type: {index: 49}
      identifier: {index: 50}
      display: {index: 51}
    required: [reference]
  title: {index: 26}
  note: {index: 87}
  author:
    type: Reference
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
    index: 35
    elements:
      reference: {index: 36}
      type: {index: 37}
      identifier: {index: 38}
      display: {index: 39}
    required: [reference]
  activity:
    elements:
      outcomeCodeableConcept: {index: 52}
      outcomeReference: {index: 53}
      progress: {index: 54}
      reference: {index: 55}
      detail:
        index: 56
        elements:
          goal: {index: 75}
          reasonCode:
            binding: {strength: required, valueSet: 'http://phr.kanta.fi/ValueSet/fiphr-vs-reminderid'}
            index: 66
            elements:
              coding:
                index: 67
                elements:
                  system: {index: 68}
                  version: {index: 69}
                  code: {index: 70}
                  display: {index: 71}
                  userSelected: {index: 72}
                required: [display, system, code]
              text: {index: 73}
            required: [coding, text]
          statusReason: {index: 77}
          dailyAmount: {index: 85}
          product:
            choices: []
            index: 84
          status: {short: not-started | in-progress | completed | cancelled, index: 76}
          kind: {index: 57}
          code:
            binding: {strength: required, valueSet: 'http://phr.kanta.fi/ValueSet/fiphr-vs-activitycode'}
            index: 58
            elements:
              coding:
                index: 59
                elements:
                  system: {index: 60}
                  version: {index: 61}
                  code: {index: 62}
                  display: {index: 63}
                  userSelected: {index: 64}
                required: [display, system, code]
              text: {index: 65}
            required: [coding]
          quantity: {index: 86}
          performer:
            type: Reference
            refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
            index: 78
            elements:
              reference: {index: 79}
              type: {index: 80}
              identifier: {index: 81}
              display: {index: 82}
            required: [reference]
          reasonReference: {index: 74}
    required: [detail]
  extension:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        creatingApplication:
          match: {url: null}
          schema: {type: Extension, short: Additional Content defined by implementations, url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication', index: 5}
          max: 1
  contained: {type: Resource, index: 3}
  status: {short: draft | active | completed | revoked, index: 16}
  language: {index: 1}
  identifier:
    index: 6
    elements:
      use: {index: 7}
      type: {index: 8}
      system: {index: 9}
      value: {index: 10}
      period: {index: 11}
      assigner: {index: 12}
    required: [value, system]
  intent:
    pattern: {type: Code, value: plan}
    index: 17
  replaces: {index: 14}
  basedOn: {index: 13}
  partOf: {index: 15}
  subject:
    type: Reference
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
    index: 28
    elements:
      id: {index: 29}
      reference: {index: 30}
      type: {index: 31}
      identifier: {index: 32}
      display: {index: 33}
    required: [reference]
  careTeam: {index: 40}
  text: {index: 2}
package_version: 3.0.0
extensions:
  creatingApplication: {url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication', max: 1, type: Extension, short: Additional Content defined by implementations, index: 5}
class: profile
kind: resource
url: http://phr.kanta.fi/StructureDefinition/fiphr-sd-selfcareplan-r4
base: http://hl7.org/fhir/StructureDefinition/CarePlan
version: '0.1'
required: [author, text, identifier, title, category, language, description]