PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r5.r4b-0.0.1-snapshot-1
    http://hl7.org/fhir/5.0/StructureDefinition/extension-Appointment.recurrenceTemplate
description: This cross-version extension represents Appointment.recurrenceTemplate from http://hl7.org/fhir/StructureDefinition/Appointment|5.0.0 for use in FHIR R4B.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: ext_R5_Appointment_recurrenceTemplate
type: Extension
elements:
  extension:
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        timezone:
          match: {url: null}
          schema:
            isModifier: false
            short: The timezone of the occurrences
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The timezone of the occurrences
                choices: [valueCodeableConcept]
                index: 3
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: The timezone of the occurrences
                choiceOf: value
                index: 4
        lastOccurrenceDate:
          match: {url: null}
          schema:
            isModifier: false
            short: The date when the recurrence should end
            index: 9
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The date when the recurrence should end
                choices: [valueDate]
                index: 11
              valueDate:
                base: {path: 'Extension.value[x]'}
                type: date
                short: The date when the recurrence should end
                choiceOf: value
                index: 12
        yearlyTemplate:
          match: {url: null}
          schema:
            short: Information about yearly recurring appointments
            isModifier: false
            index: 73
            extensions:
              yearInterval:
                url: null
                isModifier: false
                short: Recurs every nth year
                _required: true
                index: 75
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs every nth year
                    choices: [valuePositiveInt]
                    index: 77
                  valuePositiveInt:
                    base: {path: 'Extension.value[x]'}
                    type: positiveInt
                    short: Recurs every nth year
                    choiceOf: value
                    index: 78
            elements:
              extension:
                array: true
                min: 1
                index: 74
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    yearInterval:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs every nth year
                        _required: true
                        index: 75
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs every nth year
                            choices: [valuePositiveInt]
                            index: 77
                          valuePositiveInt:
                            base: {path: 'Extension.value[x]'}
                            type: positiveInt
                            short: Recurs every nth year
                            choiceOf: value
                            index: 78
            required: [extension]
        monthlyTemplate:
          match: {url: null}
          schema:
            short: Information about monthly recurring appointments
            isModifier: false
            index: 55
            extensions:
              dayOfMonth:
                url: null
                isModifier: false
                short: Recurs on a specific day of the month
                index: 57
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on a specific day of the month
                    choices: [valuePositiveInt]
                    index: 59
                  valuePositiveInt:
                    base: {path: 'Extension.value[x]'}
                    type: positiveInt
                    short: Recurs on a specific day of the month
                    choiceOf: value
                    index: 60
              nthWeekOfMonth:
                url: null
                isModifier: false
                short: Indicates which week of the month the appointment should occur
                index: 61
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Indicates which week of the month the appointment should occur
                    choices: [valueCoding]
                    index: 63
                  valueCoding:
                    base: {path: 'Extension.value[x]'}
                    type: Coding
                    short: Indicates which week of the month the appointment should occur
                    choiceOf: value
                    index: 64
              dayOfWeek:
                url: null
                isModifier: false
                short: Indicates which day of the week the appointment should occur
                index: 65
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Indicates which day of the week the appointment should occur
                    choices: [valueCoding]
                    index: 67
                  valueCoding:
                    base: {path: 'Extension.value[x]'}
                    type: Coding
                    short: Indicates which day of the week the appointment should occur
                    choiceOf: value
                    index: 68
              monthInterval:
                url: null
                isModifier: false
                short: Recurs every nth month
                _required: true
                index: 69
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs every nth month
                    choices: [valuePositiveInt]
                    index: 71
                  valuePositiveInt:
                    base: {path: 'Extension.value[x]'}
                    type: positiveInt
                    short: Recurs every nth month
                    choiceOf: value
                    index: 72
            elements:
              extension:
                array: true
                min: 1
                index: 56
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    dayOfMonth:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs on a specific day of the month
                        index: 57
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs on a specific day of the month
                            choices: [valuePositiveInt]
                            index: 59
                          valuePositiveInt:
                            base: {path: 'Extension.value[x]'}
                            type: positiveInt
                            short: Recurs on a specific day of the month
                            choiceOf: value
                            index: 60
                    nthWeekOfMonth:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Indicates which week of the month the appointment should occur
                        index: 61
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Indicates which week of the month the appointment should occur
                            choices: [valueCoding]
                            index: 63
                          valueCoding:
                            base: {path: 'Extension.value[x]'}
                            type: Coding
                            short: Indicates which week of the month the appointment should occur
                            choiceOf: value
                            index: 64
                    dayOfWeek:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Indicates which day of the week the appointment should occur
                        index: 65
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Indicates which day of the week the appointment should occur
                            choices: [valueCoding]
                            index: 67
                          valueCoding:
                            base: {path: 'Extension.value[x]'}
                            type: Coding
                            short: Indicates which day of the week the appointment should occur
                            choiceOf: value
                            index: 68
                    monthInterval:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs every nth month
                        _required: true
                        index: 69
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs every nth month
                            choices: [valuePositiveInt]
                            index: 71
                          valuePositiveInt:
                            base: {path: 'Extension.value[x]'}
                            type: positiveInt
                            short: Recurs every nth month
                            choiceOf: value
                            index: 72
            required: [extension]
        weeklyTemplate:
          match: {url: null}
          schema:
            short: Information about weekly recurring appointments
            isModifier: false
            index: 21
            extensions:
              monday:
                url: null
                isModifier: false
                short: Recurs on Mondays
                index: 23
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Mondays
                    choices: [valueBoolean]
                    index: 25
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Mondays
                    choiceOf: value
                    index: 26
              tuesday:
                url: null
                isModifier: false
                short: Recurs on Tuesday
                index: 27
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Tuesday
                    choices: [valueBoolean]
                    index: 29
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Tuesday
                    choiceOf: value
                    index: 30
              wednesday:
                url: null
                isModifier: false
                short: Recurs on Wednesday
                index: 31
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Wednesday
                    choices: [valueBoolean]
                    index: 33
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Wednesday
                    choiceOf: value
                    index: 34
              thursday:
                url: null
                isModifier: false
                short: Recurs on Thursday
                index: 35
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Thursday
                    choices: [valueBoolean]
                    index: 37
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Thursday
                    choiceOf: value
                    index: 38
              friday:
                url: null
                isModifier: false
                short: Recurs on Friday
                index: 39
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Friday
                    choices: [valueBoolean]
                    index: 41
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Friday
                    choiceOf: value
                    index: 42
              saturday:
                url: null
                isModifier: false
                short: Recurs on Saturday
                index: 43
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Saturday
                    choices: [valueBoolean]
                    index: 45
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Saturday
                    choiceOf: value
                    index: 46
              sunday:
                url: null
                isModifier: false
                short: Recurs on Sunday
                index: 47
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Sunday
                    choices: [valueBoolean]
                    index: 49
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Sunday
                    choiceOf: value
                    index: 50
              weekInterval:
                url: null
                isModifier: false
                short: Recurs every nth week
                index: 51
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs every nth week
                    choices: [valuePositiveInt]
                    index: 53
                  valuePositiveInt:
                    base: {path: 'Extension.value[x]'}
                    type: positiveInt
                    short: Recurs every nth week
                    choiceOf: value
                    index: 54
            elements:
              extension:
                array: true
                index: 22
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    monday:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs on Mondays
                        index: 23
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs on Mondays
                            choices: [valueBoolean]
                            index: 25
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: Recurs on Mondays
                            choiceOf: value
                            index: 26
                    tuesday:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs on Tuesday
                        index: 27
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs on Tuesday
                            choices: [valueBoolean]
                            index: 29
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: Recurs on Tuesday
                            choiceOf: value
                            index: 30
                    wednesday:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs on Wednesday
                        index: 31
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs on Wednesday
                            choices: [valueBoolean]
                            index: 33
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: Recurs on Wednesday
                            choiceOf: value
                            index: 34
                    thursday:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs on Thursday
                        index: 35
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs on Thursday
                            choices: [valueBoolean]
                            index: 37
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: Recurs on Thursday
                            choiceOf: value
                            index: 38
                    friday:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs on Friday
                        index: 39
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs on Friday
                            choices: [valueBoolean]
                            index: 41
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: Recurs on Friday
                            choiceOf: value
                            index: 42
                    saturday:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs on Saturday
                        index: 43
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs on Saturday
                            choices: [valueBoolean]
                            index: 45
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: Recurs on Saturday
                            choiceOf: value
                            index: 46
                    sunday:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs on Sunday
                        index: 47
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs on Sunday
                            choices: [valueBoolean]
                            index: 49
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: Recurs on Sunday
                            choiceOf: value
                            index: 50
                    weekInterval:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Recurs every nth week
                        index: 51
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Recurs every nth week
                            choices: [valuePositiveInt]
                            index: 53
                          valuePositiveInt:
                            base: {path: 'Extension.value[x]'}
                            type: positiveInt
                            short: Recurs every nth week
                            choiceOf: value
                            index: 54
        occurrenceDate:
          match: {url: null}
          schema:
            isModifier: false
            short: Specific dates for a recurring set of appointments (no template)
            array: true
            index: 17
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Specific dates for a recurring set of appointments (no template)
                choices: [valueDate]
                index: 19
              valueDate:
                base: {path: 'Extension.value[x]'}
                type: date
                short: Specific dates for a recurring set of appointments (no template)
                choiceOf: value
                index: 20
        excludingDate:
          match: {url: null}
          schema:
            isModifier: false
            short: Any dates that should be excluded from the series
            array: true
            index: 79
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Any dates that should be excluded from the series
                choices: [valueDate]
                index: 81
              valueDate:
                base: {path: 'Extension.value[x]'}
                type: date
                short: Any dates that should be excluded from the series
                choiceOf: value
                index: 82
        occurrenceCount:
          match: {url: null}
          schema:
            isModifier: false
            short: The number of planned occurrences
            index: 13
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The number of planned occurrences
                choices: [valuePositiveInt]
                index: 15
              valuePositiveInt:
                base: {path: 'Extension.value[x]'}
                type: positiveInt
                short: The number of planned occurrences
                choiceOf: value
                index: 16
        recurrenceType:
          match: {url: null}
          schema:
            isModifier: false
            short: The frequency of the recurrence
            _required: true
            index: 5
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The frequency of the recurrence
                choices: [valueCodeableConcept]
                index: 7
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: The frequency of the recurrence
                choiceOf: value
                index: 8
        excludingRecurrenceId:
          match: {url: null}
          schema:
            isModifier: false
            short: Any recurrence IDs that should be excluded from the recurrence
            array: true
            index: 83
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Any recurrence IDs that should be excluded from the recurrence
                choices: [valuePositiveInt]
                index: 85
              valuePositiveInt:
                base: {path: 'Extension.value[x]'}
                type: positiveInt
                short: Any recurrence IDs that should be excluded from the recurrence
                choiceOf: value
                index: 86
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Appointment.recurrenceTemplate'}
    index: 87
