PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-setp@0.9.0-alpha1.0.29
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-scheduleadjustment
description: To define the period and reason for a schedule adjustment
package_name: ca.on.oh-setp
derivation: constraint
name: SETPScheduleAdjustmentExt
type: Extension
elements:
  extension:
    array: true
    min: 2
    max: 3
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      max: 3
      slices:
        adjustmentPeriod:
          match: {url: adjustmentPeriod}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: adjustmentPeriod}
                index: 2
              value:
                choices: [valuePeriod]
                index: 4
              valuePeriod: {type: Period, choiceOf: value, index: 5}
        adjustmentType:
          match: {url: adjustmentType}
          schema:
            mustSupport: true
            _required: true
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: adjustmentType}
                index: 7
              value:
                choices: [valueString]
                index: 9
              valueString: {type: string, choiceOf: value, index: 10}
        adjustmentReason:
          match: {url: adjustmentReason}
          schema:
            mustSupport: true
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: adjustmentReason}
                index: 12
              value:
                choices: [valueCodeableConcept]
                index: 14
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 15}
  url:
    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-scheduleadjustment'}
    index: 16
  value:
    choices: []
    index: 18
package_version: 0.9.0-alpha1.0.29
extensions:
  adjustmentPeriod:
    url: adjustmentPeriod
    mustSupport: true
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: adjustmentPeriod}
        index: 2
      value:
        choices: [valuePeriod]
        index: 4
      valuePeriod: {type: Period, choiceOf: value, index: 5}
  adjustmentType:
    url: adjustmentType
    mustSupport: true
    _required: true
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: adjustmentType}
        index: 7
      value:
        choices: [valueString]
        index: 9
      valueString: {type: string, choiceOf: value, index: 10}
  adjustmentReason:
    url: adjustmentReason
    mustSupport: true
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: adjustmentReason}
        index: 12
      value:
        choices: [valueCodeableConcept]
        index: 14
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 15}
class: extension
kind: complex-type
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-scheduleadjustment
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1