masstree.in Home

Quality Control Calculator

Paste a month of control values; get a Levey-Jennings chart, the statistics and every Westgard rule that fires.

How to use the QC calculator

  1. Enter the analyst, the control (for example “Glucose level 1, lot 4521”) and the month. They appear in the chart title and on the printed report.
  2. Paste the month's control values in run order, separated by commas, and press Delimit & Calculate.
  3. If the control insert or your laboratory has an established mean and SD, enter them as targets; otherwise the rules are judged against this batch's own mean and SD.
  4. Read the chart, then press Show Violations for the list of rules that fired and the samples involved.
  5. Note what you did about any violation, then use Print Chart for the QC file.

Reading a Levey-Jennings chart

Each control result is plotted in run order. The green centre line is the mean, and the lines above and below mark ±1, ±2 and ±3 SD. In a stable method about 95% of results fall within ±2 SD and about 99.7% within ±3 SD, so roughly one result in twenty outside 2 SD is expected by chance alone. Patterns matter as much as single points: a run of results sitting on one side of the mean points to a shift, such as a new reagent or calibrator lot, while results climbing or falling steadily point to a trend, such as a deteriorating reagent, an ageing lamp or evaporation.

The Westgard rules it checks

Which rules lead to rejection is a decision for your laboratory's QC policy. A common choice is 1-3s, 2-2s, R-4s, 4-1s and 10x, with 1-2s as the warning.

After a violation

Don't simply rerun the control until it passes. Random errors point to things like bubbles, a pipetting slip or a mix-up in sample position; systematic errors point to calibration, reagent or control lot changes, storage temperature or instrument maintenance. Fix the cause, rerun the affected patient samples if your policy says so, and write down what was done so the printed report shows it.