Real-time quality control system and method based on qualitative test results of patient samples
By constructing continuous quality control alarms and daily sample rate monitoring parameters, the problems of discontinuous results and skewed distribution in qualitative serological testing were solved, enabling real-time quality assessment and stability improvement of qualitative test results.
Patent Information
- Application Number
- CN202611442550.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-11-27
AI Technical Summary
Existing PBRTQC technology suffers from problems such as discontinuous patient results, high heterogeneity, and skewed distribution in qualitative serological testing. It cannot effectively assess discontinuous variables and fluctuations in the positive rate, leading to a decrease in quality control stability and sensitivity.
Data elements are filtered by parsing units to generate continuous quality control alarms, daily sample rate quality control alarms, joint monitoring quality control alarms, and quality control conclusions. Statistical qualitative detection results of continuous quality control alarms are used to construct daily sample rate monitoring benchmark parameters, generate multi-dimensional quality control alarms, aggregate quality control alarms according to sample identifiers, and determine the overall sample conclusions based on risk priority.
It enables real-time quality assessment of qualitative testing items, reduces the impact of patient result skewness on quality control, improves the stability and sensitivity of quality control, can distinguish between abnormalities in the testing process and differences in the patient population, and reduces the interference of extreme positive results on quality control.
Smart Images

Figure CN123183052A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of medical data processing technology, specifically to a real-time quality control system and method based on qualitative test results of patient samples. Background Technology
[0002] Patient-based real-time quality control (PBRTQC) is a quality control method that uses real-time, dynamic, and continuous monitoring of the performance of the analytical process using the test results of patient clinical samples. In existing technologies, PBRTQC typically uses directly captured test results from laboratory patient samples as data. The mean of multiple consecutive sample results (usually 10-20) is used as the initial quality control point, forming a moving average, which is then used to create an LJ chart. Traditional Westgard quality control rules are used to assess whether the captured sample mean is within the control range. If an out-of-control rule is triggered, it is considered out of control, and an error in the testing system is considered. PBRTQC offers advantages such as continuous monitoring, low cost, no matrix effect, sensitivity to pre-analytical and in-analytical errors, and reflection of patient risk. It can overcome the problems of traditional internal quality control, such as poor stability of quality control materials, matrix effect, cost waste due to excessively high testing frequency of quality control materials, and insufficient testing frequency to continuously reflect the quality control status. The combined application of PBRTQC and traditional internal quality control can detect systematic errors in a timely and effective manner, ensuring the accuracy of test results. Currently, PBRTQC is widely used in biochemical and hematological testing in large clinical laboratories, but it has not been applied in qualitative serological testing.
[0003] Existing technologies have the following shortcomings when applied to qualitative serological testing: 1. The distribution of patient outcomes is highly skewed, which does not conform to the basic assumptions of PBRTQC. Traditional PBRTQC (moving mean, moving median, EWMA, etc.) typically assumes that patient test results are generally relatively stable and approximately continuously distributed. However, infectious disease serological testing has the following characteristics: ① Most samples are negative, with signal values concentrated at very low levels; ② A small number of positive samples have extremely high signal values; ③ Negative and positive data results exhibit severe skewness or even bimodal distribution. These problems make the mean of sample results highly susceptible to the influence of a very small number of positive samples, causing the moving mean to fluctuate wildly, ultimately leading to the failure of the moving mean, reduced sensitivity of the moving median, and decreased stability of EWMA.
[0004] 2. Unable to evaluate non-continuous variable items For serological test items presented in the form of "negative" and "positive", the results of such non-continuous variables cannot be directly presented in the original form in the LJ diagram, nor can they be further assessed for out-of-control using Westgard quality control rules. Existing PBRTQC protocols cannot be directly applied to infectious disease serological testing.
[0005] 3. The positive rate is affected by epidemiological changes and patient heterogeneity. Patient samples submitted from departments with high prevalence (infectious disease departments, infectious disease departments) may have a higher positive rate and greater heterogeneity in the positive rate, which does not meet the requirement that "the overall statistical characteristics of patients should remain stable". This results in large fluctuations in the mean positive rate, which are more obvious on the LJ plot. It is also impossible to distinguish whether the source of the fluctuation is due to instrument detection failure or heterogeneity in the positive rate of patient results.
[0006] Therefore, the existing PBRTQC technology has problems such as discontinuous patient results, high heterogeneity, and skewed distribution when used for qualitative serological testing. Summary of the Invention
[0007] To address the aforementioned shortcomings in existing technologies, this invention provides a real-time quality control system and method based on qualitative testing results of patient samples, which solves the problems of discontinuous patient results, high heterogeneity, and skewed distribution in existing PBRTQC technologies.
[0008] To achieve the above-mentioned objectives, the technical solution adopted by the present invention is as follows: a real-time quality control system based on the qualitative detection results of patient samples, comprising: an analysis unit, a first alarm unit, a second alarm unit, a third alarm unit, a fourth alarm unit, a conclusion generation and alarm coordination unit, and a quality control processing unit. The parsing unit is used to receive the test results from various laboratory testing instruments, parse the output data elements, filter out the data elements that need to be evaluated, and obtain the data elements to be processed. The first alarm unit is used to count the number of times multiple qualitative test results belonging to the same test item number consecutively hit the preset trigger result, and generate a continuous qualitative control alarm. The second alarm unit is used to perform statistical analysis of abnormal results within the window and generate daily sample rate quality control alarms. The third alarm unit is used to extract the detection item number of the same sample identifier and generate a joint monitoring quality control alarm; The fourth alarm unit is used to construct the daily sample rate monitoring benchmark parameters and generate quality control alarms of the corresponding level; The conclusion generation and alarm collaboration unit is used to summarize various quality control alarms, generate corresponding quality control conclusions, and perform alarm push, anomaly tracing and front-end large screen display. The quality control processing unit is used to aggregate quality control alarms of each test item number according to the sample identifier, determine the overall conclusion of the sample based on risk priority, and perform message encapsulation and differentiated write-back.
[0009] Furthermore, the data elements include: sample identifier, test item number, quantitative test result, qualitative test result, applying department, clinical diagnosis, test time, and instrument number.
[0010] Furthermore, the process of obtaining the data element to be processed includes: combining the test item number and the instrument number to obtain the first search keyword group; when the first search keyword group appears in the evaluation access configuration table, combining the test item number and the quantitative test result to obtain the second search keyword group; when the second search keyword group appears in the result stratification configuration table, the data element to be processed is obtained. The evaluation access configuration table is used to store the combination of test items and instrument numbers that need to be evaluated for quality control, and the result stratification configuration table is used to store the threshold range of the quantitative test result for each test item and its corresponding result type, which includes at least four fields: test item number, lower limit of quantitative test result, upper limit of quantitative test result, and result type.
[0011] Furthermore, the specific process of the first alarm unit includes: extracting the detection item number and qualitative detection result from the data element to be processed; storing the current detection item number and the corresponding qualitative detection result into the item result stack corresponding to the detection item number; in the item result stack, determining whether the qualitative detection result corresponding to the detection item number is equal to the preset trigger result; if so, incrementing the counter corresponding to the detection item number; if not, resetting the counter corresponding to the detection item number to zero; and generating a continuous control alarm when the value of the counter corresponding to the detection item number is greater than or equal to the preset continuous number threshold.
[0012] Furthermore, the specific process of the second alarm unit includes: At the current moment, the number of samples in the statistical sample window whose qualitative detection result is the preset target abnormal result is obtained; Calculate the percentage of abnormal results based on the ratio of the number of abnormal results to the sample window length; A daily sample rate quality control alarm is generated when the percentage of abnormal results is greater than or equal to the preset percentage threshold and the total number of samples on that day is greater than or equal to the preset minimum sample base.
[0013] Furthermore, the specific process of the third alarm unit includes: Extract the test item numbers that belong to the same sample but have different identifiers to obtain the associated test item numbers; When the qualitative test results of the data elements to be processed corresponding to each associated test item number satisfy the Boolean condition matrix constructed based on violating clinical logic, a joint monitoring quality control alarm is generated.
[0014] Furthermore, the specific process of the fourth alarm unit includes: Extract the detection item number from the data element to be processed, obtain the daily sample rate historical sequence of the detection item number within a preset long-term historical period, and calculate the mean and standard deviation of the daily sample rate historical sequence. The mean and standard deviation are determined as the daily sample rate monitoring benchmark parameters corresponding to the test item number; Obtain the real-time daily sample rate and continuous historical daily sample rate sequence corresponding to the test item number within a preset short-term historical period. Perform multi-condition judgment on the real-time daily sample rate, continuous historical daily sample rate sequence and monitoring benchmark parameters. When any condition is met, generate a quality control alarm of the corresponding level.
[0015] Furthermore, the expression for multi-condition judgment is: , in, For the conditional judgment result, As the first condition, For the second condition, For the third condition, The result is "true", and ∨ is the "OR" operation.
[0016] Furthermore, the expression for the first condition is: , The expression for the second condition is: , The expression for the third condition is: , in, For the first Daily sample rate For the first Daily sample rate The mean, Standard deviation, To take the absolute value, For AND operation, for Daily sample rate =1 sample difference It is twice the sample difference. It is 3 times the sample difference. For today, The numbering system for historical days.
[0017] A real-time quality control method based on qualitative test results of patient samples includes the following steps: S1. Receive the test results from the testing instruments of various laboratories, parse the output data elements, filter out the data elements that need to be evaluated, and obtain the data elements to be processed. S2. Count the number of times multiple qualitative test results belonging to the same test item number consecutively hit the preset trigger result, and generate a continuous qualitative control alarm; S3. Perform statistical analysis of abnormal window results and generate daily sample rate quality control alarms; S4. Extract the test item number of the same sample identifier and generate a joint monitoring quality control alarm; S5. Construct daily sample rate monitoring benchmark parameters and generate corresponding quality control alarms; S6. Summarize all quality control alarms, generate corresponding quality control conclusions, and push alarms, trace anomalies, and display them on the front-end dashboard. S7. Aggregate quality control alarms of each test item number according to the sample identifier, determine the overall conclusion of the sample based on risk priority, and perform message encapsulation and differentiated write-back.
[0018] The beneficial effects of this invention are as follows: 1. This invention addresses the problem that qualitative serological test results are presented in "negative / positive" form and are non-continuous variables, making it impossible to directly use traditional moving mean, moving median, or EWMA for quality assessment. Instead of relying on the continuous numerical distribution of patients' qualitative test results, it statistically analyzes whether consecutive test results under the same test item number hit a preset trigger result. By counting the number of consecutive hits, it generates continuous quality control alarms, thereby converting the originally discontinuous qualitative test results into an event sequence that can be used for continuous quality monitoring. This enables real-time quality assessment of qualitative test items and solves the problem that the discontinuous patient results make it difficult to directly apply traditional PBRTQC methods.
[0019] 2. This invention addresses the issues of varying positive rates and significant heterogeneity in patient results across different departments and patient groups. It generates daily sample rate quality control alarms by statistically analyzing abnormal results within a window and further constructs daily sample rate monitoring benchmarks to monitor sample rate changes across different testing periods. Simultaneously, it extracts multiple test item numbers corresponding to the same sample identifier to generate joint monitoring quality control alarms. This utilizes the correlation information between multiple item results within a sample to assist in identifying anomalies, reducing interference from patient group differences when relying solely on changes in positive rates for quality judgment. It can distinguish between changes in positive rates within a patient group and abnormalities in the testing process, solving the problem of fluctuating quality control results and difficulty in identifying the source of anomalies due to significant patient heterogeneity.
[0020] 3. This invention addresses the severe skewness or even bimodal distribution problem caused by a large concentration of negative results and a small number of high-value positive results. Instead of using the mean of patient test signal values as the primary quality control basis, it constructs multi-dimensional quality control alarms using continuous trigger results, window sample rate, correlation of multiple items in the same sample, and daily sample rate monitoring benchmark parameters. It then summarizes various quality control alarms to form quality control conclusions, transforming quality evaluation from a statistical analysis of the distribution of raw test values to a comprehensive judgment of test result events, proportions, and item correlations. This reduces the impact of extreme positive results and skewed distributions on traditional statistical quality control indicators, solving the problem of large fluctuations in moving averages and decreased quality control stability and sensitivity caused by skewed patient result distribution.
[0021] 4. This invention further aggregates quality control alarms generated by different testing items according to sample identifiers, determines the overall conclusion of the sample based on risk priority, and then performs message encapsulation and differentiated write-back, so that anomalies generated by different testing items can be correlated and merged at the sample level, avoiding multiple testing items of the same sample from generating independent alarms, improving the correlation judgment ability of abnormal results, and enabling differentiated result write-back and alarm push according to risk level. Attached Figure Description
[0022] Figure 1 This is a system block diagram of a real-time quality control system based on the qualitative test results of patient samples. Detailed Implementation
[0023] The specific embodiments of the present invention are described below to enable those skilled in the art to understand the present invention. However, it should be understood that the present invention is not limited to the scope of the specific embodiments. For those skilled in the art, various changes are obvious as long as they are within the spirit and scope of the present invention as defined and determined by the appended claims. All inventions utilizing the concept of the present invention are protected.
[0024] Example 1, such as Figure 1 As shown, a real-time quality control system based on qualitative test results of patient samples includes: a parsing unit, a first alarm unit, a second alarm unit, a third alarm unit, a fourth alarm unit, a conclusion generation and alarm coordination unit, and a quality control processing unit. The parsing unit is used to receive the test results from various laboratory testing instruments, parse the output data elements, filter out the data elements that need to be evaluated, and obtain the data elements to be processed. The first alarm unit is used to count the number of times multiple qualitative test results belonging to the same test item number consecutively hit the preset trigger result, and generate a continuous qualitative control alarm. The second alarm unit is used to perform statistical analysis of abnormal results within the window and generate daily sample rate quality control alarms. The third alarm unit is used to extract the detection item number of the same sample identifier and generate a joint monitoring quality control alarm; The fourth alarm unit is used to construct the daily sample rate monitoring benchmark parameters and generate quality control alarms of the corresponding level; The conclusion generation and alarm collaboration unit is used to summarize various quality control alarms, generate corresponding quality control conclusions, and perform alarm push, anomaly tracing and front-end large screen display. The quality control processing unit is used to aggregate quality control alarms of each test item number according to the sample identifier, determine the overall conclusion of the sample based on risk priority, and perform message encapsulation and differentiated write-back.
[0025] In this embodiment, the real-time quality assessment system is connected to the laboratory testing instruments and the Laboratory Information System (LIS). The laboratory testing instruments establish physical and data communication connections with the parsing unit via RS232 serial port, Ethernet TCP / IP, or bidirectional ASTM / HL7 protocol. The parsing unit is connected to the first, second, third, and fourth alarm units via its internal data bus to parse, filter, and route the test results output by the laboratory testing instruments, and send the obtained data elements to be processed to the corresponding alarm units. The first, second, third, and fourth alarm units are each configured with a buffer for storing sliding sample window data, historical test sequences, and daily sample rate monitoring benchmark parameters, and perform parallel evaluation of the data elements to be processed based on the corresponding quality control rules, generating corresponding quality control alarms. After message encapsulation and differentiated write-back, the alarms are sent via HL7 v2.x protocol or RESTful protocol. The API interface establishes a data communication connection with the Laboratory Information System (LIS), and writes back the processed quality control codes and overall sample conclusion differences to the LIS, so that the corresponding test reports can be released, intercepted, or marked according to the quality control conclusions.
[0026] In this embodiment, the data elements include: sample identifier, test item number, quantitative test result, qualitative test result (such as negative / positive), applying department, clinical diagnosis, test time, and instrument number.
[0027] In this embodiment, the process of obtaining the data element to be processed includes: combining the test item number and the instrument number to obtain a first search keyword group; when the first search keyword group appears in the evaluation access configuration table, combining the test item number and the quantitative test result to obtain a second search keyword group; and when the second search keyword group appears in the result stratification configuration table, obtaining the data element to be processed. The evaluation access configuration table is used to store the combination of test items and instrument numbers that need to be evaluated for quality control, and the result stratification configuration table is used to store the threshold range of the quantitative test result for each test item and its corresponding result type, and includes at least four fields: test item number, lower limit of quantitative test result, upper limit of quantitative test result, and result type.
[0028] In this embodiment, if the first search keyword group does not appear in the evaluation admission configuration table, the data is directly written to the original database, the quality control status is marked as "not evaluated", and the process is terminated.
[0029] If the second search keyword group does not appear in the result stratification configuration table (the definitions of negative, positive, weak positive, and low value thresholds are based on the relationship between the reagent instructions for the test item and the conversion of qualitative results, as well as the system detection range of the test item), the data will be directly written to the original database, the quality control status will be marked as "not evaluated", and the process will terminate.
[0030] In this embodiment, the specific process of the first alarm unit includes: extracting the detection item number and qualitative detection result from the data element to be processed; storing the current detection item number and the corresponding qualitative detection result into the item result stack corresponding to the detection item number; in the item result stack, determining whether the qualitative detection result corresponding to the detection item number is equal to the preset trigger result; if so, incrementing the counter corresponding to the detection item number; if not, resetting the counter corresponding to the detection item number to zero; and generating a continuous control alarm when the value of the counter corresponding to the detection item number is greater than or equal to the preset continuous number threshold.
[0031] Furthermore, the first alarm unit, according to the arrival order of the data elements to be processed, performs continuous judgment rules (continuous anomaly detection, i.e., judgment of the maximum number of consecutive positive data elements to be processed) for every B data elements to be processed (B is configurable, e.g., B=100). The principle and algorithm are as follows: maintain the result stack of each detection item number. When the qualitative detection result of a newly entered data element to be processed is equal to the preset trigger result set by the rule (e.g., "positive"), the counter is incremented by 1. If the qualitative detection result is not equal to the preset trigger result, the counter is reset to 0. Threshold determination: When the value of the counter is greater than or equal to the preset consecutive number threshold (preset consecutive number threshold, such as 3 consecutive times), a continuous quality control alarm is triggered.
[0032] In this embodiment, the specific process of the second alarm unit includes: At the current moment, the number of samples in the statistical sample window whose qualitative detection result is the preset target abnormal result is obtained; Calculate the percentage of abnormal results based on the ratio of the number of abnormal results to the sample window length; A daily sample rate quality control alarm is generated when the percentage of abnormal results is greater than or equal to the preset percentage threshold and the total number of samples on that day is greater than or equal to the preset minimum sample base.
[0033] Furthermore, a fixed sample window W is set (e.g., the most recent W samples). The number N of preset target anomalous results (such as "positive" or "uncertain") within this sample window is calculated in real time using an in-memory database. abnormal This refers to the number of abnormal results in the window, calculated using the following formula: in, Threshold determination based on the percentage of abnormal results: If the percentage of abnormal results is... When the percentage is greater than or equal to the preset percentage threshold (e.g., 15%) and the total number of samples on that day is greater than or equal to the preset minimum sample base, a daily sample rate quality control alarm is triggered.
[0034] In this embodiment, the specific process of the third alarm unit includes: Extract the test item numbers that belong to the same sample but have different identifiers to obtain the associated test item numbers; When the qualitative test results of the data elements to be processed corresponding to each associated test item number satisfy the Boolean condition matrix constructed based on violating clinical logic, a joint monitoring quality control alarm is generated.
[0035] Furthermore, the expression for the Boolean condition matrix is: , in, The overall logical result of the joint conditions, For the associated detection item number Whether the qualitative detection result of the corresponding data element to be processed meets the sub-condition of the project, the output is true or false; For the associated detection item number Whether the qualitative detection result of the corresponding data element to be processed meets the sub-condition of the project, the output is true or false; For the associated detection item number Whether the qualitative detection result of the corresponding data element to be processed meets the sub-condition of the project, the output is true or false; For AND operation, For the result to be true. Sub-conditions can take many forms, not limited to being equal to positive. For example, when a specific combination that violates medical logic or reagent cross-reactivity occurs simultaneously, a joint monitoring and quality control alarm is immediately triggered.
[0036] In this embodiment, the specific process of the fourth alarm unit includes: Extract the detection item number from the data element to be processed, obtain the daily sample rate historical sequence of the detection item number within a preset long-term historical period, and calculate the mean and standard deviation of the daily sample rate historical sequence. The mean and standard deviation are determined as the daily sample rate monitoring benchmark parameters corresponding to the test item number; Obtain the real-time daily sample rate and continuous historical daily sample rate sequence corresponding to the test item number within a preset short-term historical period. Perform multi-condition judgment on the real-time daily sample rate, continuous historical daily sample rate sequence and monitoring benchmark parameters. When any condition is met, generate a quality control alarm of the corresponding level.
[0037] In this embodiment, the expression for multi-condition determination is: , in, For the conditional judgment result, As the first condition, For the second condition, For the third condition, The result is "true", and ∨ is the "OR" operation.
[0038] In this embodiment, the expression for the first condition is: , The expression for the second condition is: , The expression for the third condition is: , in, For the first Daily sample rate For the first Daily sample rate The mean, Standard deviation, To take the absolute value, For AND operation, for Daily sample rate =1 sample difference It is twice the sample difference. It is 3 times the sample difference. For today, The numbering system for historical days.
[0039] Triggering conditions: If the daily sample rate deviates from the mean by more than 3SD, it indicates a significant random error or a sudden system failure, and a corresponding level of quality control alarm (blocking report) is immediately generated. If the daily sample rate deviates from the mean by more than 2 SD for two consecutive days, it indicates a significant systematic shift and generates a quality control alarm of the corresponding level. If the daily sample rate deviates from the mean by more than 1 SD for four consecutive days, it indicates a continuous trend of drift and generates a corresponding level of quality control alarm.
[0040] Furthermore, the daily sample rate historical sequence (R1, R2, ..., R) of the current detection item number within a preset long-term historical period is taken. M ), where R1 is the daily sample rate of day 1 in the historical daily sample rate series, R2 is the daily sample rate of day 2 in the historical daily sample rate series, R M Let M be the daily sample rate of day M in the historical daily sample rate series, where M is the number of valid historical days. Calculate the mean and standard deviation: , , in, The mean, The first in the historical sequence of daily sample rates Daily sample rate The standard deviation is denoted as .
[0041] Furthermore, the conclusion generation and alarm coordination unit summarizes the evaluation output of each quality control alarm. If there is no quality control alarm, the quality control conclusion is "normal"; if an early warning is triggered, the quality control conclusion is "warning"; if a blocking rule is triggered, the quality control conclusion is "abnormal". The evaluation results, along with the rule matching context, are written to the quality control persistence table.
[0042] Alarm Center Collaborative Processing: When a quality control conclusion of "warning" or "abnormality" is generated, the alarm center automatically generates an alarm event ticket and pushes it to the user's front end. It provides a closed-loop status flow mechanism of "view - process (fill in the reason / review) - close".
[0043] Detailed query and traceability: Establish an index linking data points to the original instrument HL7 message, reagent batch number, and calibration record. The front end supports one-click full lifecycle tracing from any abnormal data point.
[0044] Laboratory large screen rendering: Taking samples as the dimension, the updated coordinates and status styles of quality control points (normal - green, warning - yellow, abnormal - red) are obtained through periodic retrieval to complete the front-end large screen display.
[0045] Furthermore, the quality control processing unit iterates through and summarizes all quality control alarms for all test item numbers (Item1, Item2, ...) under the same sample identifier. Aggregation is performed according to the highest risk priority principle: Overall Sample Conclusion = max(ConclusionItem1, ConclusionItem2, ...) (Priority: Abnormal > Warning > Normal), where Item1 and Item2 are test item numbers, ConclusionItem1 is the quality control conclusion for test item number Item1, and ConclusionItem2 is the quality control conclusion for test item number Item2.
[0046] Message Packaging and Data Write-back: Sample-level proprietary control code injection: A preset sample lock control code is injected into the sample master information segment sent back to the Laboratory Information System (LIS). After the LIS recognizes the sample lock control code, it automatically locks the corresponding sample, prohibiting sample review and report printing operations.
[0047] Item-level annotation information injection: Below the system's preset alarm result details section, supplementary annotation text segments are added one by one according to the detection item number. The format of the supplementary annotation text segment is defined as: NTE|i|L|Item i [in conclusion i ], where i is the item number being detected here, Item i Let the number of the i-th test item be _i_, and the conclusion be _i_. i ∈{Abnormal, Warning, Normal}, priority: Abnormal > Warning > Normal, NTE is the remark / comment section in the HL7-V2 standard. Laboratory Information System (LIS) Interaction Interception: The packaged aggregated quality control results are sent back to the Laboratory Information System (LIS), thereby automatically blocking and alerting the issuance of sample test reports.
[0048] Example 2: A real-time quality control method based on qualitative test results of patient samples, comprising the following steps: S1. Receive the test results from the testing instruments of various laboratories, parse the output data elements, filter out the data elements that need to be evaluated, and obtain the data elements to be processed. S2. Count the number of times multiple qualitative test results belonging to the same test item number consecutively hit the preset trigger result, and generate a continuous qualitative control alarm; S3. Perform statistical analysis of abnormal window results and generate daily sample rate quality control alarms; S4. Extract the test item number of the same sample identifier and generate a joint monitoring quality control alarm; S5. Construct daily sample rate monitoring benchmark parameters and generate corresponding quality control alarms; S6. Summarize all quality control alarms, generate corresponding quality control conclusions, and push alarms, trace anomalies, and display them on the front-end dashboard. S7. Aggregate quality control alarms of each test item number according to the sample identifier, determine the overall conclusion of the sample based on risk priority, and perform message encapsulation and differentiated write-back.
[0049] The specific implementation process of Example 2 is the same as that of Example 1.
[0050] Specific execution steps: The CLI-800 testing instrument completes sample testing and sends a communication message to the real-time quality assessment system via the network. The real-time quality assessment system parses the data to be processed and obtains the following results: the sample identifier is S20260724001; the qualitative test result corresponding to the test item number HBsAg is positive; and the qualitative test result corresponding to the test item number HBeAg is negative.
[0051] The real-time quality assessment system confirmed that the HBsAg and HBeAg test item numbers had been configured with defined quality control rules, and the process entered the quality control assessment phase.
[0052] Rule evaluation and enforcement: Execute the continuous judgment rule corresponding to the first alarm unit: Read the historical sequence in the result stack corresponding to the HBeAg test item number under CLI-800 instrument: the second to last result is positive, the last result is positive, and the current qualitative test result is negative; the continuous counter value is 2; since the counter value is less than the preset continuous number threshold of 3, the continuous nature control alarm is not triggered.
[0053] Execute the daily sample rate rule corresponding to the second alarm unit: Read the configuration parameters: positive rate preset percentage threshold 5%, weak positive rate preset percentage threshold 5%, abnormal low value rate preset percentage threshold 5%; check whether the percentage of abnormal results in the window is greater than the corresponding preset percentage threshold; if any of the above verification conditions are negative, the daily sample rate quality control alarm is not triggered.
[0054] Execute the joint monitoring rules corresponding to the third alarm unit: Verify the Boolean condition matrix condition: the qualitative test result of HBsAg is positive and the qualitative test result of HBeAg is negative; if the condition judgment result is true, the joint monitoring quality control alarm is triggered and a joint monitoring quality control alarm is generated.
[0055] Execute the monitoring rules corresponding to the fourth alarm unit: read the preset Westgard multi-condition judgment effective configuration; perform multi-condition judgment on the real-time daily sample rate and the continuous historical daily sample rate sequence; if the overall condition judgment result is false, the corresponding level of quality control alarm is not triggered.
[0056] The conclusion generation and alarm coordination unit summarizes all quality control alarms, obtaining the following results: the quality control conclusion corresponding to the HBeAg test item number is abnormal; the overall quality control conclusion for sample identifier S20260724001 is abnormal. The evaluation results, along with the rule matching context, are written to the quality control persistence table. The alarm center automatically generates an alarm event form with the following message: "Sample S20260724001 exhibits a heterogeneous combination of HBsAg positive / HBeAg negative, suspected of reagent cross-contamination or incorrect sample addition." The laboratory's front-end screen periodically retrieves quality control status data, marking the corresponding slot on the CLI-800 instrument and the display icon for sample identifier S20260724001 as a flashing red dot.
[0057] The quality control processing unit aggregates quality control alarms for each test item number under a sample according to the sample identifier, determines the overall conclusion of the sample, and completes message encapsulation; it then sends the encapsulated message back to the Laboratory Information System (LIS). Sample locking control code is injected into the returned message, and a comment section is added to each test item number that generated an alarm. The comment section carries the comment sequence number, the corresponding test item number, and the corresponding quality control conclusion.
[0058] After the Laboratory Information System (LIS) identifies the sample lock control code in the message, it automatically marks sample S20260724001 as "quality control anomaly interception", prohibiting laboratory physicians from directly reviewing and issuing test reports, thus completing the automated closed-loop control of real-time quality assessment of qualitative test results.
[0059] This invention addresses the characteristics of discontinuous and skewed distribution of serological test results for infectious diseases, as well as the high heterogeneity of patients, by proposing a dedicated real-time quality assessment scheme for patient samples, enabling the practical application of this type of quality control scheme in qualitative serological testing scenarios for infectious diseases.
[0060] This invention transforms qualitative detection results into quality control statistical indicators by constructing statistical indicators such as positive rate, weak positive rate, abnormal low value rate, and the maximum number of consecutive positive pending data elements. It can establish a moving average LJ quality control chart and combine it with Westgard rules to complete real-time quality assessment.
[0061] This invention designs a "one-vote veto" joint monitoring algorithm based on detection result patterns, which can quickly identify detection results that violate medical logic and improve the detection efficiency of random errors and system anomalies.
[0062] This invention can effectively identify detection anomalies that are difficult to detect in a timely manner by traditional indoor quality control, such as contamination and abnormally low values, thereby improving the accuracy and reliability of serological qualitative detection results for infectious diseases.
[0063] This invention makes full use of patient data elements to carry out real-time continuous monitoring without increasing the cost of quality control consumables. It can serve as an important supplement to traditional internal quality control and improve the level of laboratory quality management.
[0064] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A real-time quality control system based on qualitative test results of patient samples, characterized in that, include: The system includes an analysis unit, a first alarm unit, a second alarm unit, a third alarm unit, a fourth alarm unit, a conclusion generation and alarm coordination unit, and a quality control processing unit. The analysis unit is used to receive the test results of various laboratory testing instruments, analyze and output data elements, filter out the data elements that need to be evaluated, and obtain the data elements to be processed. The first alarm unit is used to count the number of times multiple qualitative test results belonging to the same test item number continuously hit the preset trigger result, and generate a continuous qualitative control alarm; The second alarm unit is used to count the number of abnormal results within the window and generate a daily sample out-of-control rate quality control alarm. The third alarm unit is used to extract different test item numbers of the same sample identifier, determine whether the results violate clinical logic, and generate joint monitoring and quality control alarms for samples that violate clinical logic. The fourth alarm unit is used to construct the daily sample positivity rate monitoring benchmark parameters and generate corresponding quality control alarms. The conclusion generation and alarm coordination unit is used to summarize various quality control alarms, generate corresponding quality control conclusions, and perform alarm push, anomaly tracing and front-end large screen display. The quality control processing unit is used to aggregate quality control alarms of each test item number according to the sample identifier, determine the overall conclusion of the sample based on risk priority, and perform message encapsulation and differentiated write-back.
2. The real-time quality control system based on qualitative test results of patient samples according to claim 1, characterized in that, The data elements include: sample identifier, test item number, quantitative test result, qualitative test result, applying department, clinical diagnosis, test time, and instrument number.
3. The real-time quality control system based on qualitative test results of patient samples according to claim 1, characterized in that, The process of obtaining the data element to be processed includes: combining the test item number and the instrument number to obtain a first search keyword group; when the first search keyword group appears in the evaluation access configuration table, combining the test item number and the quantitative test result to obtain a second search keyword group; when the second search keyword group appears in the result stratification configuration table, the data element to be processed is obtained. The evaluation access configuration table is used to store the combination of test items and instrument numbers that need to be evaluated for quality control, and the result stratification configuration table is used to store the threshold range of the quantitative test result for each test item and its corresponding result type, and includes at least four fields: test item number, lower limit of quantitative test result, upper limit of quantitative test result, and result type.
4. The real-time quality control system based on qualitative test results of patient samples according to claim 1, characterized in that, The specific process of the first alarm unit includes: extracting the detection item number and qualitative detection result from the data element to be processed; storing the current detection item number and the corresponding qualitative detection result into the item result stack corresponding to the detection item number; in the item result stack, determining whether the qualitative detection result corresponding to the detection item number is equal to the preset trigger result; if so, incrementing the counter corresponding to the detection item number; if not, resetting the counter corresponding to the detection item number to zero; and generating a continuous nature control alarm when the value of the counter corresponding to the detection item number is greater than or equal to the preset continuous number threshold.
5. The real-time quality control system based on qualitative test results of patient samples according to claim 1, characterized in that, The specific process of the second alarm unit includes: At the current moment, the number of samples in the statistical sample window whose qualitative detection result is the preset target abnormal result is obtained, thus obtaining the statistical number of abnormal results in the window; Calculate the percentage of abnormal results based on the ratio of the number of abnormal results to the sample window length; A daily sample rate quality control alarm is generated when the percentage of abnormal results is greater than or equal to the preset percentage threshold and the total number of samples on that day is greater than or equal to the preset minimum sample base.
6. The real-time quality control system based on qualitative test results of patient samples according to claim 1, characterized in that, The specific process of the third alarm unit includes: Extract the test item numbers that belong to the same sample but have different identifiers to obtain the associated test item numbers; When the qualitative test results of the data elements to be processed corresponding to each associated test item number satisfy the Boolean condition matrix constructed based on violating clinical logic, a joint monitoring quality control alarm is generated.
7. The real-time quality control system based on qualitative test results of patient samples according to claim 1, characterized in that, The specific process of the fourth alarm unit includes: Extract the detection item number from the data element to be processed, obtain the daily sample rate historical sequence of the detection item number within a preset long-term historical period, and calculate the mean and standard deviation of the daily sample rate historical sequence. The mean and standard deviation are determined as the daily sample rate monitoring benchmark parameters corresponding to the test item number; Obtain the real-time daily sample rate and continuous historical daily sample rate sequence corresponding to the test item number within a preset short-term historical period. Perform multi-condition judgment on the real-time daily sample rate, continuous historical daily sample rate sequence and monitoring benchmark parameters. When any condition is met, generate a quality control alarm of the corresponding level.
8. The real-time quality control system based on qualitative test results of patient samples according to claim 7, characterized in that, The expression for the multi-condition determination is: , in, For the conditional judgment result, As the first condition, For the second condition, For the third condition, The result is "true", and ∨ is the "OR" operation.
9. The real-time quality control system based on qualitative test results of patient samples according to claim 8, characterized in that, The expression for the first condition is: , The expression for the second condition is: , The expression for the third condition is: , in, For the first Daily sample rate For the first Daily sample rate The mean, Standard deviation, To take the absolute value, For "AND" operation, for Daily sample rate =1 sample difference It is twice the sample difference. It is 3 times the sample difference. For today, The numbering system for historical days.
10. A real-time quality control method based on qualitative test results of patient samples, implemented based on the real-time quality control system based on qualitative test results of patient samples as described in any one of claims 1 to 9, characterized in that, Includes the following steps: S1. Receive the test results from the testing instruments of various laboratories, parse the output data elements, filter out the data elements that need to be evaluated, and obtain the data elements to be processed. S2. Count the number of times multiple qualitative test results belonging to the same test item number consecutively hit the preset trigger result, and generate a continuous qualitative control alarm; S3. Perform statistical analysis on abnormal window results and generate daily sample rate quality control alarms; S4. Extract the test item number of the same sample identifier and generate a joint monitoring quality control alarm; S5. Construct daily sample rate monitoring benchmark parameters and generate corresponding quality control alarms; S6. Summarize all quality control alarms, generate corresponding quality control conclusions, and push alarms, trace anomalies, and display them on the front-end dashboard. S7. Aggregate quality control alarms of each test item number according to the sample identifier, determine the overall conclusion of the sample based on risk priority, and perform message encapsulation and differentiated write-back.
