Skip to content

Main content

Exhalation Valid Sample Share Tool

Audit caller-classified research sample validity without spirometry acceptability rules.

Loading tool…

Description

Audit caller-classified research sample validity without spirometry acceptability rules.

A bench or research calculation starts from supplied measurements, reference values, and unit conventions. A transformed value, timing difference, or support fraction describes that model; its clinical meaning depends on measurement validity and a separate professional assessment.

Audit caller-classified research sample validity without spirometry acceptability rules.

When to use this tool

Use it for exhalation valid sample share when the required inputs and conventions are already available.

How to use the tool and how it works

  1. Enter valid, included. Keep parallel arrays aligned and use the stated units and conventions.
  2. Run the calculation. Correct any input error before interpreting a result.
  3. Read validIncluded, includedCount, share, defined. Inspect any known, defined, inclusion, or boundary flags before interpreting numeric values.

Require matching valid and included arrays. Count included samples and those both included and valid, then divide validIncluded by includedCount when positive.1

Input fieldMeaning and unitsAccepted input
validValidRequired. Array of Boolean.; maximum items 256.
includedIncludedRequired. Array of Boolean.; maximum items 256.
Output fieldInterpretationReturned shape
validIncludedValid IncludedRequired. Safe integer.
includedCountIncluded CountRequired. Safe integer.
shareDimensionless fraction using the denominator described above; not a percentage numeral.Required. Finite number.
definedWhether the associated denominator or quantity is defined; read this before interpreting a zero placeholder.Required. Boolean.
json
{
  "input": {
    "valid": [
      true,
      false,
      true
    ],
    "included": [
      true,
      true,
      false
    ]
  },
  "output": {
    "validIncluded": 1,
    "includedCount": 2,
    "share": 0.5,
    "defined": true
  }
}

Limitations and assumptions

  • An empty included set returns share zero with defined false. This sample-count share is not duration-weighted and does not independently assess spirometry quality.
  • The field tables describe structural bounds; the mechanics also state cross-field requirements. Malformed input shapes, disallowed keys, and invalid domains cause input errors. Results must remain finite and within the declared output contract. A successful false flag or zero placeholder is distinct from an error.
  • Numeric arithmetic uses binary floating point. Exact comparisons have no hidden tolerance or decimal rounding; negative zero is exported as zero. Decimal-text integer operations retain the exactness specifically stated above.

Alternative or Complementary methods

For exhalation valid sample share, check the source records and the supplied rule before comparing the result with another method. Use an appropriately validated measurement or analysis method for clinical interpretation.

References

  1. Calculation and input contract: pulmonology/exhalation-valid-sample-share — tool.io

Similar or alternative tools