PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@drug-formulary-2.1.0
    http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-QuantityLimitDetail-extension
description: A detailed definition of the quantity limits the coverage plan imposes on this drug. These limit details may include (potentially including a rolling dispense limit, maximum daily, or therapy days for a period of time. (Only include if QuantityLimit = true)
package_name: hl7.fhir.us.davinci
derivation: constraint
name: QuantityLimitDetail
type: Extension
elements:
  extension:
    index: 0
    slicing:
      slices:
        Description:
          match: {}
          schema:
            short: A human readable description of quantity limits.
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: Description}
                index: 3
              value:
                choices: [valueString]
                index: 5
              valueString: {type: string, choiceOf: value, index: 6}
            required: [valueString, value]
        Rolling:
          match: {}
          schema:
            short: Indicator of dispense amount limit per time period.
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: Rolling}
                index: 9
              value:
                choices: [valueTiming]
                index: 11
              valueTiming: {type: Timing, choiceOf: value, index: 12}
              value[x]:
                elements:
                  event: {index: 13}
                  repeat:
                    index: 14
                    elements:
                      count: {index: 15}
                      period: {index: 16}
                      periodUnit:
                        pattern: {type: Code, value: d}
                        index: 17
                    required: [count, period]
                required: [repeat]
            required: [valueTiming, value]
        MaximumDaily:
          match: {}
          schema:
            short: Indicator of maximum daily amount.
            index: 18
            extensions: {}
            elements:
              extension: {index: 19}
              url:
                pattern: {type: Uri, value: MaximumDaily}
                index: 20
              value:
                choices: [valueQuantity]
                index: 22
              valueQuantity: {type: Quantity, choiceOf: value, index: 23}
              value[x]:
                elements:
                  value: {index: 24}
                required: [value]
            required: [value, valueQuantity]
        DaysSupply:
          match: {}
          schema:
            short: Indicator of number of therapy days over time period.
            index: 25
            extensions: {}
            elements:
              extension: {index: 26}
              url:
                pattern: {type: Uri, value: DaysSupply}
                index: 27
              value:
                elements:
                  repeat:
                    elements:
                      bounds:
                        choices: [boundsDuration]
                        index: 34
                      boundsDuration: {type: Duration, choiceOf: bounds, index: 35}
                    required: [boundsDuration, bounds]
              valueTiming: {type: Timing, choiceOf: value, index: 30}
              value[x]:
                elements:
                  repeat:
                    elements:
                      bounds[x]:
                        elements:
                          value: {index: 36}
                          system:
                            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                            index: 37
                          code:
                            pattern: {type: Code, value: d}
                            index: 38
                        required: [value]
                      count: {index: 39}
                      period: {index: 40}
                      periodUnit:
                        pattern: {type: Code, value: d}
                        index: 41
                    required: [count, period]
            required: [valueTiming, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-QuantityLimitDetail-extension'}
    index: 42
  value:
    choices: []
    index: 44
package_version: drug-formulary-2.1.0
extensions:
  Description:
    url: null
    short: A human readable description of quantity limits.
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: Description}
        index: 3
      value:
        choices: [valueString]
        index: 5
      valueString: {type: string, choiceOf: value, index: 6}
    required: [valueString, value]
  Rolling:
    url: null
    short: Indicator of dispense amount limit per time period.
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: Rolling}
        index: 9
      value:
        choices: [valueTiming]
        index: 11
      valueTiming: {type: Timing, choiceOf: value, index: 12}
      value[x]:
        elements:
          event: {index: 13}
          repeat:
            index: 14
            elements:
              count: {index: 15}
              period: {index: 16}
              periodUnit:
                pattern: {type: Code, value: d}
                index: 17
            required: [count, period]
        required: [repeat]
    required: [valueTiming, value]
  MaximumDaily:
    url: null
    short: Indicator of maximum daily amount.
    index: 18
    extensions: {}
    elements:
      extension: {index: 19}
      url:
        pattern: {type: Uri, value: MaximumDaily}
        index: 20
      value:
        choices: [valueQuantity]
        index: 22
      valueQuantity: {type: Quantity, choiceOf: value, index: 23}
      value[x]:
        elements:
          value: {index: 24}
        required: [value]
    required: [value, valueQuantity]
  DaysSupply:
    url: null
    short: Indicator of number of therapy days over time period.
    index: 25
    extensions: {}
    elements:
      extension: {index: 26}
      url:
        pattern: {type: Uri, value: DaysSupply}
        index: 27
      value:
        elements:
          repeat:
            elements:
              bounds:
                choices: [boundsDuration]
                index: 34
              boundsDuration: {type: Duration, choiceOf: bounds, index: 35}
            required: [boundsDuration, bounds]
      valueTiming: {type: Timing, choiceOf: value, index: 30}
      value[x]:
        elements:
          repeat:
            elements:
              bounds[x]:
                elements:
                  value: {index: 36}
                  system:
                    pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                    index: 37
                  code:
                    pattern: {type: Code, value: d}
                    index: 38
                required: [value]
              count: {index: 39}
              period: {index: 40}
              periodUnit:
                pattern: {type: Code, value: d}
                index: 41
            required: [count, period]
    required: [valueTiming, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-QuantityLimitDetail-extension
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 2.1.0
required: [extension]