PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Patient
description: null
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_Patient
type: Patient
elements:
  address:
    array: true
    max: 2
    index: 38
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: null
      max: 2
      slices:
        strassenanschrift:
          match: {type: both}
          schema:
            type: Address
            index: 39
            elements:
              use:
                pattern: {type: Code, value: home}
                index: 40
              type:
                pattern: {type: Code, value: both}
                index: 41
              line:
                extensions:
                  Postfach: {url: null, max: 0, index: 42}
                elements:
                  extension:
                    index: 42
                    slicing:
                      slices:
                        Postfach:
                          match: {}
                          schema: {index: 42}
                          max: 0
            required: [type]
        postfach:
          match: {type: postal}
          schema:
            type: Address
            index: 43
            elements:
              type:
                pattern: {type: Code, value: postal}
                index: 44
              line:
                extensions:
                  Strasse: {url: null, max: 0, index: 45}
                  Hausnummer: {url: null, max: 0, index: 46}
                  Adresszusatz: {url: null, max: 0, index: 47}
                elements:
                  extension:
                    index: 45
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {index: 45}
                          max: 0
                        Hausnummer:
                          match: {}
                          schema: {index: 46}
                          max: 0
                        Adresszusatz:
                          match: {}
                          schema: {index: 47}
                          max: 0
            required: [type]
  managingOrganization: {index: 55}
  deceasedBoolean: {type: boolean, choiceOf: deceased, index: 37}
  name: {type: HumanName, index: 11}
  birthDate:
    index: 31
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        isModifier: false
        index: 32
        elements:
          value:
            pattern: {type: Code, value: unknown}
            choices: []
            index: 34
    elements:
      extension:
        type: Extension
        isModifier: false
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 32
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                isModifier: false
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 32
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 34
  multipleBirth:
    choices: []
    index: 50
  deceased:
    choices: [deceasedBoolean]
    index: 36
  photo: {index: 51}
  link: {index: 56}
  active: {index: 10}
  communication: {index: 53}
  identifier:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: null
      max: 1
      slices:
        versichertenId:
          match: {type: null}
          schema:
            type: Identifier
            index: 1
            elements:
              type: {index: 2}
            required: [type]
        versichertennummer_pkv:
          match: {type: null}
          schema:
            type: Identifier
            index: 3
            elements:
              type: {index: 4}
              assigner:
                elements:
                  display:
                    extensions:
                      nullFlavor:
                        url: http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor
                        type: Extension
                        isModifier: false
                        index: 5
                        elements:
                          value:
                            pattern: {type: Code, value: NI}
                            choices: []
                            index: 7
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor
                        index: 5
                        slicing:
                          slices:
                            nullFlavor:
                              match: {}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor
                                index: 5
                                elements:
                                  value:
                                    pattern: {type: Code, value: NI}
                                    choices: []
                                    index: 7
            required: [type]
        versichertennummer_kvk:
          match:
            type:
              coding:
              - {code: GKV, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
          schema:
            index: 8
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: GKV, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
                index: 9
            required: [type]
  telecom:
    short: Kontaktdaten des Patienten (Festnetz, Mobil, E-Mail)
    array: true
    max: 4
    index: 12
    elements:
      system: {index: 13}
      value: {index: 14}
      use: {short: 'Verwendungszweck (home = Festnetz, mobile = Mobil)', index: 15}
      rank: {index: 16}
      period: {index: 17}
    required: [value, system]
    slicing:
      rules: closed
      discriminator:
      - {path: $this, type: pattern}
      min: null
      max: 4
      slices:
        telefon:
          match: {use: home, system: phone}
          schema:
            short: Festnetznummer
            pattern:
              type: ContactPoint
              value: {use: home, system: phone}
            index: 18
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 19
              use:
                pattern: {type: Code, value: home}
                index: 20
            required: [use]
        mobil:
          match: {use: mobile, system: phone}
          schema:
            short: Mobilnummer
            pattern:
              type: ContactPoint
              value: {use: mobile, system: phone}
            index: 21
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 22
              use:
                pattern: {type: Code, value: mobile}
                index: 23
            required: [use]
        sms:
          match: {system: sms}
          schema:
            short: Mobilnummer als Legacy-Eintrag (system = sms) – veraltet
            pattern:
              type: ContactPoint
              value: {system: sms}
            index: 24
            elements:
              system:
                pattern: {type: Code, value: sms}
                index: 25
              use: {index: 26}
        email:
          match: {system: email}
          schema:
            short: E-Mail-Adresse
            pattern:
              type: ContactPoint
              value: {system: email}
            index: 27
            elements:
              system:
                pattern: {type: Code, value: email}
                index: 28
              use: {index: 29}
  generalPractitioner: {index: 54}
  gender:
    extensions:
      genderOtherDE: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', type: Extension, isModifier: false, index: 30}
    elements:
      extension:
        type: Extension
        isModifier: false
        url: http://fhir.de/StructureDefinition/gender-amtlich-de
        index: 30
        slicing:
          slices:
            genderOtherDE:
              match: {}
              schema: {type: Extension, isModifier: false, url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', index: 30}
  maritalStatus: {index: 48}
  contact: {index: 52}
package_version: 1.5.0
class: profile
kind: resource
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.5.0
required: [name, birthDate]