PackagesCanonicalsLogsProblems
    Packages
    de.gecco@1.0.4-rc.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]
  value[x]:
    elements:
      coding:
        index: 18
        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: 19
                elements:
                  system: {index: 20}
                  code: {index: 21}
                required: [system, code]
    required: [coding]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
  specimen: {index: 23}
  value:
    mustSupport: true
    choices: []
    index: 14
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 16
  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
    choiceOf: value
    index: 17
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 17}
  bodySite: {index: 22}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 10
package_version: 1.0.4-rc.3
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/discharge-disposition
base: http://hl7.org/fhir/StructureDefinition/Observation
version: '1.0'
required: [value, subject, category]