Skip to content

Commit

Permalink
FOCUS #547: ConsumedUnit spec change - simplified version of Consumed…
Browse files Browse the repository at this point in the history
…Unit normative requirements
  • Loading branch information
ijurica committed Oct 2, 2024
1 parent 7902d91 commit 0141b38
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions specification/columns/consumedunit.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ The Consumed Unit represents a provider-specified measurement unit indicating ho
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.
* Units of measure used in ConsumedUnit SHOULD adhere to the values and format requirements specified in the [UnitFormat](#unitformat) attribute.
* If [ChargeCategory](#chargecategory) is "Usage" and [CommitmentDiscountStatus](#commitmentdiscountstatus) is "Used", the following applies:
* ConsumedUnit MUST NOT be null if [ChargeClass](#chargeclass) is not "Correction".
* ConsumedUnit MAY be null if *ChargeClass* is "Correction".
* 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 "Used", and [ChargeClass](#chargeclass) is not "Correction".
* ConsumedUnit MAY be null if ChargeCategory is "Usage", CommitmentDiscountStatus is "Used", and ChargeClass is "Correction".
* ConsumedUnit MUST be null in all other cases.

## Column ID
Expand Down

0 comments on commit 0141b38

Please sign in to comment.