PackagesCanonicalsLogsProblems
    Packages
    de.gematik.dipag@1.0.6
    https://gematik.de/fhir/dipag/StructureDefinition/dipag-institution
description: null
package_name: de.gematik.dipag
derivation: constraint
name: DiPagInstitution
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:
              coding:
              - {code: ustid, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-rechnung-identifier-type-cs'}
          schema:
            short: Umsatzsteuer-Identifikationsnummer
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: ustid, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-rechnung-identifier-type-cs'}
            index: 17
            elements:
              type: {mustSupport: true, index: 18}
              system: {index: 19}
              value: {mustSupport: true, index: 20}
            required: [value, type]
  type:
    short: Fachrichtung
    binding: {strength: required, valueSet: 'http://ihe-d.de/ValueSets/IHEXDSpracticeSettingCode'}
    index: 21
    elements:
      coding:
        elements:
          system: {mustSupport: true, index: 22}
          code: {mustSupport: true, index: 23}
        required: [system, code]
  name: {short: Institutionsname, mustSupport: true, index: 24}
  telecom:
    mustSupport: true
    index: 25
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        Telefon:
          match: {system: phone}
          schema:
            short: Telefon
            mustSupport: true
            array: true
            index: 26
            elements:
              system:
                pattern: {type: Code, value: phone}
                mustSupport: true
                index: 27
              value: {short: Telefonnummer, mustSupport: true, index: 28}
            required: [system]
  address:
    mustSupport: true
    index: 29
    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: 30
            elements:
              type: {mustSupport: true, index: 31}
              line:
                short: Straße und Hausnummer
                mustSupport: true
                index: 32
                extensions:
                  Strasse: {url: null, mustSupport: true, index: 33}
                  Hausnummer: {url: null, mustSupport: true, index: 34}
                  Adresszusatz: {url: null, mustSupport: true, index: 35}
                  Postfach: {url: null, max: 0, index: 36}
                elements:
                  extension:
                    mustSupport: true
                    index: 33
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, index: 33}
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, index: 34}
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 35}
                        Postfach:
                          match: {}
                          schema: {index: 36}
                          max: 0
              city: {short: Ort, mustSupport: true, index: 37}
              postalCode: {mustSupport: true, index: 38}
              country: {short: Länderkennzeichen, mustSupport: true, index: 39}
        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/dipag/StructureDefinition/dipag-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: 40
            elements:
              type: {mustSupport: true, index: 41}
              line:
                short: Postfach-Angabe
                mustSupport: true
                index: 42
                extensions:
                  Strasse: {url: null, max: 0, index: 43}
                  Hausnummer: {url: null, max: 0, index: 44}
                  Adresszusatz: {url: null, max: 0, index: 45}
                  Postfach: {url: null, mustSupport: true, index: 46}
                elements:
                  extension:
                    index: 43
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {index: 43}
                          max: 0
                        Hausnummer:
                          match: {}
                          schema: {index: 44}
                          max: 0
                        Adresszusatz:
                          match: {}
                          schema: {index: 45}
                          max: 0
                        Postfach:
                          match: {}
                          schema: {mustSupport: true, index: 46}
              city: {short: Ort, mustSupport: true, index: 47}
              postalCode: {mustSupport: true, index: 48}
              country: {short: Länderkennzeichen, mustSupport: true, index: 49}
package_version: 1.0.6
class: profile
kind: resource
url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-institution
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.0.6