PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.dk.kl.gateway.care@1.0.0
    http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-completed-intervention
description: Documentation for completed interventions (activities related to one and only one encounter) in Danish municipalities
package_name: hl7.fhir.dk.kl.gateway.care
derivation: constraint
name: KLGatewayCareCompletedIntervention
type: Procedure
elements:
  category: {index: 7}
  report: {index: 30}
  usedCode: {index: 37}
  usedReference: {index: 36}
  instantiatesCanonical: {index: 1}
  instantiatesUri: {index: 2}
  focalDevice: {index: 35}
  encounter: {index: 17}
  complicationDetail: {index: 32}
  reasonCode: {index: 26}
  statusReason: {index: 6}
  performed:
    choices: [performedDateTime]
    index: 19
  outcome: {index: 29}
  asserter: {index: 23}
  note: {index: 34}
  complication: {index: 31}
  status: {short: '[DK] leveretIndsatsstatus (completed | entered-in-error)', index: 5}
  performedDateTime: {type: dateTime, choiceOf: performed, index: 20}
  recorder: {index: 22}
  code:
    index: 8
    elements:
      coding:
        short: '[DK] leveretIndsatsKode'
        index: 9
        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: 10
                elements:
                  system:
                    pattern: {type: uri, value: 'http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII'}
                    type: uri
                    index: 11
                required: [system]
            level3:
              match: {system: 'http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions'}
              schema:
                mustSupport: true
                index: 12
                elements:
                  system:
                    pattern: {type: uri, value: 'http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions'}
                    type: uri
                    index: 13
                  code: {index: 14}
                  display: {index: 15}
                required: [code, display, system]
    required: [coding]
  identifier: {index: 0}
  bodySite: {index: 28}
  basedOn: {index: 3}
  partOf: {index: 4}
  location: {index: 25}
  followUp: {index: 33}
  subject:
    type: Reference
    short: '[DK] leveretIndsatsSubjekt'
    refers: ['http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-citizen']
    index: 16
  performer: {index: 24}
  reasonReference: {index: 27}
package_version: 1.0.0
class: profile
kind: resource
url: http://gateway.kl.dk/1.0/StructureDefinition/klgateway-care-completed-intervention
base: http://hl7.org/fhir/StructureDefinition/Procedure
version: '1.0'
required: [code, performed, performedDateTime]