PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r5.r4-0.0.1-snapshot-1
    http://hl7.org/fhir/5.0/StructureDefinition/extension-Availability
description: This cross-version extension represents Availability from http://hl7.org/fhir/StructureDefinition/Availability|5.0.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: ext_R5_Availability
type: Extension
elements:
  extension:
    array: true
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        availableTime:
          match: {url: null}
          schema:
            short: Times the {item} is available
            isModifier: false
            array: true
            index: 1
            extensions:
              daysOfWeek:
                url: null
                short: mon | tue | wed | thu | fri | sat | sun
                isModifier: false
                array: true
                index: 3
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: mon | tue | wed | thu | fri | sat | sun
                    choices: [valueCode]
                    index: 5
                  valueCode:
                    base: {path: 'Extension.value[x]'}
                    type: code
                    short: mon | tue | wed | thu | fri | sat | sun
                    choiceOf: value
                    index: 6
              allDay:
                url: null
                short: Always available? i.e. 24 hour service
                isModifier: false
                index: 7
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Always available? i.e. 24 hour service
                    choices: [valueBoolean]
                    index: 9
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Always available? i.e. 24 hour service
                    choiceOf: value
                    index: 10
              availableStartTime:
                url: null
                short: Opening time of day (ignored if allDay = true)
                isModifier: false
                index: 11
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Opening time of day (ignored if allDay = true)
                    choices: [valueTime]
                    index: 13
                  valueTime:
                    base: {path: 'Extension.value[x]'}
                    type: time
                    short: Opening time of day (ignored if allDay = true)
                    choiceOf: value
                    index: 14
              availableEndTime:
                url: null
                short: Closing time of day (ignored if allDay = true)
                isModifier: false
                index: 15
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Closing time of day (ignored if allDay = true)
                    choices: [valueTime]
                    index: 17
                  valueTime:
                    base: {path: 'Extension.value[x]'}
                    type: time
                    short: Closing time of day (ignored if allDay = true)
                    choiceOf: value
                    index: 18
            elements:
              extension:
                array: true
                index: 2
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    daysOfWeek:
                      match: {url: null}
                      schema:
                        short: mon | tue | wed | thu | fri | sat | sun
                        isModifier: false
                        array: true
                        index: 3
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: mon | tue | wed | thu | fri | sat | sun
                            choices: [valueCode]
                            index: 5
                          valueCode:
                            base: {path: 'Extension.value[x]'}
                            type: code
                            short: mon | tue | wed | thu | fri | sat | sun
                            choiceOf: value
                            index: 6
                    allDay:
                      match: {url: null}
                      schema:
                        short: Always available? i.e. 24 hour service
                        isModifier: false
                        index: 7
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Always available? i.e. 24 hour service
                            choices: [valueBoolean]
                            index: 9
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: Always available? i.e. 24 hour service
                            choiceOf: value
                            index: 10
                    availableStartTime:
                      match: {url: null}
                      schema:
                        short: Opening time of day (ignored if allDay = true)
                        isModifier: false
                        index: 11
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Opening time of day (ignored if allDay = true)
                            choices: [valueTime]
                            index: 13
                          valueTime:
                            base: {path: 'Extension.value[x]'}
                            type: time
                            short: Opening time of day (ignored if allDay = true)
                            choiceOf: value
                            index: 14
                    availableEndTime:
                      match: {url: null}
                      schema:
                        short: Closing time of day (ignored if allDay = true)
                        isModifier: false
                        index: 15
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Closing time of day (ignored if allDay = true)
                            choices: [valueTime]
                            index: 17
                          valueTime:
                            base: {path: 'Extension.value[x]'}
                            type: time
                            short: Closing time of day (ignored if allDay = true)
                            choiceOf: value
                            index: 18
        notAvailableTime:
          match: {url: null}
          schema:
            short: Not available during this time due to provided reason
            isModifier: false
            array: true
            index: 19
            extensions:
              description:
                url: null
                short: Reason presented to the user explaining why time not available
                isModifier: false
                index: 21
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reason presented to the user explaining why time not available
                    choices: [valueString]
                    index: 23
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: Reason presented to the user explaining why time not available
                    choiceOf: value
                    index: 24
              during:
                url: null
                short: Service not available during this period
                isModifier: false
                index: 25
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Service not available during this period
                    choices: [valuePeriod]
                    index: 27
                  valuePeriod:
                    base: {path: 'Extension.value[x]'}
                    type: Period
                    short: Service not available during this period
                    choiceOf: value
                    index: 28
            elements:
              extension:
                array: true
                index: 20
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    description:
                      match: {url: null}
                      schema:
                        short: Reason presented to the user explaining why time not available
                        isModifier: false
                        index: 21
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reason presented to the user explaining why time not available
                            choices: [valueString]
                            index: 23
                          valueString:
                            base: {path: 'Extension.value[x]'}
                            type: string
                            short: Reason presented to the user explaining why time not available
                            choiceOf: value
                            index: 24
                    during:
                      match: {url: null}
                      schema:
                        short: Service not available during this period
                        isModifier: false
                        index: 25
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Service not available during this period
                            choices: [valuePeriod]
                            index: 27
                          valuePeriod:
                            base: {path: 'Extension.value[x]'}
                            type: Period
                            short: Service not available during this period
                            choiceOf: value
                            index: 28
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Availability'}
    index: 29
