PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r4b.r5@0.0.1-snapshot-2
    http://hl7.org/fhir/4.3/StructureDefinition/extension-Location.hoursOfOperation
description: This cross-version extension represents Location.hoursOfOperation from http://hl7.org/fhir/StructureDefinition/Location|4.3.0 for use in FHIR R5.
package_name: hl7.fhir.uv.xver-r4b.r5
derivation: constraint
name: Ext_R4B_Location_hoursOfOperation
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        daysOfWeek:
          match: {url: daysOfWeek}
          schema:
            short: mon | tue | wed | thu | fri | sat | sun
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: daysOfWeek}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: mon | tue | wed | thu | fri | sat | sun
                choices: [valueCode]
                index: 4
              valueCode:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: code
                short: mon | tue | wed | thu | fri | sat | sun
                choiceOf: value
                index: 5
            required: [url]
        allDay:
          match: {url: allDay}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The Location is open all day
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: allDay}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The Location is open all day
                choices: [valueBoolean]
                index: 9
              valueBoolean:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: boolean
                short: The Location is open all day
                choiceOf: value
                index: 10
            required: [url]
        openingTime:
          match: {url: openingTime}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Time that the Location opens
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: openingTime}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Time that the Location opens
                choices: [valueTime]
                index: 14
              valueTime:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: time
                short: Time that the Location opens
                choiceOf: value
                index: 15
            required: [url]
        closingTime:
          match: {url: closingTime}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Time that the Location closes
            index: 16
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: closingTime}
                index: 17
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Time that the Location closes
                choices: [valueTime]
                index: 19
              valueTime:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: time
                short: Time that the Location closes
                choiceOf: value
                index: 20
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-Location.hoursOfOperation'}
    index: 21
package_version: 0.0.1-snapshot-2
extensions:
  daysOfWeek:
    url: daysOfWeek
    short: mon | tue | wed | thu | fri | sat | sun
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: daysOfWeek}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: mon | tue | wed | thu | fri | sat | sun
        choices: [valueCode]
        index: 4
      valueCode:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: code
        short: mon | tue | wed | thu | fri | sat | sun
        choiceOf: value
        index: 5
    required: [url]
  allDay:
    url: allDay
    base: {max: '*', min: 0, path: Extension.extension}
    short: The Location is open all day
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: allDay}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The Location is open all day
        choices: [valueBoolean]
        index: 9
      valueBoolean:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: boolean
        short: The Location is open all day
        choiceOf: value
        index: 10
    required: [url]
  openingTime:
    url: openingTime
    base: {max: '*', min: 0, path: Extension.extension}
    short: Time that the Location opens
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: openingTime}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Time that the Location opens
        choices: [valueTime]
        index: 14
      valueTime:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: time
        short: Time that the Location opens
        choiceOf: value
        index: 15
    required: [url]
  closingTime:
    url: closingTime
    base: {max: '*', min: 0, path: Extension.extension}
    short: Time that the Location closes
    index: 16
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: closingTime}
        index: 17
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Time that the Location closes
        choices: [valueTime]
        index: 19
      valueTime:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: time
        short: Time that the Location closes
        choiceOf: value
        index: 20
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-Location.hoursOfOperation
base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0
version: 0.0.1-snapshot-2
required: [url]