Intelligent infusion control method and system, storage medium and program product
By conducting compatibility analysis and generating a compatibility matrix for infusion, it is divided into infusion time window group, and an infusion clamp group control model is established, the problem of drug infusion order and time interval control in complex infusion treatment plans is solved, the coordinated management and intelligent regulation of multiple drugs are realized, and the safety and efficiency of infusion are improved.
Patent Information
- Application Number
- CN202411927600.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-25
AI Technical Summary
In complex infusion treatment plans, it is difficult to achieve collaborative management and intelligent regulation of multiple infusions, which can easily lead to confusing drug infusion order or improper time interval control, reducing the safety and efficacy of patient infusions.
By obtaining the drug information and infusion strategies for the drug to be infused, the compatibility analysis is performed in combination with the physicochemical characteristics of the drug, the compatibility matrix is generated, divided into multiple infusion time window groups, and each group is assigned an infusion clamp tube, and the infusion clamp tube group control model is established, the drop speed and cumulative dosage are monitored in real time, and the drug infusion sequence and time interval are automatically coordinated.
Accurate control of the infusion process of multiple drugs is achieved, manual errors are reduced, and the safety and efficiency of infusion is improved, ensuring that the drug is infused at the expected rate.
Smart Images

Figure CN119746205A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of infusion control, and in particular, relates to an intelligent infusion control method, system, storage medium and program product. Background Art
[0002] Infusion therapy is a common treatment method and is widely used in clinical practice to deliver necessary drugs or nutrients to patients. During the infusion process, if the infusion speed is not accurately controlled or the infusion drugs are not replaced in time, the patient's infection risk and safety risk may increase. In particular, if the drip rate is uneven during the infusion process or the drug is not handled in time after it is exhausted, air may enter the patient's body or blood may reflux, posing a threat to the patient's life and health.
[0003] In the related art, drug information, infusion information and patient information can be obtained, wherein the drug information includes the total amount of drugs to be infused, and the infusion information includes the infusion start time and the infusion drip rate. Based on the infusion information, the amount of drugs already infused is determined and the remaining amount of drugs is calculated. When the remaining amount of drugs is lower than the preset standard amount of drugs, a prompt message is generated based on the remaining amount of drugs and the patient information. When no response information is received within a preset time period, the closing time of the infusion clamp is determined according to the infusion drip rate and the remaining amount of drugs, and a closing instruction is generated.
[0004] However, when faced with complex treatment plans that require multiple drugs to be infused in a specific order and time intervals, it is difficult to achieve coordinated management and intelligent regulation of multi-channel infusions, which can easily cause confusion in the infusion order of multiple drugs or improper control of time intervals, which may reduce the efficacy and thus reduce the safety of patient infusions. Summary of the invention
[0005] The present application provides an intelligent infusion control method, system, storage medium and program product for improving the safety of patient infusion.
[0006] In a first aspect, the present application provides an intelligent infusion control method, which obtains drug information of several drugs to be infused and an infusion strategy of each drug to be infused, wherein the drug information includes the physicochemical properties of each drug to be infused and the total amount of the drug to be infused, and the infusion strategy includes the compatibility interval between each drug to be infused; Compatibility analysis is performed on each drug to be delivered according to its physical and chemical properties to generate a compatibility matrix of the drugs to be delivered. The compatibility matrix indicates whether there are any incompatibility taboos between the drugs to be delivered; Based on the compatibility matrix and the compatibility interval, each drug to be infused is divided into a number of infusion time window groups, each infusion time window group contains a number of drugs to be infused that can be infused in parallel; A corresponding number of infusion clamps are allocated to each infusion time window group, and an infusion clamp group control model is established according to the total amount of drugs to be infused and the infusion rate requirements in each infusion time window group. The infusion clamp group control model includes coordinated control parameters of each infusion clamp; During the infusion process of each infusion time window group, the instantaneous dripping rate and the cumulative infusion volume of each infusion clamp tube are collected; Calculate the real-time infusion rate of each drug to be infused based on the instantaneous drip rate, and determine the remaining amount of each drug to be infused based on the accumulated infusion volume; When it is detected that the remaining amount of the drug to be infused in any infusion time window group is less than a preset threshold, the start time of the next infusion time window group is calculated according to the infusion clamp group control model; At the start time, the infusion clamp tube corresponding to the current infusion time window group is controlled to be closed, and the infusion clamp tube corresponding to the next infusion time window group is controlled to be opened.
[0007] By adopting the above technical solution, the drug information and infusion strategy of the drug to be infused are obtained, and the compatibility analysis is performed in combination with the physical and chemical properties of the drug and a compatibility matrix is generated, so that the drug is scientifically divided into multiple infusion time window groups. An infusion clamp is assigned to each infusion time window group and a control model is established. The drip rate and cumulative amount are monitored in real time during the infusion process, so that the system can accurately control the infusion progress of each drug. When a drug is about to be infused, the system calculates the start time of the next time window in advance to achieve a smooth switching of the infusion process, so that the infusion process of multiple drugs is always in a controllable state, reducing the errors that may be caused by manual judgment and operation, and ensuring the accuracy and safety of drug infusion. At the same time, the system can automatically coordinate the infusion order and time interval between different drugs, reducing the workload of staff and improving the infusion efficiency. By establishing an infusion clamp group control model, the coordinated control of multiple drugs is realized, ensuring that each drug is stably infused at the expected rate, and improving the accuracy and reliability of the infusion process.
[0008] In combination with some embodiments of the first aspect, in some embodiments, compatibility analysis is performed on each drug to be delivered according to the physical and chemical properties to generate a compatibility matrix of the drugs to be delivered, which specifically includes: Obtaining the pH range, solubility parameters and redox potential of each drug to be delivered; Calculating a pH value overlap interval according to the pH value range of each drug to be delivered, and determining a first compatibility index based on the pH value overlap interval; Calculating a solubility difference value based on the solubility parameters of each drug to be delivered, and determining a second compatibility index according to the solubility difference value; Calculating a potential difference value according to the redox potential of each drug to be delivered, and determining a third compatibility index based on the potential difference value; The first compatibility index, the second compatibility index and the third compatibility index are weighted to obtain a comprehensive compatibility index; A compatibility matrix of drugs to be delivered is generated based on the comprehensive compatibility index.
[0009] By adopting the above technical scheme, multiple physical and chemical indicators such as the pH range, solubility parameters and redox potential of the drugs to be infused are analyzed, the first compatibility index is obtained by calculating the overlapping pH value intervals, the second compatibility index is determined based on the solubility difference value, and the third compatibility index is obtained according to the potential difference value. These three indexes are weighted to obtain a comprehensive compatibility index, which can comprehensively evaluate the compatibility between drugs. The generated compatibility matrix accurately reflects the interaction relationship between each drug, improves the accuracy of predicting the reactions that may occur in drug compatibility, reduces adverse phenomena such as precipitation and crystallization caused by drug interactions, and improves the safety of infusion medication.
[0010] In combination with some embodiments of the first aspect, in some embodiments, based on the compatibility matrix and the compatibility interval duration, each drug to be infused is divided into a number of infusion time window groups, specifically including: A drug association graph to be delivered is constructed based on the compatibility matrix, wherein each node in the drug association graph represents a drug to be delivered, and the lines between the nodes represent the compatibility relationship between the drugs to be delivered; The nodes with the same color in the association graph of the drugs to be infused form a parallel infusion group; Calculate the minimum time interval between each parallel infusion group based on the compatibility interval duration; The parallel infusion groups are arranged in time sequence based on the minimum time interval to obtain an infusion time window group.
[0011] By adopting the above technical solution, the compatibility relationship of drugs is visualized, and the compatibility relationship is marked by node color, making the drug grouping more intuitive and clear. The system organizes nodes with the same color into parallel infusion groups, and calculates the minimum time interval between each parallel infusion group according to the compatibility interval duration. The final infusion time window group is obtained through time series arrangement, which can maximize the possibility of parallel infusion while ensuring drug safety and improve infusion efficiency. By calculating the minimum time interval for time series arrangement, it ensures that there is sufficient time interval between incompatible drugs, reduces mutual interference between drugs, reduces the complexity of infusion time arrangement, and enables the system to quickly find the optimal infusion time combination plan, improving the efficiency and accuracy of infusion scheduling.
[0012] In combination with some embodiments of the first aspect, in some embodiments, before establishing the infusion clamp group control model according to the total amount of the drug to be infused and the infusion rate requirement in each infusion time window group, the method further includes: Obtaining the infusion pressure range and pipeline viscosity coefficient of each drug to be infused; Calculate the opening adjustment range of the infusion clamp tube according to the infusion pressure range of each drug to be infused and the viscosity coefficient of the pipeline; The corresponding relationship between the opening and the dripping rate of each infusion clamp tube is calibrated based on the opening adjustment range; The corresponding relationship between the opening and the dripping rate is input as a parameter into the control model of the infusion clamp group.
[0013] By adopting the above technical solution, the infusion pressure range and pipeline viscosity coefficient of the drug are obtained, the opening adjustment range of the infusion clamp is calculated, and the relationship between the opening and the drip rate of each infusion clamp is calibrated, and an accurate correspondence between the opening of the infusion clamp and the actual infusion rate is established. By considering influencing factors such as infusion pressure and pipeline viscosity, the system can accurately predict the actual drip rate under different openings, providing a data basis for the precise control of the infusion clamp, reducing the control deviation caused by ignoring the physical properties of the drug and the characteristics of the equipment in traditional infusion control, and improving the accuracy of infusion rate control. The calibration results are used as parameters to input the control model, so that the model can adaptively adjust the control strategy according to the characteristics of different drugs, improving the stability and controllability of the infusion process.
[0014] In combination with some embodiments of the first aspect, in some embodiments, an infusion clamp group control model is established according to the total amount of the drug to be infused and the infusion rate requirements in each infusion time window group, specifically including: Obtaining the administration time requirements of the drugs to be infused within each infusion time window group; Calculate the target infusion rate based on the total amount of each drug to be infused and the administration time requirements; Determining the opening of the infusion clamp tube corresponding to the target infusion rate based on the corresponding relationship between the opening and the dripping rate; A dynamic compensation mechanism for the opening of each infusion clamp tube is established based on the infusion clamp tube opening corresponding to each infusion clamp tube, and an infusion clamp tube group control model is established based on the dynamic compensation mechanism.
[0015] By adopting the above technical scheme, the administration time requirement of the drug to be infused within the infusion time window group is obtained, the target infusion rate is calculated in combination with the total amount of the drug, and then the opening of the infusion clamp is determined based on the correspondence between the opening and the dripping rate, and a dynamic compensation mechanism is established. According to the fluctuation of the dripping rate during the actual infusion process, the opening parameters of each infusion clamp can be adjusted in real time, so that the infusion rate is always maintained within the target range, thereby improving the stability and accuracy of the infusion process, thereby improving the accuracy and safety of infusion therapy.
[0016] In combination with some embodiments of the first aspect, in some embodiments, before collecting the instantaneous dripping rate and the cumulative infusion volume of each infusion clamp during the infusion process of each infusion time window group, the method further includes: When bubbles are detected in the infusion clamp tube, the bubble volume and movement speed of the bubbles are calculated; Determine the arrival time of the bubble at the infusion clamp tube according to the volume and movement speed of the bubble; Adjust the opening of the infusion clamp before reaching the time to eliminate the influence of bubbles on the infusion rate.
[0017] By adopting the above technical solution, the bubbles in the infusion line are detected in real time, the volume and movement speed of the bubbles are calculated, the time when the bubbles reach the infusion clamp is predicted, and the opening of the infusion clamp is adjusted in advance, thereby reducing the interference of bubbles on the infusion rate. By predicting and adjusting in advance, the system can take compensation measures before the bubbles affect the infusion rate, reducing the fluctuation of the infusion rate, improving the continuity and stability of the infusion process, and thus improving the accuracy and reliability of infusion control.
[0018] In conjunction with some embodiments of the first aspect, in some embodiments, calculating the bubble volume and movement speed of the bubble specifically includes: Collect the bubble image sequence in the infusion clamp tube, perform threshold segmentation on the bubble image sequence, and extract the bubble contour; Calculate the major axis length and minor axis length of the bubble based on the bubble contour; Calculate the bubble volume based on the major axis length and minor axis length; The center of mass position of the bubble is determined, and the bubble movement speed is calculated based on the center of mass position.
[0019] By adopting the above technical solution, the bubble image sequence is collected and the bubble contour is extracted by threshold segmentation, and the major axis length and minor axis length of the bubble are calculated, so as to accurately obtain key parameters such as bubble volume and movement speed. The movement speed is obtained by calculating the change in the center of mass position of the bubble, which reduces the speed calculation error caused by bubble deformation and improves the control accuracy of the system to bubble interference. The accurate acquisition of bubble parameters is achieved, which provides a reliable basis for the early adjustment of the opening of the infusion clamp, thereby improving the stability and safety of the infusion process.
[0020] In a second aspect, an embodiment of the present application provides an intelligent infusion control system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and one or more processors call the computer instructions to enable the system to execute the method described in the first aspect and any possible implementation method of the first aspect.
[0021] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a system, causes the system to execute the method described in the first aspect and any possible implementation of the first aspect.
[0022] In a fourth aspect, an embodiment of the present application provides a computer program product, characterized in that when the computer program product runs on a system, the system executes the method described in any possible implementation manner in the first aspect.
[0023] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The present application provides an intelligent infusion control method, which obtains the drug information and infusion strategy of the drug to be infused, performs compatibility analysis in combination with the physical and chemical properties of the drug and generates a compatibility matrix, thereby scientifically dividing the drug into multiple infusion time window groups. An infusion clamp is assigned to each infusion time window group and a control model is established. The drip rate and cumulative amount are monitored in real time during the infusion process, so that the system can accurately control the infusion progress of each drug. When a drug is about to be infused, the system calculates the start time of the next time window in advance to achieve a smooth switching of the infusion process, so that the infusion process of multiple drugs is always in a controllable state, reducing the errors that may be caused by manual judgment and operation, and ensuring the accuracy and safety of drug infusion. At the same time, the system can automatically coordinate the infusion order and time interval between different drugs, reducing the workload of staff and improving the efficiency of infusion. By establishing an infusion clamp group control model to achieve coordinated control of multiple drugs, it is ensured that each drug is stably infused at the expected rate, and the accuracy and reliability of the infusion process are improved.
[0024] 2. The present application provides an intelligent infusion control method, which obtains the infusion pressure range and pipeline viscosity coefficient of the drug, calculates the opening adjustment range of the infusion clamp, and calibrates the relationship between the opening and the drip rate of each infusion clamp, and establishes an accurate correspondence between the opening of the infusion clamp and the actual infusion rate. By considering influencing factors such as infusion pressure and pipeline viscosity, the system can accurately predict the actual drip rate under different openings, providing a data basis for the precise control of the infusion clamp, reducing the control deviation caused by ignoring the physical properties of the drug and the characteristics of the equipment in traditional infusion control, and improving the accuracy of infusion rate control. The calibration results are used as parameters to input the control model, so that the model can adaptively adjust the control strategy according to the characteristics of different drugs, thereby improving the stability and controllability of the infusion process.
[0025] 3. This application provides an intelligent infusion control method, which detects the bubbles in the infusion line in real time, calculates the volume and movement speed of the bubbles, predicts the time when the bubbles reach the infusion clamp, and adjusts the opening of the infusion clamp in advance, thereby reducing the interference of bubbles on the infusion rate. By predicting and adjusting in advance, the system can take compensation measures before the bubbles affect the infusion rate, reducing the fluctuation of the infusion rate, improving the continuity and stability of the infusion process, and thus improving the accuracy and reliability of the infusion control. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flow chart of an intelligent infusion control method in an embodiment of the present application.
[0027] Figure 2 It is another flow chart of an intelligent infusion control method in an embodiment of the present application.
[0028] Figure 3 It is a schematic diagram of the physical device structure of an intelligent infusion control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more listed items.
[0030] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0031] The following uses an embodiment and combines Figure 1 , an intelligent infusion control method in an embodiment of the present application is described: See also Figure 1 , which is a flow chart of an intelligent infusion control method in an embodiment of the present application.
[0032] S101, obtaining drug information of several drugs to be infused and infusion strategies of each drug to be infused, performing compatibility analysis on each drug to be infused according to physical and chemical properties, and generating a compatibility matrix of the drugs to be infused; The system first obtains drug information of several drugs to be infused and the infusion strategy of each drug to be infused. The drug information includes the physical and chemical properties of each drug to be infused and the total amount of the drug to be infused. The infusion strategy includes the compatibility interval between the drugs to be infused. Then, the compatibility analysis of each drug to be infused is performed based on the physical and chemical properties to generate a compatibility matrix of the drugs to be infused. The compatibility matrix represents whether there are any incompatibility taboos between the drugs to be infused. Specifically: obtain the pH range, solubility parameters and redox potential of each drug to be infused; Calculating a pH value overlap interval according to the pH value range of each drug to be delivered, and determining a first compatibility index based on the pH value overlap interval; Calculating a solubility difference value based on the solubility parameters of each drug to be delivered, and determining a second compatibility index according to the solubility difference value; Calculating a potential difference value according to the redox potential of each drug to be delivered, and determining a third compatibility index based on the potential difference value; The first compatibility index, the second compatibility index and the third compatibility index are weighted to obtain a comprehensive compatibility index; A compatibility matrix of drugs to be delivered is generated based on the comprehensive compatibility index.
[0033] The system first obtains the basic information and infusion strategy of the various drugs to be injected into the patient. Drug information includes the physical and chemical properties of each drug, such as pH range, solubility parameters, redox potential, etc., as well as the total amount of each drug that needs to be injected. The infusion strategy specifies the required compatibility interval between different drugs. After obtaining the above information, the system analyzes whether there are incompatibility contraindications between different drugs based on the physical and chemical properties of the drugs, that is, certain drugs cannot be injected into the patient at the same time or one after another, and generates a drug compatibility matrix, which indicates the compatibility relationship between the drugs.
[0034] In specific implementation, the system can automatically obtain the prescription information of the drugs to be infused by connecting with the hospital information system, and extract the drug information and infusion strategy. For the physical and chemical property parameters of the drugs, the system can establish a drug physical and chemical property database to record the various parameters of commonly used drugs. When analyzing drug compatibility, the system can calculate the overlapping intervals and difference values between the physical and chemical parameters of different drugs, and obtain multiple compatibility indexes that reflect the compatibility between the two drugs, and then obtain a comprehensive compatibility index through weighted average, based on which a drug compatibility matrix is generated.
[0035] It should be noted that the physical and chemical parameters of different drugs may change with their concentration, temperature and other usage conditions. Therefore, when analyzing compatibility, the actual usage status of the drug needs to be considered. In addition, some special drugs may be incompatible with most common drugs. For this, the system can set special marks and mark them when generating the drug compatibility matrix. The system can also set a threshold for drug compatibility. When the comprehensive compatibility index of two drugs is lower than the threshold, it is judged as incompatible.
[0036] S102, dividing each drug to be infused into a plurality of infusion time window groups based on the compatibility matrix and the compatibility interval duration; Based on the compatibility matrix and the compatibility interval, the system divides each drug to be infused into several infusion time window groups. Each infusion time window group contains several drugs to be infused that can be infused in parallel. Specifically: a drug association graph to be infused is constructed based on the compatibility matrix. Each node in the drug association graph represents a drug to be infused, and the lines between the nodes represent the compatibility relationship between the drugs to be infused. The nodes with the same color in the association graph of the drugs to be infused form a parallel infusion group; Calculate the minimum time interval between each parallel infusion group based on the compatibility interval duration; The parallel infusion groups are arranged in time sequence based on the minimum time interval to obtain an infusion time window group.
[0037] The drug compatibility matrix indicates whether the drugs are compatible with each other, while the compatibility interval specifies that certain drugs need to be injected at a certain interval. The system takes both into consideration and divides the drugs into several groups. Drugs within a group can be injected in parallel, while drugs between groups need to be injected in sequence, thus ensuring the safety and effectiveness of the drug injection process.
[0038] During implementation, the system can construct a drug association graph based on the drug compatibility matrix. Each node in the graph represents a drug, and the lines between the nodes represent the compatibility relationship between the drugs. The system can use the graph coloring algorithm to divide the association graph into several independent subgraphs. The nodes in the subgraphs represent a group of drugs that can be input in parallel. Next, the system can calculate the compatibility interval between different groups of drugs and select the minimum value as the minimum interval between the infusion time windows of the two groups of drugs. Finally, the system arranges each group of drugs in the order of the time window according to the compatibility interval to form a sequence of infusion time windows.
[0039] Before executing step S103, in one embodiment, the system obtains the infusion pressure range and pipeline viscosity coefficient of each drug to be infused. Specifically, the infusion pressure range refers to the pressure range required for the drug solution to flow in the infusion pipeline during the infusion process, and the pressure range is related to the physical properties of the drug solution, such as viscosity and density. The pipeline viscosity coefficient refers to the viscosity characteristic parameter of the infusion pipeline material, which affects the degree of deformation of the infusion pipeline.
[0040] The system calculates the opening adjustment range of the infusion clamp according to the obtained infusion pressure range and pipeline viscosity coefficient. Since the infusion pressure range of different drugs is different, and the viscosity characteristics of the pipeline material will affect the actual infusion effect, it is necessary to determine the adjustable range of the infusion clamp opening according to these parameters to ensure the controllability of the infusion process.
[0041] Based on the calculated opening adjustment range, the system calibrates the corresponding relationship between the opening of each infusion clamp and the dripping rate. The calibration process includes measuring the corresponding dripping rate at different openings and establishing an opening-dripping rate mapping relationship, which reflects the regulating effect of the infusion clamp opening on the infusion dripping rate.
[0042] The system obtains the administration time requirements of the drugs to be infused in each infusion time window group. The administration time requirement refers to the time limit for each drug to be infused within the specified time, which is determined by the doctor's order.
[0043] The system calculates the target infusion rate according to the total amount of each drug to be infused and the administration time requirement. Specifically, the total amount of the drug to be infused is divided by the administration time to obtain the target infusion rate required for the drug.
[0044] The system determines the opening of the infusion clamp corresponding to the target infusion rate based on the calibrated correspondence between the opening and the dripping rate. By finding the mapping relationship between the opening and the dripping rate, the appropriate opening value that can achieve the target infusion rate is selected.
[0045] The system establishes a dynamic compensation mechanism for the opening of each infusion clamp based on the corresponding opening of each infusion clamp. This compensation mechanism takes into account various influencing factors that may occur during the infusion process, such as changes in the liquid level of the infusion bottle, pipe deformation, etc., and maintains a stable infusion rate by adjusting the opening of the infusion clamp in real time.
[0046] The system inputs the corresponding relationship between the opening and the dripping rate obtained by calibration into the infusion clamp group control model as parameters. These parameters will be used for real-time calculation and control of the model to ensure the accuracy and reliability of the infusion process.
[0047] S103, allocating a corresponding number of infusion clamps to each infusion time window group, and establishing an infusion clamp group control model according to the total amount of drugs to be infused and the infusion rate requirements in each infusion time window group; The system allocates a corresponding number of infusion clamps to each infusion time window group, and establishes an infusion clamp group control model according to the total amount of drugs to be infused and the infusion rate requirements in each infusion time window group. The infusion clamp group control model includes the coordinated control parameters of each infusion clamp.
[0048] The system first distributes an equal amount of infusion clamps according to the number of parallel infusion drugs in each time window group to ensure that each drug can independently control the infusion rate. Then, the system calculates the theoretical opening curve of each infusion clamp in different time periods according to the total infusion volume of each group of drugs and the infusion rate specified by the doctor's order, forming an infusion clamp group control model. This model comprehensively considers multiple factors such as drug compatibility, infusion volume, and rate, and can guide the dynamic adjustment of the infusion clamp to ensure a safe and orderly infusion process.
[0049] S104, collecting the instantaneous dripping rate and cumulative infusion volume of each infusion clamp during the infusion process of each infusion time window group; During the infusion process of each infusion time window group, the system collects the instantaneous drip rate and cumulative infusion volume data of each infusion clamp in real time. Specifically, the system can install a flow sensor or drip rate sensor on the infusion pipeline to detect the flow state of the drug solution in real time, and convert the collected signal into a digital quantity for recording and analysis.
[0050] For the collection of instantaneous dripping rate, the system can use highly sensitive components such as photoelectric sensors or capacitive sensors to detect the frequency of droplets passing through the infusion pipeline. By setting a reasonable sampling frequency and time window, the system can obtain a dynamic change curve of the drug dripping rate, reflecting the real-time fluctuation of the infusion rate.
[0051] For the collection of cumulative infusion volume, the system can install a flow meter at the downstream port of the infusion pipeline to accumulate and count the volume of the liquid medicine that has passed through. The flow meter can use high-precision sensors such as electromagnetic flow meters and ultrasonic flow meters to ensure the accuracy of cumulative measurement. At the same time, the system can also monitor the mass change of the infusion bag through a weight sensor, indirectly obtain the change trend of the liquid medicine consumption, and compare and calibrate it with the reading of the flow meter.
[0052] S105, calculating the real-time infusion rate of each drug to be infused based on the instantaneous dripping rate, and determining the remaining amount of each drug to be infused according to the accumulated infusion amount; After obtaining the instantaneous drip rate data of each infusion clamp, the system can further calculate the real-time infusion rate of each drug to be infused. Assuming the instantaneous drip rate of the infusion clamp corresponding to the i-th drug is fi, and the number of drops per unit volume of the drug is di, then its real-time infusion rate vi can be expressed as: vi=fi / di.
[0053] Through the above calculations, the system can grasp the dynamic infusion rate of each drug in real time. By comparing the real-time rate curve with the preset target infusion curve, the system can determine whether the current infusion process meets expectations, and perform feedback control on the infusion clamp according to the deviation, dynamically adjust the infusion speed, and ensure the stability and accuracy of the drug infusion process.
[0054] At the same time, the system can also use the cumulative infusion volume data to estimate the remaining amount of each drug. Suppose the cumulative infusion volume of the i-th drug is Vi, and its total volume is Qi, then the remaining drug volume Ri can be expressed as: Ri=Qi-Vi.
[0055] By tracking the remaining amount of each drug, the system can predict when the drug infusion is complete and prepare to replace the drug bag or switch drugs in advance. When the remaining amount of the drug is lower than the preset threshold, the system can send an alarm to medical staff and require timely drug replacement to avoid interruption of drug infusion or patients missing medication.
[0056] S106, when it is detected that the remaining amount of the drug to be infused in any infusion time window group is less than a preset threshold, the start time of the next infusion time window group is calculated according to the infusion clamp group control model; The system monitors the infusion status of each drug in each infusion time window group in real time. When it is found that the remaining amount of any drug in a group is lower than the preset threshold (for example, 100 ml), it is determined that the drug is about to be infused. Then, according to the infusion clamp group control model, the theoretical start time of the next time window group is calculated to prepare for the seamless switching of each group of drugs.
[0057] In specific implementation, the system can use the control model established in step S103 to calculate the infusion duration of each time window group in advance. When the current group of drugs is about to run out, the system obtains the start time of the next group of infusions from the control model. At the same time, the system also needs to verify whether the difference between the start time and the current time is long enough to complete the necessary compatibility interval. If the interval is insufficient, the system will appropriately delay the start time of the next group to ensure the safety of drug compatibility.
[0058] S107, at the start time, controlling the infusion clamp tube corresponding to the current infusion time window group to close, and controlling the infusion clamp tube corresponding to the next infusion time window group to open.
[0059] When the start time calculated in step S106 is reached, the system will control all the infusion clamps in the current infusion time window group to close at the same time, blocking the delivery of the drug solution. At the same time, the system opens the infusion clamp corresponding to the next time window group, starts a new round of drug infusion tasks, and completes seamless switching between groups.
[0060] The key to achieving this step is the precise coordinated control of multiple infusion clamps. The system needs to issue a switch command at the same time at a specified time to drive all clamps to act quickly to avoid interruption of drug delivery or cross contamination. In specific implementation, the system can use industrial control equipment such as PLC and single-chip microcomputer to achieve unified control of multiple clamps. The system also needs to design a reasonable hardware drive circuit to ensure that the control command can be quickly and reliably transmitted to the actuator of each clamp.
[0061] In the above embodiment, the drug information and infusion strategy of the drug to be infused are obtained, and the compatibility analysis is performed in combination with the physicochemical properties of the drug and a compatibility matrix is generated, so that the drug is scientifically divided into multiple infusion time window groups. An infusion clamp is assigned to each infusion time window group and a control model is established. The drip rate and cumulative amount are monitored in real time during the infusion process, so that the system can accurately control the infusion progress of each drug. When a drug is about to be infused, the system calculates the start time of the next time window in advance to achieve a smooth switching of the infusion process, so that the infusion process of multiple drugs is always in a controllable state, reducing the errors that may be caused by manual judgment and operation, and ensuring the accuracy and safety of drug infusion. At the same time, the system can automatically coordinate the infusion order and time interval between different drugs, reducing the workload of staff and improving the efficiency of infusion. By establishing an infusion clamp group control model to achieve coordinated control of multiple drugs, it is ensured that each drug is stably infused at the expected rate, and the accuracy and reliability of the infusion process are improved.
[0062] The above embodiments realize the intelligent control of multiple drug infusion processes from a macroscopic perspective. However, in the actual infusion process, bubbles in the pipeline will also affect the accuracy of drug infusion. In order to further improve the accuracy of infusion control, this application provides another intelligent infusion control method, which eliminates bubble interference and ensures the continuity and stability of drug delivery by real-time detection and processing of bubbles in the infusion pipeline. Figure 2 , another intelligent infusion control method in the embodiment of the present application is described: See also Figure 2 , is another flow chart of an intelligent infusion control method in an embodiment of the present application.
[0063] S201, when bubbles are detected in the infusion clamp tube, collecting a bubble image sequence in the infusion clamp tube, performing threshold segmentation on the bubble image sequence, and extracting bubble contours; When the system detects bubbles in the infusion clamp, it starts the image acquisition unit to continuously image the infusion clamp to obtain a series of image frames containing bubbles. Then, the system pre-processes the acquired bubble image sequence and extracts the contour features of the bubbles through image processing algorithms such as threshold segmentation.
[0064] In specific implementation, the system can use a variety of imaging methods such as infrared and visible light to obtain images of bubbles under different lighting conditions. When performing threshold segmentation on the image, the system can comprehensively consider parameters such as image brightness and contrast, and adaptively select the best segmentation threshold to cope with different shooting environments. For bubble contour extraction, the system can use multiple algorithms such as edge detection and region growing to ensure that the bubble area can be accurately segmented under different image qualities.
[0065] In some cases, multiple bubbles may appear in the infusion line at the same time, and there may be adhesion and overlap between the bubbles. In order to accurately extract the outline of each bubble, the system can also introduce advanced algorithms such as morphological processing to further segment and optimize the bubble area, and finally obtain the precise outline of each individual bubble.
[0066] S202, calculating the major axis length and the minor axis length of the bubble based on the bubble contour, and calculating the bubble volume according to the major axis length and the minor axis length; After extracting the bubble contour, the system performs fitting calculation on the contour to obtain the major axis length and minor axis length of the bubble (assuming that the bubble is approximately ellipsoidal). Based on the major and minor axis parameters, the system can further calculate the volume of the bubble. Volume calculation is a mature existing technology and will not be described here.
[0067] In actual calculations, due to factors such as image resolution and pixel size, the calculation results of the bubble axis length and volume may have certain errors. In order to improve the calculation accuracy, the system can calibrate the image before calculation to determine the actual size corresponding to each pixel in the image. At the same time, the system can also introduce a sub-pixel edge positioning algorithm to further improve the accuracy of the axis length calculation.
[0068] In addition, the shape of the bubbles in the infusion line may not be completely regular, and the volume calculated using the major and minor axes may deviate from the actual value. In response to this, the system can establish a three-dimensional model of the bubble shape, and obtain a more accurate estimate of the bubble volume through contour matching and model fitting. The system can also conduct a large number of experiments on bubbles of different shapes and sizes, establish a corrected model of the bubble volume based on the experimental data, and calibrate the calculation results to improve the reliability of volume estimation.
[0069] S203, determining the center of mass position of the bubble, and calculating the bubble movement speed according to the center of mass position; The size of the bubble volume will affect the degree of interference with the liquid flow rate when it passes through the clamp tube, but the real-time position and movement speed of the bubble are also important factors affecting the infusion accuracy. Therefore, after calculating the bubble volume, the system also needs to track the movement trajectory and speed of the bubble in real time.
[0070] First, the system calculates the coordinates of the center of mass position of the bubble contour. By comparing the center of mass positions in consecutive image frames, a center of mass trajectory that changes with time can be obtained. Then, the system performs a differential operation on the displacement of the center of mass trajectory to obtain the velocity vector of the bubble in the image plane.
[0071] In actual applications, due to the influence of factors such as imaging frame rate and image noise, the calculation of the center of mass position and speed may be jittery and distorted. In order to obtain a smooth and accurate speed estimate, the system can apply signal processing algorithms such as Kalman filtering and moving average on the center of mass trajectory to smooth and optimize the speed curve. At the same time, the system also needs to calibrate the imaging position of the infusion line and establish a mapping relationship between the image coordinate system and the actual space coordinate system to convert the pixel-level speed estimate into the actual space speed.
[0072] S204, determining the arrival time of the bubble at the infusion clamp tube according to the bubble volume and movement speed, and adjusting the opening of the infusion clamp tube before the arrival time to eliminate the influence of the bubble on the infusion rate.
[0073] Based on the calculation results of the bubble volume and movement speed, the system can predict the time T when the bubble reaches the infusion clamp. Assuming the initial distance between the bubble and the clamp is L, and the average movement speed of the bubble is v, the arrival time T=L / v.
[0074] After obtaining the arrival time of the bubble, the system needs to adjust the opening of the infusion clamp tube for a period of time ΔT in advance to offset the impact of the bubble on the flow rate. The size of the adjustment advance amount ΔT depends on the transmission delay of the adjustment instruction and the mechanical response time of the clamp tube actuator. The system can obtain the empirical value of ΔT through a large number of tests and statistical modeling.
[0075] At the moment T-ΔT before the bubble arrives, the system searches for the corresponding opening adjustment value ΔS from the control model of the infusion clamp group according to the bubble volume V, and sends an opening adjustment instruction to the target clamp. Due to the compensation in advance, when the bubble actually passes through the clamp, the drug infusion rate basically returns to the normal value, avoiding the influence of bubbles on the infusion accuracy.
[0076] In the above embodiment, the bubbles in the infusion line are detected in real time, the volume and movement speed of the bubbles are calculated, the time when the bubbles reach the infusion clamp is predicted, and the opening of the infusion clamp is adjusted in advance, thereby reducing the interference of the bubbles on the infusion rate. By predicting and adjusting in advance, the system can take compensation measures before the bubbles affect the infusion rate, reducing the fluctuation of the infusion rate, improving the continuity and stability of the infusion process, and thus improving the accuracy and reliability of the infusion control.
[0077] The following describes the system in the embodiment of the present invention from the perspective of hardware processing. Figure 3 , which is a schematic diagram of the physical device structure of an intelligent infusion control system provided in an embodiment of the present application.
[0078] It should be noted that Figure 3The structure of the system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0079] like Figure 3 As shown, the system includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method in the above embodiment. In RAM 303, various programs and data required for system operation are also stored. CPU 301, ROM 302 and RAM 303 are connected to each other through a bus 304. Input / output (I / O) interface 305 is also connected to bus 304.
[0080] The following components are connected to the I / O interface 305: an input section 306 including a camera, an infrared sensor, etc.; an output section 307 including a liquid crystal display (LCD) and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0081] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 309, and / or installed from a removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, various functions defined in the present invention are performed.
[0082] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
[0083] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Among them, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0084] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the system described in the above embodiment; or may exist independently without being assembled into the system. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of a system, the system implements the method provided in the above embodiment.
[0085] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0086] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
[0087] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0088] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. An intelligent infusion control method, characterized in that: include: Obtaining drug information of several drugs to be infused and an infusion strategy for each of the drugs to be infused, wherein the drug information includes the physical and chemical properties of each of the drugs to be infused and the total amount of the drugs to be infused, and the infusion strategy includes the compatibility interval between the drugs to be infused; Performing compatibility analysis on each of the drugs to be delivered according to the physical and chemical properties to generate a compatibility matrix of the drugs to be delivered, wherein the compatibility matrix indicates whether there are any incompatibility taboos between the drugs to be delivered; Based on the compatibility matrix and the compatibility interval duration, each of the drugs to be infused is divided into a plurality of infusion time window groups, each of the infusion time window groups includes a plurality of drugs to be infused that can be infused in parallel; Allocate a corresponding number of infusion clamps to each of the infusion time window groups, and establish an infusion clamp group control model according to the total amount of drugs to be infused and the infusion rate requirements in each of the infusion time window groups, wherein the infusion clamp group control model includes coordinated control parameters of each of the infusion clamps; During the infusion process of each infusion time window group, the instantaneous dripping rate and the cumulative infusion volume of each infusion clamp tube are collected; Calculating the real-time infusion rate of each of the drugs to be infused based on the instantaneous dripping rate, and determining the remaining amount of each of the drugs to be infused according to the accumulated infusion amount; When it is detected that the remaining amount of the drug to be infused in any of the infusion time window groups is less than a preset threshold, the start time of the next infusion time window group is calculated according to the infusion clamp group control model; At the start time, the infusion clamp tube corresponding to the current infusion time window group is controlled to be closed, and the infusion clamp tube corresponding to the next infusion time window group is controlled to be opened.
2. The method according to claim 1, characterized in that The compatibility analysis of each of the drugs to be delivered is performed according to the physical and chemical properties to generate a compatibility matrix of the drugs to be delivered, specifically including: Obtaining the pH range, solubility parameter and redox potential of each of the drugs to be delivered; Calculating a pH value overlap interval according to the pH value range of each of the drugs to be delivered, and determining a first compatibility index based on the pH value overlap interval; Calculating a solubility difference value based on the solubility parameters of each of the drugs to be delivered, and determining a second compatibility index according to the solubility difference value; Calculating a potential difference value according to the redox potential of each of the drugs to be delivered, and determining a third compatibility index based on the potential difference value; Performing weighted calculation on the first compatibility index, the second compatibility index and the third compatibility index to obtain a comprehensive compatibility index; A compatibility matrix of the drugs to be delivered is generated according to the comprehensive compatibility index.
3. The method according to claim 1, characterized in that The method of dividing the drugs to be infused into a plurality of infusion time window groups based on the compatibility matrix and the compatibility interval duration specifically includes: Constructing a drug association graph to be delivered based on the compatibility matrix, wherein each node in the drug association graph represents a drug to be delivered, and the lines between the nodes represent the compatibility relationship between the drugs to be delivered; The nodes with the same color in the association graph of the drugs to be infused are formed into a parallel infusion group; Calculate the minimum time interval between each of the parallel infusion groups according to the compatibility interval duration; The parallel infusion groups are arranged in time sequence based on the minimum time interval to obtain an infusion time window group.
4. The method according to claim 1, characterized in that: Before establishing the infusion clamping tube group control model according to the total amount of the drug to be infused and the infusion rate requirements in each infusion time window group, the method further includes: Obtaining the infusion pressure range and pipeline viscosity coefficient of each drug to be infused; Calculating the opening adjustment range of the infusion clamp tube according to the infusion pressure range of each drug to be infused and the pipeline viscosity coefficient; Calibrate the corresponding relationship between the opening and the dripping rate of each of the infusion clamp tubes based on the opening adjustment range; The corresponding relationship between the opening and the dripping speed is input as a parameter into the infusion clamp group control model.
5. The method according to claim 4, characterized in that The infusion clamp group control model is established according to the total amount of the drug to be infused and the infusion rate requirements in each infusion time window group, specifically including: Obtaining the administration time requirements of the drugs to be infused within each of the infusion time window groups; Calculating a target infusion rate according to the total amount of each of the drugs to be infused and the administration time requirement; Determining the infusion clamp tube opening corresponding to the target infusion rate based on the corresponding relationship between the opening and the dripping rate; A dynamic compensation mechanism for the opening of each infusion clamp tube is established based on the opening of the infusion clamp tube corresponding to each infusion clamp tube, and an infusion clamp tube group control model is established based on the dynamic compensation mechanism.
6. The method according to claim 1, characterized in that Before collecting the instantaneous dripping rate and the accumulated infusion volume of each infusion clamp during the infusion process of each infusion time window group, the method further includes: When bubbles are detected in the infusion clamp tube, the bubble volume and movement speed of the bubbles are calculated; Determine the arrival time of the bubble at the infusion clamp tube according to the bubble volume and the movement speed; The opening of the infusion clamp tube is adjusted before the arrival time to eliminate the influence of the air bubbles on the infusion rate.
7. The method according to claim 6, characterized in that The calculating the bubble volume and movement speed of the bubble specifically includes: Collecting a bubble image sequence in the infusion clamp tube, performing threshold segmentation on the bubble image sequence, and extracting bubble contours; Calculating the major axis length and the minor axis length of the bubble based on the bubble contour; Calculate the bubble volume according to the major axis length and the minor axis length; The center of mass position of the bubble is determined, and the bubble movement speed is calculated according to the center of mass position.
8. An intelligent infusion control system, characterized in that: The system comprises: One or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the system to execute the method as described in any one of claims 1-7.
9. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on a system, the system is caused to execute the method according to any one of claims 1 to 7.
10. A computer program product, characterized in that When the computer program product is run on a system, the system is caused to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Infusion device and infusion control method
CN104225722A
Infusion monitoring alarm method and system, computer equipment and readable storage medium
CN111744075A
Drug delivery systems and methods
CN113041451A
Intravenous infusion control method and system, computer equipment and storage medium
CN115910275A
Intelligent infusion monitoring method, electronic equipment, medium and program product
CN118649314A