PackagesCanonicalsLogsProblems
    Packages
    rki.demis.common@1.0.0
    https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonFacility
description: Sofern dem Melder bekannt ist, wo sich die betroffene Person derzeit aufhält (abweichend vom Hauptwohnsitz) ist diese Information anzugeben.
package_name: rki.demis.common
derivation: constraint
name: NotifiedPersonFacility
type: Organization
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonFacility'}
        index: 1
    required: [profile]
  type:
    short: Art der Einrichtung
    mustSupport: true
    index: 2
    elements:
      coding:
        binding: {strength: required, valueSet: 'https://demis.rki.de/fhir/ValueSet/organizationType'}
        mustSupport: true
        index: 3
        elements:
          system: {mustSupport: true, index: 4}
          code: {mustSupport: true, index: 5}
        required: [system, code]
      text: {index: 6}
    required: [coding]
  name: {short: Einrichtungsname, mustSupport: true, index: 7}
  telecom:
    short: Kontaktangaben der Betroffenen Person
    mustSupport: true
    index: 8
    slicing:
      rules: closed
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        Email:
          match: {system: email}
          schema:
            index: 9
            elements:
              system:
                pattern: {type: Code, value: email}
                mustSupport: true
                index: 10
              value:
                constraint:
                  validEmailAddress: {human: Die E-Mail-Adresse muss valide sein., severity: warning, expression: '$this.matches(''^[a-zA-Z0-9._%+-]+@(?:[a-zA-Z0-9-]+[.])+[a-zA-Z0-9]{2,63}$'')'}
                mustSupport: true
                index: 11
            required: [value, system]
        Phone:
          match: {system: phone}
          schema:
            index: 12
            extensions:
              comment: {url: 'https://demis.rki.de/fhir/StructureDefinition/Comment', max: 1, type: Extension, index: 14}
            elements:
              extension:
                index: 13
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    comment:
                      match: {url: null}
                      schema: {type: Extension, url: 'https://demis.rki.de/fhir/StructureDefinition/Comment', index: 14}
                      max: 1
              system:
                pattern: {type: Code, value: phone}
                mustSupport: true
                index: 15
              value:
                constraint:
                  validPhoneNumber: {human: Die Telefonnummer muss valide sein., severity: warning, expression: '$this.matches(''^[0+][0-9 \\-\\(\\)]{6,50}$'')'}
                mustSupport: true
                index: 16
            required: [value, system]
  address:
    type: Address
    short: Einrichtungsaddresse
    mustSupport: true
    index: 17
    elements:
      line:
        index: 18
        extensions:
          Postfach: {url: null, max: 0, index: 20}
        elements:
          extension:
            index: 19
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                Postfach:
                  match: {url: null}
                  schema: {index: 20}
                  max: 0
      postalCode:
        binding: {strength: preferred, valueSet: 'https://demis.rki.de/fhir/ValueSet/postalCode'}
        index: 21
      country:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-2'}
        index: 22
  partOf: {short: 'Übergeordnete Einrichtung, zu der diese Einrichtung gehört', mustSupport: true, index: 23}
  contact: {short: Ansprechpartner der Einrichtung, mustSupport: true, index: 24}
  endpoint: {index: 25}
package_version: 1.0.0
class: profile
kind: resource
url: https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonFacility
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.5.0
required: [meta]