Blood cell equipment LIS communication function verification method and system

Through the tool-based verification method of the LIS communication function verification system of the blood cell device, the HL7 protocol communication debugging between the blood cell device and the LIS system is simplified, and the time-consuming and labor-consuming problem in the prior art is solved, debugging efficiency is improved and cost is reduced.

CN119011695APending Publication Date: 2024-11-22URIT MEDICAL ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411114125.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing LIS communication function verification method of blood cell equipment is time-consuming and labor-intensive, and requires the participation of medical equipment and LIS system manufacturers and medical institutions, resulting in complex debugging and a lot of time and resources.

Method used

It provides a LIS communication function verification system for blood cell equipment, including TCP communication module, HL7 protocol module, simulated blood cell test result module and log module. Each communication step is verified by tooling, simplifying the debugging process, reducing manual intervention, and improving debugging efficiency.

Benefits of technology

It greatly improves debugging speed, reduces debugging costs, saves time, and allows debugging without participating in blood cell equipment, reduces debugging difficulty, and solves the time-consuming and labor-consuming problem of existing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011695A_ABST
    Figure CN119011695A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of medical treatment, in particular to a blood cell equipment LIS communication function verification method and system, and the system comprises a TCP communication module, an HL7 protocol module, a simulated blood cell test result module and a log module. The mode of verifying each communication step through a tool and feeding back whether the step is correct or not is changed, the debugging verification process is standardized, the error process and link are determined, the debugging speed is greatly increased, the debugging cost is reduced, the debugging time is saved, meanwhile, the function of simulating a blood cell test result is provided, and the debugging efficiency is improved. Debugging is allowed under the condition that the blood cell equipment does not participate, the debugging difficulty is lowered, the debugging speed is increased, and therefore the problem that an existing blood cell equipment LIS communication function verification mode is time-consuming and labor-consuming is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical technology, and in particular to a method and system for verifying the LIS communication function of a blood cell device. Background Art

[0002] HL7 (Health Level 7) is an electronic data exchange standard for inpatient care. Originally defined by the United States, it provides a set of standard formats for data exchange between heterogeneous systems in various medical institutions and has been widely used in various healthcare scenarios.

[0003] With the popularization of computer system applications in medical institutions and the country's vigorous promotion of the construction of residents' electronic health records and the integration and interoperability of medical insurance data in various places, medical institutions use HIS and LIS to provide patients with one-card data services from registration to payment, which also puts higher requirements on the corresponding medical testing equipment. Medical testing equipment also needs to have the ability to query the LIS system to instantly match and display the corresponding patient information of the sample based on the relevant limited sample information. However, due to the different LIS system manufacturers of medical institutions, medical equipment needs to communicate with specific LIS system manufacturers on the spot to confirm that the communication protocol is consistent.

[0004] Since the network environment of medical institutions can be simple or complex, whether there is a problem with the communication between medical equipment and LIS system also requires complex confirmation. In the past, when a medical institution added a new blood cell device, if the device needed to access the entire network system of the medical structure to provide data, the LIS manufacturer, medical equipment provider and relevant personnel of the medical institution needed to participate in the access docking and HL7 data interaction debugging, which was time-consuming, labor-intensive and very complicated. Summary of the invention

[0005] The purpose of the present invention is to provide a method and system for verifying the LIS communication function of a blood cell device, aiming to solve the problem that the existing method for verifying the LIS communication function of a blood cell device is time-consuming and labor-intensive.

[0006] To achieve the above-mentioned object, in a first aspect, the present invention provides a blood cell equipment LIS communication function verification system, including a TCP communication module, an HL7 protocol module, a simulated blood cell test result module and a log module;

[0007] The TCP communication module is used to manage establishing TCP communication with the remote end and managing TCP communication;

[0008] The HL7 protocol module is used to decode the remote data and verify whether the decoded data conforms to the HL7 protocol framework and HL7 data exchange logic. Only when the data passes the protocol framework analysis can the data exchange logic verification be performed;

[0009] The simulated blood cell test result module is used to allow manual data related sample information and test result information, so as to simulate the real test result data and verify whether the information received by the remote end is consistent with the sent information;

[0010] The log module is used to record various data and verification results and write them into files for viewing.

[0011] Wherein, the TCP communication module includes a setting unit, a status unit and a monitoring unit, and the setting unit, the status unit and the monitoring unit are connected in sequence;

[0012] The setting unit is used to set the connection and disconnection of the connection parameters;

[0013] The state unit is used for the heartbeat detection connection state mechanism;

