Computerized method and laboratory equipment for fast detection of failure in laboratory equipment
12461115 ยท 2025-11-04
Assignee
Inventors
Cpc classification
G16H10/40
PHYSICS
G05B23/0235
PHYSICS
G16H40/40
PHYSICS
International classification
G01N35/00
PHYSICS
G16H10/40
PHYSICS
Abstract
A computer-implemented method for determining failures in laboratory equipment comprising: a) receiving a desired probability of false rejection (P.sub.fr) and a desired error detection rate (.sub.D), such as a desired probability of error detection (P.sub.ed), relating to one or more QC levels (J) of quality control (QC) samples to be processed by the equipment; b) setting a number of runs (R) to one; c) calculating an error detection rate (.sub.D) based at least partially on R; d) determining if .sub.D is below .sub.D, and if so: increase R by one, and repeat steps c) to d), and if not: define a rule for determining failures in the laboratory equipment based, at least partially, on R; e) receiving or collecting standardized QC results; f) applying the rule defined in step d) to the standardized QC results; g) determining failures in the equipment, if the standardized QC results comply with the rule.
Claims
1. A computer-implemented method for determining out-of-control failures in laboratory equipment to efficiently improve safety for one or more patients, the method comprising: a) receiving a desired probability of false rejection (P.sub.fr) and a desired error detection rate ED relating to one or more QC levels (J) of quality control (QC) samples to be processed by the laboratory equipment, wherein the laboratory equipment is structured to perform multiple different types of diagnostic tests and to test a particular substance of a patient's sample; b) setting a number of runs (R) to one; c) calculating an error detection rate (.sub.D) based at least partially on R; d) determining if D is below D, and if so: increase R by one, and repeat steps c) to d), and if not: define a rule for determining out-of-control failures in the laboratory equipment based, at least partially, on R; e) receiving or collecting standardized QC results by operating the laboratory equipment structured to perform multiple different types of diagnostic tests, on R runs of QC samples, wherein the R runs of the QC samples is less than a quantity of runs required under Westgard rules to obtain standardized QC results; f) applying the rule defined in step d) to the standardized QC results; g) determining if out-of-control failures exist in the laboratory equipment that is structured to perform multiple different types of diagnostic tests based on determining whether the standardized QC results generated from the R runs of QC samples comply with the rule; and interrupting a measurement process of samples to be processed by the laboratory equipment in response to determining, in step g), that an out-of-control failure exists in the laboratory equipment to efficiently improve safety for one or more patients associated with the samples in a bracket of a bracketed quality control system based on less than the quantity of runs required under Westgard rules.
2. The method of claim 1, wherein the rule defined in step d) includes a comparison with a squared distance (d.sup.2), where d.sup.2 is derived from the central chi-square distribution:
d.sup.2=C.sup.1(1P.sub.fr;DF), where DF=JR; or from Hotelling's T-squared distribution; and wherein step f) includes calculating a Mahalanobis distance (M) for the J number of QC levels and the R number of the latest runs, and wherein applying the rule in step f) includes determining if M is equal to or greater than d.sup.2.
3. The method of claim 2, wherein the Mahalanobis distance (M) is given by the equation:
M=.sub.j=1.sup.J.sub.r=1.sup.RZ.sub.jr.sup.2 where Z.sub.jr is the standardized QC result from QC level j and run r; and wherein Z.sub.jr is given by the equation:
Z.sub.jr=(X.sub.jr.sub.j)/.sub.j where X.sub.jr is QC test results from QC level j and run r, and .sub.j is the in-control central tendency, such as mean or median, and .sub.j is the in-control measure of dispersion, such as variation, standard deviation, or interquartile range, relating to QC level j, and where .sub.j and .sub.j are derived from equipment validation test results.
4. The method of claim 1, wherein .sub.D relates to a desired probability of systematic error detection (P.sub.Sed) and to a critical systematic error (.sub.SECrit), where .sub.SECrit may be defined .sub.SECritz.sub.1 with z.sub.1 as quantile of the standard normal distribution that evaluates to 1 and defined =(TE|b|)/s with b as bias, s as standard deviation aggregated over all QC levels, and TEa is an allowable total error; wherein D includes a systematic error detection ({circumflex over (P)}.sub.Sed), and calculating in step c) includes deriving {circumflex over (P)}.sub.Sed from a cumulative distribution function of a non-central chi-squared distribution H(d.sup.2; DF, NCP), where NCP=JR.sub.SECrit.sup.2, DF=JR, and d.sup.2 is a squared distance; and wherein step d) includes determining if {circumflex over (P)}.sub.Sed is below P.sub.Sed.
5. The method of claim 1, wherein .sub.D relates to a desired probability of random error detection (P.sub.Red) and to a critical random error (.sub.RECrit), where .sub.RECrit may be defined by .sub.RECrit=/z.sub.1 with z.sub.1 as quantile of the standard normal distribution that evaluates to 1 and defined =(TE.sub.|b|)/s with b as bias, s as standard deviation aggregated over all QC levels, and TE is an allowable total error; wherein D includes a random error detection ({circumflex over (P)}.sub.Red), and calculating in step c) includes deriving {circumflex over (P)}.sub.Red from a cumulative distribution function of a gamma distribution G(d.sup.2; SH, SC), where SH=(JR)/2 and SC=2.sub.RECrit.sup.2; and wherein step d) includes determining if {circumflex over (P)}.sub.Red is below P.sub.Red.
6. The method of claim 1, wherein step a) further includes receiving a maximum number of runs (R.sub.Max); wherein step d) further includes determining if R>R.sub.Max, and if so: determine that no rule is found; and where R.sub.Max is 4 for J=2, and where R.sub.Max is 2 for J=3.
7. The method of claim 1, further comprising generating data from two or more different diagnostic tests (I); and wherein step g) further includes applying a corrective function to the desired probability of false rejection (P.sub.fr); and wherein the corrective function is:
P.sub.fr/I or
1(1P.sub.fr).sup.1/I.
8. The method of claim 7, wherein the steps b) to g) are performed separately for each diagnostic test; and an out-of-control failure is determined to exist in the laboratory equipment if standardized QC results relating to any of the diagnostic tests do not comply with a corresponding rule.
9. The method of claim 1, wherein the desired error detection rate .sub.D comprises a desired probability of error detection (P.sub.ed).
10. Laboratory equipment for determining out-of-control failures in the equipment to efficiently improve safety for one or more patients, the laboratory equipment comprising: a processor; and a non-transitory computer-readable storage medium comprising instructions stored thereon which, when executed by processor, causes the laboratory equipment to perform steps including: a) generating results relating to at least one QC level (J) and relating to at least one different diagnostic test, wherein the laboratory equipment is structured to perform multiple different types of diagnostic tests; b) receiving a desired probability of false rejection (P.sub.fr) and a desired error detection rate .sub.D relating to one or more QC levels (J) of quality control (QC) samples; c) setting a number of runs (R) to one; d) calculating an error detection rate (.sub.D) based at least on R; e) determining if .sub.D is below .sub.D, and if so: increasing R by one, and repeating steps d) to e), and if not: defining a rule for determining out-of-control failures in the laboratory equipment based, at least partially, on R; f) collecting standardized QC results through operation of the laboratory equipment structured to perform multiple different types of diagnostic tests, on R runs of QC samples, wherein the R runs of the QC samples is less than a quantity of runs required under Westgard rules to obtain standardized QC results; g) applying the rule defined in step e) to the standardized QC results, collected in step f); h) determining if out-of-control failures exist in the laboratory equipment that is structured to perform multiple different types of diagnostic tests based on determining whether the standardized QC results generated from the R runs of QC samples comply with the rule; and interrupting a measurement process of samples to be processed by the laboratory equipment in response to determining, in step h), that an out-of-control failure exists in the laboratory equipment to efficiently improve safety for one or more patients associated with the samples in a bracket of a bracketed quality control system based on less than the quantity of runs required under Westgard rules; wherein the laboratory equipment is structured to test a particular substance of a patient's sample.
11. The laboratory equipment of claim 10, further comprising a display; and wherein in response to determining that an out-of-control failure exists in the laboratory equipment, the plurality of instructions further cause the display to indicate that an out-of-control failure exists in the laboratory equipment.
12. The laboratory equipment of claim 11, wherein the display indicates if the determined out-of-control failure is a systematic error or a random error.
13. The laboratory equipment of claim 10, wherein each run generates data from two or more different diagnostic tests (I); wherein step h) further includes applying a corrective function to the desired probability of false rejection (P.sub.fr); wherein the corrective function includes:
P.sub.fr/I or
1(1P.sub.fr).sup.1/I, and wherein the steps c) to h) are performed separately for each diagnostic test; and an out-of-control failure is determined to exist in the laboratory equipment if the standardized QC results relating to any of the diagnostic tests do not comply with a corresponding rule.
14. The laboratory equipment of claim 13, further comprising a display; and wherein the plurality of instructions further cause the display to indicate which of the two or more different diagnostic tests relate to the standardized QC results determined not to comply with the corresponding rule.
15. The laboratory equipment of claim 10, wherein the desired error detection rate ED comprises a desired probability of error detection (P.sub.ed).
16. A non-transitory computer-readable medium comprising instructions which, when executed by a computer, cause the computer to perform steps to efficiently improve safety for one or more patients including: a) receiving a desired probability of false rejection (P.sub.fr) and a desired error detection rate .sub.D relating to one or more QC levels (J) of quality control (QC) samples to be processed by laboratory equipment that is structured to perform multiple different types of diagnostic tests to and test a particular substance of a patient's sample; b) setting a number of runs (R) to one; c) calculating an error detection rate (.sub.D) based at least partially on R; d) determining if .sub.D is below .sub.D, and if so: increase R by one, and repeat steps c) to d), and if not: define a rule for determining out-of-control failures in the laboratory equipment based, at least partially, on R; e) receiving or collecting standardized QC results generated through operation of the laboratory equipment structured to perform multiple different types of diagnostic tests, on R runs of QC samples, wherein the R runs of the QC samples is less than a quantity of runs required under Westgard rules to obtain standardized QC results; f) applying the rule defined in step d) to the standardized QC results; g) determining if out-of-control failures exist in the laboratory equipment that is structured to perform multiple different types of diagnostic tests based on determining whether the standardized QC results generated from the R runs of QC samples comply with the rule; and interrupting a measurement process of samples to be processed by the laboratory equipment in response to determining, in step g), that an out-of-control failure exists in the laboratory equipment to efficiently improve safety for one or more patients associated with the samples in a bracket of a bracketed quality control system based on less than the quantity of runs required under Westgard rules.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The following detailed description of the embodiments of the present description can be best understood when read in conjunction with the following drawings, where like structure is indicated with like reference numerals and in which:
(2)
(3)
(4) Skilled artisans appreciate that elements in the figures are illustrated for simplicity and clarity and have not been drawn to scale. For example, dimensions of some of the elements in the figures may be exaggerated relative to other elements to help improve understanding of the embodiment(s) of the present disclosure.
DETAILED DESCRIPTION
(5) Traditionally Westgard rules may be used to identify failures in laboratory equipment. Westgard rules may require unnecessary numbers of runs before identifying an out-of-control situation, and may therefore result in unnecessary wait times until results can be deemed reliable, leading to extra costs and longer wait times for patients. Further, Westgard rules provides several alternative rule combinations, without clear selection process, and are therefore complicated to implement and/or require huge training efforts. Westgard rules might be prone to being incorrectly implemented due to the complexity. The Westgard rules are further not adapted to samples including multiple diagnostic tests.
(6) In particular, the deficiencies in the art is solved by a computer-implemented method for determining failures in an equipment, the method comprising the steps: a) receiving a desired probability of false rejection (P.sub.fr), a desired error detection measure (.sub.D), such as a desired probability of error detection (P.sub.ed), relating to one or more QC levels (J) of quality control (QC) samples to be processed by the equipment; b) setting a number of QC runs (R) to one; c) calculating an error detection measure (.sub.D) based at least partially on R; d) determining if .sub.D is below .sub.D, and if so: increase R by one, and repeat steps c) to d), and if not: define a rule for determining failures in the laboratory equipment based, at least partially, on R; e) receiving or collecting standardized QC results, typically from at least R runs of QC samples generated by the equipment; f) applying the rule defined in step d) to the standardized QC results; g) determining failures in the equipment, if the standardized QC results comply with the rule.
(7) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include a simplified and fast detection of failure in laboratory test equipment. The advantages further include an improved design of statistical rules to quickly identify failures in laboratory equipment with fewer runs. Identifying failures fast improves patient safety by preventing incorrect results to be sent to clinicians, and allow early certainty for time-critical samples. Furthermore, the design is simple and may be automated more easily, facilitating use and increasing safety. The present disclosure is further suitable for equipment performing multiple diagnostic tests.
(8) The received or collected standardized QC results in step e) may be generated from non-standardized QC test results. These QC test results may be measured by the laboratory equipment together with patients' samples.
(9) In one embodiment, the rule defined in step d) includes a comparison with a squared distance (d.sup.2), where d.sup.2 is typically derived from the central chi-square distribution
d.sup.2=C.sup.1(1P.sub.fr;DF), where DF=JR; or alternatively from Hotelling's T-squared distribution; and wherein step f) typically includes calculating a Mahalanobis distance (M) for the J number of QC levels and the R number of the typically latest runs, and applying the rule in step f) includes determining if M is equal to or greater than d.sup.2.
(10) The Mahalanobis distance (M) is derived by the equation:
M=.sub.j=1.sup.J.sub.r=1.sup.RZ.sub.jr.sup.2 where Z.sub.jr is the standardized QC result from QC level j and run r; and wherein Z.sub.jr is typically given by the equation
Z.sub.jr=(X.sub.jr.sub.j)/.sub.j where X.sub.jr is QC test results from QC level j and run r, and .sub.j is the in-control central tendency, such as mean or median, and .sub.j is the in-control measure of dispersion, such as standard deviation or interquartile range, relating to QC level j, and where .sub.j and .sub.j are typically derived from equipment validation test results.
(11) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include a single, simple rule that can safely be automated to detect failures in laboratory equipment in few runs.
(12) The non-standardized QC test results may be standardized by subtracting from the non-standardized QC test results, the in-control central tendency/bias (.sub.j), and dividing the result of the subtraction by the in-control dispersion/standard deviation (.sub.j) for each QC level j.
(13) The in-control bias and in-control variability may be calculated from validation test results for each QC level. These validation QC results may then be considered to be in-control (i.e., measured without influence of an out-of-control failure). The validation QC results may be at least 20, or at least 10, initial validation QC results used to derive the in-control bias (e.g., mean of the QC test results) and in-control standard deviation (e.g., standard deviation of the validation QC test results). The validation QC results as well as QC test results may have multivariate normal distribution with low or zero correlations across QC levels and runs.
(14) In one embodiment, .sub.D relates to a desired probability of systematic error detection (Ps.sub.ed) and to a critical systematic error (.sub.SECrit), where .sub.SECrit may be defined .sub.SEcrit=z.sub.1 with z.sub.1 as quantile of the standard normal distribution that evaluates to 1 and defined =(TE|b|)/s, where b is bias and s is imprecision aggregated over all QC levels and TE is the allowable total error; wherein .sub.D includes a systematic error detection ({circumflex over (P)}.sub.Sed), and calculating in step c) includes deriving {circumflex over (P)}.sub.Sed from a cumulative distribution function of a non-central chi-squared distribution H(d.sup.2; DF, NCP), where NCP=JR.sub.SECrit.sup.2; and wherein step d) includes determining if {circumflex over (P)}.sub.Sed is below P.sub.Sed.
(15) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include a method that may efficiently identify failure in the laboratory equipment that would result in a shift in test results.
(16) Critical systematic error (.sub.SECrit) may be defined .sub.SEcrit=Z.sub.1 with z.sub.1 as quantile of the standard normal distribution that evaluates to 1 (the z.sub.1 quantile is about 1.65 for =5%). The sigma metric a may specify the number of standard deviations being away from the upper limit of the allowable total error TE when the QC measurement process is in control. The sigma metric may formally be defined =(TE|b|/s with b as bias and s as standard deviation aggregated over all QC levels.
(17) In one embodiment, .sub.D relates to a desired probability of random error detection (P.sub.Red) and to a critical random error (.sub.RECrit), where .sub.RECrit may be defined by .sub.REcrit=/z.sub.1- with z.sub.1- as quantile of the standard normal distribution that evaluates to 1 and defined =(TE|b|)/s with b as bias and s as imprecision aggregated over all QC levels; wherein .sub.D includes a random error detection ({circumflex over (P)}.sub.Red), and calculating in step c) includes deriving {circumflex over (P)}.sub.Red from a cumulative distribution function of a gamma distribution G(d.sup.2; SH, SC), where SH=(JR)/2 and SC=2.sub.RECrit.sup.2; and wherein step d) includes determining if {circumflex over (P)}.sub.Red is below P.sub.Red.
(18) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include a method that may efficiently identify failure in the laboratory equipment that would result in increased imprecision of the test results.
(19) Where .sub.D relates both to a desired probability of random error detection (P.sub.Red) and to a desired probability of systematic error detection (Ps.sub.ed), determining (in step d)) may include determining if both {circumflex over (P)}.sub.Sed is below P.sub.Sed and {right arrow over (P)}.sub.Red is below P.sub.Red, or if at least one of the conditions are met.
(20) In one embodiment, step a) further includes receiving a maximum number of runs (R.sub.Max); wherein step d) further includes determining if R>R.sub.Max, and if so: determine that no rule is found; and where R.sub.Max is typically 4 for J=2, and where R.sub.Max is typically 2 for J=3.
(21) In one embodiment, each run is generating data from one, two, or more, typically less than 100, different diagnostic tests (I); wherein step g) further includes applying a corrective function to the desired probability of false rejection (P.sub.fr); and wherein the corrective function typically is
P.sub.fr/I or
1(1P.sub.fr).sup.1/I.
(22) In one embodiment, the steps b) to g) are performed separately for each diagnostic test; and a failure is determined to exist in the equipment if standardized QC results relating to any of the tests do not comply with a corresponding rule.
(23) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include an increased speed of detecting out-of-control conditions, where several diagnostic tests are measured using QC samples.
(24) In one embodiment, in response to determining failures in step g), the method further includes h) interrupting a measurement process and/or blocking results, such as results generated after the R or R+1 latest QC run.
(25) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include improved patient safety. Where the laboratory equipment utilizes so called bracketed QC strategy, a bracket may be the patient samples between two QC events. The laboratory may hold R number of brackets until the subsequent QC event has passed. If a failure is detected after a QC event, the R number of latest brackets' patient results may be blocked and determined unreliable.
(26) In particular, although the embodiments of the present disclosure are not limited to specific advantages or functionality, laboratory equipment for determining failures in the equipment are provided herein, typically by implementing the method of an embodiment of the present disclosure, the equipment comprising: a rule generator unit; a rule application unit; and a test result generating unit for generating results relating to at least one QC level (J) and relating to at least one, typically two or more, different tests (I); wherein the equipment comprises means for: a) receiving, by the rule generator unit, a desired probability of false rejection (P.sub.fr) and desired error detection rate (.sub.D), such as desired probability of error detection (P.sub.ed), relating to one or more QC levels (J) of quality control (QC) samples; b) setting, by the rule generator unit, a number of runs (R) to one; c) calculating, by the rule generator unit, an error detection rate (.sub.D) based at least on R; d) determining, by the rule generator unit, if .sub.D is below .sub.D, and if so: increase R by one, and repeat steps c) to d), and if not: define a rule for determining failures in the laboratory equipment based, at least partially, on R; e) collecting, by the rule application unit, standardized QC results, typically derived from at least R runs of QC samples generated by the test result generating unit; f) applying, by the rule application unit, the rule defined in step d) to the standardized QC results, collected in step e); g) determining, by the rule application unit, failures in the equipment, if the standardized QC results comply with the rule.
(27) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include a simplified and fast detection of failure in laboratory equipment. The advantages further include an improved design of statistical rules to quickly identify failures in laboratory equipment with fewer runs.
(28) In one embodiment, the equipment further comprising a display; wherein when the rule application unit determines that a failure exists in the equipment, causes the display to indicate that a failure exists in the equipment.
(29) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include signalling to laboratory personnel that a failure is present in the laboratory equipment resulting in out-of-control patient samples, and that certain amount of patients samples (such as those after the latest R or R+1 QC events) are unreliable. The laboratory equipment may also signal a message via wired and/or wireless communication to affected laboratory personnel, clinicians, and/or patients indicating the failure and/or unreliable result and/or estimation of delay for providing reliable results.
(30) In one embodiment, each run is generating data from two or more, typically less than 100, different diagnostic tests (I); wherein step g) further includes applying a corrective function to the desired probability of false rejection (P.sub.fr); wherein the corrective function typically includes
P.sub.fr/I or
1(1P.sub.fr).sup.1/I; and wherein the steps b) to g) are performed separately for each diagnostic test; and a failure is determined to exist in the equipment if the standardized QC results relating to any of the tests do not comply with the corresponding rule.
(31) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include an increased speed of detecting out-of-control conditions, where several diagnostic tests are measured in each QC sample.
(32) In one embodiment, the display indicates which of the different diagnostic tests the standardized QC results that do not comply with the rule, relates to.
(33) When a rule is applied separately for each diagnostic test, the laboratory equipment might indicate on the display, which of the diagnostic tests are affected by the out-of-control failure. This assists in locating and correcting the failure.
(34) In one embodiment, the display indicates if the detected failure is a systematic error or a random error. A central tendency (such as mean) of QC results affected by random error failure may not substantially deviate from the in-control central tendency (such as mean), while a central tendency (such as mean) of QC results affected by a systematic failure may result in a central tendency (such as mean) that substantially deviates from the in-control mean.
(35) A dispersion (such as standard deviation) of QC results affected by random error failure may substantially deviate from the in-control dispersion (such as standard deviation). A dispersion (such as standard deviation) of QC results affected by systematic error failure may not substantially deviate from the in-control dispersion (such as standard deviation).
(36) The central tendency and/or dispersion of the out-of-control QC results may therefore be used to determine the type of failure (systematic or random). The indication of the type of error may assist in locating and correcting the failure.
(37) In one embodiment, the equipment, in response to determining failures in step g), further comprises means for:
(38) h) interrupting a measurement process and/or blocking results, such as results generated after the R or R+1 latest QC run.
(39) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the advantages include improved patient safety. Where the laboratory equipment utilizes so called bracketed QC strategy, a bracket may be the patient samples between two QC events. The laboratory may hold R number of brackets until the subsequent QC event has passed. If a failure is detected after a QC event, the patient samples of the held R number of latest brackets may be blocked.
(40) In particular, the object is solved by a computer-readable medium comprising instructions which, when executed by a computer, cause the computer to carry out the steps of one of the above-stated methods.
(41) Although the embodiments of the present disclosure are not limited to specific advantages or functionality, the benefits and advantages of the medium is equal, or similar to, the advantages of the above-mentioned method.
(42) In order that the embodiments of the present disclosure may be more readily understood, reference is made to the following examples, which are intended to illustrate the disclosure, but not limit the scope thereof.
(43)
(44) The step of calculating 130 an error detection measure (.sub.D), may include any, or separately all, of: calculating a systematic error detection ({circumflex over (P)}.sub.Sed) from a cumulative distribution function of a non-central chi-squared distribution H(d.sup.2; DF, NCP), where NCP=JR.sub.SECrit.sup.2, and calculating a random error detection ({circumflex over (P)}.sub.Red) from a cumulative distribution function of a gamma distribution G(d.sup.2; SH, SC), where SH=(JR)/2 and SC=2.sub.RECrit.sup.2.
(45) The step of determining 140 if .sub.D is below .sub.D may, depending on if systematic error detection ({circumflex over (P)}.sub.Sed) and/or random error detection ({circumflex over (P)}.sub.Red) is targeted, include: determining if {circumflex over (P)}.sub.Sed is below P.sub.Sed, and/or if {circumflex over (P)}.sub.Red is below P.sub.Red. If so, increase 150 R by one, and repeat steps 130 to 140, and if not, define 160 a rule for determining failures in the laboratory equipment based, at least partially, on R.
(46) The receiving or collecting step 170, may include standardizing QC test results by the equation Z.sub.jr=(X.sub.jr.sub.j)/.sub.j, where X.sub.jr is non-standardized (raw) QC test results from QC level j and run r, .sub.j may be in-control mean, and .sub.j may be in-control standard deviation relating to QC level j. The runs r=1 to R, are the R latest runs.
(47) Applying 180 the rule may include determining if a Mahalanobis distance (M) is given by the equation M=.sub.j=1.sup.J.sub.r=1.sup.RZ.sub.jr.sup.2, is equal or greater than a squared distance (d.sup.2). d.sup.2 may be derive from the central chi-square distribution d.sup.2=C.sup.1 (1P.sub.fr; DF), where DF=JR, or d.sup.2 may be derived from Hotelling's T-squared distribution d.sup.2=T.sup.2(1P.sub.fr, DF), where DF=JR.
(48)
(49) Validation samples, QC samples, and patients' samples may be inserted into the test result generation unit 230 to generate a test results. The rule generator unit 210 may be adapted to receive a requirement on desired probability of false rejection (P.sub.fr) and desired error detection measure (.sub.D) and generate a rule as described above.
(50) The rule application unit 220 may be adapted to receive or generate standardized QC results and apply the rule generated by the rule generator unit 210 as described above to determine if a failure is present in the laboratory equipment. The display 240 may be used to display information to users as described above.