PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.dk.kl.gateway.care@1.0.0
    http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-planned-intervention
description: Planned interventions for nursing and home care in Danish Municipalities.
package_name: hl7.fhir.dk.kl.gateway.care
derivation: constraint
name: KLGatewayCarePlannedIntervention
type: CarePlan
elements:
  description: {index: 12}
  category: {index: 10}
  addresses: {index: 22}
  instantiatesCanonical: {index: 3}
  instantiatesUri: {index: 4}
  supportingInfo: {index: 23}
  encounter: {index: 14}
  goal: {index: 24}
  created: {index: 18}
  title: {index: 11}
  note: {index: 57}
  author: {index: 19}
  activity:
    index: 25
    elements:
      outcomeCodeableConcept: {index: 26}
      outcomeReference: {short: '[DK] indsatsgennemførtAktivitet', index: 27}
      progress: {index: 28}
      reference: {index: 29}
      detail:
        index: 30
        elements:
          description: {short: '[DK] handlingsanvisning', index: 56}
          instantiatesCanonical: {index: 32}
          instantiatesUri: {index: 33}
          goal: {index: 44}
          reasonCode: {index: 42}
          statusReason: {index: 46}
          dailyAmount: {index: 54}
          product:
            choices: []
            index: 53
          status: {short: '[DK] indsatsAktivitetsstatus', index: 45}
          kind: {index: 31}
          code:
            index: 34
            elements:
              coding:
                short: '[DK] indsatsskode'
                index: 35
                slicing:
                  rules: closed
                  discriminator:
                  - {path: system, type: value}
                  min: 1
                  slices:
                    level2:
                      match: {system: 'http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII'}
                      schema:
                        binding: {strength: required, valueSet: 'http://gateway.kl.dk/1.0/ValueSet/FSIIICareInterventions'}
                        _required: true
                        index: 36
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII'}
                            type: uri
                            index: 37
                        required: [system]
                    level3:
                      match: {system: 'http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions'}
                      schema:
                        mustSupport: true
                        index: 38
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions'}
                            type: uri
                            index: 39
                          code: {index: 40}
                          display: {index: 41}
                        required: [code, display, system]
            required: [coding]
          doNotPerform: {index: 47}
          scheduled:
            choices: []
            index: 49
          quantity: {index: 55}
          location: {index: 50}
          performer: {index: 51}
          reasonReference:
            type: Reference
            short: '[DK] indsatsbegrundelse'
            mustSupport: true
            refers: ['http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-condition']
            index: 43
        required: [code]
    required: [detail]
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        followUpEncounter:
          match: {url: null}
          schema: {short: '[DK] indsatsPlanlagtOpfølgning', type: Extension, mustSupport: true, url: 'http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-follow-up-encounter-extension', index: 1}
          min: 0
          max: 1
  contributor: {index: 20}
  status: {short: '[DK] indsatsstatus', index: 8}
  identifier: {index: 2}
  intent:
    short: '[DK] indsatshensigt'
    pattern: {type: code, value: plan}
    type: code
    index: 9
  replaces: {index: 6}
  period:
    index: 15
    elements:
      start: {short: '[DK] indsatsbevillingstid', index: 16}
      end: {short: '[DK] indsatsafslutningstid', index: 17}
    required: [start]
  basedOn: {index: 5}
  partOf: {index: 7}
  subject:
    type: Reference
    short: '[DK] indsatssubjekt'
    refers: ['http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-citizen']
    index: 13
  careTeam: {index: 21}
package_version: 1.0.0
extensions:
  followUpEncounter: {url: 'http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-follow-up-encounter-extension', min: 0, max: 1, short: '[DK] indsatsPlanlagtOpfølgning', type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-planned-intervention
base: http://hl7.org/fhir/StructureDefinition/CarePlan
version: '1.0'
required: [activity, period]