package_version: r5.r4-0.0.1-snapshot-1
extensions:
  availableTime:
    url: null
    short: Times the {item} is available
    isModifier: false
    array: true
    index: 1
    extensions:
      daysOfWeek:
        url: null
        short: mon | tue | wed | thu | fri | sat | sun
        isModifier: false
        array: true
        index: 3
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: mon | tue | wed | thu | fri | sat | sun
            choices: [valueCode]
            index: 5
          valueCode:
            base: {path: 'Extension.value[x]'}
            type: code
            short: mon | tue | wed | thu | fri | sat | sun
            choiceOf: value
            index: 6
      allDay:
        url: null
        short: Always available? i.e. 24 hour service
        isModifier: false
        index: 7
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Always available? i.e. 24 hour service
            choices: [valueBoolean]
            index: 9
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: Always available? i.e. 24 hour service
            choiceOf: value
            index: 10
      availableStartTime:
        url: null
        short: Opening time of day (ignored if allDay = true)
        isModifier: false
        index: 11
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Opening time of day (ignored if allDay = true)
            choices: [valueTime]
            index: 13
          valueTime:
            base: {path: 'Extension.value[x]'}
            type: time
            short: Opening time of day (ignored if allDay = true)
            choiceOf: value
            index: 14
      availableEndTime:
        url: null
        short: Closing time of day (ignored if allDay = true)
        isModifier: false
        index: 15
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Closing time of day (ignored if allDay = true)
            choices: [valueTime]
            index: 17
          valueTime:
            base: {path: 'Extension.value[x]'}
            type: time
            short: Closing time of day (ignored if allDay = true)
            choiceOf: value
            index: 18
    elements:
      extension:
        array: true
        index: 2
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            daysOfWeek:
              match: {url: null}
              schema:
                short: mon | tue | wed | thu | fri | sat | sun
                isModifier: false
                array: true
                index: 3
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: mon | tue | wed | thu | fri | sat | sun
                    choices: [valueCode]
                    index: 5
                  valueCode:
                    base: {path: 'Extension.value[x]'}
                    type: code
                    short: mon | tue | wed | thu | fri | sat | sun
                    choiceOf: value
                    index: 6
            allDay:
              match: {url: null}
              schema:
                short: Always available? i.e. 24 hour service
                isModifier: false
                index: 7
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Always available? i.e. 24 hour service
                    choices: [valueBoolean]
                    index: 9
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: Always available? i.e. 24 hour service
                    choiceOf: value
                    index: 10
            availableStartTime:
              match: {url: null}
              schema:
                short: Opening time of day (ignored if allDay = true)
                isModifier: false
                index: 11
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Opening time of day (ignored if allDay = true)
                    choices: [valueTime]
                    index: 13
                  valueTime:
                    base: {path: 'Extension.value[x]'}
                    type: time
                    short: Opening time of day (ignored if allDay = true)
                    choiceOf: value
                    index: 14
            availableEndTime:
              match: {url: null}
              schema:
                short: Closing time of day (ignored if allDay = true)
                isModifier: false
                index: 15
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Closing time of day (ignored if allDay = true)
                    choices: [valueTime]
                    index: 17
                  valueTime:
                    base: {path: 'Extension.value[x]'}
                    type: time
                    short: Closing time of day (ignored if allDay = true)
                    choiceOf: value
                    index: 18
  notAvailableTime:
    url: null
    short: Not available during this time due to provided reason
    isModifier: false
    array: true
    index: 19
    extensions:
      description:
        url: null
        short: Reason presented to the user explaining why time not available
        isModifier: false
        index: 21
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Reason presented to the user explaining why time not available
            choices: [valueString]
            index: 23
          valueString:
            base: {path: 'Extension.value[x]'}
            type: string
            short: Reason presented to the user explaining why time not available
            choiceOf: value
            index: 24
      during:
        url: null
        short: Service not available during this period
        isModifier: false
        index: 25
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Service not available during this period
            choices: [valuePeriod]
            index: 27
          valuePeriod:
            base: {path: 'Extension.value[x]'}
            type: Period
            short: Service not available during this period
            choiceOf: value
            index: 28
    elements:
      extension:
        array: true
        index: 20
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            description:
              match: {url: null}
              schema:
                short: Reason presented to the user explaining why time not available
                isModifier: false
                index: 21
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reason presented to the user explaining why time not available
                    choices: [valueString]
                    index: 23
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: Reason presented to the user explaining why time not available
                    choiceOf: value
                    index: 24
            during:
              match: {url: null}
              schema:
                short: Service not available during this period
                isModifier: false
                index: 25
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Service not available during this period
                    choices: [valuePeriod]
                    index: 27
                  valuePeriod:
                    base: {path: 'Extension.value[x]'}
                    type: Period
                    short: Service not available during this period
                    choiceOf: value
                    index: 28
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Availability
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]