[0014] The monitoring unit is used to monitor remote data, send data and upload connection status in real time.

[0015] The HL7 protocol module includes a parsing unit, a verification unit and a display and recording unit, wherein the parsing unit, the verification unit and the display and recording unit are connected in sequence.

[0016] The parsing unit is used to receive the remote data transmitted by the TCP communication module and decode the data into messages;

[0017] The verification unit is used to verify the message format, verify whether the message complies with the HL7 framework, and verify whether the message complies with the HL7 specific message logic;

[0018] The display and recording unit is used to display the results and record various error logs.

[0019] Wherein, the simulated blood cell test result module includes a manual input unit and an information display unit, and the manual input unit and the information display unit are connected;

[0020] The manual input unit is used for manually inputting information and converting the input information into a format that can be packaged by the HL7 protocol module;

[0021] The information display unit is used to display specific information on the interface.

[0022] In a second aspect, a method for verifying the LIS communication function of a blood cell device is provided, which is used in the LIS communication function verification system of the blood cell device described in the first aspect, and comprises the following steps:

[0023] Open the HL7 test verification system software and the simulated blood cell device, establish a connection with the TCP communication module using the client long connection method, confirm that the connection is normal and prompt when the TCP connection is lost;

[0024] Monitor the data sent by the LIS system and check whether the data is complete and correct according to the message segments in the HL7 framework;

[0025] Parse the data sent by the LIS system and check whether the data contains complete HL7 message segments;

[0026] Read the corresponding information in the message segment and display it on the interface, and manually confirm whether the information is correct;

[0027] Simulate blood cell test results and send blood cell test result data to the LIS system, and wait for the confirmation response from the LIS system.

[0028] A blood cell equipment LIS communication function verification system of the present invention includes a TCP communication module, an HL7 protocol module, a simulated blood cell test result module and a log module; the TCP communication module is used to manage the establishment of TCP communication with the remote end and manage TCP communication; the HL7 protocol module is used to decode the data of the remote end and verify whether the decoded data conforms to the HL7 protocol framework and the HL7 data exchange logic, and the data exchange logic verification is performed only after the protocol framework is parsed; the simulated blood cell test result module is used to allow manual data related sample information and test result information, so as to simulate the real test result data and verify whether the information received by the remote end is consistent with the sent information; the log module is used to record various data and verification results and write them into files for viewing. The present invention changes the method of debugging and finding problems in the HL7 protocol communication between the complex LIS system and the blood cell equipment to a method of using tools to verify each communication step and provide feedback on whether the step is correct or not, standardizes the debugging and verification process, clarifies the erroneous process and links, greatly improves the debugging speed, reduces the debugging cost, saves debugging time, and provides a function of simulating blood cell test results, allowing debugging without the involvement of the blood cell equipment, reducing the difficulty of debugging, and speeding up the debugging speed, thereby solving the problem of the existing blood cell equipment LIS communication function verification method being time-consuming and labor-intensive. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 It is a schematic diagram of a blood cell equipment LIS communication function verification system provided by the present invention.

[0031] Figure 2 It is a structural schematic diagram of a blood cell equipment LIS communication function verification system provided by the present invention.

[0032] Figure 3 It is a schematic diagram of the structure of the TCP communication module.

[0033] Figure 4 It is a structural diagram of the HL7 protocol module.

[0034] Figure 5 It is a structural diagram of the module simulating blood cell test results.

[0035] Figure 6 It is a flow chart of a method for verifying the LIS communication function of a blood cell device provided by the present invention.

[0036] Figure 7 It is a flow chart for real-time monitoring of connection status.

[0037] Figure 8 It is the HL7 protocol framework verification logic diagram.

[0038] Fig. 9 It is the HL7 protocol data exchange verification logic diagram.

[0039] Fig.10 This is an interactive diagram of the blood cell equipment sending test results to the LIS system.

[0040] Fig.11 This is a diagram of the interaction between the hematology equipment query castration version information and the LIS system.

[0041] 1-TCP communication module, 2-HL7 protocol module, 3-simulated blood cell test result module, 4-log module, 11-setting unit, 12-status unit, 13-monitoring unit, 21-analysis unit, 22-verification unit, 23-display record unit, 31-manual entry unit, 32-information display unit. DETAILED DESCRIPTION

[0042] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0043] See also Figures 1 to 5, In a first aspect, the present invention provides a blood cell equipment LIS communication function verification system, including a TCP communication module 1, an HL7 protocol module 2, a simulated blood cell test result module 3 and a log module 4;

