Intelligent medicine access system and method
By obtaining and analyzing the historical data of the smart medicine cabinet, marking and adjusting drug storage, the lack and waste of space caused by limited capacity and fast drug consumption of smart medicine cabinets is solved, ensuring that there is enough storage space for emergency and first aid drugs.
Patent Information
- Application Number
- CN202410941469.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2025-05-13
AI Technical Summary
The capacity of smart medicine cabinets in medical institutions is limited, resulting in a lack of drugs when the drug is consumed quickly, the stock of first aid drugs is insufficient, and some drugs have not been taken for a long time, occupying the space of the medicine cabinet, causing waste.
By obtaining the target historical drug storage and access data, determine whether there is a smart medicinal cabinet that has been completely taken, mark it as an emergency medicinal cabinet, and adjust the drug storage according to the ratio of the number of emergency medicinal cabinets to the number of preparatory medicinal cabinets to ensure that there is enough storage space for emergency and first aid drugs, and at the same time, clear unused drugs to make room.
It has achieved reasonable arrangements for drug storage based on the history of drug consumption to ensure sufficient storage space for emergency and first aid drugs, and avoid lack of drugs and waste of space.
Smart Images

Figure CN119993407A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drug storage management, and in particular to a drug intelligent storage and access system and method. Background Art
[0002] At present, in order to facilitate medical staff to take medicine, many medical institutions are equipped with smart medicine cabinets. Each smart medicine cabinet has multiple sub-cabinets, each of which stores a kind of medicine, and different sub-cabinets store different medicines. Generally speaking, medical institutions store medicines in smart medicine cabinets every day to meet the drug needs of patients. However, many medical institutions usually store medicines only once a day. After storing medicines today, they have to wait until the next day to store medicines again. However, the capacity of smart medicine cabinets in medical institutions is limited. Sometimes some medicines are consumed a lot, resulting in a lack of medicines on the same day. Some emergency medicines may also cause patients to not receive timely treatment due to insufficient stock. At the same time, there are many medicines that have not been taken for a long time, but they occupy a lot of medicine cabinets, resulting in a waste of medicine cabinet space resources. The above problems need to be solved urgently. Summary of the invention
[0003] Based on this, it is necessary to propose a smart drug storage and access system and method to address the above problems and solve the following problems in the prior art: the capacity of smart medicine cabinets in medical institutions is limited. Sometimes some drugs are consumed in large quantities, resulting in a shortage of drugs on the same day. Some emergency drugs may also cause patients to not receive timely treatment due to insufficient stock. At the same time, there are many drugs that have not been taken for a long time, but they occupy a lot of medicine cabinets, resulting in a waste of medicine cabinet space resources.
[0004] The first technical solution of the embodiment of the present invention is: A smart medicine access method is used for a target smart medicine cabinet of a medical institution that stores medicine only once a day and stores a full cabinet each time, the target smart medicine cabinet includes a plurality of target smart sub-cabinets, and the target smart medicine cabinet is provided with at least one target preparation sub-cabinet. Except for the target preparation sub-cabinet, the types of medicines stored in each of the target smart sub-cabinets are different. The method comprises: obtaining target historical medicine access data, the target historical medicine access data including the storage and retrieval record data of various medicines in the target smart medicine cabinet in the previous target specified time period; storing and retrieving the target medicine according to the target historical medicine access data; Data is used to determine whether there is any target smart sub-medicine cabinet whose drugs are completely taken out within the target specified time period; if so, the target smart sub-medicine cabinet whose drugs are completely taken out is marked as a target emergency smart sub-medicine cabinet, and it is determined whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets; if so, the target preparation sub-medicine cabinet is marked as a medicine cabinet for storing the drugs corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores the drugs corresponding to one target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different drugs.
[0005] The second technical solution of the embodiment of the present invention is: A drug intelligent storage and access system is used for a target smart medicine cabinet of a medical institution that stores drugs only once a day and stores drugs fully each time, the target smart medicine cabinet includes multiple target smart sub-cabinets, and the target smart medicine cabinet is provided with at least one target preparation sub-cabinet. Except for the target preparation sub-cabinet, the types of drugs stored in each of the target smart sub-cabinets are different. The system includes: a data acquisition module for acquiring target historical drug access data, the target historical drug access data including the storage and access record data of various drugs in the target smart medicine cabinet in the previous target specified time period; a first judgment module for judging whether the target smart medicine cabinet has been fully accessed within the target specified time period according to the target historical drug access data. a second judgment module, for marking the target smart sub-medicine cabinet where the medicine is completely taken as a target emergency smart sub-medicine cabinet, and judging whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets; a data processing module, for marking the target preparation sub-medicine cabinet as a cabinet for storing the medicine corresponding to the target emergency smart sub-medicine cabinet when the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets, and one target preparation sub-medicine cabinet stores one medicine corresponding to the target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different medicines.
[0006] The third technical solution of the embodiment of the present invention is: A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps: Obtain target historical drug access data, the target historical drug access data including record data of the storage and use of various drugs in the target smart medicine cabinet within the previous target specified time period; determine whether there is any target smart sub-medicine cabinet whose drugs have been completely taken out within the target specified time period based on the target historical drug access data; if so, mark the target smart sub-medicine cabinet whose drugs have been completely taken out as a target emergency smart sub-medicine cabinet, and determine whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets; if so, mark the target preparation sub-medicine cabinet as a medicine cabinet for storing drugs corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores drugs corresponding to one target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different drugs.
[0007] The fourth technical solution of the embodiment of the present invention is: A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the following steps: Obtain target historical drug access data, the target historical drug access data including record data of the storage and use of various drugs in the target smart medicine cabinet within the previous target specified time period; determine whether there is any target smart sub-medicine cabinet whose drugs have been completely taken out within the target specified time period based on the target historical drug access data; if so, mark the target smart sub-medicine cabinet whose drugs have been completely taken out as a target emergency smart sub-medicine cabinet, and determine whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets; if so, mark the target preparation sub-medicine cabinet as a medicine cabinet for storing drugs corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores drugs corresponding to one target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different drugs.
[0008] The embodiments of the present invention have the following beneficial effects: The present invention obtains target historical drug access data, and determines whether there is a target smart sub-medicine cabinet whose drugs are completely taken out within the target specified time period based on the target historical drug access data. If so, the target smart sub-medicine cabinet whose drugs are completely taken out is marked as a target emergency smart sub-medicine cabinet, and it is determined whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets; if so, the target preparation sub-medicine cabinet is marked as a cabinet for storing drugs corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores drugs corresponding to one target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different drugs. The storage of drugs can be reasonably arranged according to the target historical drug access data, so that more emergency drugs and first aid drugs with higher consumption can be stored in more medicine cabinets, and drugs that are not taken out can be emptied to free up more medicine cabinets for storing emergency drugs and first aid drugs. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0010] in: Figure 1 It is an implementation flow chart of an implementation method of a smart drug access method in an embodiment.
[0011] Figure 2 This is a framework diagram of an implementation scheme of an intelligent drug access system in one embodiment.
[0012] Figure 3 It is a structural block diagram of an implementation scheme of a computer device in one embodiment. DETAILED DESCRIPTION
[0013] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0014] See also Figure 1 , combined with Figure 1It can be obtained that a smart drug access method according to an embodiment of the present invention is used for a target smart medicine cabinet of a medical institution that stores drugs only once a day and stores a full cabinet each time. The target smart medicine cabinet includes a plurality of target smart sub-medicine cabinets, and the target smart medicine cabinet is provided with at least one target preparation sub-medicine cabinet. Except for the target preparation sub-medicine cabinet, the types of drugs stored in each of the target smart sub-medicine cabinets are different. The method includes the following steps: Step S101: Acquire target historical drug access data, wherein the target historical drug access data includes record data of storage and retrieval of various drugs in the target smart medicine cabinet within a previous target specified time period.
[0015] The previous target designated time period in this step may be selected as the previous day, but is not limited to the previous day. The storage and retrieval record data of various medicines refers to the storage and retrieval record data of each target intelligent sub-medicine cabinet.
[0016] Step S102: judging whether there is any target smart sub-medicine cabinet whose medicines have been completely taken out within the target specified time period according to the target historical medicine access data.
[0017] Among them, the target smart sub-medicine cabinet whose medicines are fully taken out means that the medicines in the target smart sub-medicine cabinet are completely used up (may not be able to meet the needs), which results in that the medicines needed by some patients cannot be provided in time, delaying the treatment of the patients.
[0018] Step S103: If the target smart sub-medicine cabinet has all the drugs taken out within the target specified time period, the target smart sub-medicine cabinet with all the drugs taken out is marked as a target emergency smart sub-medicine cabinet, and it is determined whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target reserve sub-medicine cabinets.
[0019] If the drugs in one of the target smart medicine cabinets are completely taken out, it means that the relevant drugs are in urgent need and in short supply, which corresponds to the symptoms of most patients. If the number of the target emergency smart medicine cabinets is less than or equal to the number of the target reserve medicine cabinets, it means that there are enough target reserve medicine cabinets to store the drugs corresponding to the target emergency smart medicine cabinets.
[0020] Step S104: If the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets, the target preparation sub-medicine cabinets are marked as medicine cabinets for storing medicines corresponding to the target emergency smart sub-medicine cabinets, and one target preparation sub-medicine cabinet stores one medicine corresponding to the target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different medicines.
[0021] Among them, marking the target preparation sub-medicine cabinet as a medicine cabinet for storing medicines corresponding to the target emergency smart sub-medicine cabinet means that the emergency medicines corresponding to the target emergency smart sub-medicine cabinet are to be stored in the target preparation sub-medicine cabinet. In this way, the cabinet for storing emergency medicines increases the target preparation sub-medicine cabinet, which is conducive to storing more emergency medicines, and also makes effective use of the space of the target preparation sub-medicine cabinet.
[0022] In this embodiment, optionally, the step of determining whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets may include: If the number of the target emergency smart sub-medicine cabinets is greater than the number of the target reserve sub-medicine cabinets, it is determined whether there is any target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period.
[0023] Among them, the target smart sub-medicine cabinet with zero drug withdrawal refers to the target smart sub-medicine cabinet in which no drugs have been taken within the target specified time period, which means that the drugs stored in the target smart sub-medicine cabinet with zero drug withdrawal are currently unimportant drugs and there is no need to occupy space. Space should be vacated to store other urgent drugs.
[0024] Second, if there is a target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period, it is determined whether the drugs stored in the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period are all non-emergency drugs.
[0025] Among them, only when the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period stores non-emergency drugs, can the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period be marked as a target idle smart sub-medicine cabinet, because emergency drugs cannot be lacking, which is a matter of life safety.
[0026] Third, if the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period stores non-emergency drugs, the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period will be marked as a target idle smart sub-medicine cabinet, and the target idle smart sub-medicine cabinet will be marked as a cabinet for storing drugs corresponding to the target emergency smart sub-medicine cabinet, and one target idle smart sub-medicine cabinet stores drugs corresponding to one target emergency smart sub-medicine cabinet, and different target idle smart sub-medicine cabinets store different drugs.
[0027] Among them, if the drugs stored in the target smart sub-medicine cabinet with zero drug use within the target specified time period are all non-emergency drugs, but just some ordinary drugs, and no patients need them at present, then there is no need to store them in the smart medicine cabinet with limited space, but space should be freed up to store the emergency drugs that are currently needed in large quantities.
[0028] In this embodiment, optionally, the target smart sub-medicine cabinet determines whether the medicine is completely taken out within the target specified time period according to the target historical medicine access data, and then includes: First, if there is no target smart sub-medicine cabinet whose medicines are completely taken within the target specified time period, the first N target smart sub-medicine cabinets whose medicines are taken more within the target specified time period are obtained, and the first N target smart sub-medicine cabinets are all marked as target consumption sub-medicine cabinets, where N is a positive integer, and N is the number of the target reserve sub-medicine cabinets.
[0029] Among them, the first N target smart sub-medicine cabinets from which more drugs are taken within the target specified time period refer to the N target smart sub-medicine cabinets from which more drugs are taken according to ranking within the target specified time period, such as the first-ranked target smart sub-medicine cabinet from which three-quarters of the drugs are taken, the second-ranked target smart sub-medicine cabinet from which two-thirds of the drugs are taken, and so on.
[0030] Second, the N target preparation sub-medicine cabinets are respectively marked as medicine cabinets for storing N kinds of medicines corresponding to the N target consumption sub-medicine cabinets, wherein the medicines stored in each of the target preparation sub-medicine cabinets are different.
[0031] Among them, the N target preparation sub-medicine cabinets are respectively marked as medicine cabinets for storing N kinds of medicines corresponding to the N target consumable sub-medicine cabinets, including one-to-one correspondence between the N target preparation sub-medicine cabinets and the N target consumable sub-medicine cabinets, so as to notify the relevant medicine cabinet managers to store the N kinds of medicines corresponding to the N target consumable sub-medicine cabinets in the N target preparation sub-medicine cabinets respectively. For example, if there are 3 target preparation sub-medicine cabinets, the information that the 3 kinds of medicines corresponding to the 3 target consumable sub-medicine cabinets are stored in the 3 target preparation sub-medicine cabinets is displayed in the designated display area, so as to let the relevant medicine cabinet managers store the 3 kinds of medicines corresponding to the 3 target consumable sub-medicine cabinets in these 3 target preparation sub-medicine cabinets respectively.
[0032] Third, notify the relevant medicine cabinet managers to store the medicines corresponding to the N target consumable sub-cabinets into the N target preparation sub-cabinets respectively, where one of the target preparation sub-cabinets stores the medicines corresponding to one target consumable sub-cabinet, the medicines stored in each target preparation sub-cabinet are different, and each target preparation sub-cabinet must be fully stocked.
[0033] In this embodiment, optionally, before notifying the relevant medicine cabinet managers to store the medicines corresponding to the N target damaged sub-medicine cabinets into the N target prepared sub-medicine cabinets respectively, the following steps are included: If there are still medicines left in the N target preparation sub-medicine cabinets, the relevant medicine cabinet managers are notified to empty the remaining medicines in the N target preparation sub-medicine cabinets.
[0034] Among them, if there are still medicines left in the N target preparation sub-medicine cabinets, since the remaining medicines are not the medicines corresponding to the target consumption sub-medicine cabinets, they need to be emptied to store the medicines corresponding to the target consumption sub-medicine cabinets.
[0035] In this embodiment, optionally, the step of determining whether the drugs stored in the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period are all non-emergency drugs may include: First, if the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period stores all emergency drugs, the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period will not be marked as a target idle smart sub-medicine cabinet, and the emergency drugs originally stored in it will continue to be stored.
[0036] Among them, if the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period stores all medicines corresponding to emergency medicines, since emergency medicines are life-saving medicines, their importance is far higher than the reasonable use of medicine cabinet space. Therefore, the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period cannot be marked as a target idle smart sub-medicine cabinet.
[0037] Second, if the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period stores emergency drugs, the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period will be marked as a target idle smart sub-medicine cabinet, and the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period will not be marked as a target idle smart sub-medicine cabinet, and the corresponding emergency drugs will continue to be stored.
[0038] In this embodiment, optionally, the target preparation sub-medicine cabinet is marked as a medicine cabinet for storing medicines corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores medicines corresponding to one target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different medicines, including: Notify the relevant medicine cabinet managers to store the medicines corresponding to each of the target emergency smart sub-medicine cabinets into each of the target preparation sub-medicine cabinets respectively, where one of the target preparation sub-medicine cabinets stores the medicines corresponding to one of the target emergency smart sub-medicine cabinets, the medicines stored in each of the target preparation sub-medicine cabinets are different, and each of the target preparation sub-medicine cabinets must be fully stocked.
[0039] Optionally, each time the relevant medicine cabinet manager stores medicines, each of the target intelligent sub-medicine cabinets needs to be filled up to achieve maximum space utilization.
[0040] In this embodiment, optionally, before notifying the relevant medicine cabinet manager to store the medicines corresponding to each of the target emergency intelligent sub-medicine cabinets into each of the target preparation sub-medicine cabinets, the following steps are included: If there are still medicines left in each of the target preparation sub-medicine cabinets, the relevant medicine cabinet management personnel are notified to empty the remaining medicines in each of the target preparation sub-medicine cabinets.
[0041] See also Figure 2 , combined with Figure 2 It can be obtained that a smart drug storage and access system 100 according to an embodiment of the present invention is used in a target smart medicine cabinet of a medical institution that stores drugs only once a day and stores a full cabinet each time. The target smart medicine cabinet includes a plurality of target smart sub-medicine cabinets, and the target smart medicine cabinet has at least one target preparation sub-medicine cabinet. Except for the target preparation sub-medicine cabinet, the types of drugs stored in each of the target smart sub-medicine cabinets are different, including: The data acquisition module 10 is used to acquire the target historical drug access data, wherein the target historical drug access data includes the record data of the storage and use of various drugs in the target smart medicine cabinet in the previous target specified time period; A first judgment module 20 is used to judge whether the target smart sub-medicine cabinet has completely used up the medicine within the target specified time period according to the target historical medicine access data; The second judgment module 30 is used to mark the target smart sub-medicine cabinet where the medicine is completely taken as a target emergency smart sub-medicine cabinet when there is a target smart sub-medicine cabinet where the medicine is completely taken within the target specified time period, and to judge whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target reserve sub-medicine cabinets; The data processing module 40 is used to mark the target preparation sub-medicine cabinet as a medicine cabinet for storing medicines corresponding to the target emergency smart sub-medicine cabinet when the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets, and one target preparation sub-medicine cabinet stores one medicine corresponding to the target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different medicines.
[0042] Figure 3 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Figure 3 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement the above-mentioned intelligent drug access method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement the above-mentioned intelligent drug access method. Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0043] In another embodiment, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps: Obtain target historical drug access data, the target historical drug access data including record data of the storage and use of various drugs in the target smart medicine cabinet within the previous target specified time period; determine whether there is any target smart sub-medicine cabinet whose drugs have been completely taken out within the target specified time period based on the target historical drug access data; if so, mark the target smart sub-medicine cabinet whose drugs have been completely taken out as a target emergency smart sub-medicine cabinet, and determine whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets; if so, mark the target preparation sub-medicine cabinet as a medicine cabinet for storing drugs corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores drugs corresponding to one target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different drugs.
[0044] In another embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the processor performs the following steps: Obtain target historical drug access data, the target historical drug access data including record data of the storage and use of various drugs in the target smart medicine cabinet within the previous target specified time period; determine whether there is any target smart sub-medicine cabinet whose drugs have been completely taken out within the target specified time period based on the target historical drug access data; if so, mark the target smart sub-medicine cabinet whose drugs have been completely taken out as a target emergency smart sub-medicine cabinet, and determine whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets; if so, mark the target preparation sub-medicine cabinet as a medicine cabinet for storing drugs corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores drugs corresponding to one target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different drugs.
[0045] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0046] The present invention obtains target historical drug access data, and determines whether there is a target smart sub-medicine cabinet whose drugs are completely taken out within the target specified time period based on the target historical drug access data. If so, the target smart sub-medicine cabinet whose drugs are completely taken out is marked as a target emergency smart sub-medicine cabinet, and it is determined whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets; if so, the target preparation sub-medicine cabinet is marked as a cabinet for storing drugs corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores drugs corresponding to one target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different drugs. The storage of drugs can be reasonably arranged according to the target historical drug access data, so that more emergency drugs and first aid drugs with higher consumption can be stored in more medicine cabinets, and drugs that are not taken out can be emptied to free up more medicine cabinets for storing emergency drugs and first aid drugs.
[0047] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0048] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A smart drug access method, used in a target smart medicine cabinet of a medical institution, which stores drugs only once a day and stores drugs fully each time, wherein the target smart medicine cabinet includes a plurality of target smart sub-medicine cabinets, and the target smart medicine cabinet has at least one target preparation sub-medicine cabinet, and except for the target preparation sub-medicine cabinet, the types of drugs stored in each of the target smart sub-medicine cabinets are different, characterized in that: include: Acquire target historical drug access data, wherein the target historical drug access data includes record data of storage and retrieval of various drugs by the target smart medicine cabinet in a previous target specified time period; Determining, based on the target historical drug access data, whether the target smart sub-medicine cabinet has completely accessed drugs within the target specified time period; If so, the target smart sub-medicine cabinet where the medicines are completely taken is marked as a target emergency smart sub-medicine cabinet, and it is determined whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target reserve sub-medicine cabinets; If so, the target preparation sub-medicine cabinet is marked as a medicine cabinet for storing the medicines corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores one medicine corresponding to the target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different medicines.
2. The intelligent drug access method according to claim 1, characterized in that: The step of determining whether the number of the target emergency intelligent sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets comprises: If the number of the target emergency smart sub-medicine cabinets is greater than the number of the target reserve sub-medicine cabinets, determining whether there is a target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period; If so, determining whether the medicines stored in the target intelligent sub-medicine cabinet with zero medicine usage within the target specified time period are all non-emergency medicines; If so, the target smart sub-medicine cabinet with zero drug usage within the target specified time period will be marked as a target idle smart sub-medicine cabinet, and the target idle smart sub-medicine cabinet will be marked as a cabinet for storing drugs corresponding to the target emergency smart sub-medicine cabinet, and one target idle smart sub-medicine cabinet will store drugs corresponding to one target emergency smart sub-medicine cabinet, and different target idle smart sub-medicine cabinets will store different drugs.
3. The intelligent drug access method according to claim 1, characterized in that: The target smart sub-medicine cabinet determines whether any medicine has been completely taken out within the target specified time period according to the target historical medicine access data, and then includes: If there is no target smart sub-medicine cabinet whose medicines are completely taken out within the target specified time period, obtain the first N target smart sub-medicine cabinets whose medicines are taken out more within the target specified time period, and mark the first N target smart sub-medicine cabinets as target consumption sub-medicine cabinets, where N is a positive integer, and N is the number of the target reserve sub-medicine cabinets; Marking the N target preparation sub-medicine cabinets as medicine cabinets for storing N types of medicines corresponding to the N target consumption sub-medicine cabinets, respectively, wherein the medicines stored in each target preparation sub-medicine cabinet are different; Notify the relevant medicine cabinet managers to store the medicines corresponding to the N target consumption sub-cabinets into the N target preparation sub-cabinets respectively, where one of the target preparation sub-cabinets stores the medicines corresponding to one target consumption sub-cabinet, the medicines stored in each target preparation sub-cabinet are different, and each target preparation sub-cabinet must be fully stocked.
4. The intelligent drug access method according to claim 3, characterized in that: Before notifying the relevant medicine cabinet managers to store the medicines corresponding to the N target damaged sub-medicine cabinets into the N target prepared sub-medicine cabinets respectively, the method includes: If there are still medicines left in the N target preparation sub-medicine cabinets, the relevant medicine cabinet managers are notified to empty the remaining medicines in the N target preparation sub-medicine cabinets.
5. The intelligent drug access method according to claim 2, characterized in that: The step of determining whether the medicines stored in the target intelligent sub-medicine cabinet that has zero medicine usage within the target specified time period are all non-emergency medicines comprises: If the drugs stored in the target smart medicine cabinet with zero drug withdrawal within the target specified time period are all emergency drugs, the target smart medicine cabinet with zero drug withdrawal within the target specified time period will not be marked as a target idle smart medicine cabinet, and the emergency drugs originally stored in it will be kept; If the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period stores emergency drugs, the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period will be marked as a target idle smart sub-medicine cabinet, and the target smart sub-medicine cabinet with zero drug withdrawal within the target specified time period will not be marked as a target idle smart sub-medicine cabinet, and the corresponding emergency drugs will continue to be stored.
6. The intelligent drug access method according to claim 1, characterized in that: The target preparation sub-medicine cabinet is marked as a medicine cabinet for storing medicines corresponding to the target emergency smart sub-medicine cabinet, and one target preparation sub-medicine cabinet stores medicines corresponding to one target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different medicines, including: Notify the relevant medicine cabinet managers to store the medicines corresponding to each of the target emergency smart sub-medicine cabinets into each of the target preparation sub-medicine cabinets respectively, where one of the target preparation sub-medicine cabinets stores the medicines corresponding to one of the target emergency smart sub-medicine cabinets, the medicines stored in each of the target preparation sub-medicine cabinets are different, and each of the target preparation sub-medicine cabinets must be fully stocked.
7. The intelligent drug access method according to claim 6, characterized in that: Before notifying the relevant medicine cabinet managers to store the medicines corresponding to the target emergency intelligent sub-medicine cabinets into the target preparation sub-medicine cabinets respectively, the following steps are included: If there are still medicines left in each of the target preparation sub-medicine cabinets, the relevant medicine cabinet management personnel are notified to empty the remaining medicines in each of the target preparation sub-medicine cabinets.
8. A drug intelligent storage and access system, used in a target smart medicine cabinet of a medical institution, which stores drugs only once a day and stores drugs fully each time, wherein the target smart medicine cabinet includes a plurality of target smart sub-medicine cabinets, and the target smart medicine cabinet has at least one target preparation sub-medicine cabinet, and except for the target preparation sub-medicine cabinet, the types of drugs stored in each of the target smart sub-medicine cabinets are different, characterized in that: include: A data acquisition module, used to acquire target historical drug access data, wherein the target historical drug access data includes record data of storage and use of various drugs by the target smart medicine cabinet in a previous target specified time period; A first judgment module is used to judge whether the target smart sub-medicine cabinet has completely used up the medicine within the target specified time period according to the target historical medicine access data; The second judgment module is used to mark the target smart sub-medicine cabinet where the medicine is completely taken as a target emergency smart sub-medicine cabinet when there is a target smart sub-medicine cabinet where the medicine is completely taken within the target specified time period, and judge whether the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target reserve sub-medicine cabinets; The data processing module is used to mark the target preparation sub-medicine cabinet as a medicine cabinet for storing medicines corresponding to the target emergency smart sub-medicine cabinet when the number of the target emergency smart sub-medicine cabinets is less than or equal to the number of the target preparation sub-medicine cabinets, and one target preparation sub-medicine cabinet stores one medicine corresponding to the target emergency smart sub-medicine cabinet, and different target preparation sub-medicine cabinets store different medicines.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor executes the drug intelligent access method as described in any one of claims 1 to 7.
10. A computer device, characterized in that: It includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the drug intelligent access method as described in any one of claims 1 to 7.