PackagesCanonicalsLogsProblems
    Packages
    de.gecco@0.9.3
    https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/discharge-disposition
description: The type of discharge from a hospital or care facility
package_name: de.gecco
derivation: constraint
name: DischargeDisposition
type: Observation
elements:
  category:
    mustSupport: true
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            observationCategory:
              match: {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
              schema:
                pattern:
                  type: Coding
                  value: {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
                _required: true
                index: 4
              min: 1
              max: 1
    required: [coding]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
  specimen: {index: 21}
  value:
    mustSupport: true
    choices: []
    index: 14
  effective:
    mustSupport: true
    choices: []
    index: 12
  code:
    mustSupport: true
    index: 5
    elements:
      coding:
        mustSupport: true
        index: 6
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            loinc:
              match: {code: 55128-3, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 55128-3, system: 'http://loinc.org'}
                _required: true
                index: 7
                elements:
                  system: {index: 8}
                  code: {index: 9}
                required: [system, code]
    required: [coding]
  valueCodeableConcept:
    type: CodeableConcept
    index: 15
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            type: CodeableConcept
            index: 15
            elements:
              coding:
                index: 16
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: pattern}
                  min: 1
                  slices:
                    snomed:
                      match: {system: 'http://snomed.info/sct'}
                      schema:
                        binding: {strength: required, valueSet: 'https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/discharge-disposition'}
                        pattern:
                          type: Coding
                          value: {system: 'http://snomed.info/sct'}
                        _required: true
                        index: 17
                        elements:
                          system: {index: 18}
                          code: {index: 19}
                        required: [system, code]
            required: [coding]
  bodySite: {index: 20}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 10
package_version: 0.9.3
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/discharge-disposition
base: http://hl7.org/fhir/StructureDefinition/Observation
version: '0.9'
required: [value, subject, category]