Description
Audit supplied property receipt totals and preserve unknown duplicate valuation.
Care and training records use task identifiers, source labels, counts, time intervals, observations, and accounting bases. Documentation support, actual delivery, and clinical quality are different questions. A local record rule or budget should be interpreted according to its explicit inclusion and denominator conventions.
Audit supplied property receipt totals and preserve unknown duplicate valuation.
When to use this tool
Use Patient Property Shared Receipt Base when you need this care-record, observation, training, supply, time, or accounting component.
How to use the tool and how it works
- Enter firstReceiptValue, secondReceiptValue, duplicateValue, duplicateKnown. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read naiveValue, uniqueValueDefined, uniqueValue. Inspect uniqueValueDefined before interpreting the associated values.
For nonnegative firstReceiptValue, secondReceiptValue, and duplicateValue<=min(receipts) return naiveValue=first+second, uniqueValueDefined=duplicateKnown, and uniqueValue=naive-duplicate when known, otherwise zero.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstReceiptValue | First Receipt Value | Required. Finite number; minimum 0. |
| secondReceiptValue | Second Receipt Value | Required. Finite number; minimum 0. |
| duplicateValue | Duplicate Value | Required. Finite number; minimum 0. |
| duplicateKnown | Duplicate Known | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| naiveValue | Naive Value | Required. Finite number. |
| uniqueValueDefined | Unique Value Defined | Required. Boolean. |
| uniqueValue | Deduplicated supplied valuation when known; zero placeholder otherwise. | Required. Finite number. |
{
"input": {
"firstReceiptValue": 100,
"secondReceiptValue": 80,
"duplicateValue": 20,
"duplicateKnown": true
},
"output": {
"naiveValue": 180,
"uniqueValueDefined": true,
"uniqueValue": 160
}
} Limitations and assumptions
- Values need one currency or valuation basis. Unknown-duplicate zero is a placeholder, not a verified unique total; ownership, item overlap, custody, valuation accuracy, and legal entitlement are not checked.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use authenticated records and the intended care, inventory, or training protocol for a full assessment. Verify source support, counting rules, time bases, and any contractual or consent conditions independently.
References
Similar or alternative tools
- Adaptive Equipment Loan Deposit Balance
For nonnegative deposit, retainedDamage, retainedCleaning, returned, and outstandingRental require retainedDamage+retainedCleaning<=deposit.
- Nursing Visit Two Person Minute Cost
Total supplied person-minute labor and shared fixed cost for one visit.