PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-drug-formulary@1.2.0
    http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-QuantityLimitDetail-extension
description: An indication of whether and which quantity limits the coverage plan imposes on this drug. (Only include if QuantityLimit = true)
package_name: hl7.fhir.us.davinci-drug-formulary
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
                elements:
                  event: {index: 14}
                  repeat:
                    index: 15
                    elements:
                      count: {index: 16}
                      period: {index: 17}
                      periodUnit:
                        pattern: {type: Code, value: d}
                        index: 18
                    required: [count, period]
                required: [repeat]
            required: [valueTiming, value]
        MaximumDaily:
          match: {}
          schema:
            short: Indicator of maximum daily amount.
            index: 19
            extensions: {}
            elements:
              extension: {index: 20}
              url:
                pattern: {type: Uri, value: MaximumDaily}
                index: 21
              value:
                choices: [valueQuantity]
                index: 23
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 24
                elements:
                  value: {index: 26}
                required: [value]
            required: [value, valueQuantity]
        DaysSupply:
          match: {}
          schema:
            short: Indicator of number of therapy days over time period.
            index: 27
            extensions: {}
            elements:
              extension: {index: 28}
              url:
                pattern: {type: Uri, value: DaysSupply}
                index: 29
              value:
                choices: [valueTiming]
                index: 31
              valueTiming:
                type: Timing
                choiceOf: value
                index: 32
                elements:
                  event: {index: 34}
                  repeat:
                    index: 35
                    elements:
                      bounds:
                        choices: [boundsDuration]
                        index: 37
                      boundsDuration:
                        type: Duration
                        choiceOf: bounds
                        index: 38
                        elements:
                          value: {index: 40}
                          system:
                            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                            index: 41
                          code:
                            pattern: {type: Code, value: d}
                            index: 42
                        required: [value]
                      count: {index: 43}
                      period: {index: 44}
                      periodUnit:
                        pattern: {type: Code, value: d}
                        index: 45
                    required: [boundsDuration, count, bounds, period]
                required: [repeat]
            required: [valueTiming, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-QuantityLimitDetail-extension'}
    index: 46
  value:
    choices: []
    index: 48
package_version: 1.2.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
        elements:
          event: {index: 14}
          repeat:
            index: 15
            elements:
              count: {index: 16}
              period: {index: 17}
              periodUnit:
                pattern: {type: Code, value: d}
                index: 18
            required: [count, period]
        required: [repeat]
    required: [valueTiming, value]
  MaximumDaily:
    url: null
    short: Indicator of maximum daily amount.
    index: 19
    extensions: {}
    elements:
      extension: {index: 20}
      url:
        pattern: {type: Uri, value: MaximumDaily}
        index: 21
      value:
        choices: [valueQuantity]
        index: 23
      valueQuantity:
        type: Quantity
        choiceOf: value
        index: 24
        elements:
          value: {index: 26}
        required: [value]
    required: [value, valueQuantity]
  DaysSupply:
    url: null
    short: Indicator of number of therapy days over time period.
    index: 27
    extensions: {}
    elements:
      extension: {index: 28}
      url:
        pattern: {type: Uri, value: DaysSupply}
        index: 29
      value:
        choices: [valueTiming]
        index: 31
      valueTiming:
        type: Timing
        choiceOf: value
        index: 32
        elements:
          event: {index: 34}
          repeat:
            index: 35
            elements:
              bounds:
                choices: [boundsDuration]
                index: 37
              boundsDuration:
                type: Duration
                choiceOf: bounds
                index: 38
                elements:
                  value: {index: 40}
                  system:
                    pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                    index: 41
                  code:
                    pattern: {type: Code, value: d}
                    index: 42
                required: [value]
              count: {index: 43}
              period: {index: 44}
              periodUnit:
                pattern: {type: Code, value: d}
                index: 45
            required: [boundsDuration, count, bounds, period]
        required: [repeat]
    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: 1.2.0
required: [extension]