[0044] The TCP communication module 1 is used to manage establishing TCP communication with a remote end and manage TCP communication;

[0045] The HL7 protocol module 2 is used to decode the remote data and verify whether the decoded data conforms to the HL7 protocol framework and HL7 data exchange logic. Only when the data passes the protocol framework analysis can the data exchange logic verification be performed;

[0046] The simulated blood cell test result module 3 is used to allow manual data related sample information and test result information, so as to simulate the real test result data and verify whether the information received by the remote end is consistent with the sent information;

[0047] The log module 4 is used to record various data and verification results and write them into files for viewing.

[0048] In this embodiment, the present invention establishes a connection with a remote LIS system through a TCP client mode. If the connection is normal, the heartbeat mechanism is turned on to detect the real-time connection status of TCP and feedback the connection status upward; at the same time, the listening mode performs the data receiving and sending operation; if the connection cannot be established or the connection is detected to be disconnected, the connection abnormality is fed back upward, and the receiving and sending operation and the HL7 data exchange operation are stopped. All communication status and the communication data sent and received during this period will be recorded in the file log by the log module 4, so that the debugging personnel can make detailed inquiries on related problems or status. After the HL7 protocol verification module receives the data fed back by the TCP communication module 1, the data is first decoded according to the agreed encoding method. If the decoding is unsuccessful, it is discarded and the current parsing is terminated, and feedback is given upward; if the decoding is successful, the segmentation mark agreed in the HL7 protocol is searched to segment the information into messages. If the segmentation mark cannot be found, it indicates that the received data does not conform to the HL7 protocol framework, and the current parsing is discarded and terminated; if the segmentation mark can be found, the segmented information is converted into message segments. For the message segments, HL7 protocol module 2 will continue to perform logic verification. First, check whether the message header of the message segment conforms to the message header of the HL7 protocol. If not, discard and end the analysis. If it conforms, find out whether it conforms to the data interaction logic that the blood cell equipment can identify. If not, discard and end the analysis. If it conforms, find out which communication that is waiting for a reply is being replied to, and then feedback to the communication process that is waiting, and close the communication process after confirming the process, and notify the interface of the result. If HL7 protocol module 2 receives a request to send a message to the remote LIS system, first format and package the data to be sent in HL7 format, turn it into an HL7 message, encode the message and feedback it to TCP communication module 1 to wait for sending. If it fails, continue to try to send. If three attempts fail, the interface will prompt that the sending failed, and the failure will be recorded in the log, such as TCP connection loss. If the sending is successful, add this HL7 message to the communication process and wait for the reply of the remote LIS system. If no response is received from the remote LIS system within the agreed time, try to resend. If no response is received within the agreed time after three transmissions, feedback is given to the interface and recorded in the log. If a response is received from the remote end within the agreed time, the HL7 module determines whether the data exchange is completed. If interaction is required, the interaction process is repeated. If data interaction is completed, the communication process is terminated and feedback is given to the interface, and the result is recorded in the log. In the process of the HL7 module sending data to the remote end, the simulated blood cell test result module 3 first obtains the input information from the manual input end, and formats and converts the information according to the format agreed by the HL7 module. If the conversion is successful, the converted data is passed to the HL7 protocol module 2 for further processing. If the conversion is unsuccessful, feedback is given to the interface to prompt possible content errors.Through the interaction between the entire system modules and with the debugger, the entire HL7 protocol and data exchange verification process is completed, and friendly prompts are given in the interface and log for the debugger to quickly locate possible problems. The present invention changes the method of debugging and finding problems in the HL7 protocol communication between the complex LIS system and the blood cell equipment to a method of using tools to verify each communication step and feedback whether the step is correct or not, standardizes the debugging and verification process, clarifies the erroneous process and links, greatly improves the debugging speed, reduces the debugging cost, saves debugging time, and provides the function of simulating blood cell test results, allowing debugging without the involvement of the blood cell equipment, reducing the difficulty of debugging, and speeding up the debugging speed, thereby solving the problem of the existing blood cell equipment LIS communication function verification method being time-consuming and labor-intensive.

[0049] Further, the TCP communication module 1 includes a setting unit 11, a status unit 12 and a monitoring unit 13, and the setting unit 11, the status unit 12 and the monitoring unit 13 are connected in sequence;

[0050] The setting unit 11 is used to set connection and disconnection of connection parameters;

[0051] The state unit 12 is used for the heartbeat detection connection state mechanism;

[0052] The monitoring unit 13 is used for monitoring remote data, sending data and uploading connection status in real time.

