PackagesCanonicalsLogsProblems
    Packages
    de.gevko.dev.tetvz@1.0.11
    https://fhir.gevko.de/StructureDefinition/PR_OSC_Contract
description: Teilnahmeerklärung Vertrag
package_name: de.gevko.dev.tetvz
derivation: constraint
name: PR_OSC_Contract
type: Contract
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        Vertragskennzeichen:
          match:
            type:
              coding: {code: VK}
          schema:
            short: Vertragskennzeichen
            index: 1
            elements:
              type:
                index: 2
                elements:
                  coding:
                    index: 3
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.gevko.de/CodeSystem/CS_OSC_Vertrags_Identifier'}
                        index: 4
                      code:
                        pattern: {type: Code, value: VK}
                        index: 5
                      display:
                        pattern: {type: String, value: Rechtsgrundlage}
                        index: 6
                    required: [system, code]
                required: [coding]
              value: {short: Vertragskennzeichen, index: 7}
            required: [value, type]
        Versorgungsprodukt:
          match:
            type:
              coding: {code: VP}
          schema:
            short: Versorgsungsprodukt
            index: 8
            elements:
              type:
                index: 9
                elements:
                  coding:
                    index: 10
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.gevko.de/CodeSystem/CS_OSC_Vertrags_Identifier'}
                        index: 11
                      code:
                        pattern: {type: Code, value: VP}
                        index: 12
                    required: [system, code]
                required: [coding]
              value: {index: 13}
            required: [value, type]
        alternative_vertragsnummer:
          match:
            type:
              coding: {code: AV}
          schema:
            index: 14
            elements:
              type:
                index: 15
                elements:
                  coding:
                    index: 16
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.gevko.de/CodeSystem/CS_OSC_Vertrags_Identifier'}
                        index: 17
                      code:
                        pattern: {type: Code, value: AV}
                        index: 18
                      display:
                        pattern: {type: String, value: alternative Vertragsnummer}
                        index: 19
                    required: [system, code]
                required: [coding]
              value: {index: 20}
            required: [value, type]
  name: {index: 21}
package_version: 1.0.11
class: profile
kind: resource
url: https://fhir.gevko.de/StructureDefinition/PR_OSC_Contract
base: http://hl7.org/fhir/StructureDefinition/Contract
version: '0.1'
required: [identifier]