PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.soziodemographie@2027.0.0-ballot
    https://www.medizininformatik-initiative.de/fhir/ext/modul-soziodemographie/StructureDefinition/mii-pr-sdd-lebenssituation
description: Lebenssituation des Patienten (abstrakt)
package_name: de.medizininformatikinitiative.kerndatensatz.soziodemographie
derivation: constraint
name: MII_PR_SDD_Lebenssituation
abstract: true
type: Observation
elements:
  category:
    mustSupport: true
    array: true
    min: 2
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 2
      slices:
        social-history:
          match:
            coding:
            - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            _required: true
            index: 3
          min: 1
          max: 1
        survey:
          match:
            coding:
            - {code: survey, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: survey, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            _required: true
            index: 4
          min: 1
          max: 1
  hasMember: {index: 14}
  meta:
    elements:
      profile: {mustSupport: true, index: 0}
  valueQuantity: {type: Quantity, choiceOf: value, index: 11}
  value:
    choices: [valueQuantity, valueCodeableConcept]
    index: 10
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 8}
  status: {mustSupport: true, index: 1}
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 7
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 12}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 5
  dataAbsentReason: {mustSupport: true, index: 13}
package_version: 2027.0.0-ballot
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/ext/modul-soziodemographie/StructureDefinition/mii-pr-sdd-lebenssituation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2027.0.0-ballot
required: [effectiveDateTime, subject, effective]