PackagesCanonicalsLogsProblems
    Packages
    rki.demis.common.strict@3.0.0-alpha.7
    https://demis.rki.de/fhir/StructureDefinition/NotifierFacility
description: Die Melder-Einrichtung enthält die Angaben der meldenden Einrichtung. Die Informationen werden vom zuständigen Gesundsamt zur  Kontaktaufnahme genutzt.
package_name: rki.demis.common.strict
derivation: constraint
name: NotifierFacility
type: Organization
elements:
  address:
    type: Address
    short: Einrichtungsaddresse
    mustSupport: true
    index: 27
    elements:
      line: {array: true, max: 3, index: 28}
      city: {mustSupport: true, index: 29}
      postalCode: {short: Postleitzahl, mustSupport: true, index: 30}
      country:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-2'}
        mustSupport: true
        index: 31
    required: [city, country, postalCode]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile:
        mustSupport: true
        pattern: {type: canonical, value: 'https://demis.rki.de/fhir/StructureDefinition/NotifierFacility'}
        type: canonical
        index: 1
    required: [profile]
  name: {short: Bezeichnung der Einrichtung, mustSupport: true, index: 13}
  type:
    short: Art der meldenden Einrichtung
    mustSupport: true
    index: 8
    elements:
      coding:
        binding: {strength: required, valueSet: 'https://demis.rki.de/fhir/ValueSet/organizationType'}
        mustSupport: true
        index: 9
        elements:
          system: {mustSupport: true, index: 10}
          code: {mustSupport: true, index: 11}
        required: [code, system]
      text: {index: 12}
    required: [coding]
  active: {index: 7}
  identifier:
    short: Identifier der Melder-Einrichtung
    mustSupport: true
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        bsnr:
          match: {system: null}
          schema: {type: Identifier, short: Betriebsstättennummer, mustSupport: true, index: 3}
        demisParticipantId:
          match: {system: 'https://demis.rki.de/fhir/NamingSystem/DemisParticipantId'}
          schema:
            short: DEMIS-Teilnehmer-Nummer
            mustSupport: true
            index: 4
            elements:
              system:
                pattern: {type: uri, value: 'https://demis.rki.de/fhir/NamingSystem/DemisParticipantId'}
                mustSupport: true
                type: uri
                index: 5
              value:
                constraint:
                  demisParticipantIdLength: {human: Die DEMIS-Teilnehmer-Nummer darf nur aus 5-6 Ziffern bestehen., severity: error, expression: '$this.toString().matches(''^[0-9]{5,6}$'')'}
                mustSupport: true
                index: 6
            required: [system, value]
  telecom:
    short: Kontaktangaben der Einrichtung
    mustSupport: true
    index: 14
    slicing:
      rules: closed
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        Email:
          match: {system: email}
          schema:
            index: 15
            elements:
              system:
                pattern: {type: code, value: email}
                mustSupport: true
                type: code
                index: 16
              value:
                constraint:
                  validEmailAddress: {human: Die E-Mail-Adresse muss valide sein., severity: error, expression: '$this.matches(''^[a-zA-Z0-9._%+-]+@(?:[a-zA-Z0-9-]+[.])+[a-zA-Z0-9]{2,63}$'')'}
                mustSupport: true
                index: 17
            required: [system, value]
        Phone:
          match: {system: phone}
          schema:
            mustSupport: true
            index: 18
            elements:
              system:
                pattern: {type: code, value: phone}
                mustSupport: true
                type: code
                index: 19
              value:
                constraint:
                  validPhoneNumber: {human: Die Telefonnummer muss valide sein., severity: error, expression: '$this.matches(''^[0+][0-9 \\-\\(\\)]{6,50}$'')'}
                mustSupport: true
                index: 20
            required: [system, value]
        Url:
          match: {system: url}
          schema:
            index: 21
            elements:
              system:
                pattern: {type: code, value: url}
                mustSupport: true
                type: code
                index: 22
              value:
                constraint:
                  validUrl: {human: Die Url muss valide sein., severity: error, expression: '$this.matches(''^(https?:\\/\\/(?:www\\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\\.[^\\s]{2,}|www\\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\\.[^\\s]{2,}|https?:\\/\\/(?:www\\.|(?!www))[a-zA-Z0-9]+\\.[^\\s]{2,}|www\\.[a-zA-Z0-9]+\\.[^\\s]{2,})$'')'}
                mustSupport: true
                index: 23
            required: [system, value]
        Fax:
          match: {system: fax}
          schema:
            index: 24
            elements:
              system:
                pattern: {type: code, value: fax}
                mustSupport: true
                type: code
                index: 25
              value:
                constraint:
                  validFaxNumber: {human: Die Faxnummer muss valide sein., severity: error, expression: '$this.matches(''^[0+][0-9 \\-\\(\\)]{6,50}$'')'}
                mustSupport: true
                index: 26
            required: [system, value]
  partOf: {short: 'Übergeordnete Einrichtung, zu der diese Einrichtung gehört', mustSupport: true, index: 32}
  endpoint: {index: 35}
  contact:
    short: Ansprechpartner der Einrichtung
    mustSupport: true
    index: 33
    elements:
      address: {type: Address, index: 34}
package_version: 3.0.0-alpha.7
class: profile
kind: resource
url: https://demis.rki.de/fhir/StructureDefinition/NotifierFacility
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 2.2.0
required: [address, meta, name, telecom, type]