PackagesCanonicalsLogsProblems
    Packages
    rki.demis.common@1.0.0
    https://demis.rki.de/fhir/StructureDefinition/SubmittingFacility
description: Die Einsender-Einrichtung enthält die Angaben der einsendenden Einrichtung. Die Informationen werden vom zuständigen Gesundsamt zur  Kontaktaufnahme genutzt.
package_name: rki.demis.common
derivation: constraint
name: SubmittingFacility
type: Organization
elements:
  address:
    type: Address
    short: Einrichtungsadresse
    mustSupport: true
    index: 24
    elements:
      line: {mustSupport: true, index: 25}
      city: {mustSupport: true, index: 26}
      postalCode:
        binding: {strength: preferred, valueSet: 'https://demis.rki.de/fhir/ValueSet/postalCode'}
        mustSupport: true
        index: 27
      country:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-2'}
        mustSupport: true
        index: 28
    required: [country, city, postalCode, line]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'https://demis.rki.de/fhir/StructureDefinition/SubmittingFacility'}
        index: 1
    required: [profile]
  name: {short: Einrichtungsname, mustSupport: true, index: 8}
  type:
    short: Art der Einrichtung
    mustSupport: true
    index: 3
    elements:
      coding:
        binding: {strength: required, valueSet: 'https://demis.rki.de/fhir/ValueSet/organizationType'}
        mustSupport: true
        index: 4
        elements:
          system: {mustSupport: true, index: 5}
          code: {mustSupport: true, index: 6}
        required: [system, code]
      text: {index: 7}
    required: [coding]
  identifier: {short: Identifier für den Einsender, index: 2}
  telecom:
    mustSupport: true
    index: 9
    slicing:
      rules: closed
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        Email:
          match: {system: email}
          schema:
            index: 10
            elements:
              system:
                pattern: {type: Code, value: email}
                mustSupport: true
                index: 11
              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: 12
            required: [value, system]
        Phone:
          match: {system: phone}
          schema:
            index: 13
            extensions:
              comment: {url: 'https://demis.rki.de/fhir/StructureDefinition/Comment', max: 1, type: Extension, index: 15}
            elements:
              extension:
                index: 14
                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: 15}
                      max: 1
              system:
                pattern: {type: Code, value: phone}
                mustSupport: true
                index: 16
              value:
                constraint:
                  validPhoneNumber: {human: Die Telefonnummer muss valide sein., severity: warning, expression: '$this.matches(''^[0+][0-9 \\-\\(\\)]{6,50}$'')'}
                mustSupport: true
                index: 17
            required: [value, system]
        Url:
          match: {system: url}
          schema:
            index: 18
            elements:
              system:
                pattern: {type: Code, value: url}
                mustSupport: true
                index: 19
              value:
                constraint:
                  validUrl: {human: Die Url muss valide sein., severity: warning, 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: 20
            required: [value, system]
        Fax:
          match: {system: fax}
          schema:
            index: 21
            elements:
              system:
                pattern: {type: Code, value: fax}
                mustSupport: true
                index: 22
              value:
                constraint:
                  validFaxNumber: {human: Die Faxnummer muss valide sein., severity: warning, expression: '$this.matches(''^[0+][0-9 \\-\\(\\)]{6,50}$'')'}
                mustSupport: true
                index: 23
            required: [value, system]
  partOf: {short: 'Übergeordnete Einrichtung, zu der diese Einrichtung gehört', mustSupport: true, index: 29}
  endpoint: {index: 31}
  contact: {short: Ansprechpartner der Einrichtung, mustSupport: true, index: 30}
package_version: 1.0.0
class: profile
kind: resource
url: https://demis.rki.de/fhir/StructureDefinition/SubmittingFacility
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.4.0
required: [name, address, meta, telecom]