Skip to content

Commit

Permalink
FOCUS #547: ConsumedUnit and ConsumedQuantity spec change - replacing…
Browse files Browse the repository at this point in the history
… 'MUST NOT be null if ... is Used' with 'MUST NOT be null if ... is not Unused'
  • Loading branch information
ijurica committed Oct 2, 2024
1 parent 5ff05bc commit b972466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion specification/columns/consumedquantity.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The ConsumedQuantity column adheres to the following requirements:
* ConsumedQuantity MUST be present in a FOCUS dataset when the provider supports the measurement of usage.
* ConsumedQuantity MUST be of type Decimal and MUST conform to [Numeric Format](#numericformat) requirements.
* ConsumedQuantity MUST NOT be null and MUST be a valid positive decimal value if [ChargeCategory](#chargecategory) is "Usage", [CommitmentDiscountStatus](#commitmentdiscountstatus) is not "Unused", and [ChargeClass](#chargeclass) is not "Correction".
* ConsumedQuantity MAY be null or any valid decimal value if ChargeCategory is "Usage", CommitmentDiscountStatus is "Used", and ChargeClass is "Correction".
* ConsumedQuantity MAY be null or any valid decimal value if ChargeCategory is "Usage", CommitmentDiscountStatus is not "Unused", and ChargeClass is "Correction".
* ConsumedQuantity MUST be null in all other cases.

## Column ID
Expand Down
2 changes: 1 addition & 1 deletion specification/columns/consumedunit.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The ConsumedUnit column adheres to the following requirements:
* ConsumedUnit MUST be present in the billing data when the provider supports the measurement of usage.
* ConsumedUnit MUST be of type String, and the units of measure used in ConsumedUnit SHOULD adhere to the values and format requirements specified in the [UnitFormat](#unitformat) attribute.
* ConsumedUnit MUST NOT be null if [ChargeCategory](#chargecategory) is "Usage", [CommitmentDiscountStatus](#commitmentdiscountstatus) is not "Unused", and [ChargeClass](#chargeclass) is not "Correction".
* ConsumedUnit MAY be null if ChargeCategory is "Usage", CommitmentDiscountStatus is "Used", and ChargeClass is "Correction".
* ConsumedUnit MAY be null if ChargeCategory is "Usage", CommitmentDiscountStatus is not "Unused", and ChargeClass is "Correction".
* ConsumedUnit MUST be null in all other cases.

## Column ID
Expand Down

0 comments on commit b972466

Please sign in to comment.