An intelligent drug monitoring system
Through the intelligent drug monitoring system, combined with drug use trends and inventory data, the problem of failure to combine the actual drug use situation in drug shortage risk monitoring is solved, and the controllability of drug inventory and the accuracy of shortage risk judgment is achieved.
Patent Information
- Application Number
- CN202410884327.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-07-03
AI Technical Summary
The existing technology fails to monitor the risk of drug shortage in combination with the actual drug use of users, resulting in uncontrollable drug inventory.
Design an intelligent drug monitoring system to analyze drug use trends and inventory data through the combination of basic drug databases, drug data analysis units, object databases, monitoring and analysis units, environmental databases and execution units, and accurately judge the risk of drug shortage.
It improves the accuracy of judging drug shortage risks, improves the timeliness of shortage drug management and the stability and reliability of drug supply, and is conducive to the optimized allocation and efficient utilization of drug resources.
Smart Images

Figure CN118737496B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of big data processing, and in particular to an intelligent drug monitoring system. Background Art
[0002] In recent years, with the continuous expansion of the pharmaceutical market and the continuous optimization of supply management, the application of big data technology in the pharmaceutical field has become increasingly widespread. Big data technology can help pharmaceutical companies achieve comprehensive monitoring and management of goods supply, sales channels, etc., thereby achieving intelligent prediction and risk control of supply relationships.
[0003] Chinese patent publication number CN114664422A discloses a drug shortage risk monitoring and early warning method and system, including: obtaining the circulation data of the drug to be monitored N months before the prediction time point, then calculating the supply average value and demand average value of the drug to be monitored based on the circulation data, and using the supply average value and demand average value as input, respectively, using the Poisson distribution formula to predict the supply forecast value and demand forecast value of the drug to be monitored one month after the prediction time point. Finally, the drug shortage index of the drug to be monitored one month after the prediction time point is calculated based on the supply forecast value and demand forecast value, and the risk is graded according to the drug shortage index to determine the risk level of the drug to be monitored one month after the prediction time point, thereby providing a means for early detection of drug shortage risks and moving the threshold of drug shortage early warning forward.
[0004] It can be seen that although the above technical solution obtains the drug shortage index and risk level of the monitored drug one month after the prediction point based on the drug supply forecast value and the demand forecast value, there are still the following problems: it does not judge the drug usage trend in combination with the actual drug usage of users, which may lead to excessive drug inventory after purchasing drugs, and does not judge the shortage risk in combination with the drug usage trend. Summary of the invention
[0005] To this end, the present invention provides an intelligent drug monitoring system to overcome the problem in the prior art that the drug inventory is uncontrollable due to the failure to judge the drug usage trend in combination with the user's actual drug usage situation and the failure to judge the drug shortage risk in combination with the drug usage trend.
[0006] To achieve the above object, the present invention provides an intelligent drug monitoring system, comprising:
[0007] Basic drug database, which stores drug information from several data sources within a preset time period, including drug name, drug use, outbound data, and inventory data;
[0008] a drug data analysis unit connected to the basic drug database, for determining the drug label of the drug according to the drug name, drug use, and inventory data of each drug in a single data source, and determining the drug commonality according to the overlap of drug labels of the same drug in each data source;
[0009] An object database storing drug taking cycles of multiple objects of each drug from multiple data sources and states before and after the multiple objects take each drug, for determining a drug use trend coefficient of each drug according to the drug taking cycle and the states before and after taking each drug;
[0010] A monitoring and analysis unit, which is connected to the basic drug database, the drug data analysis unit, and the object database, respectively, and is used to determine the predicted demand quantity of a single drug within a preset period according to the outbound data of a single drug and the drug use trend coefficient, and is used to determine whether there is a shortage risk of a single drug according to the inventory data and the predicted demand quantity of a single drug;
[0011] An environmental database, which is connected to the object database and the monitoring and analysis unit, respectively, and is used to store peak information of historical medication peaks corresponding to each drug label, including peak time, peak medication amount, and medication range, and to adjust the medication trend of a single drug according to the degree of correlation between the single drug and the peak information, and to adjust the update frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk;
[0012] an execution unit, which is connected to the basic drug database, the monitoring and analysis unit and the environment database respectively, and is used to determine the shortage quantity of a single drug according to the inventory data and the predicted demand quantity of the single drug, and to send a data update request to each of the data sources according to the update frequency;
[0013] The drug label includes applicable diseases, medication type, inventory type and replacement type.
[0014] Furthermore, the drug data analysis unit determines the applicable disease and medication type of each drug according to the drug name and drug use of each drug in the single data source, and determines the replacement type of each drug according to the applicable disease of each drug, including:
[0015] If the number of types of drugs with the same applicable symptoms is greater than or equal to the preset substitution threshold, the substitution type of the drug is a replaceable drug;
[0016] If the number of types of drugs with the same applicable symptoms is less than a preset substitution threshold, the substitution type of the drug is an irreplaceable drug.
[0017] Furthermore, the drug data analysis unit determines the inventory type according to the inventory data of each drug and the replacement type, and the inventory type includes a high inventory type and a low inventory type, wherein different inventory types correspond to different stock warning thresholds.
[0018] Furthermore, the drug data analysis unit determines the drug label overlap of the same drug according to the applicable symptoms, medication type, inventory type, and replacement type of the same drug in each data source, and determines the drug commonality according to the drug label overlap.
[0019] Furthermore, the object database determines the medication trend coefficient of a single drug according to a preset medication cycle of the single drug and the states of several subjects before and after medication and the medication taking cycle.
[0020] Furthermore, the monitoring and analysis unit determines the predicted demand quantity of a single drug in a single data source within a preset period based on the warehouse delivery data and medication trend coefficient of the single drug in a single data source at historical time points, and determines the predicted total demand quantity of a single drug in several data sources within a preset period based on the warehouse delivery data, medication trend coefficient, and drug commonality of the single drug in several data sources at historical time points.
[0021] Furthermore, the monitoring and analysis unit determines whether there is a risk of shortage of a single drug based on the inventory data and predicted total demand quantity of the single drug in several data sources.
[0022] Furthermore, the environmental database determines an adjustment factor according to the degree of correlation between the single drug and the peak information, and adjusts the medication trend coefficient of the single drug based on the adjustment factor.
[0023] Furthermore, the environmental database adjusts the updating frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk, including:
[0024] If the success rate of judging the historical shortage risk is less than a preset success rate threshold, it is determined to increase the update frequency;
[0025] If the success rate of judging the historical shortage risk is greater than or equal to a preset success rate threshold, it is determined to reduce the updating frequency.
[0026] Furthermore, the execution unit determines the shortage quantity of a single drug in a single data source based on the inventory data of the single drug in a single data source and the predicted demand quantity, and determines the total shortage quantity of a single drug in several data sources based on the inventory data of the single drug in several data sources and the predicted total demand quantity.
[0027] Compared with the prior art, the beneficial effect of the present invention is to establish a comprehensive intelligent drug monitoring system, determine the drug label and drug commonality of each drug through the drug data analysis unit, determine the drug usage trend coefficient of each drug through the object database, determine the predicted demand quantity of a single drug within a preset period through the monitoring and analysis unit, and accurately judge whether there is a shortage risk of a single drug based on inventory data and predicted demand quantity. The environmental database adjusts the drug usage trend coefficient of a single drug through the stored historical drug usage peak information, and adjusts the update frequency of the drug usage trend coefficient according to the success rate of judging the historical shortage risk. Finally, the shortage quantity of a single drug is determined through the execution unit and an update request is issued to several data sources according to the update frequency of the drug usage trend coefficient. The accuracy of judging the risk of drug shortage is further improved, the timeliness of the management of shortage drugs and the stability and reliability of drug supply are improved, which is conducive to the optimal allocation and efficient utilization of drug resources.
[0028] Furthermore, the drug data analysis unit of the present invention analyzes the drug name and drug use of each drug in the single data source to effectively determine the applicable symptoms and medication type of each drug, and determines whether the drug is a replaceable drug or an irreplaceable drug based on the same number of applicable symptoms, and determines the drug inventory type based on the replacement type of the drug and the corresponding drug inventory warning threshold. The present invention classifies and marks each drug by setting a drug label, thereby further improving the accuracy of drug shortage risk judgment, improving the timeliness of drug shortage management and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient use of drug resources.
[0029] Furthermore, the drug data analysis unit in the present invention accurately calculates the drug label overlap of the same drugs according to the overlap of medication types, inventory types and replacement types of the same drugs in each data source, thereby improving the information integration of the same drugs in each data source, and determining the commonality of drugs through the overlap of drug labels, thereby further improving the accuracy of drug shortage risk judgment, improving the timeliness of drug shortage management and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient utilization of drug resources.
[0030] Furthermore, the object database of the present invention accurately determines the medication trend coefficient of a single drug based on the preset medication cycle of the single drug and the states of several subjects before and after medication, and the medication cycle. This is further conducive to predicting the drug demand trend of each data source, improving the accuracy of drug shortage risk judgment, improving the timeliness of drug shortage management and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient use of drug resources.
[0031] Furthermore, the monitoring and analysis unit in the present invention determines the predicted demand quantity of a single drug in a single data source within a preset period based on the outbound data of the single drug in a single data source at a historical time point and the medication trend coefficient, and determines the predicted total demand quantity of a single drug from several data sources within the preset period, thereby further improving the accuracy of drug shortage risk judgment, improving the timeliness of shortage drug management and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient utilization of drug resources.
[0032] Furthermore, the monitoring and analysis unit in the present invention integrates the inventory data and predicted total demand quantity of a single drug from several data sources to accurately assess whether there is a risk of shortage of a single drug, which helps several data sources to discover drug shortage problems, thereby further improving the timeliness of the management of shortage drugs and the stability and reliability of drug supply, and is conducive to the optimal allocation and efficient utilization of drug resources.
[0033] Furthermore, the environmental database in the present invention determines an adjustment factor according to the degree of correlation between a single drug and the peak information, and adjusts the medication trend coefficient of the single drug based on the adjustment factor, thereby more accurately reflecting the real-time changes in drug demand, improving the timeliness of shortage drug management and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient utilization of drug resources.
[0034] Furthermore, the environmental database in the present invention dynamically adjusts the updating frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk, and continuously optimizes and calibrates the medication trend coefficient, thereby making the prediction of drug demand more flexible and efficient, further improving the timeliness of the management of shortage drugs and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient utilization of drug resources.
[0035] Furthermore, the execution unit in the present invention determines the shortage quantity of a single drug in a single data source based on the inventory data and predicted demand of a single drug in a single data source, and determines the total shortage quantity of a single drug based on the inventory data and predicted total demand of a single drug in several data sources. This further improves the accuracy of drug shortage risk judgment, improves the timeliness of drug shortage management, and improves the stability and reliability of drug supply, which is conducive to the optimal allocation and efficient use of drug resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a connection block diagram of the intelligent drug monitoring system of the present invention;
[0037] Figure 2 A decision diagram for determining the replacement type of each drug according to the applicable symptoms of each drug by the drug data analysis unit of the present invention;
[0038] Figure 3 A decision diagram for determining the inventory type by the drug data analysis unit of the present invention according to the inventory data and the replacement type of each drug;
[0039] Figure 4 The present invention is a decision diagram for adjusting the updating frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk by the environmental database. DETAILED DESCRIPTION
[0040] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0041] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0042] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0043] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0044] See also Figure 1 As shown, it is a connection block diagram of the intelligent drug monitoring system of the present invention. The present invention provides an intelligent drug monitoring system, including:
[0045] Basic drug database, which stores drug information from several data sources within a preset time period, including drug name, drug use, outbound data, and inventory data;
[0046] a drug data analysis unit connected to the basic drug database, for determining the drug label of the drug according to the drug name, drug use, and inventory data of each drug in a single data source, and determining the drug commonality according to the overlap of drug labels of the same drug in each data source;
[0047] An object database storing drug taking cycles of multiple objects of each drug from multiple data sources and states before and after the multiple objects take each drug, for determining a drug use trend coefficient of each drug according to the drug taking cycle and the states before and after taking each drug;
[0048] A monitoring and analysis unit, which is connected to the basic drug database, the drug data analysis unit, and the object database, respectively, and is used to determine the predicted demand quantity of a single drug within a preset period according to the outbound data of a single drug and the drug use trend coefficient, and is used to determine whether there is a shortage risk of a single drug according to the inventory data and the predicted demand quantity of a single drug;
[0049] An environmental database, which is connected to the object database and the monitoring and analysis unit, respectively, and is used to store peak information of historical medication peaks corresponding to each drug label, including peak time, peak medication amount, and medication range, and to adjust the medication trend of a single drug according to the degree of correlation between the single drug and the peak information, and to adjust the update frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk;
[0050] an execution unit, which is connected to the basic drug database, the monitoring and analysis unit and the environment database respectively, and is used to determine the shortage quantity of a single drug according to the inventory data and the predicted demand quantity of the single drug, and to send a data update request to each of the data sources according to the update frequency;
[0051] The drug label includes applicable diseases, medication type, inventory type and replacement type.
[0052] The present invention establishes a comprehensive intelligent drug monitoring system, determines the drug label and drug commonality of each drug based on the drug data analysis unit, determines the drug usage trend coefficient of each drug through the object database, determines the predicted demand quantity of a single drug within a preset period through the monitoring and analysis unit, and accurately judges whether a single drug has a shortage risk based on inventory data and predicted demand quantity. The environmental database adjusts the drug usage trend coefficient of a single drug through the stored historical drug usage peak information, and adjusts the update frequency of the drug usage trend coefficient according to the success rate of historical shortage risk judgment. Finally, the shortage quantity of a single drug is determined through the execution unit and an update request is issued to several data sources according to the update frequency of the drug usage trend coefficient. The accuracy of drug shortage risk judgment is further improved, the timeliness of shortage drug management and the stability and reliability of drug supply are improved, which is conducive to the optimal allocation and efficient utilization of drug resources.
[0053] See also Figure 2 As shown in the figure, it is a decision diagram for the drug data analysis unit of the present invention to determine the replacement type of each drug according to the applicable symptoms of each drug. Specifically, the drug data analysis unit determines the applicable symptoms and medication types of each drug according to the key features extracted from the drug name and drug use of each drug in the single data source, and determines the replacement type of each drug according to the applicable symptoms of each drug, including:
[0054] If the number of types of drugs with the same applicable symptoms is greater than or equal to the preset substitution threshold, the substitution type of the drug is a replaceable drug;
[0055] If the number of types of drugs with the same applicable symptoms is less than a preset substitution threshold, the substitution type of the drug is an irreplaceable drug.
[0056] It is understandable that key features can be extracted from the drug name and drug use of each drug in a single data source. The key features can reflect which diseases a number of drugs treat, thereby determining the applicable diseases and medication types of the corresponding drugs. When the number of types of drugs with the same applicable diseases is greater than or equal to the preset substitution threshold, it means that when needed, any one of these drugs can be replaced by another drug with the same applicable disease, and the corresponding substitution type is a replaceable drug; when the number of types of drugs with the same applicable disease is less than the preset substitution threshold, it means that these drugs have certain special features and importance when needed and cannot be easily replaced by other drugs, so the corresponding substitution type is an irreplaceable drug.
[0057] In implementation, the value range of the preset replacement threshold is 2 to 5. Preferably, the preset replacement threshold is 3. The value range and preferred value of the preset replacement threshold need to be adjusted according to actual conditions and will not be elaborated here.
[0058] See also Figure 3 As shown, it is a determination diagram of the drug data analysis unit of the present invention determining the inventory type according to the inventory data and the replacement type of each drug. Specifically, the drug data analysis unit determines the inventory type according to the inventory data of each drug and the replacement type. The inventory type includes a high inventory type and a low inventory type. Different inventory types have different corresponding stock alert thresholds, including:
[0059] If the replacement type of the drug is a replaceable drug, and the inventory data of the drug is greater than or equal to a first inventory warning threshold, it is determined that the inventory type of the drug is a high inventory type;
[0060] If the replacement type of the drug is a replaceable drug, and the inventory data of the drug is less than a first inventory warning threshold, it is determined that the inventory type of the drug is a low inventory type;
[0061] If the replacement type of the drug is an irreplaceable drug, and the inventory data of the drug is greater than or equal to a second inventory warning threshold, it is determined that the inventory type of the drug is a high inventory type;
[0062] If the replacement type of the drug is an irreplaceable drug, and the inventory data of the drug is less than a second inventory warning threshold, it is determined that the inventory type of the drug is a low inventory type.
[0063] It is understandable that, in a single data source, if the drug is a replaceable drug, the total inventory data of the drugs of the same medication type can be comprehensively viewed, and the inventory type of the drug can be determined based on the total inventory data and the first inventory warning threshold. If the drug is an irreplaceable drug, the inventory data of a single drug is viewed separately, and the inventory type of the drug can be determined based on the inventory data of the single drug and the second inventory warning threshold. In implementation, the first inventory warning threshold is greater than the second inventory warning threshold.
[0064] In implementation, it is assumed that the single data source is a provincial medical institution, wherein the value range of the first stock alert threshold is 10,000 boxes to 30,000 boxes, and preferably, the first stock alert threshold is 15,000 boxes. The value range of the second stock alert threshold is 5,000 boxes to 8,000 boxes, and preferably, the second stock alert threshold is 6,000 boxes. The value range and preferred value of the first stock alert threshold and the second stock alert threshold need to be adjusted according to the actual situation of the single data source, which will not be repeated here.
[0065] The drug data analysis unit of the present invention analyzes the drug name and drug use of each drug in the single data source to effectively determine the medication type of each drug, and determines whether the drug is a replaceable drug or an irreplaceable drug based on the same number of applicable symptoms, and determines the drug inventory type based on the replacement type of the drug and the corresponding drug inventory warning threshold. The present invention classifies and marks each drug by setting a drug label, thereby further improving the accuracy of drug shortage risk judgment, improving the timeliness of drug shortage management and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient use of drug resources.
[0066] Specifically, the drug data analysis unit determines the drug label overlap of the same drug according to the applicable symptoms, medication type, inventory type, and replacement type of the same drug in each data source, and determines the drug commonality according to the drug label overlap.
[0067] In implementation, the overlap of drug labels of a single drug in the plurality of data sources is used as the common degree of the drug. Assuming there are two data sources, the drug label of a single drug in the first data source is [cold, oral, high inventory, replaceable], and the drug label of a single drug in the second data source is [cold, granules, low inventory, replaceable]. Then the same drug label of a single drug in the first data source and the second group of data elements can be represented by 1, and the different drug labels of a single drug in the first data source and the second data source are represented by 0 (different drug labels in the first data source) and 1 (different drug labels in the second data source), respectively. Then the drug label of a single drug in the first data source is represented by vector A. 1 =[1, 0, 0, 1] indicates that the drug label of a single drug of the first data source is represented by vector A 2 =[1, 1, 1, 1] indicates that the drug label overlap of a single drug in the two data sources can be obtained by calculating the cosine similarity between the two. The drug label overlap R ranges from [0, 1], and the calculation formula for the drug label overlap of a single drug in the two data sources is as follows:
[0068]
[0069] Among them, the A 1 ·A 2 For two vectors A 1 and A 2 The dot product of ||A 1 || is vector A 1 The module of ||A 2 || is vector A 2 Model.
[0070] The drug label overlap ratio R of a single drug in the several data sources x The calculation formula is as follows:
[0071]
[0072] Among them, R is the average value calculated based on the number E of drug label overlaps of several single drugs after summing up the drug label overlaps of a single drug in any two data sources. The number E of drug label overlaps of several single drugs is the number of combinations that can be made between the several data sources, which will not be repeated here.
[0073] The drug data analysis unit described in the present invention accurately calculates the drug label overlap of the same drug according to the drug usage type overlap, inventory type overlap, and replacement type overlap of the same drug in each data source, thereby improving the information integration of the same drug in each data source, and determining the commonality of the drug through the drug label overlap, further improving the accuracy of drug shortage risk judgment, improving the timeliness of shortage drug management and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient utilization of drug resources.
[0074] Specifically, the object database determines the medication trend coefficient of a single drug according to the preset medication cycle of the single drug and the states of several subjects before and after medication and the medication taking cycle.
[0075] It can be understood that the drug taking cycle is the duration that several subjects actually take a single drug.
[0076] In practice, the physical conditions of the subjects are represented by 1 to 10, where 1 represents an extremely poor condition and 10 represents an extremely good condition. 1 , n 2 , n 3 ...., n p The state of the subjects after taking a single drug is set to m 1 , m 2 , m 3 ...., m p , then the preset medication cycle of the single drug is T 0 , the medication cycle of each subject using a single drug is T j , j = 1, 2, 3, ..., p, then the calculation formula for the medication trend coefficient of the single drug is as follows:
[0077]
[0078] The object database of the present invention accurately determines the medication trend coefficient of a single drug according to the preset medication cycle of the single drug and the states before and after medication of several subjects and the medication cycle. This is further conducive to predicting the drug demand trend of each data source, improving the accuracy of drug shortage risk judgment, improving the timeliness of drug shortage management and the stability and reliability of drug supply, and is conducive to achieving optimal allocation and efficient utilization of drug resources.
[0079] Specifically, the monitoring and analysis unit determines the predicted demand quantity of a single drug in a single data source within a preset period based on the delivery data of the single drug in a single data source at a historical time point and the medication trend coefficient, and determines the predicted total demand quantity of a single drug in several data sources within a preset period based on the delivery data of the single drug in several data sources at a historical time point, the medication trend coefficient, and the commonality of the drug.
[0080] In implementation, the outbound data of a single drug in a single data source at a historical time point is S 1 , S 2 , ..., S k ,……,S t , where t is the number of historical time points, and the time points can be 12 months of a year, with a total of 12 historical time points. The preset period value range is 3 months to 6 months, preferably, the preset period value range is 5 months. The number of historical time points, the value range of the preset period and the preferred value can be determined according to actual conditions, and will not be repeated here.
[0081] In implementation, the predicted demand quantity H of a single drug in the single data source within a preset period 1 The calculation formula is as follows:
[0082] H 1 =S 0 ×t 0 ×ΔP (4)
[0083]
[0084] Among them, s 0 The outbound data S of the single drug in a single data source at a historical time point 1 , S 2 , ..., S k , ..., S t The mean value of 0 is the preset period, and ΔP is the medication trend coefficient.
[0085] In practice, the calculation formula for the predicted total demand quantity H of a single drug in a preset period from several data sources is as follows:
[0086]
[0087] Among them, the M z is the average number of shipments of a single drug in the zth data source at a historical time point, 1 is the number of data sources, t 0 is the preset cycle, ΔP is the medication trend coefficient, R x The degree of commonality of the drug.
[0088] The monitoring and analysis unit described in the present invention determines the predicted demand quantity of a single drug in a single data source within a preset period based on the outbound data of a single drug in a single data source at a historical time point and the drug usage trend coefficient, and determines the predicted total demand quantity of a single drug from several data sources within the preset period, thereby further improving the accuracy of drug shortage risk judgment, improving the timeliness of shortage drug management and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient utilization of drug resources.
[0089] Specifically, the monitoring and analysis unit determines whether there is a shortage risk of a single drug based on the inventory data and the predicted total demand quantity of the single drug in several data sources, including:
[0090] If the inventory data of the single drug in several data sources is less than the predicted total demand quantity, it is determined that the single drug is at risk of shortage;
[0091] If the inventory data of the single drug in several data sources is greater than or equal to the predicted total demand quantity, it is determined that there is no shortage risk for the single drug.
[0092] It is understandable that the several data sources are medical institutions, pharmacies, etc. of different sizes. When the inventory data of the single drug in the several data sources is less than the predicted total demand, it means that the current inventory of the single drug in the several data sources can no longer meet the demand of the several objects for the single drug, and there is a shortage of the single drug. When the inventory data of the single drug in the several data sources is greater than or equal to the predicted total demand, it means that the current inventory of the single drug in the several data sources can meet the demand of the several objects for the single drug, the inventory of the single drug is sufficient, there is no risk of shortage, and it will not affect the status of several objects.
[0093] The monitoring and analysis unit described in the present invention integrates the inventory data and predicted total demand quantity of a single drug from several data sources to accurately evaluate whether there is a shortage risk of a single drug, which helps several data sources to discover drug shortage problems, thereby further improving the timeliness of the management of shortage drugs and the stability and reliability of drug supply, and is conducive to the optimal allocation and efficient utilization of drug resources.
[0094] Specifically, the environmental database determines an adjustment factor according to the degree of correlation between a single drug and the peak information, and adjusts the medication trend coefficient of the single drug based on the adjustment factor.
[0095] In practice, it is assumed that the single drug is a cold medicine, its peak time is winter, the peak dosage is 120,000 boxes, and the demand range is mainly children and the elderly. Assuming that the use of the single drug increases from December to February, and the average monthly dosage is 100,000 boxes (close to the peak dosage), if the actual dosage increases significantly in winter and reaches more than 80% of the peak dosage, then a time correlation β can be set between the single drug and the peak time. 1 (β 1 If the actual dosage is close to the peak dosage, reaching more than 90% of the peak dosage, then the dosage correlation β can be set between the single drug and the peak dosage. 2 (β 2 If the actual drug dosage and the number of subjects who need the drug increase to a certain extent, reaching more than 70% of the minimum increase in the number of subjects who need the drug, a range matching degree β can be set between the single drug and the required drug range. 3 (Although it is mainly aimed at children and the elderly, middle-aged and young people also have certain needs, 3 is set to 0.7), and the time correlation β 1 , dosage correlation β 2 , range matching degree β 3 Set different weights (because the main adjustment is the medication trend coefficient, the dosage correlation weight β 2 The proportion is relatively high and can be set to 0.5. The time correlation β 1 The proportion is set to 0.3 in the middle, and the range matching degree is β 3 The proportion is small, set to 0.2), and the adjustment factor is obtained. The calculation formula of the adjustment factor is as follows:
[0096] δ=γ 1 ×β 1 +γ 2 ×β 2 +γ 3 ×β 3 (7)
[0097] Among them, γ 1 is the time correlation weight, γ 2 is the usage correlation weight, γ 3 is the range matching weight, γ 1 , γ 2 , γ 3 The sum of the three is 1.
[0098] In implementation, the time correlation, the usage correlation, the range matching, and the weight may be adjusted according to actual conditions, which will not be described in detail here.
[0099] In implementation, the medication trend coefficient of the single drug is adjusted based on the adjustment factor, and the calculation formula of the adjusted medication trend coefficient is as follows:
[0100] ΔP ‘ =ΔP×δ (8)
[0101] Among them, the ΔP ‘ is the medication trend coefficient after adjustment, ΔP is the medication trend coefficient before adjustment, and δ is the adjustment factor.
[0102] The environmental database in the present invention determines the adjustment factor according to the correlation between a single drug and the peak information, and adjusts the medication trend coefficient of the single drug based on the adjustment factor, thereby more accurately reflecting the real-time changes in drug demand, improving the timeliness of shortage drug management and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient utilization of drug resources.
[0103] See also Figure 4 As shown, it is a determination diagram of the environmental database of the present invention adjusting the updating frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk. Specifically, the environmental database adjusts the updating frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk, including:
[0104] If the success rate of judging the historical shortage risk is less than a preset success rate threshold, it is determined to increase the update frequency;
[0105] If the success rate of judging the historical shortage risk is greater than or equal to a preset success rate threshold, it is determined to reduce the updating frequency.
[0106] It is understandable that if the success rate of judging the historical shortage risk is less than the preset success rate threshold, it means that the intelligent monitoring system has made an incorrect judgment on the historical shortage risk, and it is necessary to increase the update frequency of the medication trend coefficient, so as to adjust the predicted demand quantity of the single drug within the preset period, and re-determine whether there is a shortage risk of the single drug based on the inventory data and predicted demand quantity of the single drug. If the success rate of judging the historical shortage risk is greater than or equal to the preset success rate threshold, it means that the medication trend coefficient of the single drug does not need to be adjusted and updated at this stage, so the update frequency of the medication trend coefficient of the single drug can be reduced to reduce the complexity of the computer.
[0107] In implementation, the shortage risk can be determined at several time points. Assume that the total number of shortage risk determinations at the several time points is N.1 , the number of times the shortage risk judgment is wrong is N 2 , the number of successful shortage risk judgments is N 1 -N 2 , then the calculation formula for the judgment success rate α is as follows:
[0108]
[0109] In implementation, the several time points may be 12 months in a year, and the shortage risk of the single drug is judged every month respectively. The preset success rate threshold value ranges from 85% to 95%. Preferably, the preset success rate is 90%. The value ranges and preferred values of the several time points and the preset success rate need to be determined based on actual conditions and will not be elaborated here.
[0110] The environmental database in the present invention dynamically adjusts the updating frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk, and continuously optimizes and calibrates the medication trend coefficient, thereby making the prediction of drug demand more flexible and efficient, further improving the timeliness of the management of shortage drugs and the stability and reliability of drug supply, and facilitating the optimal allocation and efficient utilization of drug resources.
[0111] Specifically, the execution unit determines the shortage quantity of a single drug in a single data source based on the inventory data of the single drug in a single data source and the predicted demand quantity, and determines the total shortage quantity of a single drug in several data sources based on the inventory data of the single drug in several data sources and the predicted total demand quantity.
[0112] It can be understood that the shortage situation of the single drug can be determined by the shortage quantity of the single drug in the single data source and the total shortage quantity of the single drug in several data sources, and the scheduling of drugs between the single data source and other data sources can be realized through the execution unit, thereby realizing timely management and supply of the short-supply drugs.
[0113] In implementation, the shortage quantity P of a single drug in the i-th data source is i The calculation formula is as follows:
[0114] P i =Q i -M i (10)
[0115] Among them, Q i is the predicted demand quantity of a single drug in the i-th data source, M i is the inventory quantity of a single drug in the i-th data source.
[0116] The total number of shortages of a single drug in the above data sources is calculated as follows:
[0117]
[0118] Where Q is the total predicted demand for a single drug in the L data sources, M i is the inventory quantity of a single drug in the i-th data source, is the total inventory quantity in L data sources.
[0119] The execution unit will subsequently send a data update request to each of the data sources according to the update frequency of the medication trend coefficient.
[0120] The execution unit of the present invention determines the shortage quantity of a single drug in a single data source based on the inventory data and predicted demand of a single drug in a single data source, and determines the total shortage quantity of a single drug based on the inventory data and predicted total demand of a single drug in several data sources. This further improves the accuracy of drug shortage risk judgment, improves the timeliness of drug shortage management, and improves the stability and reliability of drug supply, which is conducive to the optimal allocation and efficient use of drug resources.
[0121] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. An intelligent drug monitoring system, characterized in that: include: Basic drug database, which stores drug information from several data sources within a preset time period, including drug name, drug use, outbound data, and inventory data; a drug data analysis unit connected to the basic drug database, for determining the drug label of the drug according to the drug name, drug use, and inventory data of each drug in a single data source, and determining the drug commonality according to the overlap of drug labels of the same drug in each data source; An object database stores the drug taking cycles of several objects of each drug from several data sources and the states before and after the several objects take each drug, and is used to determine the drug taking trend coefficient of a single drug according to the preset drug taking cycle of the single drug and the states before and after the several objects take the drug, and the drug taking cycle, wherein the drug taking trend coefficient of the single drug Assumptions The pre-medication status of a subject using a single drug is set to The status of the subjects after taking a single drug is set as The preset medication cycle of the single drug is The medication cycle for each subject using a single drug is ; The monitoring and analysis unit is respectively connected to the basic drug database, the drug data analysis unit, and the object database, and is used to determine the predicted demand quantity of a single drug in a single data source within a preset period according to the outbound data of a single drug in a single data source at a historical time point and the drug use trend coefficient, and to determine the predicted total demand quantity of a single drug in several data sources within a preset period according to the outbound data of a single drug in several data sources at a historical time point, the drug use trend coefficient, and the drug commonality, and the predicted demand quantity of a single drug in a single data source within a preset period in, The outbound data of the single drug in a single data source at a historical time point The mean of is the preset cycle, is the medication trend coefficient; The total predicted demand for a single drug in a preset period from several data sources Among them, the For a single drug at a historical point in time The average number of outbound shipments in each data source, is the number of data sources, is the preset cycle, is the medication trend coefficient, The generic degree of the drug; The monitoring and analysis unit is also used to determine whether there is a shortage risk of a single drug based on the inventory data and predicted demand quantity of the single drug; An environmental database, which is connected to the object database and the monitoring and analysis unit, respectively, and is used to store peak information of historical medication peaks corresponding to each drug label, including peak time, peak medication amount, and medication range, and to adjust the medication trend coefficient of a single drug according to the degree of correlation between the single drug and the peak information, and to adjust the update frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk; an execution unit, which is connected to the basic drug database, the monitoring and analysis unit and the environment database respectively, and is used to determine the shortage quantity of a single drug according to the inventory data and the predicted demand quantity of the single drug, and to send a data update request to each of the data sources according to the update frequency; The drug label includes applicable diseases, medication type, inventory type and replacement type.
2. The intelligent drug monitoring system according to claim 1, characterized in that: The drug data analysis unit determines the applicable disease and medication type of each drug according to the drug name and drug use of each drug in the single data source, and determines the replacement type of each drug according to the applicable disease of each drug, including: If the number of types of drugs with the same applicable symptoms is greater than or equal to the preset substitution threshold, the substitution type of the drug is a replaceable drug; If the number of types of drugs with the same applicable symptoms is less than a preset substitution threshold, the substitution type of the drug is an irreplaceable drug.
3. The intelligent drug monitoring system according to claim 1, characterized in that: The drug data analysis unit determines the inventory type according to the inventory data of each drug and the replacement type, and the inventory type includes a high inventory type and a low inventory type, wherein different inventory types correspond to different stock warning thresholds.
4. The intelligent drug monitoring system according to claim 3, characterized in that: The drug data analysis unit determines the drug label overlap of the same drug according to the applicable symptoms, medication type, inventory type, and replacement type of the same drug in each data source, and determines the drug commonality according to the drug label overlap; Among them, the drug label overlap of a single drug from the two data sources is Said For two vectors and The dot product of For vector The model, For vector The model of the drug label overlap of a single drug in the several data sources Said The number of drug label overlaps based on several single drugs after summing up the overlaps of drug labels of all single drugs in any two data sources Calculate the average value.
5. The intelligent drug monitoring system according to claim 1, characterized in that: The monitoring and analysis unit determines whether there is a shortage risk of a single drug based on the inventory data of the single drug and the predicted total demand quantity in several data sources.
6. The intelligent drug monitoring system according to claim 1, characterized in that: The environmental database adjusts the updating frequency of the medication trend coefficient according to the success rate of judging the historical shortage risk, including: If the success rate of judging the historical shortage risk is less than a preset success rate threshold, it is determined to increase the update frequency; If the success rate of judging the historical shortage risk is greater than or equal to a preset success rate threshold, it is determined to reduce the updating frequency.
7. The intelligent drug monitoring system according to claim 5, characterized in that: The execution unit determines the shortage quantity of a single drug in a single data source according to the inventory data of a single drug in a single data source and the predicted demand quantity, and determines the total shortage quantity of a single drug in several data sources according to the inventory data of a single drug in several data sources and the predicted total demand quantity, wherein: The said Number of shortages of a single drug in each data source in, For the The predicted demand quantity of a single drug in each data source, For the The inventory quantity of a single drug in the data source; Total number of shortages of a single drug described in the several data sources mentioned in, For the The total predicted demand for a single drug from each data source, For the The inventory quantity of a single drug in each data source, for The total inventory quantity in the data source.
Citation Information
Patent Citations
Drug shortage risk monitoring and early warning method and system
CN114664422A
System for controlling drug shortage risk
CN113488132A
Hospital medicine intelligent management system
CN117976136A