PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erg@1.1.0-rc1
    https://gematik.de/fhir/erg/StructureDefinition/erg-institution
description: null
package_name: de.gematik.erg
derivation: constraint
name: ERGInstitution
type: Organization
elements:
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Telematik-ID:
          match:
            type:
              coding:
              - {code: PRN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Telematik-ID (VZD-Eintrag)
            type: Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: PRN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            index: 1
            elements:
              type: {mustSupport: true, index: 2}
              system: {short: System der Telematik-ID, mustSupport: true, index: 3}
              value: {short: Telematik-ID (VZD-Eintrag), mustSupport: true, index: 4}
            required: [type]
        IKNR:
          match:
            type:
              coding:
              - {code: XX, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: IK-Nummer
            type: Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: XX, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            index: 5
            elements:
              type: {mustSupport: true, index: 6}
              system: {short: System der IK-Nummer, mustSupport: true, index: 7}
              value: {short: IK-Nummer, mustSupport: true, index: 8}
            required: [type]
        BSNR:
          match:
            type:
              coding:
              - {code: BSNR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Betriebsstättennummer
            type: Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: BSNR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            index: 9
            elements:
              type: {mustSupport: true, index: 10}
              system: {short: System der BSNR, mustSupport: true, index: 11}
              value: {short: Betriebsstättennummer, mustSupport: true, index: 12}
            required: [type]
        KZVAbrechnungsnummer:
          match:
            type:
              coding:
              - {code: KZVA, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
          schema:
            short: Abrechnungsnummer für zahnärztliche Praxen
            type: Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: KZVA, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
            index: 13
            elements:
              type: {mustSupport: true, index: 14}
              system: {short: System der Abrechnungsnummer für zahnärztliche Praxen, mustSupport: true, index: 15}
              value: {short: Abrechnungsnummer für zahnärztliche Praxen, mustSupport: true, index: 16}
            required: [type]
        USt-ID-Nr:
          match:
            type: {text: UmsatzsteuerId}
          schema:
            short: Umsatzsteuer-Identifikationsnummer
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type: {text: UmsatzsteuerId}
            index: 17
            elements:
              type: {mustSupport: true, index: 18}
              system: {index: 19}
              value: {mustSupport: true, index: 20}
            required: [value, type]
  type:
    mustSupport: true
    index: 21
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Fachrichtung:
          match: {}
          schema:
            short: Fachrichtung
            mustSupport: true
            array: true
            binding: {strength: required, valueSet: 'http://ihe-d.de/ValueSets/IHEXDSpracticeSettingCode'}
            index: 22
            elements:
              coding:
                elements:
                  system: {mustSupport: true, index: 23}
                  code: {mustSupport: true, index: 24}
                required: [system, code]
  name: {short: Institutionsname, mustSupport: true, index: 25}
  telecom:
    mustSupport: true
    index: 26
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Telefon:
          match: {system: phone}
          schema:
            pattern:
              type: ContactPoint
              value: {system: phone}
            short: Telefon
            mustSupport: true
            array: true
            index: 27
            elements:
              system:
                mustSupport: true
                pattern: {type: Code, value: phone}
                index: 28
              value: {short: Telefonnummer, mustSupport: true, index: 29}
  address:
    mustSupport: true
    index: 30
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            short: Strassenanschrift
            type: Address
            mustSupport: true
            array: true
            pattern:
              type: Address
              value: {type: both}
            index: 31
            elements:
              type: {mustSupport: true, index: 32}
              line:
                short: Straße und Hausnummer
                mustSupport: true
                index: 33
                extensions:
                  Strasse: {url: null, mustSupport: true, index: 34}
                  Hausnummer: {url: null, mustSupport: true, index: 35}
                  Adresszusatz: {url: null, mustSupport: true, index: 36}
                  Postfach: {url: null, max: 0, index: 37}
                elements:
                  extension:
                    mustSupport: true
                    index: 34
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, index: 34}
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, index: 35}
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 36}
                        Postfach:
                          match: {}
                          schema: {index: 37}
                          max: 0
              city: {short: Ort, mustSupport: true, index: 38}
              postalCode: {mustSupport: true, index: 39}
              country: {short: Länderkennzeichen, mustSupport: true, index: 40}
        Postfach:
          match: {type: postal}
          schema:
            constraint:
              address-cnt-2or3-char: {human: 'The content of the country element (if present) SHALL be selected EITHER from ValueSet ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2 OR MAY be selected from ISO Country Alpha-3 Value Set http://hl7.org/fhir/ValueSet/iso3166-1-3, IF the country is not specified in value Set ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2.', source: 'https://gematik.de/fhir/erg/StructureDefinition/erg-institution', severity: warning, expression: 'country.empty() or (country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'') or country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-3''))'}
            short: Postfach
            type: Address
            mustSupport: true
            array: true
            pattern:
              type: Address
              value: {type: postal}
            index: 41
            elements:
              type: {mustSupport: true, index: 42}
              line:
                short: Postfach-Angabe
                mustSupport: true
                index: 43
                extensions:
                  Strasse: {url: null, max: 0, index: 44}
                  Hausnummer: {url: null, max: 0, index: 45}
                  Adresszusatz: {url: null, max: 0, index: 46}
                  Postfach: {url: null, mustSupport: true, index: 47}
                elements:
                  extension:
                    index: 44
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {index: 44}
                          max: 0
                        Hausnummer:
                          match: {}
                          schema: {index: 45}
                          max: 0
                        Adresszusatz:
                          match: {}
                          schema: {index: 46}
                          max: 0
                        Postfach:
                          match: {}
                          schema: {mustSupport: true, index: 47}
              city: {short: Ort, mustSupport: true, index: 48}
              postalCode: {mustSupport: true, index: 49}
              country: {short: Länderkennzeichen, mustSupport: true, index: 50}
package_version: 1.1.0-rc1
class: profile
kind: resource
url: https://gematik.de/fhir/erg/StructureDefinition/erg-institution
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.1.0-RC1