Hospital medicine management system and management method
By using the hospital drug management system and forecasting module, the problem of low warehouse space utilization caused by inaccurate drug dispensing was solved, thereby optimizing drug management and reducing inventory costs.
Patent Information
- Application Number
- CN202410503440.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2026-02-13
AI Technical Summary
Frequent updates to drug prescription guidelines in hospital pharmacies make it difficult for doctors to accurately prescribe medications according to the guidelines, resulting in uneven drug inventory, occupying storage space, and reducing storage utilization.
The hospital drug management system includes modules for acquiring warehouse information, purchasing information, information processing, and operation terminals. It updates the cumulative surplus of drugs in real time, generates a candidate list sorted by cumulative surplus, and combines it with a drug forecasting module to predict future consumption and optimize drug procurement plans.
It improves the accuracy of drug dispensing, reduces drug stockpiling, increases warehouse space utilization, and lowers inventory costs, especially for the inventory management of high-value drugs.
Smart Images

Figure CN121528451A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of management system, in particular, to a hospital medicine management system. BACKGROUND
[0002] The warehouse in the hospital needs to save a large number of medicines, and there are many manufacturers of the same type of medicine. The medicines of different manufacturers are basically the same in curative effect, and the hospital will purchase the medicines of the corresponding manufacturers when purchasing. Similarly, the warehouse also needs to have a minimum amount of each manufacturer's medicine. In order to avoid too much stock of a certain medicine, the hospital will generate a medicine opening guide to let doctors open medicine according to the opening order of the medicines recorded on the guide, so as to ensure that the amount of each medicine in the warehouse is within a reasonable range, reduce the warehouse pressure, and increase the utilization rate of the warehouse.
[0003] However, there are many patients and doctors in the hospital, and a lot of medicines are consumed every day, so the medicine opening guide is updated every day. Frequent updating of the medicine opening guide makes it difficult for doctors to accurately remember the manufacturer that should be preferred for each medicine, so that the actual medicine opening work of the doctors does not fully comply with the medicine opening guide, and further causes the warehouse pressure to be unable to be expected to be eliminated, so that the amount of a certain type of medicine in the warehouse is too much, occupies the space of the warehouse, and reduces the utilization rate of the warehouse space. SUMMARY
[0004] The summary part of the present application is used to introduce the concept in a simple form, which will be described in detail in the specific embodiment part. The summary part of the present application is not intended to identify the key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0005] As a first aspect of the present application, in order to solve the technical problems mentioned in the background part, the present application provides a hospital medicine management system, comprising: a warehouse information acquisition module, a purchase information acquisition module, an information processing module, and an operation terminal; the warehouse information acquisition module and the purchase information acquisition module are respectively connected with the information processing module in signal, and the information processing module is connected with the operation terminal in signal;
[0006] The warehouse information acquisition module is used to acquire the quantity information of each medicine in the warehouse.
[0007] The purchase information acquisition module is used to acquire the purchase plan of each medicine and obtain the purchase quantity of each medicine.
[0008] The information processing module acquires the quantity information of each medicine in the warehouse and the purchase quantity of each medicine, and obtains the cumulative surplus of each medicine.
[0009] The operation terminal is used for receiving a drug name input by an operator, and a candidate list of the same type of drugs as the drug input by the operator is generated when the operator inputs the drug name, and the candidate list is sorted according to the cumulative surplus of each drug.
[0010] In the technical solution provided in the application, the information processing module can update the cumulative surplus of each drug in the warehouse in real time, and then update the candidate list of the drugs in time by using the cumulative surplus, and the arrangement order of the drugs in the candidate list is the order of the cumulative surplus, so that the doctor does not need to memorize the latest drug dictionary every day when prescribing drugs, and can consider the management requirements of the warehouse to prescribe drugs, thereby avoiding that too many drugs of a certain type are stacked in the warehouse, and increasing the utilization rate of the warehouse space.
[0011] Further, the purchase information processing module includes a fixed plan unit, a new plan unit, and a summary unit, and the summary unit is signal connected with the fixed plan unit and the new plan unit respectively;
[0012] The fixed plan unit is used for recording the fixed purchase amount of each drug per month;
[0013] The new plan unit is used for inputting the new purchase amount of each drug in the next month;
[0014] The summary unit is used for calculating the purchase amount of each drug according to the fixed purchase amount of each drug per month and the new purchase amount of each drug in the next month.
[0015] In the scheme provided in the application, the quantity information of the drugs can be calculated by setting the drug information warehousing unit and the drug information warehousing unit.
[0016] Further, the purchase information processing module includes a fixed plan unit and a new plan unit, and the fixed plan unit is used for recording the quantity of each drug that must be purchased per month;
[0017] The new plan unit is used for inputting the purchase amount of each drug that needs to be purchased in the next month.
[0018] In the technology provided in the application, two modules are used for calculation, and then the purchase amount of each drug that needs to be purchased in the next month is summarized, so that the purchase amount of each drug that needs to be purchased in the next month can be well summarized.
[0019] There are many types of drugs in a hospital, and the direct correlation between the drugs is very complex, if after the doctor inputs the drug name, the related drugs corresponding to the drug name are found according to the drug name and the database corresponding to the drug name, and then the quantity of each drug is output, the speed will be very low, which will affect the efficiency of the doctor in processing the prescription. In view of this problem, the application provides the following technical solution:
[0020] Further, the information processing module comprises an information collection unit and an information classification unit;
[0021] The information collection module is configured to acquire the purchase quantity of each drug and the quantity information of each drug, so as to calculate the cumulative surplus quantity of each drug.
[0022] The information classification unit is configured to divide all the drugs in the warehouse into several categories according to the categories of the drugs and the corresponding relationship, so as to obtain several candidate lists.
[0023] In the technical scheme provided in the present application, the construction of the candidate list is completed in the information processing module. Each drug in each candidate list is a drug having a substitution relationship, and the quantity of the corresponding drug is also marked. In this way, after the doctor enters the drug name and performs the matching of the drug name, the candidate list of the corresponding drug can be directly output.
[0024] Further, the prescription alarm module is further included. The alarm module can analyze the ranking of each drug in the corresponding candidate list terminal in the prescription. If the total number of the ranking is greater than a preset threshold, the prescription is marked.
[0025] Further, the prescription alarm module further records the proportion of the drugs recorded in the fixed plan unit among the drugs prescribed in each prescription.
[0026] As a second aspect of the present application, in order to solve the problem that the consumption quantity of each type of drug in a short period of time cannot be predicted, the present application provides the following technical scheme:
[0027] The hospital drug management system further comprises a prediction module. The prediction module comprises a consumption information acquisition unit, an outpatient information acquisition unit, and a calculation unit. The calculation unit is signal connected with the consumption information acquisition unit and the outpatient information acquisition unit.
[0028] The consumption information acquisition unit is signal connected with the warehouse information acquisition module, and is configured to acquire the daily drug consumption quantity in the warehouse. The outpatient information acquisition unit is signal connected with the hospital outpatient system, and is configured to acquire the number of patients accessed in the outpatient system every day. The calculation module acquires the daily consumption quantity of each drug in the warehouse and the number of patients in the inpatient department, and predicts the consumption quantity of each drug in the next week according to the daily consumption quantity of each drug and the number of patients in the inpatient department.
[0029] Further, the calculation unit calculates the consumption quantity of each drug in the outpatient system in the next 7 days according to the number of patients in the outpatient system every day and the daily consumption quantity of each drug.
[0030] Further, the calculation unit calculates the consumption quantity of a certain drug in the following way:
[0031] S1: Collect the daily sales quantity of the drug to obtain a time sequence N of the drug sales quantityt ;
[0032] The daily number of patients in the outpatient system was collected to obtain the time series S of the patient count. t ;
[0033] Time series of drug sales N t Time series S of patient numbers t They are aligned at different points in time, where t represents the index of the time series;
[0034] S2: Calculate N t and S t The correlation r;
[0035] ;
[0036] in, This represents the average amount of medicine consumed. The mean number of patients is represented by T, and the length of the time series is represented by T.
[0037] S3: Based on N t and S t and N t and S t Establish a predictive model based on the correlation;
[0038]
[0039] [N t S t ] represents a two-dimensional time series vector;
[0040] [C1, C2] represents the constant term vector of the VAR model, where C1 is the constant term for drug sales and C2 is the constant term for the number of patients; these two constant terms represent the average level in their respective time series.
[0041] φ i This is the autoregressive coefficient matrix of the VAR model, where i represents the lag order, and each φ... i Both are 2×2 matrices, because φ i Since two time series variables are correlated, therefore:
[0042] Φ i =[Φ 11,i , Φ 12,i , Φ 21,i , Φ 22,i ];
[0043] Φ 11,i This indicates the impact of drug sales volume on its own performance at lag i.
[0044] Φ 12,iΦi represents the effect of the number of patients on itself at lag i;
[0045] Φ 21,ii Φi represents the effect of the drug consumption on the number of transactions at lag i;
[0046] Φ 22,i Φi represents the effect of the number of outpatients on the number of drug transactions at lag i;
[0047] p represents the lag order of the VAR model;
[0048] [u 1t , u 2t ] represents the white noise vector of the VAR model, which represents the random error term at time point t. u 1t Φi represents the error term related to the number of drug transactions, u 2t Φi represents the error term related to the number of outpatients;
[0049] S4: Fit the VAR model using historical data, estimate the parameters of the model, including the autoregressive coefficient matrix Φ i and the constant vector [C1, C2];
[0050] S5: Diagnose the fitted VAR model. Check whether the residuals satisfy the white noise assumption, i.e. the mean of the residuals is 0, the variance is constant and the residuals are not correlated with each other. Use residual plots, autocorrelation plots, partial autocorrelation plots and statistical tests (such as Ljung-Box test) to verify the applicability of the model;
[0051] S6: Input the daily sales of the drug into the trained VAR model to obtain the time series of drug sales N t and the daily number of patients to obtain the time series of patient number S t , and obtain the recent sales of the drug M.
[0052] In the technical scheme provided in the application, two related variables of the number of outpatient patients and the consumption of drugs are used to predict the consumption of each drug in a future period of time, which can further mine the correlation between the consumption of drugs and the number of outpatients, and thus improve the accuracy of the prediction of the consumption of each drug. Especially for high-value (high-priced) drugs such as atezolizumab, durvalumab, and pembrolizumab, the application has greater value. From the perspective of procurement cost and storage cost, the amount of such drugs kept in the warehouse will not be too much. After understanding the sales volume of each drug in a future period of time in the present scheme, the overstock of such drugs in the hospital can be reduced as much as possible, and the inventory cost and capital occupation cost can be reduced. Moreover, the prices of such drugs fluctuate, and the fluctuations are generally downward. The less the inventory of such drugs in the hospital, the easier it is for the hospital to adjust the drug prices in a timely manner when the prices of such drugs decrease, or in other words, when the drug prices are adjusted, unnecessary costs will not be incurred due to historical inventory.
[0053] As a third aspect of the application, the application provides a hospital acquisition drug management method, which is applied to the hospital drug management system described above. The hospital acquisition drug management method comprises the following steps:
[0054] Step 1: Obtain the quantity information of each drug in the warehouse.
[0055] Step 2: Obtain the purchase plan of each drug to obtain the purchase quantity of each drug.
[0056] Step 3: Obtain the cumulative surplus of each drug according to the quantity information of each drug in the warehouse and the purchase quantity of each drug.
[0057] Step 4: When receiving the drug name input by the operator, generate a candidate list of the remaining drugs of the same type as the drug input by the operator, and sort the candidate list according to the cumulative surplus of each drug.
[0058] Further, in step 1, the quantity information of each drug in the warehouse is calculated according to the storage quantity of each drug and the delivery quantity of each drug.
[0059] Further, step 2 comprises the following steps:
[0060] Step 21: Obtain the fixed purchase quantity of each drug per month.
[0061] Step 22: Obtain the newly purchased quantity of each drug in the next month.
[0062] Step 23: Calculate the purchase quantity of each drug according to the fixed purchase quantity of each drug per month and the newly purchased quantity of each drug in the next month.
[0063] Further, in step 3, the cumulative surplus of each drug is calculated according to the purchase quantity of each drug and the quantity information of each drug.
[0064] In step 4, all the drugs in the warehouse are classified into several categories according to the category of each drug and the corresponding relationship to obtain several candidate lists.
[0065] The beneficial effects of the present application are that in the technical solution provided by the present application, when a doctor prescribes a drug, a candidate list is generated each time a drug is input, and the drugs in the candidate list are sorted according to the cumulative surplus, so that the doctor considers the quantity of each drug in the warehouse when prescribing, thereby reducing the pressure on the warehouse. BRIEF DESCRIPTION OF DRAWINGS
[0066] The accompanying drawings, which form a part of the present application, are intended to provide further understanding of the present application, and to make apparent the other features, objectives, and advantages of the present application. The illustrative embodiments of the present application and their description serve the purpose of explaining the present application. They are not to be construed as an inappropriate limitation to the present application.
[0067] In addition, throughout the drawings, the same or similar reference numerals are used to represent the same or similar elements. It should be understood that the drawings are schematic, and the elements and elements are not necessarily drawn to scale.
[0068] In the drawings:
[0069] Figure 1 FIG. 1 is a schematic diagram of the structure of a hospital drug management system.
[0070] Figure 2 FIG. 1 is a schematic diagram of the structure of a hospital drug management system. DETAILED DESCRIPTION
[0071] Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms, and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete. It should be understood that the drawings and embodiments of the present application are only for illustrative purposes, and are not intended to limit the scope of protection of the present application.
[0072] It should also be noted that only the parts related to the invention are shown in the drawings for ease of description. The embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0073] The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
[0074] Embodiment 1: Reference Figure 1The application discloses a hospital medicine management system, which comprises a warehouse information acquisition module, a purchase information acquisition module, an information processing module and an operation terminal.
[0075] The warehouse information acquisition module is used for acquiring the quantity information of each medicine in the warehouse. The warehouse information acquisition module comprises a medicine information warehousing unit, a medicine information warehousing unit, a warehouse information processing unit, the medicine information warehousing unit and the medicine information warehousing unit are respectively connected with the warehouse information processing unit, the medicine information warehousing unit is used for acquiring the warehousing quantity of each medicine, the medicine information warehousing unit is used for acquiring the warehousing quantity of each medicine, and the warehouse information processing unit calculates the quantity information of each medicine in the warehouse according to the warehousing quantity of each medicine and the warehousing quantity of each medicine. After obtaining the quantity information of each medicine, the warehouse information management unit sends the quantity information of each medicine to the information processing module.
[0076] The purchase information acquisition module is used for acquiring the purchase plan of each medicine and obtaining the purchase quantity of each medicine. The purchase information processing module comprises a fixed plan unit, an additional plan unit and a summary unit, the summary unit is connected with the fixed plan unit and the additional plan unit, the fixed plan unit is used for recording the fixed purchase quantity of each medicine per month, the additional plan unit is used for inputting the additional purchase quantity of each medicine in the next month, and the summary unit is used for calculating the purchase quantity of each medicine according to the fixed purchase quantity of each medicine per month and the additional purchase quantity of each medicine in the next month.
[0077] When the hospital purchases a large dose of a certain type of medicine, a large order is signed, and the medicine is not sent to the warehouse of the hospital at one time, but is sent to the warehouse of the hospital at a fixed time every month, so as to relieve the pressure of the warehouse of the hospital. Therefore, the fixed plan unit is used for calculating the medicine. The purchase information recorded in the additional plan unit is the quantity of the medicine that should be purchased in the next month according to the remaining quantity of the warehouse every month.
[0078] If the A medicine has signed a one-year order of 1200 boxes, 100 boxes are sent to the hospital every month, but the demand in the next month is about 200 boxes, and the additional 100 boxes are input by the additional plan unit.
[0079] The summary unit is used for summarizing the information recorded in the fixed plan unit and the additional plan unit, and then forming the quantity information of each medicine that needs to be purchased in the next month or the next time in the warehouse.
[0080] The information processing module obtains the quantity information of each medicine in the warehouse and the purchase quantity of each medicine to obtain the cumulative surplus quantity of each medicine. Further, the information processing module comprises an information collection unit and an information classification unit; the information collection module is used to obtain the purchase quantity of each medicine and the quantity information of each medicine to calculate the cumulative surplus quantity of each medicine.
[0081] The main reason for not directly calculating the remaining quantity of the medicine in the current warehouse and considering the quantity to be purchased in the next month is that the management standard in the hospital does not allow the inventory of the medicine in the warehouse to be zero in a non-emergency situation, so considering the current remaining quantity of the medicine does not have practical significance, and the medicine to be purchased in the next month needs to be considered to accurately reflect the current storage pressure of the warehouse.
[0082] The information classification unit is used to divide all the medicines in the warehouse into several categories according to the types of the medicines and the corresponding relationship to obtain several candidate lists.
[0083] The types of the medicines and the corresponding relationship are pre-set, that is, the same type of medicine is set together, for example, cephalosporin medicines, which actually have several manufacturers, so the cephalosporins of different manufacturers can be replaced with each other, so the cephalosporins of different manufacturers can be classified into one category, and then this category of cephalosporins is used as a candidate list. Then, when the doctor inputs one of the medicines in the list, the candidate list is popped up in the form of a pop-up window, thereby generating a sorting of the candidate list.
[0084] The operation terminal is used to receive the medicine name input by the operator, and when the operator inputs the medicine name, a candidate list of the same type of medicine as the medicine input by the operator is generated, and the candidate list is sorted according to the cumulative surplus quantity of each medicine.
[0085] The operator actually refers to the doctor, and only the doctor has the power to prescribe a patient in the hospital or in practice. When the doctor prescribes, each time a medicine name is input, a plurality of candidate words will be popped up after the corresponding pinyin is output, and after the doctor inputs a medicine name, a plurality of medicines will be popped up, and the plurality of popped-up samples are the candidate list.
[0086] Because the medicines recorded in the fixed plan unit are cheaper and have more quantity, the doctor needs to consume the medicines recorded in the fixed plan unit as much as possible in the prescription. Therefore, the following technical scheme is provided:
[0087] Further, it further comprises a prescription alarm module, and the alarm module can analyze the ranking of each medicine in the corresponding candidate list terminal in the prescription, and if the total number of the ranking is greater than a preset threshold, the prescription is marked.
[0088] Further, the prescription alarm module also records the proportion of the drugs recorded in the fixed plan unit among the drugs prescribed in each prescription.
[0089] Embodiment 2: The main difference between Embodiment 2 and Embodiment 1 is that, on the basis of Embodiment 1, a drug consumption prediction module for predicting the drug consumption in the future period is provided, so that the drug purchase plan can be adjusted according to the predicted drug consumption in the prediction module.
[0090] Specifically, the hospital drug management system further comprises a prediction module, the prediction module comprising a consumption information acquisition unit, an outpatient information acquisition unit, and a calculation unit. The calculation unit is in signal connection with the consumption information acquisition unit and the outpatient information acquisition unit, respectively.
[0091] The consumption information acquisition unit is in signal connection with the warehouse information acquisition module, and is used to acquire the daily drug consumption in the warehouse. The outpatient information acquisition unit is in signal connection with the hospital outpatient system, and is used to acquire the number of patients accessed in the outpatient system every day. The calculation module acquires the daily consumption of each drug in the warehouse and the number of patients in the inpatient department, respectively, and predicts the consumption of each drug in the next week according to the daily consumption of each drug and the number of patients in the inpatient department.
[0092] In the technical scheme provided in the present application, the drug consumption in the warehouse in the next week is calculated, which can be more accurate when making the drug purchase plan, avoiding too much drug purchase to make the warehouse pressure large, and too little drug purchase to make the drug in a state of imminent consumption before the purchase time.
[0093] Specifically, the outpatient information acquisition unit is used to acquire the number of patients in each department every day and the number of outpatients every day, and obtain the patient number data of each department.
[0094] Among the patients in the hospital, there are generally two types of patients, one type of patient is an outpatient, this type of patient will leave the hospital after completing diagnosis and treatment in the hospital on the same day. This type of patient is relatively stable in a short period of time. For example, in the flu season, the number of patients will suddenly increase and then tend to be stable. The other type is the inpatient in the inpatient department of the hospital. The number of patients in the inpatient department of the hospital is relatively dynamic, with patients admitted to the hospital every day and patients discharged from the hospital every day.
[0095] Therefore, the number of patients in each department every day acquired by the outpatient information acquisition unit is the number of patients who have handled hospitalization in each department ward. The number of outpatients every day is the number of patients who have outpatient service in the hospital but do not have hospitalization. It should be noted that the number of outpatients here needs to include the number of emergency patients.
[0096] Specifically, the consumption information acquisition unit is configured to acquire daily consumptions of various drugs in each department ward and daily consumptions of various drugs in an outpatient system.
[0097] The daily consumptions of various drugs in each department ward refer to consumptions of various drugs in each department of the hospital. For example, if a digestive surgery department of a hospital has 20 patients, daily consumptions of various drugs of the 20 patients will be recorded by the consumption information acquisition unit.
[0098] The daily consumptions of various drugs in the corresponding outpatient system refer to drugs taken away by patients who come to the hospital for treatment but do not stay in the hospital. It should be noted that the outpatient system herein includes the use of drugs in night emergency.
[0099] In the scheme provided in the present application, the daily consumptions of various drugs in each department are acquired in the inpatient department, but the daily consumptions of various drugs in each department are not acquired in the outpatient system of the hospital, and the number of patients in each department is not subdivided. The main reason is that the patients in the outpatient system generally do not have strong targeted medication, and in many cases, no drugs are taken or some similar category drugs are taken. Considering too many factors can easily lead to overfitting of the designed model.
[0100] Further, the calculation unit calculates the consumptions of various drugs in the outpatient system in the next 7 days according to the daily number of patients in the outpatient system and the daily consumptions of various drugs.
[0101] The calculation unit calculates the consumptions of various drugs in the same way, and A drug is taken as an example here:
[0102] The calculation method is as follows:
[0103] S1: Collect the daily sales of drugs to obtain a time series N of drug sales t ;
[0104] Collect the number of patients in the outpatient system every day to obtain a time series S of the number of patients t ;
[0105] Align the time series N of drug sales t and the time series S of the number of patients t at the time point, and t represents the index of the time series;
[0106] S2: Calculate the correlation r of N t and S t ;
[0107] ;
[0108] wherein, the mean of the drug consumption, the mean of the number of patients, T represents the length of the time series.
[0109] S3: based on N t and S t and the correlation of N t and S t to establish a prediction model;
[0110]
[0111] [N t , S t ] represents a two-dimensional time series vector;
[0112] [C1, C2] represents the constant term vector of the VAR model, C1 is the constant term of drug sales, and C2 is the constant term of the number of patients; the two constant terms represent the average level in the time series they belong to, respectively;
[0113] φ i is the autoregressive coefficient matrix of the VAR model, i represents the order of the lag, and each φ i is a 2x2 matrix, because φ i is associated with two time series variables; therefore:
[0114] Φ i = [Φ 11,i , Φ 12,i , Φ 21,i , Φ 22,i ];
[0115] Φ 11,i represents the impact of drug sales on itself at i-order lag;
[0116] Φ 12,i represents the impact of the number of patients on itself at i-order lag;
[0117] Φ 21,ii represents the impact of drug consumption on the number of transactions at i-order lag;
[0118] Φ 22,i represents the impact of the number of outpatients on the number of drug transactions at i-order lag;
[0119] p represents the lag order of the VAR model;
[0120] [u 1t , u 2t ] represents the white noise vector of the VAR model, representing the random error term at time t. u 1t represents the error term related to drug transactions, u 2tdenotes the error term related to the number of outpatients;
[0121] S4: fitting the VAR model using historical data, estimating the parameters of the model, including the autoregressive coefficient matrix Φ i and the constant vector [C1, C2]. In practice, the maximum likelihood method or the least squares method can be selected to estimate the constant vector and the autoregressive coefficient matrix of the VAR model.
[0122] After obtaining the autoregressive coefficient matrix and the constant vector, the VAR model has been established, and subsequent verification of the model is required, which can be done in the following way:
[0123] S5: Diagnose the fitted VAR model. Check whether the residuals meet the white noise assumption, i.e. the mean of the residuals is 0, the variance is constant and the residuals are not correlated. Use residual plots, autocorrelation plots, partial autocorrelation plots and statistical tests (such as Ljung-Box test) to verify the applicability of the model. If the check result is ideal, use the model, if the check result is not ideal, adjust the autoregressive coefficient matrix and the constant vector.
[0124] S6: Obtain the time series N t of daily sales of the drug and the time series S t of daily patient numbers by inputting them into the trained VAR model to obtain the recent sales M of the drug.
[0125] Furthermore, after constructing the VAR model using the above scheme, the outpatient data and the recent sales of the drug can be used to guide the purchase of the drug. In practice, in order to avoid a large difference between the predicted recent sales M of the drug and the actual future sales of the drug, the sales data of each drug in the past year also needs to be introduced. When the difference between the recent sales M of the drug and the sales of the drug in the same time period in previous years exceeds a threshold, an alarm will be sent to remind the staff. Specifically, if it is found that the sales M of a certain type of drug from February 10 to February 20 is 100, but the sales on February 10 last year was only 50, an alarm will be sent.
[0126] In this way, the above scheme can be used to statistically predict the consumption of each drug. In practice, some high-value and difficult-to-store drugs are often predicted to reduce the storage cost of such drugs and ensure that the number of drugs can be within the expected range.
[0127] Embodiment 3: A hospital drug management method applied to the hospital drug management system described above. It includes the following steps:
[0128] Step 1: Obtain the quantity information of each drug in the warehouse.
[0129] In step 1, the quantity information of each drug in the warehouse is calculated according to the quantity of each drug in the warehouse and the quantity of each drug out of the warehouse.
[0130] Step 2: Obtain the purchase plan of each drug to obtain the purchase quantity of each drug.
[0131] Step 2 includes the following steps:
[0132] Step 21: Obtain the fixed purchase quantity of each drug per month.
[0133] Step 22: Obtain the newly purchased quantity of each drug in the next month.
[0134] Step 23: Calculate the purchase quantity of each drug according to the fixed purchase quantity of each drug per month and the newly purchased quantity of each drug in the next month.
[0135] Step 3: Obtain the cumulative surplus quantity of each drug according to the quantity information of each drug in the warehouse and the purchase quantity of each drug.
[0136] In step 3, the cumulative surplus quantity of each drug is calculated according to the purchase quantity of each drug and the quantity information of each drug.
[0137] According to the types of each drug and the corresponding relationship, all the drugs in the warehouse are divided into several types to obtain several candidate lists. The generation method of the candidate list is the same as the generation method of the candidate list in the hospital drug management method.
[0138] Step 4: When receiving the drug name input by the operator, generate a candidate list of the same type of drug as the drug input by the operator, and the candidate list is sorted according to the cumulative surplus quantity of each drug.
[0139] The above description is only some preferred embodiments of the present application and a description of the technical principles applied. Those skilled in the art should understand that the scope of the application involved in the embodiments of the present application is not limited to the technical solutions formed by the specific combinations of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with the technical features disclosed in the embodiments of the present application (but not limited to) having similar functions to form technical solutions.
Claims
1. A hospital drug management system, characterized in that, include: The system includes a warehouse information acquisition module, a purchase information acquisition module, an information processing module, and an operation terminal. The warehouse information acquisition module and the purchase information acquisition module are respectively connected to the information processing module via signals, and the information processing module is connected to the operation terminal via signals. Among them, the warehouse information acquisition module is used to acquire the quantity information of each medicine in the warehouse; The purchase information acquisition module is used to obtain the purchase plan for each drug and the purchase quantity of each drug; The information processing module obtains the quantity information of each medicine in the warehouse and the purchase quantity of each medicine, and obtains the cumulative surplus of each medicine. The operating terminal is used to receive the drug name input by the operator. When the operator inputs the drug name, a candidate list of drugs of the same type as the drug input by the operator is generated. The candidate list is sorted according to the cumulative surplus of each drug.
2. The hospital drug management system according to claim 1, characterized in that: The warehouse information acquisition module includes a drug information inbound unit, a drug information outbound unit, and a warehouse information processing unit; The drug information entry unit and the drug information exit unit are respectively connected to the warehouse information processing unit via signals. The drug information entry unit is used to obtain the quantity of each drug entering the warehouse, the drug information exit unit is used to obtain the quantity of each drug exiting the warehouse, and the warehouse information processing unit calculates the quantity information of each drug in the warehouse based on the quantity of each drug entering the warehouse and the quantity of each drug exiting the warehouse.
3. The hospital drug management system according to claim 2, characterized in that: The purchase information processing module includes a fixed planning unit, a new planning unit, and a summary unit. The summary unit is connected to the fixed planning unit and the new planning unit via signals, respectively. The fixed planning unit is used to record the fixed monthly purchase quantity of each drug; The new planning unit is used to input the new purchase quantity of each drug for the next month; The summary unit is used to calculate the purchase quantity of each drug based on the fixed monthly purchase quantity and the new purchase quantity for the following month.
4. The hospital drug management system according to claim 3, characterized in that: The information processing module includes an information collection unit and an information classification unit; The information collection module is used to obtain the purchase quantity and quantity information of each drug in order to calculate the cumulative surplus of each drug. The information classification unit is used to divide all medicines in the warehouse into several categories according to the type and correspondence of each medicine, so as to obtain several candidate lists.
5. The hospital drug management system according to claim 1, characterized in that: It also includes a prescription alarm module, which can analyze the ranking of each drug in the prescription in the corresponding candidate list terminal. If the total number of rankings is greater than a preset threshold, the prescription is marked.
6. The hospital drug management system according to claim 5, characterized in that: The prescription alarm module also records the proportion of drugs in the fixed plan unit among the drugs prescribed in each prescription.
7. The hospital drug management system according to claim 5, characterized in that, It also includes a prediction module, which comprises a consumption information acquisition unit, an outpatient information acquisition unit, and a calculation unit; the calculation unit is signal-connected to the consumption information acquisition unit and the outpatient information acquisition unit, respectively. The consumption information acquisition unit is signal-connected to the warehouse information acquisition module and is used to acquire the daily drug consumption in the warehouse. The outpatient information acquisition unit is connected to the hospital's outpatient system to obtain the number of patients accessing the outpatient system daily. The calculation module obtains the daily consumption of each drug in the warehouse and the number of patients in the inpatient department. Based on the daily consumption of each drug and the number of patients in the inpatient department, it predicts the consumption of each drug for the following week.
8. A hospital drug management method, applied in the hospital drug management system according to any one of claims 1 to 7, characterized in that, Includes the following steps: Step 1: Obtain the quantity information of each medicine in the warehouse; Step 2: Obtain the purchase plan for each drug and the quantity of each drug to be purchased; Step 3: Based on the quantity information of each medicine in the warehouse and the purchase quantity of each medicine, obtain the cumulative surplus of each medicine; Step 4: Upon receiving the drug name entered by the operator, generate a candidate list of drugs of the same type as the drug entered by the operator. The candidate list is sorted according to the cumulative surplus of each drug.
9. The hospital drug management method according to claim 8, characterized in that, The process includes the following steps: In step 1, the quantity information of each medicine in the warehouse is calculated based on the quantity of each medicine entering the warehouse and the quantity of each medicine leaving the warehouse.
10. The hospital drug management method according to claim 8, characterized in that, Step 2 includes the following steps: Step 21: Obtain the fixed monthly purchase quantity for each medicine; Step 22: Obtain the new purchase quantity of each drug for the next month; Step 23: Calculate the purchase quantity of each drug based on the fixed monthly purchase quantity and the new purchase quantity for the following month.