Description
Compare an inhaler device-use counter with logged uses.
Respiratory records distinguish signal markers, gas-reference bases, collection validity codes and selected prediction equations. A supplied interval or zero subtraction is only one part of a measurement workflow. Unit labels and device-use discrepancies do not validate a maneuver, estimate a disease state or determine appropriate medication use.
Compare an inhaler device-use counter with logged uses.
When to use this tool
Use Inhaler Counter Minus Log Difference when you already have deviceCounterUses, loggedUses and need to compare an inhaler device-use counter with logged uses.
How to use the tool and how it works
- Enter deviceCounterUses, loggedUses. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read counterMinusLog. Use the output convention below.
Require nonnegative safe whole deviceCounterUses/loggedUses; return counter-log.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| deviceCounterUses | Device Counter Uses | Required. Safe integer; minimum 0. |
| loggedUses | Logged Uses | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| counterMinusLog | Counter Minus Log | Required. Safe integer. |
{
"input": {
"deviceCounterUses": 25,
"loggedUses": 22
},
"output": {
"counterMinusLog": 3
}
} Limitations and assumptions
- No dose, adherence, actual inhalation or appropriate medication use is determined; negative discrepancies are retained.
- 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
Review the original respiratory trace, acquisition protocol and reference-equation definition when interpreting a test. Keep gas-reference bases and supplied quality codes explicit; a zero subtraction, interval or counter discrepancy does not validate the complete measurement.
References
Similar or alternative tools
- Exercise Log Set Count Delta
Compare recorded exercise-set count with a supplied planned count.
- Inventory Receipt Negative Cost Reversal
Apply an explicit reversal sign to an inventory receipt quantity and cost.