PackagesCanonicalsLogsProblems
    Packages
    rki.demis.common.strict@3.0.0-rc.2
    https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonAnonymous
description: Profil zur Abbildung von anonym gemeldeten Personen (nichtnamentlich nach § 10 IfSG ohne Erstellung eines Pseudonyms), z.B. im Zusammenhang mit Meldungen gemäß § 7 Abs. 4 IfSG.
package_name: rki.demis.common.strict
derivation: constraint
name: NotifiedPersonAnonymous
type: Patient
elements:
  address:
    short: Adresse
    mustSupport: true
    array: true
    max: 3
    index: 13
    slicing:
      rules: closed
      discriminator:
      - {path: 'extension(''https://demis.rki.de/fhir/StructureDefinition/AddressUse'').value.code', type: value}
      min: null
      max: 3
      slices:
        hauptwohnung:
          match:
            extension('https://demis:
              rki:
                de/fhir/StructureDefinition/AddressUse'):
                  value: {code: null}
          schema:
            index: 14
            extensions:
              addressUse:
                url: https://demis.rki.de/fhir/StructureDefinition/AddressUse
                type: Extension
                isModifier: false
                mustSupport: true
                index: 16
                elements:
                  value[x]:
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                        type: uri
                        index: 17
                      code:
                        pattern: {type: code, value: primary}
                        type: code
                        index: 18
            elements:
              use: {index: 19}
              city: {index: 23}
              type: {index: 20}
              state: {index: 25}
              extension:
                index: 15
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    addressUse:
                      match: {url: null}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: https://demis.rki.de/fhir/StructureDefinition/AddressUse
                        index: 16
                        elements:
                          value[x]:
                            elements:
                              system:
                                pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                                type: uri
                                index: 17
                              code:
                                pattern: {type: code, value: primary}
                                type: code
                                index: 18
              line: {index: 22}
              postalCode:
                constraint:
                  threeDigitPostalCode: {human: Die 'verkürzte' Postleitzahl muss aus den ersten 3 Zeichen der 'normalen' Postleitzahl bestehen., severity: error, expression: '$this.toString().matches(''^[a-zA-Z0-9]{1}[a-zA-Z0-9-\\s]{2}$'')'}
                index: 26
              period: {index: 28}
              country:
                short: Land
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-2'}
                index: 27
              district: {index: 24}
              text: {index: 21}
            required: [extension]
        gewoehnlicherAufenthaltsort:
          match:
            extension('https://demis:
              rki:
                de/fhir/StructureDefinition/AddressUse'):
                  value: {code: null}
          schema:
            index: 29
            extensions:
              addressUse:
                url: https://demis.rki.de/fhir/StructureDefinition/AddressUse
                type: Extension
                isModifier: false
                mustSupport: true
                index: 31
                elements:
                  value[x]:
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                        type: uri
                        index: 32
                      code:
                        pattern: {type: code, value: ordinary}
                        type: code
                        index: 33
            elements:
              use: {index: 34}
              city: {index: 38}
              type: {index: 35}
              state: {index: 40}
              extension:
                index: 30
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    addressUse:
                      match: {url: null}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: https://demis.rki.de/fhir/StructureDefinition/AddressUse
                        index: 31
                        elements:
                          value[x]:
                            elements:
                              system:
                                pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                                type: uri
                                index: 32
                              code:
                                pattern: {type: code, value: ordinary}
                                type: code
                                index: 33
              line: {index: 37}
              postalCode:
                constraint:
                  threeDigitPostalCode: {human: Die 'verkürzte' Postleitzahl muss aus den ersten 3 Zeichen der 'normalen' Postleitzahl bestehen., severity: error, expression: '$this.toString().matches(''^[a-zA-Z0-9]{1}[a-zA-Z0-9-\\s]{2}$'')'}
                index: 41
              period: {index: 43}
              country:
                short: Land
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-2'}
                index: 42
              district: {index: 39}
              text: {index: 36}
            required: [extension]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile:
        mustSupport: true
        pattern: {type: canonical, value: 'https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonAnonymous'}
        type: canonical
        index: 1
    required: [profile]
  managingOrganization: {index: 51}
  name: {index: 5}
  birthDate:
    short: Geburtsdatum
    constraint:
      yearAndMonthOnlyBirthDate: {human: Das Geburtsdatum darf lediglich Jahr und Monat der Geburt beinhalten. Das Geburtsjahr muss mit 19 oder 20 beginnen., severity: error, expression: '$this.toString().matches(''^19[0-9]{2}-[0-9]{2}$|^20[0-9]{2}-[0-9]{2}$|^19[0-9]{2}$|^20[0-9]{2}$'')'}
    mustSupport: true
    index: 10
  multipleBirth:
    choices: []
    index: 46
  deceased:
    choices: []
    index: 12
  contained: {index: 2}
  photo: {index: 47}
  link: {index: 52}
  active: {index: 4}
  communication: {index: 49}
  identifier: {index: 3}
  telecom: {index: 6}
  generalPractitioner: {index: 50}
  gender:
    short: Geschlecht
    mustSupport: true
    index: 7
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', min: 0, max: 1, type: Extension, index: 9}
    elements:
      extension:
        index: 8
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            other-amtlich:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', index: 9}
              min: 0
              max: 1
  maritalStatus: {index: 44}
  contact: {index: 48}
package_version: 3.0.0-rc.2
class: profile
kind: resource
url: https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonAnonymous
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.5.1
required: [meta]