[0053] In this embodiment, the TCP communication module 1 is used to manage the establishment of TCP communication with the remote end and manage TCP communication, including a connection disconnection function that can set connection parameters, a heartbeat detection connection status mechanism function, a real-time monitoring of remote data and sending data function, and an instant connection status upload function.

[0054] Further, the HL7 protocol module 2 includes a parsing unit 21, a verification unit 22 and a display recording unit 23, and the parsing unit 21, the verification unit 22 and the display recording unit 23 are connected in sequence.

[0055] The parsing unit 21 is used to receive the remote data transmitted by the TCP communication module 1 and decode the data into a message;

[0056] The verification unit 22 is used to verify the message format, verify whether the message complies with the HL7 framework, and verify whether the message complies with the HL7 specific message logic;

[0057] The display and recording unit 23 is used to display the results and record various error logs.

[0058] In this embodiment, the HL7 protocol module 2 is used to decode the data from the remote end and verify whether the decoded data complies with the HL7 protocol framework and the HL7 data exchange logic. Only after parsing through the protocol framework can the data exchange logic be verified; at the same time, the corresponding data can be packaged into HL7 data, and then encoded and sent to the remote end. It includes the functions of receiving the remote data transmitted by the TCP communication module 1 when receiving data from the remote end, decoding the data into messages, verifying the message format, verifying whether the message complies with the HL7 framework, verifying whether the message complies with the HL7 specific message logic, displaying the results on the interface, and recording various error logs; when sending the results to the remote end, the blood test results are packaged into messages that comply with the HL7 protocol, encoding the packaged messages into data, and transmitting the data downward to the TCP communication module 1.

[0059] Further, the simulated blood cell test result module 3 includes a manual input unit 31 and an information display unit 32, and the manual input unit 31 and the information display unit 32 are connected;

[0060] The manual input unit 31 is used for manually inputting information and converting the input information into a format that can be packaged by the HL7 protocol module 2;

[0061] The information display unit 32 is used to display specific information on the interface.

[0062] In this embodiment, the simulated blood cell test result module 3 is used to allow manual data related sample information and test result information, so as to simulate the real test result data and verify whether the information received by the remote end is consistent with the sent information. It includes the function of manually entering information, converting the entered information into a function that can be packaged by the HL7 protocol module 2, and displaying specific information on the interface.

[0063] See also Figures 6 to 11 In a second aspect, a method for verifying the LIS communication function of a blood cell device is provided, which is used in the LIS communication function verification system of the blood cell device described in the first aspect, and comprises the following steps:

[0064] S1 opens the HL7 test verification system software and the simulated blood cell device, establishes a connection with the TCP communication module 1 in a client long connection mode, confirms that the connection is normal and prompts when the TCP connection is lost;

[0065] Specifically, a connection is established with the remote LIS system. If the connection is normal, the heartbeat mechanism is started to detect the real-time connection status of TCP and feedback the connection status upward.

[0066] S2 monitors the data sent by the LIS system and checks whether the data is complete and correct according to the message segments in the HL7 framework;

[0067] Specifically, the monitoring mode performs the data receiving and sending operation; if the connection cannot be established or the connection is detected to be disconnected, the abnormal connection is fed back upward, and the receiving and sending operation and the HL7 data exchange operation are stopped. During this period, all communication states and the communication data sent and received will be recorded in the file log by the log module 4, so that the debugging personnel can make detailed inquiries on related problems or states.

[0068] S3 parses the data sent by the LIS system and checks whether the data contains a complete HL7 message segment;

[0069] Specifically, after the HL7 protocol verification module receives the data fed back by the TCP communication module 1, it first decodes the data according to the agreed encoding method. If the decoding is unsuccessful, the data is discarded and the parsing is terminated, and feedback is given upward; if the decoding is successful, it starts to look for the segmentation mark agreed in the HL7 protocol to segment the information into messages. If the segmentation mark cannot be found, it indicates that the received data does not conform to the HL7 protocol framework, and the data is discarded and the parsing is terminated; if the segmentation mark can be found, the segmented information is converted into message segments.

[0070] S4 reads the corresponding information in the message segment and displays it on the interface, manually confirming whether the information is correct;

