Sample warehousing processing method and device, computer medium, equipment and system
By querying the accuracy of sample encoding from the LIS system and sending notifications to the user to allow the database, the problem of errors in the sample database information is solved, and the reliability of sample database entry is improved.
Patent Information
- Application Number
- CN202510093129.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-05-30
AI Technical Summary
In the prior art, the sample entry information is prone to errors, resulting in low reliability of sample entry and affecting the normal use of the sample entry management system.
By receiving the sample storage information of the target sample sent by the user, sending an information query request to the LIS system, and determining the accuracy of the sample encoding based on the query results, sending a notification to the user to allow the entry, instructing the user to display the inventory status as the entry status in the sample storage interface.
It effectively avoids sample encoding errors, improves the reliability of sample storage, and avoids the occurrence of dirty data.
Smart Images

Figure CN120072159A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and particularly to a method and device for processing sample warehousing, a computer-readable storage medium, a computer device, and a sample library management system. Background Art
[0002] With the continuous progress of biomedical technology, the preservation and management of biological samples have become increasingly important. In relevant organizations such as hospital laboratories and medical laboratories, most of the sample tubes containing samples are placed in perforated sample boxes, and then the sample boxes are put into the refrigerator for preservation, and the sample information is managed through the sample library management system, that is, the data related to the sample life cycle is systematically recorded and managed, and the sample status and usage are monitored, etc.
[0003] Sample warehousing is an essential link in the process of sample information management. During the sample warehousing process, the relevant information of the target sample needs to be entered into the sample library management system. The current sample library management system mainly involves a user side and a server side. The user side provides a man-machine interaction interface, and the server side is responsible for data processing and storage. During the sample warehousing process, the user performs the warehousing registration operation of the target sample, and then the user side obtains the sample warehousing information of the target sample and sends it to the server side. The server side stores the received sample warehousing information, that is, the sample warehousing is completed.
[0004] However, in the existing sample warehousing method, the problem of incorrect sample warehousing information is likely to occur, and the reliability of sample warehousing is low, which will directly affect the normal use of functions such as query, statistics, warehousing, and monitoring in the sample library management system. Summary of the Invention
[0005] Based on this, in view of the technical problems of easy error in sample warehousing information and low reliability of sample warehousing in the prior art, it is necessary to provide a method and device for processing sample warehousing, a computer-readable storage medium, a computer device, and a sample library management system.
[0006] A method for processing sample warehousing includes:
[0007] Receiving the sample warehousing information of the target sample sent by the user side; the sample warehousing information includes the sample code of the target sample;
[0008] Sending an information query request to the LIS system and receiving the information query result returned by the LIS system;
[0009] After determining that the sample code of the target sample exists in the LIS system based on the information query result, sending an allow-warehousing notice to the user side;
[0010] Among them, the permission-to-inventory notice is used to instruct the client to display the inventory status of the target sample as the in-inventory status in the sample inventory interface.
[0011] A method for processing sample inventory includes:
[0012] Obtain the sample inventory information of the target sample and send the sample inventory information to the server; the sample inventory information includes the sample code of the target sample.
[0013] After receiving the permission-to-inventory notice sent by the server, display the inventory status of the target sample as the in-inventory status in the sample inventory interface; among them, the permission-to-inventory notice is sent by the server when it determines that the sample code of the target sample exists in the LIS system.
[0014] A method for processing sample inventory includes:
[0015] The client obtains the sample inventory information of the target sample and sends the sample inventory information to the server, where the sample inventory information includes the sample code of the target sample.
[0016] The server receives the sample inventory information of the target sample sent by the client, sends an information query request to the LIS system, and receives the information query result returned by the LIS system.
[0017] After the server determines that the sample code of the target sample exists in the LIS system based on the information query result, it sends a permission-to-inventory notice to the client.
[0018] After the client receives the permission-to-inventory notice sent by the server, it displays the inventory status of the target sample as the in-inventory status in the sample inventory interface.
[0019] A processing device for sample inventory includes:
[0020] An information receiving module, configured to receive the sample inventory information of the target sample sent by the client; the sample inventory information includes the sample code of the target sample.
[0021] An information query module, configured to send an information query request to the LIS system and receive the information query result returned by the LIS system.
[0022] An inventory notice module, configured to send a permission-to-inventory notice to the client after determining that the sample code of the target sample exists in the LIS system based on the information query result; among them, the permission-to-inventory notice is used to instruct the client to display the inventory status of the target sample as the in-inventory status in the sample inventory interface.
[0023] A processing device for sample warehousing, comprising:
[0024] An information processing module, configured to obtain sample warehousing information of a target sample and send the sample warehousing information to a server; the sample warehousing information includes a sample code of the target sample;
[0025] A warehousing display module, configured to display the inventory status of the target sample as an in-warehouse status on a sample warehousing interface after receiving an in-warehouse permission notice sent by the server;
[0026] Wherein, the in-warehouse permission notice is sent by the server when it is determined that the sample code of the target sample exists in the LIS system.
[0027] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to execute the steps of the method described above.
[0028] A computer device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to execute the method described above.
[0029] A sample library management system, comprising:
[0030] The sample library management system includes a user side and a server side, and the user side and the server side are communicatively connected; wherein, the user side is configured to execute the method described above; the server side is configured to execute the method described above.
[0031] In the above sample warehousing processing method, device, computer-readable storage medium, computer device and sample library management system, the user side sends sample warehousing information of a target sample to the server side, the sample warehousing information includes the sample code of the target sample, and when the server side determines that the sample code of the target sample exists in the LIS system, the server side sends an in-warehouse permission notice to the user side, instructing the user side to display the inventory status of the target sample as an in-warehouse status on the sample warehousing interface. In this way, during the sample warehousing process, by verifying the accuracy of the entered sample code through the LIS system, it is possible to effectively avoid errors in the sample code, avoid the occurrence of dirty data, and improve the reliability of sample warehousing. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is an application environment diagram of the sample warehousing processing method in an embodiment;
[0033] Figure 2 It is a flowchart of the sample warehousing processing method in an embodiment;
[0034] Figure 3Schematic flowchart of the processing method for sample warehousing in an embodiment;
[0035] Figure 4 Schematic interface diagram of the sample warehousing interface in an embodiment;
[0036] Figure 5 Schematic flowchart of the processing method for sample warehousing in an embodiment;
[0037] Figure 6 Schematic flowchart of the processing method for sample warehousing in an embodiment;
[0038] Figure 7 Block diagram of the structure of the sample warehousing processing device in an embodiment;
[0039] Figure 8 Block diagram of the structure of the sample warehousing processing device in an embodiment;
[0040] Figure 9 Block diagram of the structure of a computer device in an embodiment;
[0041] Figure 10 Block diagram of the structure of a computer device in an embodiment. Detailed implementation manners
[0042] Regarding the terms used in this application, the terms "include", "comprise", "have", "show", and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to the clearly listed steps or units, but may also include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or devices. The terms "a plurality", "a variety", and any variations thereof mean at least two, unless otherwise specifically and clearly defined; the terms "first", "second", etc. are used to make naming distinctions for similar objects, but these objects themselves are not limited by these terms and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order, or primary-secondary relationship of the indicated technical features, etc.
[0043] For the convenience of understanding the technical implementation of this application, the application scenarios of this application will be described first:
[0044] This application can be applied to the field of sample information management, and the specific application environment can be as Figure 1As shown, it involves a sample library management system 110 and a LIS system 120 (Laboratory Information System), which are communicatively connected. The sample library management system 110 includes a user side 1101 and a server side 1102, and can specifically adopt a B / S architecture (Browser / Server Architecture) or a C / S architecture (Client / Server).
[0045] Specifically, the user side 1101 obtains the sample warehousing information of the target sample and sends it to the server side 1102, where the sample warehousing information includes the sample code of the target sample. Furthermore, the server side 1102 sends an information query request to the LIS system 120, and after receiving the information query result returned by the LIS system 120, determines whether the sample code of the target sample exists in the LIS system 120 based on the information query result. If it is determined that it exists, an allow warehousing notice is sent to the user side 1101. Correspondingly, after receiving the allow warehousing notice, the user side 1101 displays the inventory status of the target sample as the warehousing status in the sample warehousing interface.
[0046] Among them, the user side 1101 can be, but is not limited to, various desktop computers, laptop computers, tablet computers, Internet of Things devices, smart phones, etc. The server side 1102 can be implemented by an independent server or a server cluster composed of multiple servers. The LIS system 120 is a computer software system for laboratory test information management, which can realize information collection, storage, processing, transmission, query of the laboratory, and provide analysis and diagnosis support.
[0047] The following further elaborates on the present application in conjunction with the accompanying drawings and embodiments.
[0048] In some embodiments, as Figure 2 shown, a method for processing sample warehousing is provided. Taking this method applied to the server side 1102 in the above Figure 1 as an example for illustration, the method may include the following steps S202 to S206.
[0049] S202, receive the sample warehousing information of the target sample sent by the user side.
[0050] The target sample is a sample that needs to be processed for sample storage. Specifically, it can be a biological sample, which is a body fluid or tissue that has been collected and used for detection and analysis, such as blood, saliva, urine, cerebrospinal fluid, skin, or other tissues. In practical applications, sample storage processing usually involves two aspects: physical preservation and information processing. Physical preservation means placing the target sample in the corresponding storage location. For example, the target sample can be placed in a sample tube, and then the sample tube can be inserted into the storage hole of the storage container, and then the storage container can be placed in the refrigerator for preservation. Information processing is to obtain the sample storage information of the target sample and perform corresponding information processing on it.
[0051] The sample storage information of the target sample can be the information related to the target sample obtained by the user terminal during the sample storage registration process. Specifically, it can include the sample code of the target sample. Among them, the sample code can also be called the sample number or sample barcode number, which is the unique identifier of the sample. Specifically, it can be a string generated according to a preset coding rule, usually including one or more of numbers, letters, and other characters. Exemplarily, the sample code of the target sample can be a 12-bit string, specifically including an 8-bit time code and a 4-bit auto-increment code. Among them, the 8-bit time code includes a 4-bit year code, a 2-bit month code, and a 2-bit date code, such as 202310210001, 202310210002, and 202310220026.
[0052] It should be noted that in other embodiments, in addition to including the sample code of the target sample, the sample storage information may also include other relevant information of the target sample, such as the sample location information, sample feature information, sample outpatient information, and sample detection information of the target sample, etc. Any one or more of them. Among them, the sample location information can be used to describe the physical storage location of the target sample, specifically, such as which storage hole of which storage container in which refrigerator the target sample is stored. The sample feature information can be used to describe the sample properties and characteristics of the target sample, specifically, such as the sample type, sample validity period, etc. of the target sample. The sample outpatient information, that is, the outpatient information related to the target sample, specifically, such as the patient name, patient gender, medical record number, etc. corresponding to the target sample. The sample detection information can be used to describe the sample detection situation of the target sample, specifically, such as the sample collection time, detection instrument, etc.
[0053] S204, send an information query request to the LIS system and receive the information query result returned by the LIS system.
[0054] The information query request can be used to trigger the LIS system to provide the corresponding information query result to the server. The information query result can be used to determine whether the sample code of the target sample exists in the LIS system.
[0055] In this embodiment, after receiving the sample warehousing information of the target sample, the server sends an information query request to the LIS system, and the LIS system returns a corresponding information query result to the server according to the received information query request. It can be understood that there can be various specific implementation manners for sending the information query request and the information query result between the server and the LIS system, as long as it can support the server to determine whether the sample code of the target sample exists in the LIS system.
[0056] Exemplarily, the sample code of the target sample can be carried in the information query request. This request can be used to trigger the LIS system to search for the sample code of the target sample among the recorded sample codes and return an information query result carrying a search success flag or a search failure flag to the server. The recorded sample codes include the sample codes entered into the LIS system within a preset time period. Specifically, the server sends the information query request to the LIS system. After receiving the information query request, the LIS system searches for the sample code of the target sample among the recorded sample codes. If found, it sends an information query result carrying a search success flag to the server. If not found, it sends an information query result carrying a search failure flag to the server.
[0057] S206. After determining that the sample code of the target sample exists in the LIS system based on the information query result, send an allow warehousing notice to the user terminal.
[0058] In this embodiment, after receiving the information query result returned by the LIS system, the server determines whether the sample code of the target sample exists in the LIS system based on the information query result. If it is determined that it exists, an allow warehousing notice is sent to the user terminal. There can also be various specific implementation manners for the server to determine whether the sample code of the target sample exists in the LIS system. For example, when the server receives an information query result carrying a search success flag, it can determine that the sample code of the target sample exists in the LIS system based on the search success flag. On the contrary, when receiving an information query result carrying a search failure flag, it is determined that the sample code of the target sample does not exist in the LIS system.
[0059] The allow warehousing notice can be used to instruct the user terminal to display the inventory status of the target sample as the warehousing status on the sample warehousing interface. Among them, the warehousing status is an inventory status related to the sample warehousing process. If the user terminal displays the inventory status of the target sample as the warehousing status, it indicates that the server has confirmed that the sample code information of the target sample is correct.
[0060] In a specific embodiment, the warehousing status may include the warehoused status, which indicates that the server has confirmed that the sample coding information of the target sample is correct and the target sample has been successfully warehoused. Accordingly, the warehousing permission notice is specifically used to instruct the client to display the inventory status of the target sample as the warehoused status in the sample warehousing interface. That is, after the server determines that the sample coding of the target sample exists in the LIS system, it sends a warehousing permission notice to the client, and then the client displays the inventory status of the target sample as the warehoused status in the sample warehousing interface to prompt the user that the sample coding information of the target sample is correct and the target sample has been successfully warehoused.
[0061] It should be noted that, as described above, in addition to the sample coding of the target sample, the sample warehousing information received by the server may also include the sample location information of the target sample. In this regard, after the server determines that the sample coding of the target sample exists in the LIS system, in addition to sending a warehousing permission notice to the client to instruct the client to display the inventory status of the target sample as the warehoused status in the sample warehousing interface, it may also bind and store the sample coding and sample location information of the target sample, and specifically, data persistence storage may be adopted to write it into the database.
[0062] For the above sample warehousing processing method, the client sends the sample warehousing information of the target sample to the server, and the sample warehousing information includes the sample coding of the target sample. When the server determines that the sample coding of the target sample exists in the LIS system, it sends a warehousing permission notice to the client to instruct the client to display the inventory status of the target sample as the warehoused status in the sample warehousing interface. In this way, during the sample warehousing process, by verifying the accuracy of the entered sample coding through the LIS system, it can effectively avoid errors in sample coding, avoid the occurrence of dirty data, and improve the reliability of sample warehousing.
[0063] In some embodiments, the sample warehousing information of the target sample is sent when the client verifies the coding rule of the sample coding of the target sample and the verification result is passed.
[0064] The coding rule verification is used to verify whether the format of the sample coding of the target sample conforms to the preset coding rule. If the formats of all the codings in the sample coding of the target sample conform to the preset coding rule, the verification result is passed; otherwise, if there is a coding in the sample coding of the target sample whose format does not conform to the preset coding rule, the verification result is not passed. It should be noted that there are various specific implementation manners of the coding rule verification. For example, the regular expression verification method or the coding length verification method can be adopted.
[0065] In this embodiment, the client can perform a coding rule check on the sample code of the target sample. Only when the check result passes the verification, will the server receive the sample warehousing information of the target sample sent by the client. Conversely, if the check result fails the verification, the server will not receive the sample warehousing information of the target sample, and correspondingly will not execute subsequent processes such as sending an information query request to the LIS system.
[0066] In this way, in this embodiment, formatting errors in the sample code of the target sample are identified in advance through coding rule verification on the client side, and only when there are no formatting errors will the sample warehousing information of the target sample be sent to the server, which can reduce ineffective work and improve the efficiency of sample warehousing.
[0067] In some embodiments, before the step of sending an information query request to the LIS system, the following steps may further be included: searching for the sample code of the target sample in the warehoused sample codes; if the sample code of the target sample is found in the warehoused sample codes, sending a coding duplicate notice to the client. Based on this, the step of sending an information query request to the LIS system may include the following steps: if the sample code of the target sample is not found in the warehoused sample codes, sending an information query request to the LIS system.
[0068] The warehoused sample codes are the sample codes of the warehoused samples stored in advance. Specifically, for each target sample, when the server determines that there is the sample code of the target sample in the LIS system and binds and stores the sample code and sample location information of the target sample, the target sample becomes a warehoused sample, and its sample code is a warehoused sample code.
[0069] The coding duplicate notice is used to instruct the client to give a coding duplicate prompt on the sample warehousing interface.
[0070] In this embodiment, after the server receives the sample warehousing information of the target sample, it will not directly trigger the task of sending an information query request to the LIS system, but first search for the sample code of the target sample in the warehoused sample codes. If not found, it indicates that the target sample is not a warehoused sample, and then an information query request will be sent to the LIS system to determine whether there is the sample code of the target sample in the LIS system; but if found, it indicates that the target sample is a warehoused sample and this operation is a duplicate warehousing operation. The server will not execute processes such as sending an information query request to the LIS system, but will send a coding duplicate notice to the client, instructing the client to give a coding duplicate prompt on the sample warehousing interface to prompt the user not to perform duplicate warehousing operations.
[0071] In this way, the server can pre-identify and avoid duplicate sample warehousing in advance, which can effectively prevent information chaos in the sample library management system.
[0072] In some embodiments, the information query result includes the recorded sample code. Based on this, after determining the sample code of the target sample in the LIS system, the step of sending a permission-to-store notice to the user terminal may include the following steps: If the sample code of the target sample is found in the recorded sample codes, send a permission-to-store notice to the user terminal.
[0073] The recorded sample codes may include the sample codes entered into the LIS system within a preset time period. In practical applications, relevant staff can enter the sample codes through the human-computer interaction interface provided by the LIS system. The LIS system records the sample codes and the entry times, and then the sample codes entered into the LIS system within the preset time period can be searched as needed.
[0074] Among them, the preset time period can be set based on actual needs. For example, the preset time period is set as the most recent T days. The most recent T days specifically include the current day and the previous T - t days of the current day, where t = 1,..., T - 1, and both T and t are positive integers. Preferably, T ≤ 7. For example, T can be preset as 3, that is, the preset time period is the most recent 3 days, including the current day, yesterday (the previous 1 day of the current day), and the day before yesterday (the previous 2 days of the current day). In this way, setting the preset time period as a relatively close time period can not only meet the business needs but also make the amount of information in the information query result moderate, which is conducive to data processing by the LIS system and the server.
[0075] In this embodiment, the information query request is used to request the LIS system to provide the recorded sample codes to the server. That is, after the server sends an information query request to the LIS system, it will trigger the LIS system to search for the recorded sample codes, generate an information query result based on the recorded sample codes, and then send it to the server. Subsequently, the server itself searches for the sample code of the target sample in the recorded sample codes included in the information query result. If found, it is determined that the sample code of the target sample exists in the LIS system, and a permission-to-store notice is sent to the user terminal.
[0076] It should be noted that if the server does not find the sample code of the target sample in the recorded sample codes, that is, it is determined that the sample code of the target sample does not exist in the LIS system, the server will send a rejection-to-store notice to the user terminal, instructing the user terminal to display a prompt content related to the incorrect information entry of the sample code of the target sample in the sample storage interface, so as to prompt the user that the sample code information of the target sample is incorrect and the storage fails.
[0077] In this way, there is no need for the LIS system to search for the sample code of the target sample in the recorded sample codes. Instead, only the LIS system needs to send the recorded sample codes to the server, and the server itself searches for the sample code of the target sample in the recorded sample codes, which can better be compatible with different LIS manufacturers.
[0078] In some embodiments, the warehousing status includes a waiting-for-warehousing status. The warehousing permission notice is specifically used to instruct the client to display the inventory status of the target sample as the waiting-for-warehousing status in the sample warehousing interface, and the sample warehousing information further includes the sample location information of the target sample. Based on this, after the step of determining that there is a sample code of the target sample in the LIS system and sending a warehousing permission notice to the client, the following steps may further be included: After receiving the warehousing confirmation notice sent by the client, the sample code of the sample waiting for warehousing and the sample location information are correspondingly bound and stored based on the warehousing confirmation notice.
[0079] The sample location information can be used to characterize the storage location of the target sample. In practical applications, usually the sample tube storing the sample is inserted into the storage hole of the storage container, and then the sample container is placed in the refrigerator for storage. Correspondingly, the sample location information of the target sample can be specifically used to describe the refrigerator storing the target sample, the storage container, and the storage hole.
[0080] The waiting-for-warehousing status is the warehousing ready status, indicating that the server has confirmed that the sample code information of the target sample is correct but the target sample has not been warehoused yet. Specifically, after the server determines that there is a sample code of the target sample in the LIS system, it can first instruct the client to display the inventory status of the target sample as the waiting-for-warehousing status in the sample warehousing interface, so as to prompt the user that the sample code information of the target sample is correct and can be warehoused, but the warehousing has not been completed yet and further confirmation is required.
[0081] The warehousing confirmation notice is sent by the client to the server after detecting a warehousing confirmation operation, and is used to notify the server to correspondingly bind and store the sample code of the sample waiting for warehousing and the sample location information.
[0082] The sample waiting for warehousing is the sample that is determined to be in the waiting-for-warehousing status currently after the client detects a warehousing confirmation operation. After the client detects a warehousing confirmation operation, the sample waiting for warehousing is determined. There may be only one sample waiting for warehousing, or there may be multiple samples. Specifically, if the client detects a warehousing confirmation operation every time after displaying the inventory status of a target sample as the waiting-for-warehousing status, then there is only one target sample in the waiting-for-warehousing status each time the client determines the sample waiting for warehousing, and the sample waiting for warehousing only includes this one target sample. However, in other cases, if the client detects a warehousing confirmation operation only after successively displaying the inventory status of multiple target samples as the waiting-for-warehousing status, the sample waiting for warehousing determined by the client will correspondingly include multiple target samples.
[0083] In this embodiment, after the server determines that there is a sample code of a target sample in the LIS system, it sends a notification allowing storage to the client, instructing the client to first display the inventory status of the target sample as waiting for storage in the sample storage interface, so as to prompt the user that the sample code information of the target sample is correct, but the target sample has not been stored yet. At this time, the server will not bind and store the sample code and sample location information of the target sample. Subsequently, after the client detects an inventory confirmation operation triggered in the sample storage interface, it sends an inventory confirmation notification to the server, and the server then binds and stores the sample code and sample location information of the sample waiting for storage based on the inventory confirmation notification.
[0084] In this way, when there are many samples to be stored, it is possible to first confirm the correctness of the sample codes of each sample one by one, and then uniformly store the samples with correct information, which can improve the efficiency of the storage operation.
[0085] In some embodiments, after the step of sending an information query request to the LIS system and receiving the information query result returned by the LIS system, the following steps may further be included: If it is determined that there is no sample code of the target sample in the LIS system, a notification rejecting storage is sent to the client.
[0086] The notification rejecting storage is generated when the server determines that there is no sample code of the target sample in the LIS system, and is used to instruct the client to give a storage failure prompt in the sample storage interface, that is, to instruct the client to display prompt content related to incorrect entry of the sample code information of the target sample in the sample storage interface. The specific content of the notification rejecting storage can be set according to actual needs, and may include at least one of a query failure prompt message, an identification information of the substantial error code in the sample code of the target sample, and an alternative code corresponding to the sample code of the target sample.
[0087] In some embodiments, the notification rejecting storage may include a query failure prompt message, which is used to instruct the client to display the query failure prompt message in the sample storage interface.
[0088] Among them, the query failure prompt message is used to prompt the user that there is no sample code of the target sample in the LIS system. The content of the query failure prompt message can be preset according to actual needs. For example, it may include a preset text message, specifically such as the text message "The sample code cannot be queried in the LIS system, and the entry of the sample code information is incorrect".
[0089] In other embodiments, the notification rejecting storage may include an alternative code, which is used to instruct the client to display the alternative code in the sample storage interface.
[0090] It should be noted that the sample code of the target sample does not exist in the LIS system, indicating that there is an error in the information entry of the sample code of the target sample. The server can analyze and determine a possibly correct sample code based on the sample code of the target sample, that is, the alternative code corresponding to the sample code of the target sample, and send a rejection notice for storage to instruct the client to display the alternative code in the sample storage interface, so as to recommend the alternative code to the user for the user to replace, thereby efficiently correcting the error.
[0091] Regarding the specific implementation manner for the server to determine the alternative code, exemplarily, the server can obtain the information query result carrying the recorded sample codes from the LIS system, then calculate the similarity between the sample code of the target sample and each recorded sample code respectively, and further determine the alternative code corresponding to the sample code of the target sample based on a predetermined number of recorded sample codes with the highest similarity. The similarity can be calculated in any applicable manner, such as using calculation methods like Hamming distance, cosine similarity, etc.
[0092] In some other embodiments, the rejection notice for storage may include identification information of the substantial error code, which is used to instruct the client to mark the substantial error code in the sample code of the target sample displayed in the sample storage interface according to the identification information.
[0093] Among them, the substantial error code is the code with a substantial error in the sample code of the target sample. The substantial error is different from the formatting error. The formatting error code does not conform to the preset coding rules, while the substantial error code conforms to the preset coding rules, but the information itself is incorrect. The identification information is the information used to determine the substantial error code in the sample code of the target sample. Specifically, it can be the position information of the substantial error code, that is, the number of digits of the substantial error code in the sample code of the target sample. For example, the 5th to 6th digits in the sample code of the target sample.
[0094] Regarding the specific implementation manner for determining the substantial error code in the sample code of the target sample, exemplarily, after the server determines the alternative code, it can compare the sample code of the target sample with the alternative code, and the part of the sample code of the target sample that is different from the alternative code is its substantial error code.
[0095] For ease of understanding, a specific example is used for illustration: The sample code of the target sample is 202301210001, and the alternative codes include 202310210001, 202310200001, and 202310190001. The sample code of the target sample is compared with these three alternative codes respectively. The parts of the sample code of the target sample that are different from the first alternative code include the 5th, 6th, and 8th digits of the code, a total of 3 digits. The parts that are different from the second alternative code also include the above-mentioned 3 digits, and the parts that are different from the third alternative code include the 4 digits from the 5th to the 8th digit. Thus, the 4 digits from the 5th to the 8th digit can be determined as the substantial error codes in the sample code of the target sample.
[0096] To mark the substantial error codes, it can be to highlight the substantial error codes in the sample code of the target sample displayed in the sample warehousing interface. Specifically, for example, any one or more of the ways such as bolding, highlighting, and displaying in a preset color can be used for highlighting.
[0097] In addition, it should be noted that the rejection warehousing notice can also include any combination of the query failure prompt information, the identification information of the substantial error codes in the sample code of the target sample, and the alternative codes corresponding to the sample code of the target sample. At this time, the specific function of the rejection warehousing notice corresponds to the information it includes. For example, when including both the query failure prompt information and the identification information of the substantial error codes, the rejection warehousing notice can be used to instruct the client to display the query failure prompt information in the sample warehousing interface, and instruct the client to mark the substantial error codes in the sample code of the target sample displayed in the sample warehousing interface according to the identification information.
[0098] In this way, when the server determines that the sample code of the target sample does not exist in the LIS system, it will not perform tasks such as sending an allow warehousing notice and binding and storing the sample code of the target sample and the sample location information. Instead, it will send a rejection warehousing notice to the client, instructing the client to display the prompt content related to the incorrect entry of the sample code information of the target sample, which can help the user timely understand and correct the incorrect information.
[0099] In some embodiments, the sample code of the target sample includes a time code and an increment code. Based on this, the ways to obtain the alternative codes corresponding to the sample code of the target sample include at least one of the following:
[0100] Item 1: Modify the time code in the sample code of the target sample according to the correction date to obtain the associated sample code of the sample code of the target sample; based on the associated sample code of the sample code of the target sample, obtain the alternative code corresponding to the sample code of the target sample; wherein, the correction date includes the current date and the dates other than the invalid dates among the dates of the previous N - i days of the current date, the invalid dates include the dates corresponding to the time codes in the sample code of the target sample, N is the preset reference number of days, and both N and i are positive integers, i = 1,..., N - 1.
[0101] Item 2: Swap the M-th code and the (M + 1)-th code in the increment code of the sample code of the target sample to obtain the associated sample code of the sample code of the target sample; based on the associated sample code of the sample code of the target sample, obtain the alternative code corresponding to the sample code of the target sample; wherein, both M and j are positive integers, j is the total number of digits of the increment code, M = 1,..., j - 1.
[0102] In this embodiment, the sample code of the target sample includes a time code and an increment code. Specifically, the time code may include a year code, a month code, and a date code, and the increment code is an increment sequence. The coding rule of the sample code of the target sample can be preset based on actual needs. For example, the sample code of the target sample may include a 4-digit year code, a 2-digit month code, a 2-digit date code, and a 4-digit increment code, specifically such as 202310210001, 202310220026.
[0103] In some embodiments, the time code in the sample code of the target sample can be modified according to the correction date to obtain the associated sample code of the sample code of the target sample. Among them, the correction date includes the current date and the dates other than the invalid dates among the dates of the previous N - i days of the current date, the invalid dates include the dates corresponding to the time codes in the sample code of the target sample, N is the preset reference number of days, and both N and i are positive integers, i = 1,..., N - 1.
[0104] Specifically, N can be set based on actual needs. For example, N is set to 3 days, and the current date and the dates of the previous N - i days of the current date include the dates of the last three days, that is, the current day, the previous 1 day of the current day, and the previous 2 days of the current day.
[0105] It should be noted that the number of associated sample codes obtained through this embodiment is the same as the number of correction dates, which is N or N - 1. Specifically, if the date corresponding to the time code in the sample code of the target sample is not included in the current date and the dates of the first N - i days before the current date, then the number of correction dates is N, and the number of associated sample codes is also N accordingly. Conversely, if it is included, the date corresponding to the time code in the sample code of the target sample does not belong to the correction dates, then the number of correction dates is N - 1, and the number of associated sample codes is also N - 1 accordingly.
[0106] For example, the sample code of the target sample is 202301210001, the preset reference number of days N is 3 days, and the current date is October 21, 2023. In this case, i can take 1 and 2 in turn. The current date and the dates of the first N - i days before the current date include: the current date (October 21, 2023), the date of the day before the current day (October 20, 2023), and the date of the second day before the current day (October 19, 2023). The invalid date includes January 21, 2023 corresponding to the time code "20230121". The correction dates include October 21, 2023, October 20, 2023, and October 19, 2023. Furthermore, the time code in the sample code of the target sample can be modified according to these three correction dates respectively, and the three associated sample codes 202310210001, 202310200001, and 202310190001 are obtained correspondingly.
[0107] In addition, after obtaining the associated sample codes of the sample codes of the target sample, the sample codes that have been stored in the database can be excluded, and the remaining associated sample codes can be determined as the alternative codes corresponding to the sample codes of the target sample, so as to avoid misusing the sample codes that have been stored in the database when the user corrects the misrecorded sample codes of the target sample, which affects the sample storage efficiency due to repeated storage operations.
[0108] In some other embodiments, the M - th code and the (M + 1)-th code in the increment code of the sample code of the target sample can be swapped to obtain the associated sample code of the sample code of the target sample. Wherein, both M and j are positive integers, j is the total number of digits of the increment code, and M = 1,..., j - 1.
[0109] Specifically, j can be preset based on actual needs. Continuing with the above example, the sample code of the target sample includes 4 - digit year code, 2 - digit month code, 2 - digit date code, and 4 - digit increment code. The total number of digits of the increment code is 4, that is, j is 4.
[0110] It should be noted that since the adjacent codes in the increment code are swapped in pairs, the number of associated sample codes obtained through this embodiment is j - 1.
[0111] For example, the sample code of the target sample is 202310211234, j is 4, and M can take 1, 2, and 3 in sequence. In this case, when M = 1, the first and second codes in the incremented code of the sample code of the target sample are swapped to obtain 202310212134; when M = 2, the second and third codes in the incremented code of the sample code of the target sample are swapped to obtain 202310211324; when M = 3, the third and fourth codes in the incremented code of the sample code of the target sample are swapped to obtain 202310211243. Thus, the three associated sample codes 202310212134, 202310211324, and 202310211243 are obtained.
[0112] Similarly, in this embodiment, after obtaining the associated sample codes of the sample code of the target sample, the already stored sample codes can also be excluded therefrom, and the remaining associated sample codes can be determined as the alternative codes corresponding to the sample code of the target sample, which will not be elaborated here.
[0113] In some embodiments, as Figure 3 shown, a method for processing sample storage is also provided. Taking the application of this method to the client 1101 in the above Figure 1 as an example, this method may include the following steps S302 and S304.
[0114] S302, obtain the sample storage information of the target sample, and send the sample storage information to the server.
[0115] The sample storage information of the target sample may include the sample code of the target sample. Specifically, the client can obtain the sample code of the target sample in various ways. For example, the barcode scanning method can be adopted. Specifically, a barcode scanning device connected to the client can be set. The user uses the barcode scanning device to scan the graphic code of the target sample, and the client can obtain the sample code of the target sample. The barcode scanning device is specifically such as a barcode scanner, a tablet, a mobile phone, or any other applicable device, and the graphic code is specifically such as a two-dimensional code or a bar code, etc., which can be pasted on the sample tube containing the target sample; for another example, the method of entering through the sample storage interface can also be adopted. Specifically, the client can provide a sample storage interface, and the user performs a coding entry operation through the coding entry control set in the sample storage interface. Then, the client obtains the sample code of the target sample based on this coding entry operation.
[0116] In addition, as described above, in the sample storage information of the target sample obtained by the client, in addition to the sample code of the target sample, other relevant information of the target sample may also be included. For example, it may include any one or more of the sample location information, sample feature information, sample outpatient information, and sample detection information of the target sample.
[0117] For ease of understanding, the following describes the situation where the client obtains sample storage information in combination with a specific example:
[0118] The client can provide a sample storage interface as Figure 4 shown. The interface includes a container setting area 410, a sample filling area 420, and a sample information area 430. Among them, candidate sample containers are displayed in the container setting area 410, and the candidate sample containers correspond one-to-one with the storage containers placed in the corresponding refrigerator; the sample filling area 420 includes a code entry control and candidate sample holes, and the candidate sample holes correspond one-to-one with the storage holes set in the storage container corresponding to the selected sample container; the sample information area 430 includes a plurality of sample information entry controls. Based on this, the client can obtain the sample code and sample location information of the target sample through the container setting area 410 and the sample filling area 420 respectively, and obtain the sample feature information (such as sample type and sample validity period, etc.), sample outpatient information (such as medical record number, patient name, and patient gender, etc.), and sample detection information (such as receipt time, detection instrument, etc.) through the sample information area 430.
[0119] Specifically, for example, when the user needs to perform sample storage processing on the target sample A, physically, it is planned to place the sample tube containing the target sample A in the 36th storage hole of the 6th sample box on the first layer of the No. 1 high-risk sample refrigerator (i.e., the storage hole in the fourth row and sixth column of the 6th sample box). Correspondingly, the user needs to select the sample container corresponding to the 6th sample box on the first layer of the No. 1 high-risk sample refrigerator in the container setting area 410 of the sample storage interface. Then, the sample holes included in the selected sample container will be correspondingly displayed in the sample filling area 420. The user then selects the sample hole corresponding to the 36th storage hole from them, and the user enters the sample code 202402280001 of the target sample in the code entry control of the sample filling area 420 and performs an associated trigger operation (such as pressing the enter key on the keyboard). Then, in response to this associated trigger operation, the client obtains the sample code and sample location information of the target sample A. In addition, the user inputs information such as the sample type, patient name, patient gender, receipt time, and detection instrument of the target sample A through the corresponding information entry controls in the sample information area 430 and triggers the save, and the client then obtains other sample storage information of the target sample A accordingly.
[0120] In addition, in this embodiment, after the client obtains the sample warehousing information of the target sample, it will send it to the server. There can be various specific implementation manners. For example, after the client obtains the sample warehousing information of the target sample, it can directly trigger the sending task, or it can first determine whether the preset sending condition is satisfied based on the sample code of the target sample, and only trigger the sending task when the condition is satisfied, thereby avoiding the adverse effects caused by abnormal sample codes of the target sample in advance and improving the correctness and efficiency of sample warehousing.
[0121] S304. After receiving the warehousing permission notice sent by the server, display the inventory status of the target sample as the warehousing status in the sample warehousing interface.
[0122] The warehousing permission notice is sent by the server when it determines that the sample code of the target sample exists in the LIS system. In other words, after the server receives the sample code of the target sample sent by the client, it will determine whether the sample code of the target sample exists in the LIS system. When it is determined that there is a match, it indicates that the information of the sample code of the target sample is correct, and then the server sends the warehousing permission notice to the client. Specifically, as described above, after the server receives the sample warehousing information of the target sample, it sends an information query request to the LIS system. The LIS system returns the corresponding information query result to the server based on the received information query request. Then, the server determines whether the sample code of the target sample exists in the LIS system based on the information query result.
[0123] The warehousing status is an inventory status related to the sample warehousing process. When the client displays the inventory status of the target sample as the warehousing status in the sample warehousing interface, it indicates that the server has confirmed that the sample code information of the target sample is correct. In a specific implementation manner, the warehousing status may include the warehoused status. After the client receives the warehousing permission notice sent by the server, it displays the inventory status of the target sample as the warehoused status in the sample warehousing interface to prompt the user that the sample code information of the target sample is correct and the warehousing has been successfully completed.
[0124] In addition, the specific implementation manner of displaying the inventory status of the target sample as the warehoused status can be implemented in any applicable way, and this application does not make a limitation. For example, an inventory registration list can be displayed in the sample warehousing interface. The list has columns such as sample location information, sample code, and inventory status. After the client obtains the sample warehousing information of the target sample, a new record corresponding to the target sample is added to the list. Subsequently, after the client receives the warehousing permission notice sent by the server, an identifier corresponding to the warehoused status is displayed in the inventory status column of the corresponding record, such as directly displaying the text description of "warehoused".
[0125] In the above method for processing sample warehousing, the client sends sample warehousing information of the target sample to the server. The sample warehousing information includes the sample code of the target sample. When the server determines that the sample code of the target sample exists in the LIS system, it sends a warehousing permission notice to the client, instructing the client to display the inventory status of the target sample as the warehousing status in the sample warehousing interface. In this way, during the sample warehousing process, by verifying the accuracy of the entered sample code through the LIS system, it can effectively avoid errors in the sample code, prevent the occurrence of dirty data, and improve the reliability of sample warehousing.
[0126] In some embodiments, before the step of sending the sample warehousing information to the server, the following steps may further be included: verifying the coding rule of the sample code of the target sample; if the verification result is that the verification fails, marking the format error code in the sample code of the target sample displayed in the sample warehousing interface. Based on this, the step of sending the sample warehousing information to the server may include the following steps: if the verification result is that the verification passes, sending the sample warehousing information to the server.
[0127] In this embodiment, after the client obtains the sample warehousing information of the target sample, it first verifies the coding rule of the sample code of the target sample. If the verification result is that the verification fails, it marks the format error code in the sample code of the target sample displayed in the sample warehousing interface. If the verification result is that the verification passes, it sends the sample warehousing information to the server. Among them, the specific limitations regarding the coding rule verification can be referred to the previous description and will not be elaborated here.
[0128] The format error code is the code with a formatting error in the sample code of the target sample, which can be determined by verifying the coding rule of the sample code of the target sample. In this embodiment, after the client obtains the sample code of the target sample, it can display the sample code in the sample warehousing interface. Furthermore, after determining the format error code in the sample code of the target sample, it marks the format error code in the sample warehousing interface. The marking can be to highlight the format error code in the sample code of the target sample displayed in the sample warehousing interface. Specifically, for example, it can be highlighted in any one or more ways such as bold, highlighter, and display in a preset color.
[0129] For ease of understanding, the situations of passing the verification and failing the verification are described in combination with specific examples:
[0130] The preset coding rule is: the sample code sequentially includes 4 - digit year coding, 2 - digit month coding, 2 - digit date coding, and 4 - digit self - increment coding.
[0131] For example, the client obtains the sample warehousing information of the target sample, where the sample code of the target sample is 202313230007. The client verifies the coding rule of this sample code and identifies that the two-digit month code at the 5th and 6th positions is 13, which is not within the normal month values of 01 to 12 and does not conform to the preset coding rule. Then, it is determined that the verification result fails, and the 5th and 6th positions in this sample code are determined to be the format error codes in the sample code. In this regard, the client will not send the sample warehousing information of the target sample to the server, but will highlight the 5th and 6th positions in the sample code of the target sample displayed on the sample warehousing interface to prompt the user that there are format errors in these two codes.
[0132] For another example, the sample code of the target sample obtained is 20231023001. The client verifies the coding rule of this sample code and identifies that the coding length of this sample code is 11, rather than the normal coding length of 12, which does not conform to the preset coding rule. Then, it is determined that the verification result fails, and the three self-incrementing codes from the 9th to the 11th positions in this sample code are the format error codes in the sample code. In this regard, the client will not send the sample warehousing information of the target sample to the server, but will highlight the 9th to the 11th positions in the sample code of the target sample displayed on the sample warehousing interface to prompt the user that there are format errors in these three codes.
[0133] For yet another example, the sample code of the target sample obtained is 202310230001. The client verifies the coding rule of this sample code and identifies that the formats of all the codes in this sample code conform to the preset coding rule. Then, it is determined that the verification result passes, and the sample warehousing information of the target sample is sent to the server for subsequent processing by the server.
[0134] In this way, in this embodiment, the client can identify the format errors in the sample code of the target sample in advance, accurately prompt the user, and guide the user to make targeted and efficient corrections, which can avoid the impact of information entry errors on the correctness and efficiency of sample warehousing.
[0135] In some embodiments, before the step of displaying the inventory status of the target sample as the warehousing status on the sample warehousing interface after receiving the warehousing permission notice sent by the server, the following steps may further be included: If a coding duplication notice sent by the server is received, a coding duplication prompt is made on the sample warehousing interface.
[0136] The encoding duplication notice is sent by the server when it finds the sample encoding of the target sample among the sample encodings already stored in the database. In other words, after receiving the sample encoding of the target sample, the server first searches for the sample encoding of the target sample among the sample encodings already stored in the database, and only when the sample encoding of the target sample is found, will it send an encoding duplication notice to the client.
[0137] Encoding duplication prompt is performed in the sample storage interface. Specifically, it can be to display an encoding duplication prompt message in the sample storage interface. Among them, the encoding duplication prompt message can be used to prompt that the sample encoding of the target sample is duplicated with the sample encodings already recorded by the server, that is, the target sample is already a sample stored in the database and there is no need to store it repeatedly. The content and display method of the encoding duplication prompt message can be preset according to actual needs. For example, the encoding duplication prompt message can be a preset text message, specifically such as "This sample encoding is duplicated with the sample encodings already stored in the database. Do not store it repeatedly", and the display characteristics such as the display position and display style of the encoding duplication prompt message can also be set according to actual needs, such as displaying in a pop-up window in the sample storage interface.
[0138] In this way, when the sample encoding of the target sample is duplicated, the client can prompt the user to make corrections in a timely manner, which can improve the operation efficiency of sample storage, and can also help the user further discover problems existing in actual work through the encoding duplication prompt to avoid causing serious consequences.
[0139] In some embodiments, the sample storage interface displays candidate sample holes, and the candidate sample holes correspond one-to-one with the storage holes in the target storage container, and the sample storage information also includes the sample position information of the target sample. Based on this, the step of displaying the inventory status of the target sample as the stored status in the sample storage interface can include the following steps: Based on the sample position information of the target sample, adjust the display style of the candidate sample hole corresponding to the target sample in the sample storage interface to the display style corresponding to the stored status.
[0140] The candidate sample hole is a visual graphic element placed in the sample storage interface, and the candidate sample holes correspond one-to-one with the storage holes in the target storage container. For example, if there are 10×10 storage holes in the target storage container, then 10×10 candidate sample holes are also correspondingly displayed in the sample storage interface.
[0141] In addition, the display style of the candidate sample hole can involve any one or a combination of multiple of display color, display shape, display size, and display pattern. For example, in the initial state, in the sample storage interface, the display style of the candidate sample hole can be "a white circular icon".
[0142] In the sample warehousing interface, the inventory status of the target sample can be displayed as the warehousing status by adjusting the display style of the corresponding candidate sample well positions in the sample warehousing interface. Specifically, in the sample warehousing interface, candidate sample well positions corresponding one by one to the storage well positions in the target storage container are displayed. If the user needs to load the target sample into a specified storage well position in the target storage container, then in the candidate sample well positions displayed in the sample warehousing interface, the candidate sample well position corresponding to the specified storage well position is selected, and the sample code of the target sample is input in the code entry control in the sample warehousing interface, and then an associated trigger operation is performed. In response to the associated trigger operation, the user terminal obtains the sample code and sample position information of the target sample. After the subsequent server determines that the sample code of the target sample exists in the LIS system, the user terminal receives the allow-warehousing notification sent by the server, and then based on the sample position information of the target sample, determines the candidate sample well position corresponding to the target sample (i.e., the candidate sample well position previously selected by the user), and in the sample warehousing interface, adjusts the display style of this candidate sample well position to the display style corresponding to the warehousing status. Specifically, for example, the warehousing status can be the warehoused status, and the display style corresponding to the warehoused status is "a green test tube graphic is provided in the middle of a white circle".
[0143] Thus, by adjusting the display style of the candidate sample well position corresponding to the target sample in the sample warehousing interface to the display style corresponding to the warehousing status, it can help the user clearly and intuitively understand the current sample storage situation of each storage well position in the corresponding storage container, and improve the efficiency and reliability of the user's sample warehousing registration operation.
[0144] In some embodiments, the warehousing status includes the waiting-warehousing status. Based on this, the step of adjusting the display style of the candidate sample well position corresponding to the target sample in the sample warehousing interface to the display style corresponding to the warehousing status according to the sample position information of the target sample may include the following steps: Based on the sample position information of the target sample, adjust the display style of the candidate sample well position corresponding to the target sample in the sample warehousing interface to the display style corresponding to the waiting-warehousing status. And after adjusting the display style of the candidate sample well position corresponding to the target sample in the sample warehousing interface to the display style corresponding to the waiting-warehousing status, the following steps may further be included: After detecting the warehousing confirmation operation, adjust the display style of the candidate sample well position corresponding to the waiting-warehousing sample in the sample warehousing interface to the display style corresponding to the warehoused status, where the waiting-warehousing sample includes the samples currently in the waiting-warehousing status; send a warehousing confirmation notification to the server, and the warehousing confirmation notification is used to enable the server to bind and store the sample code and sample position information of the waiting-warehousing samples corresponding to each other.
[0145] The storage confirmation operation is an operation performed by the user in the sample storage interface, which is used to indicate that the user has confirmed that the samples waiting to be stored can be finally stored. The storage confirmation operation is performed by the user according to actual needs, that is, after the user end displays the inventory status of the target sample as waiting for storage, the user can decide whether to perform the storage confirmation operation according to actual needs. For example, each time the user end displays the inventory status of a target sample as waiting for storage, the user performs the storage confirmation operation, that is, the storage confirmation is performed separately for each target sample. However, the user can also wait until the user end displays the inventory status of multiple target samples as waiting for storage, and then perform the storage confirmation operation uniformly, thereby performing storage confirmation for multiple target samples collectively. In addition, there can be many specific operating methods for the storage confirmation operation, such as a click operation on the storage confirmation button in the sample storage interface (for example, click Figure 4 The “Enter” button in the sample entry interface shown in the figure), or a predetermined gesture operation triggered in the sample entry interface, etc.
[0146] The storage confirmation notification is used to trigger the server to bind and store the sample code and sample location information of the samples waiting to be stored. It is generated after the user side detects the storage confirmation operation. There can be many specific ways to generate it, as long as it can help the server determine the information that needs to be bound and stored. For example, the storage confirmation notification can be generated based on the sample code and / or sample location information of the samples waiting to be stored.
[0147] Specifically, after the user terminal sends the sample storage information of the target sample to the server terminal, after receiving the storage permission notification sent by the server terminal, the display style of the candidate sample hole corresponding to the target sample in the sample storage interface is first adjusted to the display style corresponding to the waiting storage state, and at this time, the server terminal does not bind and store the sample code and sample location information of the target sample, that is, the target sample is only ready for storage, but has not yet completed storage. Subsequently, after the user terminal detects the storage confirmation operation performed in the sample storage interface, it determines the sample currently in the waiting storage state, that is, the sample waiting for storage, and then based on the sample location information of the sample waiting for storage, the display style of the candidate sample hole corresponding to the sample waiting for storage in the sample storage interface is adjusted to the display style corresponding to the storage state, and the user terminal also sends a storage confirmation notification to the server terminal, notifying the server terminal to bind and store the sample code and sample location information of the sample waiting for storage, so that the target sample completes the final storage.
[0148] Thus, it is possible to support both single-inwarehousing and batch-inwarehousing modes. On the one hand, it can flexibly meet different user needs. On the other hand, batch-inwarehousing can simplify the user's inwarehousing operation and improve the efficiency of the inwarehousing operation. Moreover, once the information of the sample code of a target sample is confirmed to be correct, the user terminal adjusts the display style of the corresponding candidate sample well position to the display style corresponding to the waiting-inwarehousing state, realizing the distinction from other candidate sample well positions visually, and can avoid the problem that the actual storage situation of the sample in the storage container is inconsistent with the situation recorded in the sample library management system due to the user selecting the wrong candidate sample well position during inwarehousing registration.
[0149] In some embodiments, after the steps of obtaining the sample inwarehousing information of the target sample and sending the sample inwarehousing information to the server, the following steps may further be included: After receiving the rejection notice for inwarehousing sent by the server, perform an inwarehousing failure prompt in the sample inwarehousing interface based on the rejection notice for inwarehousing. Based on this, the step of performing an inwarehousing failure prompt in the sample inwarehousing interface based on the rejection notice for inwarehousing includes at least one of the following:
[0150] The first item: If the rejection notice for inwarehousing includes a query failure prompt message, display the query failure prompt message in the sample inwarehousing interface.
[0151] The second item: If the rejection notice for inwarehousing includes the identification information of the substantial error code in the sample code of the target sample, mark the substantial error code in the sample code of the target sample displayed in the sample inwarehousing interface according to the identification information.
[0152] The third item: If the rejection notice for inwarehousing includes the alternative code corresponding to the sample code of the target sample, display the alternative code in the sample inwarehousing interface; based on the selection operation for the alternative code in the sample inwarehousing interface, update the sample code of the target sample based on the selected alternative code.
[0153] The rejection notice for inwarehousing is sent by the server when it is determined that the sample code of the target sample does not exist in the LIS system. In other words, when the server receives the sample code of the target sample sent by the user terminal, it will determine whether the sample code of the target sample exists in the LIS system. If it is determined that the sample code of the target sample does not exist, it indicates that the information of the sample code of the target sample is incorrect, and then the rejection notice for inwarehousing is sent to the user terminal.
[0154] The user terminal performing an inwarehousing failure prompt in the sample inwarehousing interface may refer to the user terminal displaying the prompt content related to the incorrect entry of the sample code information of the target sample in the sample inwarehousing interface.
[0155] In some embodiments, it is preset that the rejection notice for inwarehousing includes a query failure prompt message. After the user terminal receives this rejection notice for inwarehousing, it displays the query failure prompt message in the sample inwarehousing interface.
[0156] There are various ways to display a query failure message on the user side, and its display position, display style, etc. can all be set according to actual needs. For example, a pop-up window can be displayed on the sample warehousing interface, and a query failure prompt message can be displayed in the pop-up window, etc.
[0157] In some other embodiments, the preset rejection warehousing notice includes identification information of the substantial error code in the sample code of the target sample. After receiving the rejection warehousing notice, the user side can determine the substantial error code in the sample code of the target sample according to the identification information, and then mark the substantial error code in the sample code of the target sample displayed on the sample warehousing interface.
[0158] Marking the substantial error code is to prominently display the substantial error code in the sample code of the target sample displayed on the sample warehousing interface. Specifically, any applicable methods such as bolding, highlighting, and displaying in a preset color can be used. For example, if the sample code of the target sample is a 12-digit code, and the server determines that the substantial error code in the sample code includes the 5th and 6th digits of these 2 digits. After receiving the rejection warehousing notice carrying the corresponding identification information, the user side marks the 5th and 6th digits in red in the sample code of the target sample displayed on the sample warehousing interface to prompt the user that there are substantial errors in these two digits.
[0159] In some other embodiments, the preset rejection warehousing notice includes an alternative code corresponding to the sample code of the target sample. After receiving the rejection warehousing notice, the user side displays the alternative code on the sample warehousing interface, and after detecting a selection operation for the alternative code on the sample warehousing interface, updates the sample code of the target sample based on the selected alternative code, that is, uses the selected alternative code as the corrected sample code of the target sample, and then resends the sample code of the target sample to the server. The server also correspondingly re-executes processes such as determining whether there is a sample code of the target sample in the LIS system and sending an allow warehousing notice or a rejection warehousing notice to the user side accordingly.
[0160] Specifically, there are various ways to display the alternative code. For example, a pop-up window can be displayed on the sample warehousing interface, and a code selection control corresponding one-to-one to the alternative code can be displayed in the pop-up window for the user to click as needed. When the user clicks any code selection control, it indicates that the user intends to correct the sample code of the target sample to the alternative code corresponding to the code selection control, and the user side uses the alternative code as the corrected sample code of the target sample. In addition, when there are multiple types of alternative codes corresponding to the sample code of the target sample, for example, there are a total of 6 alternative codes, 3 of which are time code error types and the other 3 are auto-increment code error types, the code selection controls can be classified and arranged according to the error types so that the user can select the correct alternative code more efficiently and accurately.
[0161] In some embodiments, as Figure 5 shown, a method for processing sample warehousing is provided. Taking the application of this method to the sample library management system described above Figure 1 as an example for illustration, this method may include the following steps S502 to S508.
[0162] S502. The client obtains the sample warehousing information of the target sample and sends the sample warehousing information to the server, where the sample warehousing information includes the sample code of the target sample;
[0163] S504. The server receives the sample warehousing information of the target sample sent by the client, sends an information query request to the LIS system, and receives the information query result returned by the LIS system;
[0164] S506. After the server determines that the sample code of the target sample exists in the LIS system based on the information query result, it sends a warehousing permission notice to the client;
[0165] S508. After the client receives the warehousing permission notice sent by the server, it displays the inventory status of the target sample as the warehousing status in the sample warehousing interface.
[0166] For the above method for processing sample warehousing, the client sends the sample warehousing information of the target sample to the server, where the sample warehousing information includes the sample code of the target sample. When the server determines that the sample code of the target sample exists in the LIS system, it sends a warehousing permission notice to the client, instructing the client to display the inventory status of the target sample as the warehousing status in the sample warehousing interface. In this way, during the sample warehousing process, by verifying the accuracy of the sample code of the target sample through the LIS system, it can effectively avoid incorrect entry of the sample code, improve the reliability of sample warehousing, and avoid the occurrence of dirty data.
[0167] In some embodiments, before the step of the client sending the sample warehousing information to the server, the following steps may further be included: The client performs a coding rule verification on the sample code of the target sample; if the verification result is that the verification fails, the client marks the format error code in the sample code of the target sample displayed in the sample warehousing interface; based on this, the step of the client sending the sample warehousing information to the server may include the following steps: if the verification result is that the verification passes, the client sends the sample warehousing information to the server.
[0168] In some embodiments, before the server sends an information query request to the LIS system, the following steps may further be included: The server searches for the sample code of the target sample among the sample codes of the samples already stored in the database; if the sample code of the target sample is found among the sample codes of the samples already stored in the database, the server sends a coding duplication notice to the client; if the client receives the coding duplication notice sent by the server, a coding duplication prompt is made in the sample storage interface. Based on this, the step of the server sending an information query request to the LIS system may include the following steps: if the sample code of the target sample is not found among the sample codes of the samples already stored in the database, the server sends an information query request to the LIS system.
[0169] In some embodiments, the information query result includes the recorded sample codes, and the recorded sample codes include the sample codes of the samples entered into the LIS system within a preset time period. Based on this, after the server determines that there is a sample code of the target sample in the LIS system, the step of sending a storage permission notice to the client may include the following steps: if the server finds the sample code of the target sample among the recorded sample codes, it sends a storage permission notice to the client.
[0170] In some embodiments, the sample storage interface displays candidate sample holes, and the candidate sample holes correspond one-to-one with the storage holes in the target storage container; the sample storage information further includes the sample position information of the target sample. Based on this, the step of the client displaying the inventory status of the target sample as the stored status in the sample storage interface may include the following steps: The client adjusts the display style of the candidate sample hole corresponding to the target sample in the sample storage interface to the display style corresponding to the stored status based on the sample position information of the target sample.
[0171] In some embodiments, the stored status includes a waiting-to-be-stored status. The step of the client adjusting the display style of the candidate sample hole corresponding to the target sample in the sample storage interface to the display style corresponding to the stored status based on the sample position information of the target sample may include the following steps: The client adjusts the display style of the candidate sample hole corresponding to the target sample in the sample storage interface to the display style corresponding to the waiting-to-be-stored status based on the sample position information of the target sample. And after the step of adjusting the display style of the candidate sample hole corresponding to the target sample in the sample storage interface to the display style corresponding to the waiting-to-be-stored status, the following steps may further be included: After the client detects a storage confirmation operation, it adjusts the display style of the candidate sample hole corresponding to the sample waiting to be stored in the sample storage interface to the display style corresponding to the already-stored status; where the sample waiting to be stored includes the samples currently in the waiting-to-be-stored status; the client sends a storage confirmation notice to the server, and the storage confirmation notice is used to cause the server to bind and store the sample code and the sample position information of the sample waiting to be stored.
[0172] In some embodiments, after the steps of the server sending an information query request to the LIS system and receiving the information query result returned by the LIS system, the following steps may further be included: If the server determines that the sample code of the target sample does not exist in the LIS system, the server sends a rejection notice for warehousing to the client; after receiving the rejection notice for warehousing sent by the server, the client gives a warehousing failure prompt in the sample warehousing interface based on the rejection notice. Based on this, the step of the client giving a warehousing failure prompt in the sample warehousing interface based on the rejection notice includes at least one of the following:
[0173] The first item: If the rejection notice for warehousing includes a query failure prompt message, the client displays the query failure prompt message in the sample warehousing interface.
[0174] The second item: If the rejection notice for warehousing includes the identification information of the substantial error code in the sample code of the target sample, the client marks the substantial error code in the sample code of the target sample displayed in the sample warehousing interface according to the identification information.
[0175] The third item: If the rejection notice for warehousing includes the alternative code corresponding to the sample code of the target sample, the client displays the alternative code in the sample warehousing interface; based on the selection operation for the alternative code in the sample warehousing interface, the client updates the sample code of the target sample based on the selected alternative code.
[0176] In some embodiments, the sample code of the target sample includes a time code and an auto-increment code. Based on this, the way for the server to obtain the alternative sample code of the sample code of the target sample includes at least one of the following:
[0177] The first item: The server modifies the time code in the sample code of the target sample according to the correction date to obtain the associated sample code of the sample code of the target sample; wherein, the correction date includes the date of the current day and the dates other than the invalid dates among the dates of the previous N - i days of the current day, the invalid dates include the date corresponding to the time code in the sample code of the target sample, N is a preset reference number of days, both N and i are positive integers, and i = 1,..., N - 1; the server obtains the alternative code corresponding to the sample code of the target sample based on the associated sample code.
[0178] The second item: The server swaps the M-th code and the (M + 1)-th code in the auto-increment code of the sample code of the target sample to obtain the associated sample code of the sample code of the target sample; wherein, both M and j are positive integers, j is the total number of digits of the auto-increment code, and M = 1,..., j - 1; the server obtains the alternative code corresponding to the sample code of the target sample based on the associated sample code of the sample code of the target sample.
[0179] The following is combined with Figure 6The process of the sample warehousing processing method provided in the embodiments of the present application is further described. Figure 6 It is a timing schematic diagram of the sample warehousing processing method in the embodiments of the present application. As Figure 6 shown, the sample warehousing processing method can be jointly implemented by the user side and the server side in the sample management system, and the LIS system. Specifically, it can include the following steps:
[0180] Step 1, the user side obtains the sample warehousing information of the target sample entered by the user, where the sample warehousing information includes the sample code and the sample location information;
[0181] Step 2, the user side performs a coding rule check on the sample code of the target sample; if the check result is that the check fails, then execute Step 3; if the check result is that the check passes, then execute Step 4;
[0182] Step 3, the user side marks the format error code in the sample code of the target sample displayed on the sample warehousing interface;
[0183] Step 4, the user side sends the sample warehousing information of the target sample to the server side;
[0184] Step 5, after the server side receives the sample warehousing information, it searches for the sample code of the target sample in the already warehoused sample codes; if the sample code of the target sample is found in the already warehoused sample codes, then execute Step 6; if not found, then execute Step 8;
[0185] Step 6, the server side sends a coding duplicate notice to the user side;
[0186] Step 7, after the user side receives the coding duplicate notice, it gives a coding duplicate prompt on the sample warehousing interface;
[0187] Step 8, the server side sends an information query request to the LIS system;
[0188] Step 9, the LIS system returns the information query result to the server side;
[0189] Step 10, the server side determines whether the sample code of the target sample exists in the LIS system based on the information query result; if it exists, then execute Step 11; if not, then execute Step 15;
[0190] Step 11, the server side sends an allow warehousing notice to the user side;
[0191] Step 12, after the user side receives the allow warehousing notice sent by the server side, based on the sample location information of the target sample, it adjusts the display style of the candidate sample wells corresponding to the target sample on the sample warehousing interface to the display style corresponding to the waiting for warehousing state;
[0192] Step 13, the client detects the user's confirmation operation for sample storage.
[0193] Step 14, after the client detects the confirmation operation for sample storage, it adjusts the display style of the candidate sample wells corresponding to the samples waiting for storage in the sample storage interface to the display style corresponding to the stored state.
[0194] Step 15, the server sends a rejection notice for sample storage to the client.
[0195] Step 16, after the client receives the rejection notice for sample storage sent by the server, it gives a failure prompt for sample storage in the sample storage interface based on the rejection notice.
[0196] Among them, the specific implementation manners of the above Steps 1-16 can be referred to the foregoing related descriptions and will not be elaborated herein.
[0197] For the above sample storage processing method, the client sends the sample storage information of the target sample to the server. The sample storage information includes the sample code of the target sample. When the server determines that the sample code of the target sample exists in the LIS system, it sends an approval notice for sample storage to the client, instructing the client to display the inventory status of the target sample as the stored state in the sample storage interface. In this way, during the sample storage process, by verifying the accuracy of the sample code of the target sample through the LIS system, it can effectively avoid the error in entering the sample code, improve the reliability of sample storage, and avoid the occurrence of dirty data.
[0198] Under reasonable conditions, it should be understood that although the steps in the flowcharts involved in the foregoing embodiments are sequentially shown according to the indications of the arrows, these steps do not necessarily need to be executed sequentially according to the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in each flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages do not necessarily need to be executed at the same moment, but can be executed at different moments. The execution order of these sub-steps or stages does not necessarily need to be sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0199] In some embodiments, as Figure 7 shown, a sample storage processing device 700 is further provided, which may include the following modules 702-706.
[0200] An information receiving module 702, configured to receive the sample storage information of the target sample sent by the client; the sample storage information includes the sample code of the target sample;
[0201] An information query module 704 is configured to send an information query request to the LIS system and receive an information query result returned by the LIS system;
[0202] A warehousing notice module 706 is configured to, after determining the sample code of the target sample in the LIS system based on the information query result, send an allow warehousing notice to the user terminal; wherein, the allow warehousing notice is used to instruct the user terminal to display the inventory status of the target sample as the warehousing status in the sample warehousing interface.
[0203] For the above sample warehousing processing method and apparatus 700, the user terminal sends the sample warehousing information of the target sample to the server, and the sample warehousing information includes the sample code of the target sample. When the server determines that the sample code of the target sample exists in the LIS system, it sends an allow warehousing notice to the user terminal, instructing the user terminal to display the inventory status of the target sample as the warehousing status in the sample warehousing interface. In this way, during the sample warehousing process, by verifying the accuracy of the sample code of the target sample through the LIS system, it can effectively avoid incorrect entry of the sample code, improve the reliability of sample warehousing, and avoid the occurrence of dirty data.
[0204] In some embodiments, the sample warehousing information of the target sample is sent when the user terminal performs a coding rule verification on the sample code of the target sample and the verification result is passed.
[0205] In some embodiments, the sample warehousing processing apparatus 700 may further include the following modules: a coding search module, configured to search for the sample code of the target sample in the already warehoused sample codes; a duplicate notice module, configured to, if the sample code of the target sample is found in the already warehoused sample codes, send a coding duplicate notice to the user terminal, and the coding duplicate notice is used to instruct the user terminal to give a coding duplicate prompt in the sample warehousing interface. Based on this, the information query module 704 is specifically configured to send an information query request to the LIS system if the sample code of the target sample is not found in the already warehoused sample codes.
[0206] In some embodiments, the information query result includes the already recorded sample codes, and the already recorded sample codes include the sample codes entered into the LIS system within a preset time period. Based on this, the warehousing notice module 706 is specifically configured to send an allow warehousing notice to the user terminal if the sample code of the target sample is found in the already recorded sample codes.
[0207] In some embodiments, the warehousing status includes a waiting-for-warehousing status. The permission-to-warehouse notification is specifically used to instruct the client to display the inventory status of the target sample as the waiting-for-warehousing status in the sample warehousing interface. Moreover, the sample warehousing information further includes the sample location information of the target sample. Based on this, the processing device 700 for sample warehousing may further include the following modules: an information storage module, which is configured to, after receiving the warehousing confirmation notification sent by the client, bind and store the sample code and the sample location information of the sample waiting for warehousing based on the warehousing confirmation notification, where the warehousing confirmation notification is sent by the client after detecting a warehousing confirmation operation, the sample waiting for warehousing is determined by the client after detecting the warehousing confirmation operation, and the sample waiting for warehousing includes the sample currently in the waiting-for-warehousing status.
[0208] In some embodiments, the processing device 700 for sample warehousing may further include the following module: a rejection notification sending module, which is configured to, if it is determined that the sample code of the target sample does not exist in the LIS system, send a rejection-of-warehousing notification to the client, where the rejection-of-warehousing notification includes at least one of a query failure prompt message, the identification information of the substantial error code in the sample code of the target sample, and the alternative code corresponding to the sample code of the target sample.
[0209] Wherein, when the rejection-of-warehousing notification includes a query failure prompt message, the rejection-of-warehousing notification is used to instruct the client to display the query failure prompt message in the sample warehousing interface; when the rejection-of-warehousing notification includes the identification information of the substantial error code, the rejection-of-warehousing notification is used to instruct the client to mark the substantial error code in the sample code of the target sample displayed in the sample warehousing interface according to the identification information; when the rejection-of-warehousing notification includes an alternative code, the rejection-of-warehousing notification is used to instruct the client to display the alternative code in the sample warehousing interface.
[0210] In some embodiments, the sample code of the target sample includes a time code and an increment code. Based on this, the processing device 700 for sample warehousing may further include an alternative code obtaining module, and the alternative code obtaining module is configured to obtain the alternative code corresponding to the sample code of the target sample through at least one of the following methods:
[0211] The first item:
[0212] Modify the time code in the sample code of the target sample according to the correction date to obtain the associated sample code of the sample code of the target sample; wherein, the correction date includes the date of the current day and the dates other than the invalid dates among the dates of the previous N - i days of the current day, the invalid dates include the date corresponding to the time code in the sample code of the target sample, N is a preset reference number of days, both N and i are positive integers, and i = 1,..., N - 1;
[0213] Based on the associated sample code, obtain the alternative code corresponding to the sample code of the target sample;
[0214] Item 2:
[0215] Swap the M-th code and the (M + 1)-th code in the incremented code of the sample code of the target sample to obtain the associated sample code of the sample code of the target sample; where M and j are both positive integers, j is the total number of bits of the incremented code, and M = 1,..., j - 1;
[0216] Obtain the alternative code corresponding to the sample code of the target sample based on the associated sample code of the sample code of the target sample.
[0217] In some embodiments, as Figure 8 shown, a processing device 800 for sample warehousing is further provided, which may include the following modules 802 and 804.
[0218] An information processing module 802, configured to obtain the sample warehousing information of the target sample and send the sample warehousing information to the server; the sample warehousing information includes the sample code of the target sample;
[0219] A warehousing display module 804, configured to, after receiving the permission-to-warehouse notification sent by the server, display the inventory status of the target sample as the warehousing status in the sample warehousing interface; where the permission-to-warehouse notification is sent by the server when it is determined that the sample code of the target sample exists in the LIS system.
[0220] For the above-mentioned processing method device 800 for sample warehousing, the user terminal sends the sample warehousing information of the target sample to the server, and the sample warehousing information includes the sample code of the target sample. When the server determines that the sample code of the target sample exists in the LIS system, it sends a permission-to-warehouse notification to the user terminal, instructing the user terminal to display the inventory status of the target sample as the warehousing status in the sample warehousing interface. In this way, during the sample warehousing process, by verifying the accuracy of the sample code of the target sample through the LIS system, it is possible to effectively avoid incorrect entry of the sample code, improve the reliability of sample warehousing, and avoid the occurrence of dirty data.
[0221] In some embodiments, the processing device 800 for sample warehousing may further include the following modules: a rule verification module, configured to perform encoding rule verification on the sample code of the target sample; a format error marking module, configured to, if the verification result is that the verification fails, mark the format error code in the sample code of the target sample displayed in the sample warehousing interface. Based on this, the information processing module 802 is specifically configured to send the sample warehousing information to the server if the verification result is that the verification passes.
[0222] In some embodiments, the processing device 800 for sample warehousing may further include the following modules: a duplicate prompt module, configured to perform a duplicate code prompt in the sample warehousing interface if a duplicate code notification sent by the server is received; wherein, the duplicate code notification is sent by the server when the sample code of the target sample is found in the sample codes of the warehoused samples.
[0223] In some embodiments, the sample warehousing interface displays candidate sample holes, and the candidate sample holes correspond one-to-one with the storage holes in the target storage container; the sample warehousing information further includes the sample position information of the target sample. Based on this, the warehousing display module 804 is specifically configured to adjust the display style of the candidate sample hole corresponding to the target sample in the sample warehousing interface to the display style corresponding to the warehousing state based on the sample position information of the target sample.
[0224] In some embodiments, the warehousing state includes a waiting-to-be-warehoused state. Based on this, the warehousing display module 804 is specifically configured to adjust the display style of the candidate sample hole corresponding to the target sample in the sample warehousing interface to the display style corresponding to the waiting-to-be-warehoused state based on the sample position information of the target sample. And the processing device 800 for sample warehousing may further include the following modules: a warehoused display module, configured to, after detecting a warehousing confirmation operation, adjust the display style of the candidate sample hole corresponding to the sample waiting to be warehoused in the sample warehousing interface to the display style corresponding to the warehoused state, where the samples waiting to be warehoused include the samples currently in the waiting-to-be-warehoused state; a confirmation notification sending module, configured to send a warehousing confirmation notification to the server, and the warehousing confirmation notification is used to cause the server to bind and store the sample code and the sample position information of the samples waiting to be warehoused in a corresponding manner.
[0225] In some embodiments, the processing device 800 for sample warehousing may further include the following modules: a warehousing failure prompt module, configured to perform a warehousing failure prompt in the sample warehousing interface based on a rejection warehousing notification received from the server, and the rejection warehousing notification is sent by the server when it is determined that the sample code of the target sample does not exist in the LIS system.
[0226] Wherein, the warehousing failure prompt module may specifically include at least one of the following units:
[0227] A failure information display unit, configured to display the query failure prompt information in the sample warehousing interface if the rejection warehousing notification includes the query failure prompt information;
[0228] A substantial error marking unit, configured to mark the substantial error code in the sample code of the target sample displayed in the sample warehousing interface according to the identification information if the rejection warehousing notification includes the identification information of the substantial error code in the sample code of the target sample;
[0229] An alternative coding update unit is configured to, if the rejection notice for storage includes an alternative coding corresponding to the sample coding of the target sample, display the alternative coding in the sample storage interface, and update the sample coding of the target sample based on the selected alternative coding according to the selection operation for the alternative coding in the sample storage interface.
[0230] It should be noted that for the specific limitations of the sample storage processing device 700 and the sample storage processing device 800, reference can be made to the limitations of the corresponding sample storage processing method in the foregoing text, which will not be elaborated here. Each module in the above sample storage processing device 700 and the sample storage processing device 800 can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above respective modules.
[0231] In some embodiments, a computer device is provided, including a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of the sample storage processing method applicable to the server provided in any embodiment of the present application are implemented.
[0232] Specifically, the computer device may be Figure 1 the server 1102 shown in Figure 9 As shown, it includes a processor, a memory, a network interface, and a database connected by a system bus. Among them, the processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the control terminal stores an operating system and a computer program. When the computer program is executed by the processor, the processor can implement the sample storage processing method applicable to the server provided in any embodiment of the present application; the internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium; the network interface is used to communicate with an external terminal through a network connection; the database is used to store relevant data.
[0233] In some embodiments, the sample storage processing device 700 provided in the present application can be implemented in the form of a computer program, and the computer program can run on a computer device as shown in Figure 8 The memory of the computer device can store each program module that constitutes the device. For example, Figure 7 the information receiving module 702 and the information query module 704 shown in Figure 8 The computer program constituted by each program module enables the processor to execute the steps of the sample storage processing method applicable to the server provided in any embodiment of the present application. For example, the computer device shown inFigure 7 The information receiving module 702 in the sample warehousing processing device 700 shown executes step S202, and the information query module 704 executes step S204, and so on.
[0234] In some embodiments, a computer device is provided, including a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of the sample warehousing processing method applicable to the user side provided in any embodiment of the present application are implemented.
[0235] Specifically, the computer device may be Figure 1 the user side 1101 shown in, and its internal structure may be as Figure 10 shown, including a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Among them, the processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the steps of the sample warehousing processing method applicable to the user side provided in any embodiment of the present application are implemented. The network interface is used to communicate with an external terminal through a network connection. The display screen may be a liquid crystal display screen or an electronic ink display screen. The input device may be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, a touchpad, or a mouse, etc.
[0236] In some embodiments, the sample warehousing processing device 800 provided in the present application may be implemented in the form of a computer program, and the computer program can run on a computer device as Figure 9 shown. Each program module constituting the device may be stored in the memory of the computer device. For example, Figure 8 the information processing module 802, the warehousing display module 804 shown in. The computer program constituted by each program module enables the processor to execute the steps of the sample warehousing processing method applicable to the user side provided in any embodiment of the present application. For example, Figure 9 the computer device shown in can execute step S302 through the information processing module 802 in the sample warehousing processing device 800 shown in Figure 8 and execute step S304 through the warehousing display module 804, and so on.
[0237] In addition, it can be understood that Figure 9 and Figure 10 the structures shown in only show the block diagrams of some structures related to the solution of the present application, and do not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more thanFigure 9 and Figure 10 more or fewer components as shown in Figure 10 , or combine certain components, or have a different component arrangement.
[0238] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or an external cache. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0239] In some embodiments, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by a processor, the processor is caused to execute the steps of the processing method for sample warehousing applicable to the server side provided in any embodiment of the present application.
[0240] In some embodiments, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by a processor, the processor is caused to execute the steps of the processing method for sample warehousing applicable to the client side provided in any embodiment of the present application.
[0241] In some embodiments, a sample library management system is provided, including a client side and a server side, and the client side and the server side are communicatively connected; wherein, the client side is used to execute the steps of the processing method for sample warehousing applicable to the client side provided in any embodiment of the present application; the server side is used to execute the steps of the processing method for sample warehousing applicable to the server side provided in any embodiment of the present application.
[0242] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0243] The above embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several deformations and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.
Claims
1. A method for processing sample storage, characterized in that: include: Receive the sample storage information of the target sample sent by the user end; The sample storage information includes the sample code of the target sample; Sending an information query request to the LIS system, and receiving the information query result returned by the LIS system; After determining that the sample code of the target sample exists in the LIS system based on the information query result, sending a notification of allowing entry into the warehouse to the user terminal; The warehousing permission notification is used to instruct the user terminal to display the inventory status of the target sample as a warehousing status in the sample warehousing interface.
2. The method according to claim 1, characterized in that The sample storage information of the target sample is sent when the user terminal performs coding rule verification on the sample coding of the target sample and the verification result is verification passed.
3. The method according to claim 1, characterized in that Before sending the information query request to the LIS system, the method further includes: Searching for the sample code of the target sample in the stored sample codes; If the sample code of the target sample is found in the stored sample codes, a code duplication notification is sent to the user terminal; the code duplication notification is used to instruct the user terminal to provide a code duplication prompt in the sample storage interface; The sending of the information query request to the LIS system comprises: If the sample code of the target sample is not found in the stored sample codes, an information query request is sent to the LIS system.
4. The method according to claim 1, characterized in that The information query result includes a recorded sample code, and the recorded sample code includes a sample code entered into the LIS system within a preset time period; After determining that the sample code of the target sample exists in the LIS system based on the information query result, sending a notification of allowing entry into the warehouse to the user terminal includes: If the sample code of the target sample is found in the recorded sample codes, a notification of allowing storage is sent to the user terminal.
5. The method according to claim 1, characterized in that The storage status includes a waiting storage status, and the storage permission notification is specifically used to instruct the user terminal to display the inventory status of the target sample as the waiting storage status in the sample storage interface; The sample storage information also includes the sample location information of the target sample. After determining that the sample code of the target sample exists in the LIS system and sending a storage permission notification to the user terminal, the method further includes: After receiving the storage confirmation notification sent by the user terminal, the sample code and sample location information of the sample waiting to be stored are correspondingly bound and stored based on the storage confirmation notification; Among them, the storage confirmation notification is sent after the user terminal detects the storage confirmation operation, the samples waiting for storage are determined by the user terminal after detecting the storage confirmation operation, and the samples waiting for storage include samples that are currently in the waiting for storage state.
6. The method according to claim 1, characterized in that After sending the information query request to the LIS system and receiving the information query result returned by the LIS system, the method further includes: If it is determined that the sample code of the target sample does not exist in the LIS system, a rejection notification of warehousing entry is sent to the user terminal; wherein the rejection notification of warehousing entry includes at least one of a query failure prompt message, identification information of a substantially erroneous code in the sample code of the target sample, and an alternative code corresponding to the sample code of the target sample; When the storage rejection notification includes query failure prompt information, the storage rejection notification is used to instruct the user terminal to display the query failure prompt information in the sample storage interface; When the storage rejection notification includes the identification information of the substantial error code, the storage rejection notification is used to instruct the user terminal to mark the substantial error code in the sample code of the target sample displayed in the sample storage interface according to the identification information; When the notification of rejection of warehousing includes the alternative code, the notification of rejection of warehousing is used to instruct the user terminal to display the alternative code in the sample warehousing interface.
7. The method according to claim 6, characterized in that The sample code of the target sample includes a time code and a self-increment code; The method of obtaining the alternative code corresponding to the sample code of the target sample includes at least one of the following: Item 1: Modify the time code in the sample code of the target sample according to the correction date to obtain the associated sample code of the sample code of the target sample; wherein the correction date includes the current date and the dates of the previous Ni days of the current date except the invalid date, and the invalid date includes the date corresponding to the time code in the sample code of the target sample, N is a preset reference number of days, N and i are both positive integers, i=1, ..., N-1; Based on the associated sample code, obtaining a substitute code corresponding to the sample code of the target sample; Item 2: The Mth bit code and the M+1th bit code in the self-increment code of the sample code of the target sample are exchanged to obtain the associated sample code of the sample code of the target sample; wherein M and j are both positive integers, j is the total number of bits of the self-increment code, and M=1, ..., j-1; Based on the associated sample code of the sample code of the target sample, an alternative code corresponding to the sample code of the target sample is obtained.
8. A method for processing sample storage, characterized in that: include: Obtaining the sample storage information of the target sample, and sending the sample storage information to the server; The sample storage information includes the sample code of the target sample; After receiving the notification of permission for entry into the warehouse sent by the server, the inventory status of the target sample is displayed as the entry status in the sample entry interface; wherein, the notification of permission for entry into the warehouse is sent by the server when it is determined that the sample code of the target sample exists in the LIS system.
9. The method according to claim 8, characterized in that Before sending the sample storage information to the server, the method further includes: Performing coding rule verification on the sample coding of the target sample; If the verification result is that the verification fails, the format error code in the sample code of the target sample displayed in the sample storage interface is marked; The sending of the sample storage information to the server includes: If the verification result is passed, the sample storage information is sent to the server.
10. The method according to claim 8, characterized in that Before displaying the inventory status of the target sample as the storage status in the sample storage interface, the method further includes: If a code duplication notification is received from the server, a code duplication prompt will be given in the sample storage interface; wherein, the code duplication notification is sent by the server when the server finds the sample code of the target sample in the stored sample codes.
11. The method according to claim 8, characterized in that The sample storage interface displays candidate sample wells, and the candidate sample wells correspond one-to-one to the storage wells in the target storage container; the sample storage information also includes sample position information of the target sample; The step of displaying the inventory status of the target sample as an inventory status in the sample inventory interface includes: Based on the sample position information of the target sample, the display style of the candidate sample wells corresponding to the target sample is adjusted to a display style corresponding to the storage status in the sample storage interface.
12. The method according to claim 11, characterized in that The storage status includes a waiting storage status; The method of adjusting the display style of the candidate sample wells corresponding to the target sample to the display style corresponding to the storage state in the sample storage interface based on the sample position information of the target sample includes: Based on the sample position information of the target sample, in the sample storage interface, the display style of the candidate sample well position corresponding to the target sample is adjusted to a display style corresponding to the waiting storage state; After the display style of the candidate sample wells corresponding to the target sample is adjusted to the display style corresponding to the waiting storage state in the sample storage interface, the method further includes: After the storage confirmation operation is detected, the display style of the candidate sample wells corresponding to the samples waiting to be stored in the sample storage interface is adjusted to the display style corresponding to the stored state; wherein the samples waiting to be stored include the samples currently in the waiting to be stored state; A storage confirmation notification is sent to the server, and the storage confirmation notification is used to enable the server to bind and store the sample code and sample location information of the sample waiting to be stored.
13. The method according to claim 8, characterized in that After obtaining the sample storage information of the target sample and sending the sample storage information to the server, the method further includes: After receiving the rejection notification of storage sent by the server, a storage failure prompt is given in the sample storage interface based on the rejection notification of storage; wherein the rejection notification of storage is sent by the server when it is determined that the sample code of the target sample does not exist in the LIS system; The prompt of storage failure in the sample storage interface based on the storage rejection notification includes at least one of the following: Item 1: If the rejection notification includes a query failure prompt message, the query failure prompt message is displayed in the sample storage interface; Item 2: If the notification of rejection of storage includes identification information of a substantially erroneous code in the sample code of the target sample, marking the substantially erroneous code in the sample code of the target sample displayed in the sample storage interface according to the identification information; Item 3: If the storage rejection notice includes a replacement code corresponding to the sample code of the target sample, the replacement code is displayed in the sample storage interface; Based on a selection operation on the alternative code in the sample storage interface, the sample code of the target sample is updated based on the selected alternative code.
14. A method for processing sample storage, characterized in that: include: The user end obtains the sample storage information of the target sample, and sends the sample storage information to the server end, wherein the sample storage information includes the sample code of the target sample; The server receives the sample storage information of the target sample sent by the user, sends an information query request to the LIS system, and receives the information query result returned by the LIS system; After the server determines that the sample code of the target sample exists in the LIS system based on the information query result, the server sends a notification of allowing entry into the warehouse to the user terminal; After the user end receives the warehousing permission notification sent by the server end, the inventory status of the target sample is displayed as the warehousing status in the sample warehousing interface.
15. A sample storage processing device, characterized in that: include: An information receiving module, used to receive sample storage information of target samples sent by a user terminal; The sample storage information includes the sample code of the target sample; An information query module, used to send an information query request to the LIS system and receive the information query result returned by the LIS system; The warehousing notification module is used to send a warehousing permission notification to the user terminal after determining that the sample code of the target sample exists in the LIS system based on the information query result; wherein the warehousing permission notification is used to instruct the user terminal to display the inventory status of the target sample as the warehousing status in the sample warehousing interface.
16. A sample storage processing device, characterized in that: include: An information processing module is used to obtain the sample storage information of the target sample and send the sample storage information to the server; The sample storage information includes the sample code of the target sample; A storage display module, configured to display the inventory status of the target sample as a storage status in the sample storage interface after receiving the storage permission notification sent by the server; The warehousing permission notification is sent by the server when it is determined that the sample code of the target sample exists in the LIS system.
17. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the sample storage processing method described in any one of claims 1 to 7 are implemented, or the steps of the sample storage processing method described in any one of claims 8 to 13 are implemented.
18. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the processor implements the steps of the sample storage processing method described in any one of claims 1 to 7, or implements the steps of the sample storage processing method described in any one of claims 8 to 13.
19. A sample library management system, characterized in that: include: The sample library management system includes a user end and a server end, and the user end and the server end are communicatively connected; wherein the user end is used to execute the sample library processing method described in any one of claims 1 to 7; and the server end is used to execute the sample library processing method described in any one of claims 8 to 13.