PackagesCanonicalsLogsProblems
    Packages
    kl.dk.fhir.ltt@1.0.0
    http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter
description: Encounter between a child or youth and the LTT
package_name: kl.dk.fhir.ltt
derivation: constraint
name: KLGatewayLTTEncounter
type: Encounter
elements:
  appointment: {index: 27}
  diagnosis: {index: 34}
  serviceProvider: {index: 38}
  episodeOfCare: {index: 21}
  reasonCode: {index: 32}
  type:
    short: '[DK] kontakttype'
    binding: {strength: required, valueSet: 'http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types'}
    index: 13
    elements:
      coding:
        index: 14
        elements:
          version: {index: 15}
          userSelected: {index: 16}
      text: {index: 17}
    required: [coding]
  participant:
    short: '[DK] kontaktdeltagere'
    index: 23
    elements:
      type:
        binding: {strength: required, valueSet: 'http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants'}
        index: 24
      period: {index: 25}
      individual: {index: 26}
    required: [type]
  serviceType: {index: 18}
  account: {index: 35}
  classHistory: {index: 12}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        deliveryType:
          match: {url: null}
          schema:
            type: Extension
            short: '[DK] kontaktLeveringstype'
            url: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type
            index: 1
            elements:
              value[x]:
                elements:
                  coding:
                    binding: {strength: required, valueSet: 'http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery'}
                    index: 2
        basedOnCarePlan:
          match: {url: null}
          schema: {type: Extension, short: '[DK] kontaktBaseretPĂ„', url: 'http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan', index: 3}
          min: 1
          max: 1
  priority: {index: 19}
  status: {short: '[DK] kontaktstatus', index: 5}
  class:
    short: '[DK] kontaktklasse'
    binding: {strength: required, valueSet: 'http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes'}
    index: 7
    elements:
      system: {index: 8}
      version: {index: 9}
      code: {index: 10}
      userSelected: {index: 11}
    required: [code, system]
  length: {index: 31}
  identifier: {index: 4}
  hospitalization: {index: 36}
  period:
    index: 28
    elements:
      start: {short: '[DK] kontaktstart', index: 29}
      end: {index: 30}
    required: [start]
  basedOn: {index: 22}
  partOf: {index: 39}
  location: {index: 37}
  subject:
    type: Reference
    short: '[DK] kontaktsubjekt'
    refers: ['http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-citizen']
    index: 20
  statusHistory: {index: 6}
  reasonReference: {index: 33}
package_version: 1.0.0
extensions:
  deliveryType:
    url: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type
    type: Extension
    short: '[DK] kontaktLeveringstype'
    index: 1
    elements:
      value[x]:
        elements:
          coding:
            binding: {strength: required, valueSet: 'http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery'}
            index: 2
  basedOnCarePlan: {url: 'http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan', min: 1, max: 1, type: Extension, short: '[DK] kontaktBaseretPĂ„', index: 3}
class: profile
kind: resource
url: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 1.0.0
required: [extension, period, type]