PackagesCanonicalsLogsProblems
    Packages
    rki.demis.common@2.2.0
    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
derivation: constraint
name: NotifiedPersonAnonymous
type: Patient
elements:
  address:
    short: Adresse
    mustSupport: true
    array: true
    max: 3
    index: 14
    slicing:
      rules: closed
      discriminator:
      - {path: 'extension(''https://demis.rki.de/fhir/StructureDefinition/AddressUse'').value', type: value}
      min: null
      max: 3
      slices:
        hauptwohnung:
          match:
            extension('https://demis:
              rki:
                de/fhir/StructureDefinition/AddressUse'): {value: null}
          schema:
            index: 15
            extensions:
              addressUse:
                url: https://demis.rki.de/fhir/StructureDefinition/AddressUse
                type: Extension
                isModifier: false
                mustSupport: true
                index: 17
                elements:
                  value[x]:
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                        type: uri
                        index: 18
                      code:
                        pattern: {type: code, value: primary}
                        type: code
                        index: 19
            elements:
              use: {index: 20}
              city: {index: 24}
              type: {index: 21}
              state: {index: 26}
              extension:
                index: 16
                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: 17
                        elements:
                          value[x]:
                            elements:
                              system:
                                pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                                type: uri
                                index: 18
                              code:
                                pattern: {type: code, value: primary}
                                type: code
                                index: 19
              line: {index: 23}
              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: 27
              period: {index: 29}
              country:
                short: Land
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-2'}
                index: 28
              district: {index: 25}
              text: {index: 22}
            required: [extension]
        gewoehnlicherAufenthaltsort:
          match:
            extension('https://demis:
              rki:
                de/fhir/StructureDefinition/AddressUse'): {value: null}
          schema:
            index: 30
            extensions:
              addressUse:
                url: https://demis.rki.de/fhir/StructureDefinition/AddressUse
                type: Extension
                isModifier: false
                mustSupport: true
                index: 32
                elements:
                  value[x]:
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                        type: uri
                        index: 33
                      code:
                        pattern: {type: code, value: ordinary}
                        type: code
                        index: 34
            elements:
              use: {index: 35}
              city: {index: 39}
              type: {index: 36}
              state: {index: 41}
              extension:
                index: 31
                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: 32
                        elements:
                          value[x]:
                            elements:
                              system:
                                pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                                type: uri
                                index: 33
                              code:
                                pattern: {type: code, value: ordinary}
                                type: code
                                index: 34
              line: {index: 38}
              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: 42
              period: {index: 44}
              country:
                short: Land
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-2'}
                index: 43
              district: {index: 40}
              text: {index: 37}
            required: [extension]
        derzeitigerAufenthaltsort:
          match:
            extension('https://demis:
              rki:
                de/fhir/StructureDefinition/AddressUse'): {value: null}
          schema:
            index: 45
            extensions:
              addressUse:
                url: https://demis.rki.de/fhir/StructureDefinition/AddressUse
                type: Extension
                isModifier: false
                mustSupport: true
                index: 47
                elements:
                  value[x]:
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                        type: uri
                        index: 48
                      code:
                        pattern: {type: code, value: current}
                        type: code
                        index: 49
            elements:
              use: {index: 50}
              city: {index: 54}
              type: {index: 51}
              state: {index: 56}
              extension:
                index: 46
                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: 47
                        elements:
                          value[x]:
                            elements:
                              system:
                                pattern: {type: uri, value: 'https://demis.rki.de/fhir/CodeSystem/addressUse'}
                                type: uri
                                index: 48
                              code:
                                pattern: {type: code, value: current}
                                type: code
                                index: 49
              line: {index: 53}
              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: 57
              period: {index: 59}
              country:
                short: Land
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-2'}
                index: 58
              district: {index: 55}
              text: {index: 52}
            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: 67}
  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: 11
  multipleBirth:
    choices: []
    index: 62
  deceased:
    choices: []
    index: 13
  contained: {index: 2}
  photo: {index: 63}
  link: {index: 68}
  active: {index: 4}
  communication: {index: 65}
  identifier: {index: 3}
  telecom: {index: 6}
  generalPractitioner: {index: 66}
  gender:
    short: Geschlecht
    mustSupport: true
    index: 7
    extensions:
      other-amtlich:
        url: http://fhir.de/StructureDefinition/gender-amtlich-de
        type: Extension
        index: 9
        elements:
          url:
            pattern: {type: uri, value: 'http://fhir.de/StructureDefinition/gender-amtlich-de'}
            type: uri
            index: 10
    elements:
      extension:
        index: 8
        slicing:
          rules: open
          ordered: false
          description: Differenzierung des administrativen Geschlechts 'other'
          min: null
          slices:
            other-amtlich:
              match: {}
              schema:
                type: Extension
                url: http://fhir.de/StructureDefinition/gender-amtlich-de
                index: 9
                elements:
                  url:
                    pattern: {type: uri, value: 'http://fhir.de/StructureDefinition/gender-amtlich-de'}
                    type: uri
                    index: 10
  maritalStatus: {index: 60}
  contact: {index: 64}
package_version: 2.2.0
class: profile
kind: resource
url: https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonAnonymous
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.6.0
required: [meta]