package_version: r5.r4b-0.0.1-snapshot-1
extensions:
  timezone:
    url: null
    isModifier: false
    short: The timezone of the occurrences
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The timezone of the occurrences
        choices: [valueCodeableConcept]
        index: 3
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: The timezone of the occurrences
        choiceOf: value
        index: 4
  lastOccurrenceDate:
    url: null
    isModifier: false
    short: The date when the recurrence should end
    index: 9
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The date when the recurrence should end
        choices: [valueDate]
        index: 11
      valueDate:
        base: {path: 'Extension.value[x]'}
        type: date
        short: The date when the recurrence should end
        choiceOf: value
        index: 12
  yearlyTemplate:
    url: null
    short: Information about yearly recurring appointments
    isModifier: false
    index: 73
    extensions:
      yearInterval:
        url: null
        isModifier: false
        short: Recurs every nth year
        _required: true
        index: 75
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs every nth year
            choices: [valuePositiveInt]
            index: 77
          valuePositiveInt:
            base: {path: 'Extension.value[x]'}
            type: positiveInt
            short: Recurs every nth year
            choiceOf: value
            index: 78
    elements:
      extension:
        array: true
        min: 1
        index: 74
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            yearInterval:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs every nth year
                _required: true
                index: 75
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs every nth year
                    choices: [valuePositiveInt]
                    index: 77
                  valuePositiveInt:
                    base: {path: 'Extension.value[x]'}
                    type: positiveInt
                    short: Recurs every nth year
                    choiceOf: value
                    index: 78
    required: [extension]
  monthlyTemplate:
    url: null
    short: Information about monthly recurring appointments
    isModifier: false
    index: 55
    extensions:
      dayOfMonth:
        url: null
        isModifier: false
        short: Recurs on a specific day of the month
        index: 57
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs on a specific day of the month
            choices: [valuePositiveInt]
            index: 59
          valuePositiveInt:
            base: {path: 'Extension.value[x]'}
            type: positiveInt
            short: Recurs on a specific day of the month
            choiceOf: value
            index: 60
      nthWeekOfMonth:
        url: null
        isModifier: false
        short: Indicates which week of the month the appointment should occur
        index: 61
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Indicates which week of the month the appointment should occur
            choices: [valueCoding]
            index: 63
          valueCoding:
            base: {path: 'Extension.value[x]'}
            type: Coding
            short: Indicates which week of the month the appointment should occur
            choiceOf: value
            index: 64
      dayOfWeek:
        url: null
        isModifier: false
        short: Indicates which day of the week the appointment should occur
        index: 65
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Indicates which day of the week the appointment should occur
            choices: [valueCoding]
            index: 67
          valueCoding:
            base: {path: 'Extension.value[x]'}
            type: Coding
            short: Indicates which day of the week the appointment should occur
            choiceOf: value
            index: 68
      monthInterval:
        url: null
        isModifier: false
        short: Recurs every nth month
        _required: true
        index: 69
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs every nth month
            choices: [valuePositiveInt]
            index: 71
          valuePositiveInt:
            base: {path: 'Extension.value[x]'}
            type: positiveInt
            short: Recurs every nth month
            choiceOf: value
            index: 72
    elements:
      extension:
        array: true
        min: 1
        index: 56
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            dayOfMonth:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs on a specific day of the month
                index: 57
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on a specific day of the month
                    choices: [valuePositiveInt]
                    index: 59
                  valuePositiveInt:
                    base: {path: 'Extension.value[x]'}
                    type: positiveInt
                    short: Recurs on a specific day of the month
                    choiceOf: value
                    index: 60
            nthWeekOfMonth:
              match: {url: null}
              schema:
                isModifier: false
                short: Indicates which week of the month the appointment should occur
                index: 61
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Indicates which week of the month the appointment should occur
                    choices: [valueCoding]
                    index: 63
                  valueCoding:
                    base: {path: 'Extension.value[x]'}
                    type: Coding
                    short: Indicates which week of the month the appointment should occur
                    choiceOf: value
                    index: 64
            dayOfWeek:
              match: {url: null}
              schema:
                isModifier: false
                short: Indicates which day of the week the appointment should occur
                index: 65
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Indicates which day of the week the appointment should occur
                    choices: [valueCoding]
                    index: 67
                  valueCoding:
                    base: {path: 'Extension.value[x]'}
                    type: Coding
                    short: Indicates which day of the week the appointment should occur
                    choiceOf: value
                    index: 68
            monthInterval:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs every nth month
                _required: true
                index: 69
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs every nth month
                    choices: [valuePositiveInt]
                    index: 71
                  valuePositiveInt:
                    base: {path: 'Extension.value[x]'}
                    type: positiveInt
                    short: Recurs every nth month
                    choiceOf: value
                    index: 72
    required: [extension]
  weeklyTemplate:
    url: null
    short: Information about weekly recurring appointments
    isModifier: false
    index: 21
    extensions:
      monday:
        url: null
        isModifier: false
        short: Recurs on Mondays
        index: 23
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs on Mondays
            choices: [valueBoolean]
            index: 25
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: Recurs on Mondays
            choiceOf: value
            index: 26
      tuesday:
        url: null
        isModifier: false
        short: Recurs on Tuesday
        index: 27
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs on Tuesday
            choices: [valueBoolean]
            index: 29
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: Recurs on Tuesday
            choiceOf: value
            index: 30
      wednesday:
        url: null
        isModifier: false
        short: Recurs on Wednesday
        index: 31
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs on Wednesday
            choices: [valueBoolean]
            index: 33
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: Recurs on Wednesday
            choiceOf: value
            index: 34
      thursday:
        url: null
        isModifier: false
        short: Recurs on Thursday
        index: 35
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs on Thursday
            choices: [valueBoolean]
            index: 37
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: Recurs on Thursday
            choiceOf: value
            index: 38
      friday:
        url: null
        isModifier: false
        short: Recurs on Friday
        index: 39
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs on Friday
            choices: [valueBoolean]
            index: 41
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: Recurs on Friday
            choiceOf: value
            index: 42
      saturday:
        url: null
        isModifier: false
        short: Recurs on Saturday
        index: 43
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs on Saturday
            choices: [valueBoolean]
            index: 45
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: Recurs on Saturday
            choiceOf: value
            index: 46
      sunday:
        url: null
        isModifier: false
        short: Recurs on Sunday
        index: 47
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs on Sunday
            choices: [valueBoolean]
            index: 49
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: Recurs on Sunday
            choiceOf: value
            index: 50
      weekInterval:
        url: null
        isModifier: false
        short: Recurs every nth week
        index: 51
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Recurs every nth week
            choices: [valuePositiveInt]
            index: 53
          valuePositiveInt:
            base: {path: 'Extension.value[x]'}
            type: positiveInt
            short: Recurs every nth week
            choiceOf: value
            index: 54
    elements:
      extension:
        array: true
        index: 22
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            monday:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs on Mondays
                index: 23
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Mondays
                    choices: [valueBoolean]
                    index: 25
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Mondays
                    choiceOf: value
                    index: 26
            tuesday:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs on Tuesday
                index: 27
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Tuesday
                    choices: [valueBoolean]
                    index: 29
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Tuesday
                    choiceOf: value
                    index: 30
            wednesday:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs on Wednesday
                index: 31
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Wednesday
                    choices: [valueBoolean]
                    index: 33
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Wednesday
                    choiceOf: value
                    index: 34
            thursday:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs on Thursday
                index: 35
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Thursday
                    choices: [valueBoolean]
                    index: 37
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Thursday
                    choiceOf: value
                    index: 38
            friday:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs on Friday
                index: 39
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Friday
                    choices: [valueBoolean]
                    index: 41
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Friday
                    choiceOf: value
                    index: 42
            saturday:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs on Saturday
                index: 43
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Saturday
                    choices: [valueBoolean]
                    index: 45
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Saturday
                    choiceOf: value
                    index: 46
            sunday:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs on Sunday
                index: 47
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs on Sunday
                    choices: [valueBoolean]
                    index: 49
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Recurs on Sunday
                    choiceOf: value
                    index: 50
            weekInterval:
              match: {url: null}
              schema:
                isModifier: false
                short: Recurs every nth week
                index: 51
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Recurs every nth week
                    choices: [valuePositiveInt]
                    index: 53
                  valuePositiveInt:
                    base: {path: 'Extension.value[x]'}
                    type: positiveInt
                    short: Recurs every nth week
                    choiceOf: value
                    index: 54
  occurrenceDate:
    url: null
    isModifier: false
    short: Specific dates for a recurring set of appointments (no template)
    array: true
    index: 17
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Specific dates for a recurring set of appointments (no template)
        choices: [valueDate]
        index: 19
      valueDate:
        base: {path: 'Extension.value[x]'}
        type: date
        short: Specific dates for a recurring set of appointments (no template)
        choiceOf: value
        index: 20
  excludingDate:
    url: null
    isModifier: false
    short: Any dates that should be excluded from the series
    array: true
    index: 79
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Any dates that should be excluded from the series
        choices: [valueDate]
        index: 81
      valueDate:
        base: {path: 'Extension.value[x]'}
        type: date
        short: Any dates that should be excluded from the series
        choiceOf: value
        index: 82
  occurrenceCount:
    url: null
    isModifier: false
    short: The number of planned occurrences
    index: 13
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The number of planned occurrences
        choices: [valuePositiveInt]
        index: 15
      valuePositiveInt:
        base: {path: 'Extension.value[x]'}
        type: positiveInt
        short: The number of planned occurrences
        choiceOf: value
        index: 16
  recurrenceType:
    url: null
    isModifier: false
    short: The frequency of the recurrence
    _required: true
    index: 5
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The frequency of the recurrence
        choices: [valueCodeableConcept]
        index: 7
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: The frequency of the recurrence
        choiceOf: value
        index: 8
  excludingRecurrenceId:
    url: null
    isModifier: false
    short: Any recurrence IDs that should be excluded from the recurrence
    array: true
    index: 83
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Any recurrence IDs that should be excluded from the recurrence
        choices: [valuePositiveInt]
        index: 85
      valuePositiveInt:
        base: {path: 'Extension.value[x]'}
        type: positiveInt
        short: Any recurrence IDs that should be excluded from the recurrence
        choiceOf: value
        index: 86
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Appointment.recurrenceTemplate
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url, extension]