PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@orf-2.0.0-ballot
    http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-initiator
description: Initiator and his realtion to the patient
package_name: ch.fhir.ig.ch
derivation: constraint
name: ChOrfInitiator
type: Extension
elements:
  extension:
    array: true
    min: 3
    index: 0
    slicing:
      slices:
        ch-orf-personalrelation:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: ch-orf-personalrelation}
                index: 3
              value:
                choices: []
                index: 5
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        choices: [valueCoding]
                        index: 7
                      min: 0
                      max: 1
              valueCoding:
                type: Coding
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema: {type: Coding, choiceOf: value, index: 8}
                      min: 0
                      max: 1
        ch-orf-legalrelation:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 9
            extensions: {}
            elements:
              extension: {index: 10}
              url:
                pattern: {type: Uri, value: ch-orf-legalrelation}
                index: 11
              value:
                choices: []
                index: 13
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        choices: [valueCoding]
                        index: 15
                      min: 0
                      max: 1
              valueCoding:
                type: Coding
                choiceOf: value
                index: 16
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema: {type: Coding, choiceOf: value, index: 16}
                      min: 0
                      max: 1
        ch-orf-personorganization:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 17
            extensions: {}
            elements:
              extension: {index: 18}
              url:
                pattern: {type: Uri, value: ch-orf-personorganization}
                index: 19
              value:
                choices: []
                index: 21
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        choices: [valueReference]
                        index: 23
                      min: 0
                      max: 1
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 24
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        choiceOf: value
                        refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                        index: 24
                      min: 0
                      max: 1
  url:
    pattern: {type: Uri, value: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-initiator'}
    index: 25
  value:
    choices: []
    index: 27
package_version: orf-2.0.0-ballot
extensions:
  ch-orf-personalrelation:
    url: null
    mustSupport: true
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: ch-orf-personalrelation}
        index: 3
      value:
        choices: []
        index: 5
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCoding:
              match: {}
              schema:
                choices: [valueCoding]
                index: 7
              min: 0
              max: 1
      valueCoding:
        type: Coding
        choiceOf: value
        index: 8
        slicing:
          slices:
            valueCoding:
              match: {}
              schema: {type: Coding, choiceOf: value, index: 8}
              min: 0
              max: 1
  ch-orf-legalrelation:
    url: null
    mustSupport: true
    _required: true
    index: 9
    extensions: {}
    elements:
      extension: {index: 10}
      url:
        pattern: {type: Uri, value: ch-orf-legalrelation}
        index: 11
      value:
        choices: []
        index: 13
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCoding:
              match: {}
              schema:
                choices: [valueCoding]
                index: 15
              min: 0
              max: 1
      valueCoding:
        type: Coding
        choiceOf: value
        index: 16
        slicing:
          slices:
            valueCoding:
              match: {}
              schema: {type: Coding, choiceOf: value, index: 16}
              min: 0
              max: 1
  ch-orf-personorganization:
    url: null
    mustSupport: true
    _required: true
    index: 17
    extensions: {}
    elements:
      extension: {index: 18}
      url:
        pattern: {type: Uri, value: ch-orf-personorganization}
        index: 19
      value:
        choices: []
        index: 21
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueReference:
              match: {}
              schema:
                choices: [valueReference]
                index: 23
              min: 0
              max: 1
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        index: 24
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                type: Reference
                choiceOf: value
                refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 24
              min: 0
              max: 1
class: extension
kind: complex-type
url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-initiator
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 2.0.0-ballot