Skip to content

Main content

Inhaler Counter Minus Log Difference

Compare explicit device-counter and diary counts without estimating adherence or recommending inhaler use.

Loading tool…

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

  1. Enter deviceCounterUses, loggedUses. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read counterMinusLog. Use the output convention below.

Require nonnegative safe whole deviceCounterUses/loggedUses; return counter-log.1

Input fieldMeaning and unitsAccepted input
deviceCounterUsesDevice Counter UsesRequired. Safe integer; minimum 0.
loggedUsesLogged UsesRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
counterMinusLogCounter Minus LogRequired. Safe integer.
json
{
  "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

  1. Calculation and input contract: pulmonology/inhaler-counter-minus-log-difference — tool.io

Similar or alternative tools