[0071] Specifically, for the divided message segments, HL7 protocol module 2 will continue to perform logic verification, first checking whether the message header of the message segment conforms to the message header of the HL7 protocol. If not, it will be discarded and the current parsing will be terminated; if it conforms, it will find out whether it conforms to the data interaction logic that the blood cell device can recognize. If not, it will be discarded and the current parsing will be terminated; if it conforms, it will find out which communication that is waiting for a reply is being replied to, and then feedback will be given to the communication process that is waiting, and after confirming the process, the communication process will be closed and the result will be notified to the interface. If HL7 protocol module 2 receives a request to send a message to the remote LIS system, it will first format and package the data to be sent in HL7 format, turn it into an HL7 message, encode the message and feed it back to TCP communication module 1 to wait for sending. If it fails, it will continue to try to send. If three attempts fail, it will prompt the interface to send failure, and record the failure in the log, such as TCP connection loss, etc.; if it is sent successfully, this HL7 message will be added to the communication process and wait for the reply of the remote LIS system. If no response is received from the remote LIS system within the agreed time, try to resend the message. If no response is received within the agreed time after three attempts, feedback is provided to the interface and recorded in the log. If a response is received from the remote end within the agreed time, the HL7 module determines whether the data exchange is completed. If interaction is required, the interaction process is repeated. If the data interaction is completed, the communication process ends and feedback is provided to the interface, and the result is recorded in the log.

[0072] S5 simulates the blood cell test result and sends the blood cell test result data to the LIS system, and waits for a confirmation response from the LIS system.

[0073] Specifically, the simulated blood cell test result module 3 first obtains the input information from the manual input terminal, and formats and converts the information according to the format agreed upon by the HL7 module. If the conversion is successful, the converted data is passed to the HL7 protocol module 2 for further processing; if the conversion is unsuccessful, feedback is given to the interface to prompt possible content errors. Through the interaction between the entire system modules and with the debugger, the entire HL7 protocol and data exchange verification process is completed, and prompts are given in both the interface and the log for the debugger to quickly locate possible problems.

[0074] The above disclosure is only a preferred embodiment of a method and system for verifying the LIS communication function of a blood cell device of the present invention. Of course, this cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A blood cell equipment LIS communication function verification system, characterized in that: It includes TCP communication module, HL7 protocol module, simulated blood cell test result module and log module; The TCP communication module is used to manage establishing TCP communication with the remote end and managing TCP communication; The HL7 protocol module is used to decode the remote data and verify whether the decoded data conforms to the HL7 protocol framework and HL7 data exchange logic. Only when the data passes the protocol framework analysis can the data exchange logic verification be performed; The simulated blood cell test result module is used to allow manual data related sample information and test result information, so as to simulate the real test result data and verify whether the information received by the remote end is consistent with the sent information; The log module is used to record various data and verification results and write them into files for viewing.

2. The blood cell equipment LIS communication function verification system according to claim 1, characterized in that: The TCP communication module includes a setting unit, a status unit and a monitoring unit, wherein the setting unit, the status unit and the monitoring unit are connected in sequence; The setting unit is used to set the connection and disconnection of the connection parameters; The state unit is used for the heartbeat detection connection state mechanism; The monitoring unit is used to monitor remote data, send data and upload connection status in real time.

3. The blood cell equipment LIS communication function verification system according to claim 2, characterized in that: The HL7 protocol module includes a parsing unit, a verification unit and a display and recording unit, wherein the parsing unit, the verification unit and the display and recording unit are connected in sequence. The parsing unit is used to receive the remote data transmitted by the TCP communication module and decode the data into messages; The verification unit is used to verify the message format, verify whether the message complies with the HL7 framework, and verify whether the message complies with the HL7 specific message logic; The display and recording unit is used to display the results and record various error logs.

4. The blood cell equipment LIS communication function verification system according to claim 3, characterized in that: The simulated blood cell test result module includes a manual input unit and an information display unit, and the manual input unit is connected to the information display unit; The manual input unit is used for manually inputting information and converting the input information into a format that can be packaged by the HL7 protocol module; The information display unit is used to display specific information on the interface.

5. A method for verifying the LIS communication function of a blood cell device, used in the LIS communication function verification system of a blood cell device according to any one of claims 1 to 4, characterized in that: The following steps are involved: Open the HL7 test verification system software and the simulated blood cell device, establish a connection with the TCP communication module using the client long connection method, confirm that the connection is normal and prompt when the TCP connection is lost; Monitor the data sent by the LIS system and check whether the data is complete and correct according to the message segments in the HL7 framework; Parse the data sent by the LIS system and check whether the data contains complete HL7 message segments; Read the corresponding information in the message segment and display it on the interface, and manually confirm whether the information is correct; Simulate blood test results and send blood test result data to the LIS system, and wait for the confirmation response from the LIS system.