Medicament supplementing method and device, electronic equipment and computer readable storage medium
By using sensors in Chinese pharmacies to automatically obtain the remaining amount of medicines and generate drug-free notices, the problem of inefficient dosing in Chinese pharmacies is solved, and the simplification of the drug supplementation process and improvement of customer experience is achieved.
Patent Information
- Application Number
- CN202411219674.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-12-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In traditional Chinese pharmacies, the artificial dosing process is inefficient, which leads to slow replenishment of the drug and slow response to feedback of lack of drugs, resulting in customer complaints and the problem of the inability to produce drugs in time.
By using sensors in the drug management system to obtain the remaining amount of the drug, automatically determine whether it is less than the warning value, generate a drug-free notice, and automatically supplement the drug based on the notice, streamline the process and improve the efficiency of the tonic.
It improves the efficiency of the drug supplement process, reduces customer complaints, improves user experience, and ensures that the drug is released in a timely manner.
Smart Images

Figure CN119180595A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical technology, and in particular to a medicine replenishment method, device, electronic equipment and computer-readable storage medium. Background Art
[0002] At present, the use of smart Chinese medicine pharmacies in decoction services is becoming more and more widespread. In major medical institutions and pharmaceutical companies, the medicine buckets for Chinese medicine preparations require manual addition and removal of up to thousands of medicinal materials every day. The dosing personnel are overwhelmed and are overloaded every day on the production line. At present, in most Chinese medicine pharmacies, the dosing method for Chinese medicine pieces is still carried out by manual registration. The process is: manually open the medicine bucket → check the status of the shortage of medicine → hand-write and register on the paper record book → enter the shortage information into the computer production form → send the form to the warehouse → collect the medicine → administer the medicine → add the medicine; usually feedback to the warehouse to collect the medicine, and also use telephone, WeChat, email and other methods, as well as waiting for the warehouse’s feedback. The slow response and long waiting time make the dosing process slow and inefficient. Sometimes the dosing personnel cannot collect the medicine in time, and the addition of medicine leads to the failure of Chinese medicine preparations to be delivered in time, and customer complaints and other problems occur from time to time. Summary of the invention
[0003] The purpose of the present invention is to provide a medicine replenishment method, device, electronic device and computer-readable storage medium, which automatically obtains the remaining amount of medicine, automatically generates a medicine shortage notification, and replenishes medicine according to the medicine shortage notification, thereby streamlining the medicine replenishment process, improving the efficiency of replenishment, reducing customer complaints and improving user experience.
[0004] In a first aspect, the present invention provides a medicine replenishment method, which is applied to a traditional Chinese medicine management system, comprising:
[0005] After the medicine hopper containing the medicine is closed, the remaining amount of the medicine is obtained;
[0006] Determine whether the remaining amount is less than the preset warning value;
[0007] The medicine whose remaining amount is less than the warning value is determined as the target medicine;
[0008] Generate a drug shortage notice based on the target drug;
[0009] Replenish target medicines based on the shortage notice.
[0010] In some preferred embodiments of the present invention, the warning value is updated according to the current warning value, the preset weight and the historical consumption of the medicine.
[0011] In some preferred embodiments of the present invention, the historical consumption of the medicine includes: the consumption of the medicine in the previous preset period, the consumption of the medicine in the previous two preset periods, the consumption of the medicine yesterday, and the consumption of the medicine the day before yesterday, and the warning value is updated by the following formula:
[0012]
[0013] Among them, A1 is the current warning value, A is the updated warning value, S1 is the consumption of the medicine in the previous preset cycle, S2 is the consumption of the medicine in the previous two preset cycles, S3 is the consumption of the medicine yesterday, S4 is the consumption of the medicine the day before yesterday, ω1 is the first weight, and ω2 is the second weight.
[0014] In some preferred embodiments of the present invention, the preset period is adjusted by the following formula:
[0015]
[0016] Among them, S1 is the consumption of the medicine in the previous preset cycle, S2 is the consumption of the medicine in the previous two preset cycles, T0 is the current warning cycle, and T is the adjusted warning cycle.
[0017] In some preferred embodiments of the present invention, the medicine hopper is provided with a reset sensor, and the reset of the reset sensor indicates that the medicine hopper is closed; the medicine hopper is also provided with a weighing sensor and / or a material level sensor;
[0018] After the medicine hopper containing the medicine is closed, the step of obtaining the remaining amount of the medicine comprises:
[0019] When the reset sensor is reset, the remaining amount is obtained through the weighing sensor and / or the material level sensor.
[0020] In some preferred embodiments of the present invention, the medicine shortage notice includes: the degree of urgency; the Chinese medicine drug management system sorts the order of adding target drugs based on the degree of urgency;
[0021] The urgency level is determined by the following formula:
[0022]
[0023] Among them, △S is the consumption of the target medicine in a preset unit time, S5 is the current remaining amount of the target medicine, and H is the urgency level.
[0024] In some preferred embodiments of the present invention, after the step of replenishing the target medicine based on the medicine shortage notice, the method further includes:
[0025] Obtaining the replenishment amount of the target medicine;
[0026] Determine whether the replenishment quantity is consistent with the quantity on the shortage notice;
[0027] If they are consistent, a drug collection record is generated and the target drug's in-and-out warehouse information is updated;
[0028] If there is a discrepancy, an error notification is generated and a check is performed.
[0029] In a second aspect, the present invention provides a medicine replenishment device, which is applied to a traditional Chinese medicine management system, comprising:
[0030] A data acquisition module, used to obtain the remaining amount of medicine after the medicine hopper containing the medicine is closed;
[0031] The medicine remaining quantity judgment module is used to judge whether the remaining quantity is less than the preset warning value;
[0032] A target medicine determination module is used to determine the medicine whose remaining amount is less than the warning value as the target medicine;
[0033] A medicine shortage notification processing module is used to generate a medicine shortage notification based on the target medicine;
[0034] The medicine replenishment module is used to replenish the target medicine based on the medicine shortage notification.
[0035] In a third aspect, the present invention provides an electronic device comprising a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement any of the above-mentioned medicine replenishment methods.
[0036] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any of the above-mentioned drug replenishment methods.
[0037] The present invention brings the following beneficial effects:
[0038] The present invention provides a medicine replenishment method, device, electronic device and computer-readable storage medium, which are applied to a traditional Chinese medicine medicine management system, the method comprising: obtaining the remaining amount of the medicine; and automatically calculating and updating the warning value, urgency and preset period based on the remaining amount; judging whether the remaining amount is less than the preset warning value; determining the medicine whose remaining amount is less than the warning value as the target medicine; generating a medicine shortage notification form based on the target medicine; replenishing the target medicine based on the medicine shortage notification form; automatically obtaining the remaining amount of the medicine, automatically generating a medicine shortage notification form, replenishing the medicine according to the medicine shortage notification form, streamlining the medicine replenishment process, improving the efficiency of replenishing medicine, reducing customer complaints and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A flowchart of a drug replenishment method provided by an embodiment of the present invention;
[0041] Figure 2 A schematic diagram of the structure of a medicine bucket provided by an embodiment of the present invention;
[0042] Figure 3 A flowchart of another drug replenishment method provided by an embodiment of the present invention;
[0043] Figure 4 A schematic diagram of the structure of a medicine replenishing device provided by an embodiment of the present invention;
[0044] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0045] Icons: 100 - medicine hopper; 110 - reset sensor; 120 - weighing sensor; 130 - material level sensor; 310 - data acquisition module; 320 - medicine remaining amount judgment module; 330 - target medicine determination module; 340 - medicine shortage notification processing module; 350 - medicine replenishment module; 400 - memory; 401 - processor; 402 - bus; 403 - communication interface. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0047] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.
[0048] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0049] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0050] In addition, the terms "horizontal", "vertical", "overhanging" and the like do not mean that the components are required to be absolutely horizontal or overhanging, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.
[0051] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" 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 elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0052] Smart Chinese medicine pharmacies are increasingly using decoction services. In major medical institutions and pharmaceutical companies, the medicine buckets for Chinese medicine preparations require thousands of kinds of medicinal materials to be added and taken out manually every day. The dosing personnel are overwhelmed and are overloaded every day on the production line. At present, in most Chinese medicine pharmacies, the dosing method for Chinese medicine pieces is still manual registration. The process is: manually open the medicine bucket → check the status of the shortage of medicine → hand-write on the paper record book → enter the shortage information into the computer production form → send the form to the warehouse → collect the medicine → administer the medicine → add the medicine; usually feedback to the warehouse to collect the medicine, and also use telephone, WeChat, email and other methods, as well as waiting for the warehouse’s feedback. The slow response and long waiting time make the dosing process slow and inefficient. Sometimes the dosing personnel cannot collect the medicine in time, and the addition of medicine leads to the failure of Chinese medicine preparations to be delivered in time, and customer complaints and other problems occur from time to time.
[0053] At the same time, there are many types of Chinese medicine, usually up to a thousand kinds. After adding medicine, the names of medicines and batch numbers are manually registered, which brings great workload to the dosing staff. How to count in which time period the medicines are added, which dosing staff, which medicines are added and the batch numbers, it is impossible to effectively track the basic information and sources of the prescription medicines, which brings difficulties to warehouse management.
[0054] The dosing staff cannot remember the specific area of the warehouse where each medicinal material is located in the shortage state, nor can they remember the specific location of each medicinal material that needs to be added in the adjustment area. It often takes a lot of time to find and add medicine, resulting in low dosing efficiency.
[0055] Based on this, the present invention provides a medicine replenishment method, device, electronic device and computer-readable storage medium, which automatically obtains the remaining amount of medicine, automatically generates a medicine shortage notification, and replenishes medicine according to the medicine shortage notification, thereby streamlining the medicine replenishment process, improving the efficiency of replenishment, reducing customer complaints and improving user experience.
[0056] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0057] Embodiment 1
[0058] The embodiment of the present invention provides a medicine replenishment method, which is applied to a Chinese medicine medicine management system. Figure 1 The flowchart of a drug supplement method provided by an embodiment of the present invention is shown, and the method includes:
[0059] Step S102, after the medicine hopper containing the medicine is closed, the remaining amount of the medicine is obtained.
[0060] Specifically, when the pharmacy staff completes a medicine dispensing operation and closes the medicine hopper 100 containing the medicine, the system will automatically record the remaining amount of the current medicine. This is usually achieved through sensors installed on the medicine hopper 100, which can accurately measure the weight or volume of the medicine in the medicine hopper 100, thereby calculating the remaining amount.
[0061] Step S104, determining whether the remaining amount is less than a preset warning value.
[0062] Specifically, the system will determine whether the medicine needs to be replenished based on a preset warning value. When the remaining amount of the medicine is less than the preset warning value, it indicates that the medicine needs to be replenished.
[0063] Step S106, determining the medicine whose remaining amount is less than the warning value as the target medicine.
[0064] Specifically, if the remaining amount of a certain medicine is lower than the warning value, the system will mark it as a target medicine. The system will sort the medicines that need to be replenished according to certain conditions, such as the time of entering the queue for replenishment and the urgency of the medicine. This sorting process helps pharmacy managers prioritize some shortages and efficiently allocate resources and manpower.
[0065] Step S108: Generate a medicine shortage notice based on the target medicine.
[0066] Specifically, based on the above sorting results, the system will automatically generate a drug shortage notice, which provides a clear replenishment list for pharmacy managers.
[0067] Furthermore, in some preferred embodiments of the present invention, the drug shortage notification includes: the type of drug shortage, drug batch, drug specification, drug bucket number, quantity and urgency.
[0068] In addition, the notification will also provide detailed information including: missing drug type, drug batch, drug specification, drug bucket number, quantity and urgency, so that managers can take quick action.
[0069] Step S110: replenish the target medicine based on the medicine shortage notice.
[0070] Specifically, according to the medicine shortage notice, the pharmacy manager will start to replenish the target medicine. During the replenishment process, the system will continue to monitor the remaining amount of the medicine and update the remaining amount information of the medicine after the medicine is added to the medicine hopper 100.
[0071] In some preferred embodiments of the present invention, a zero-time medicine collection record can be generated based on the medicine shortage notification form to facilitate subsequent verification and system storage.
[0072] The implementation of this drug replenishment method has significantly improved the automation and intelligence level of Chinese medicine drug management, reduced drug shortages caused by human negligence, and improved work efficiency and pharmacy service quality. Furthermore, in order to further improve the effectiveness of the system, it is necessary to regularly evaluate and adjust the warning values to adapt to changes in drug use patterns.
[0073] The embodiment of the present invention provides a medicine replenishment method, which is applied to a traditional Chinese medicine medicine management system, and the method includes: obtaining the remaining amount of the medicine after the medicine bucket containing the medicine is closed; judging whether the remaining amount is less than a preset warning value; determining the medicine whose remaining amount is less than the warning value as the target medicine; generating a medicine shortage notification form based on the target medicine; replenishing the target medicine based on the medicine shortage notification form; automatically obtaining the remaining amount of the medicine, automatically generating a medicine shortage notification form, replenishing the medicine according to the medicine shortage notification form, streamlining the medicine replenishment process, improving the efficiency of replenishing medicine, reducing customer complaints, and improving user experience.
[0074] Embodiment 2
[0075] On the basis of the above-mentioned embodiment, the embodiment of the present invention provides another medicine replenishment method, which updates the warning value according to the current warning value, the preset weight and the historical consumption of the medicine.
[0076] Specifically, at the end of a preset period, the system will analyze the historical consumption of the agent to determine its consumption trend. If the historical consumption of a certain agent shows a clear upward trend, it means that its demand may be increasing, so the warning value and warning period need to be adjusted accordingly. The current warning value of each day within the preset period is used as the basis for updating, and fine-tuning is performed on the basis of the current warning value to ensure the continuity of the warning value. The preset weight reflects the proportion of the consumption of the agent in different periods to the updated warning value. For example, the updated warning value needs to consider the consumption of the agent in two periods, a short period and a long period. If the weight of the short period is increased, the consumption of the agent in the short period will have a greater impact on the warning value.
[0077] Furthermore, the historical consumption of the medicine includes: the consumption of the medicine in the previous preset cycle, the consumption of the medicine in the previous two preset cycles, the consumption of the medicine yesterday, and the consumption of the medicine the day before yesterday. The warning value is updated by the following formula:
[0078]
[0079] Among them, A1 is the current warning value, A is the updated warning value, S1 is the consumption of the medicine in the previous preset cycle, S2 is the consumption of the medicine in the previous two preset cycles, S3 is the consumption of the medicine yesterday, S4 is the consumption of the medicine the day before yesterday, ω1 is the first weight, and ω2 is the second weight.
[0080] In some preferred embodiments of the present invention, the first weight represents the growth rate of medication within a preset period, and the second weight represents the growth rate of medication within a natural day.
[0081] In some preferred embodiments of the present invention, according to the needs of a special period, the two weight ratios can be adjusted to reasonably allocate the warning value mainly based on the data of the previous day or the previous preset period, ω1+ω2=100%.
[0082] Specifically, the system initially sets an initial warning value, such as 25%. According to the usage of the medicine bucket 100, the warning value ranges from 10% to 50%. Set an early warning cycle, such as 7 days, and the warning cycle ranges from 1 day to 7 days. The full load of the medicine bucket 100 for different varieties of medicinal materials is different, and the unit is g (gram). Each medicine bucket 100 is set with 7 warning values and 1 warning cycle. There is a warning value for each of the 7 days in a cycle.
[0083] During the warning cycle, the system automatically optimizes learning by analyzing the frequency of medication use through statistics of medication records. When the weighted medication growth rate is higher than 100%, the warning value is increased, and when the weighted medication growth rate is lower than 100%, the warning value is reduced. Each time the corresponding warning values in the warning cycle are updated, that is, 1-7 warning values. According to the needs of special periods, the two weight ratios can be adjusted to reasonably allocate warning values mainly based on the data of the previous day or the previous week.
[0084] At the same time, according to the medicinal material traceability system and operating specifications, the system can match the origin, batch number and other information of the medicinal materials in the medicine bucket 100 with the warehouse inventory information. When the inventory of the same batch is less than one dosing amount, a dosing notification will be generated in advance based on the warehouse inventory, thereby ensuring the accuracy of the traceability information.
[0085] Furthermore, the warning period is adjusted by 1 day for every 10% change in the medication frequency. When the medication frequency changes by 10%, the warning period is reduced by 1 day; when the medication frequency changes by -10%, the warning period is increased by 1 day; when the medication frequency changes within the adjustment zone, it remains unchanged.
[0086] Specifically, the preset period is adjusted by the following formula:
[0087]
[0088] Among them, S1 is the consumption of the medicine in the previous preset cycle, S2 is the consumption of the medicine in the previous two preset cycles, T0 is the current warning cycle, and T is the adjusted warning cycle.
[0089] Further, in some preferred embodiments of the present invention, see Figure 2 The illustrated embodiment of the present invention provides a schematic structural diagram of a medicine hopper, wherein the medicine hopper 100 is provided with a reset sensor 110, and the reset of the reset sensor 110 indicates that the medicine hopper 100 is closed; the medicine hopper 100 is also provided with a weighing sensor 120 and / or a material level sensor 130; after the medicine hopper 100 containing the medicine is closed, the step of obtaining the remaining amount of the medicine comprises: after the reset sensor 110 is reset, obtaining the remaining amount through the weighing sensor 120 and / or the material level sensor 130.
[0090] Specifically, when the reset sensor 110 is reset, the material level is sensed, and the sensor automatically sends the value to the system and updates the corresponding data; or, when the reset sensor 110 is reset, the material level is sensed, and the sensor automatically sends the value to the system and updates the corresponding data. According to the shape characteristics of different varieties of medicinal materials, a single medicine hopper 100 can be installed with a single weighing sensor 120, or with a weighing sensor 120 and a material level sensor 130, and the system automatically converts the material level value into a weight value.
[0091] Each medicine hopper 100 is assigned a unique medicine hopper 100 code. According to actual business needs, one or more medicine hoppers 100 can be set for one medicinal material, and they can be distributed in different physical locations of medicine cabinets. In system warning and drug addition operations, a single medicine hopper 100 is treated as an independent object.
[0092] In some preferred embodiments of the present invention, the medicine shortage notice includes: the degree of urgency; the Chinese medicine drug management system sorts the order of adding target drugs based on the degree of urgency; and the degree of urgency is determined by the following formula: Among them, △S is the consumption of the target medicine in a preset unit time, S5 is the current remaining amount of the target medicine, and H is the urgency level.
[0093] Specifically, the urgency of the medicine can be marked according to the ratio of the amount of medicine used within 1 hour to the current remaining amount of medicine. The higher the ratio, the higher the urgency. The urgency is marked in the medicine shortage notification form, and the system sorts them according to the urgency, and can give priority to replenishing the medicines with the highest ranking.
[0094] In some preferred embodiments of the present invention, when the urgency reaches a preset threshold, the system sends out an alarm message to remind the medicine replenishment personnel to replenish the medicine immediately. Generally, the threshold can be set to 1, that is, when the amount consumed per unit time is equal to the current remaining amount, medicine needs to be added immediately.
[0095] By adding an urgency mark, the urgency of the lack of medicine is marked, and the medicine with the least remaining amount or the largest usage per unit time is replenished first, thereby improving the efficiency of medicine replenishment.
[0096] In some preferred embodiments of the present invention, after the step of replenishing the target medicine based on the medicine shortage notification, the method also includes: obtaining the replenishment quantity of the target medicine; determining whether the replenishment quantity is consistent with the quantity on the medicine shortage notification; if they are consistent, generating a medicine collection record and updating the target medicine's in-and-out warehouse information; if they are inconsistent, generating an error notification and performing a check.
[0097] Specifically, the medicine hopper will be reset after the dosing is completed. When the system receives the real-time value increase sent by the medicine hopper, it will verify whether it is consistent with the corresponding temporary material collection record information. At this time, it can be verified whether the current remaining quantity is consistent with the remaining quantity in the drug shortage notification plus the added quantity minus the usage during the dosing period. When the verification passes, the temporary material collection record generates a formal material collection record and updates the corresponding medicine hopper in and out of the warehouse information; when the verification fails, an error notification is sent to the corresponding dosing operator, who will check and resolve it.
[0098] See also Figure 3 The flowchart of another drug supplement method provided by an embodiment of the present invention is shown, and the method includes:
[0099] Step S202, the medicine hopper is reset and the remaining data of medicinal materials is sent.
[0100] Step S204: the system receives data and determines whether it exceeds the warning value.
[0101] Step S206: When the warning value is exceeded, the system sends a drug shortage notification to the warehouse.
[0102] Step S208: The warehouse generates a material picking list and a medicine adding notice according to the medicine shortage notice.
[0103] Step S210: The drug adder receives a drug adding notification on a handheld terminal and collects and adds drugs.
[0104] Step S212, the medicine hopper is reset and new remaining data is sent.
[0105] Step S214: the system verifies that a medication addition record is generated.
[0106] Specifically, the present invention adopts a cloud-based pharmacy intelligent drug adding and collection system, which is the Chinese medicine drug management system mentioned above. By placing a sensor at the medicine bucket 100, when the Chinese medicine dispensing personnel are picking up the medicine, the medicinal materials in the medicine bucket 100 are gradually consumed, and the sensor automatically senses and sends real-time values to the drug adding and collection system for updating and calculation. The system calculates whether it is necessary to add medicine according to the preset AI warning values of different medicinal materials. When the warning value is reached, the system sends a drug shortage notification to the warehouse, wherein the drug shortage notification includes information such as the drug adding variety, the number of the medicine bucket 100, the quantity, and the urgency. The warehouse terminal automatically sorts and displays the unprocessed notifications according to the urgency. The warehouse staff generates a drug adding order and a card according to the drug shortage notification to pick up the materials. At the same time, a temporary material picking record is automatically generated according to the drug adding order and the material picking information and sent to the drug adding collection system. The drug adding staff picks up the medicine and adds the medicine to the corresponding numbered medicine bucket 100 according to the card information. When the drug adding collection system receives the drug adding value sent by the medicine bucket 100, it verifies whether it is consistent with the corresponding temporary material picking record information. When the verification is passed, the temporary material picking record generates a formal material picking record and updates the corresponding database information.
[0107] When the reset sensor of a medicine hopper 100 is reset, the data obtained by the weighing sensor and the material level sensor are sent to the cloud-based pharmacy intelligent drug adding collection system.
[0108] When the cloud-based pharmacy intelligent medication collection system receives the real-time medicine bucket 100 value sent by the sensor, the system calculates whether medication needs to be added based on the current warning value of the corresponding medicine bucket 100, and updates the value to the system. When the warning value is reached, the system generates a medicine shortage notification and sends it to the warehouse, where the medicine shortage notification includes information such as the type of medicine shortage, batch of medicinal materials, specifications, medicine bucket 100 number, quantity, and urgency. The urgency can be sorted from large to small according to the ratio of the cumulative consumption of the medicine bucket 100 per unit time to the current remaining amount, or from low to high according to the remaining rate of the medicine bucket 100.
[0109] The warehouse terminal automatically sorts and displays the unprocessed drug shortage notices according to their urgency. The most urgent drug shortage notices are ranked first. If there are more urgent drug shortage notices during this period, they will be queued to the front. The warehouse material clerk generates a material requisition and a card based on the drug shortage notice to pick up the materials. The material requisition can combine multiple drug shortage notices according to the medicine hopper 100 area. The card is attached to the medicinal material packaging bag or transfer bag. After the material is picked up, a drug addition notice is generated to the corresponding drug adder in the medicine hopper 100 area. At the same time, a temporary material requisition record is generated based on the material requisition and the material requisition information and sent to the drug addition collection system.
[0110] After receiving the dosing notification on the handheld terminal of the dosing worker (the handheld terminal includes a dedicated handheld terminal or a mobile phone with an application APP installed), the dosing worker goes to the specific location in the warehouse area to pick up the ordered medicinal materials. The dosing notification includes the urgency, medicinal material name, specification, quantity, medicine bucket 100 code and physical location of medicine bucket 100, etc. According to the dosing notification information, the dosing worker adds medicine to the medicine bucket 100 with the corresponding number. The dosing worker can scan the QR code of the medicine bucket 100 to check the relevant information and medicinal material status.
[0111] After the dosing is completed, the medicine hopper 100 will be reset. When the cloud-based pharmacy intelligent dosing collection system receives the real-time value sent by the medicine hopper 100, it will verify whether it is consistent with the corresponding temporary material collection record information. At this time, it will verify whether the current remaining quantity is consistent with the remaining quantity in the drug shortage notification plus the dosing quantity minus the usage during the dosing period. When the verification is passed, the temporary material collection record will generate a formal material collection record and update the corresponding medicine hopper 100 in and out of the warehouse information; when the verification fails, an error notification will be sent to the corresponding dosing staff, who will check and resolve it.
[0112] In the medicine replenishment method provided by the embodiment of the present invention, the cloud-based pharmacy intelligent medicine adding and collection system needs to establish a medicine bucket 100 basic database, a medicine bucket 100 in-and-out database, a temporary material collection record table, a medicine traceability database, a medicine inventory database, etc. Among them, the medicine bucket 100 basic database includes the medicine bucket 100 code, the medicine bucket 100 QR code, the adjustment area location, the medicinal material name, specification, 7 warning values, warning cycle, weight ratio, medicine bucket 100 capacity, etc.; the medicine bucket 100 in and out database includes the medicinal material name, current inventory, batch number, added medicine quantity, usage quantity, reset time, executor information, etc.; the temporary material collection record table includes the medicinal material name, medicine bucket 100 number, drug shortage time, remaining quantity when drug shortage, remaining medicinal material specifications, drug addition notification time, drug addition quantity, drug addition specifications, out-of-warehouse information, etc.; the medicinal material traceability database includes the medicinal material code, QR code, medicinal material name, specification, site, batch number, supplier information, upstream information, logistics information, etc.; the medicinal material inventory database includes the regional location code of the warehouse or transit warehouse, the medicinal material name, specification, batch number, origin information, supplier information, in and out of the warehouse information, material collection information, etc.
[0113] The medicine replenishment method provided by the embodiment of the present invention can query the real-time information of each medicinal material by establishing the foundation of medicinal materials, medicine bucket 100, inventory, and business flow database, and use the cloud pharmacy intelligent system to realize the comprehensive data management of the adjustment process. The application of sensors and intelligent terminals, through the artificial intelligence calculation of the system, automatically generates drug shortage notifications, drug collection notifications, in and out of the warehouse records, etc.; solves the time-consuming manual registration of the original dosing staff, and solves the time cost and manual errors of manually registering the name, specification, batch number information, supplier, origin information of the medicinal materials in the business flow from the warehouse to the medicine bucket 100, and from the supply of medicinal materials to the use, thereby improving the accuracy of business data. In addition, the inventory of the medicine bucket 100 is automatically sensed and sent by the sensor, and the cloud pharmacy intelligent dosing collection system uses AI intelligent calculations, takes the day of the week as the accounting unit according to the particularity of the business, and automatically optimizes the warning value for different medicine buckets 100 on different dates, thereby improving the dosing efficiency, thereby improving the business efficiency. The cloud-based pharmacy intelligent dosing collection system can regularly provide the consumption data of each medicinal material according to the use of each medicine bucket 100, such as medicinal material variety, specification, user preference, etc. The system can automatically summarize the daily, monthly, quarterly and annual medicinal material consumption, so as to predict the medicinal material dosing information of the future day, month, quarter and year, and the warehouse staff can formulate a medicinal material procurement plan based on the system's predicted consumption.
[0114] The system automatically and effectively tracks the business information of each business link, realizing the traceability system of the entire business process of traditional Chinese medicine. Customers can track and understand the business process through the traceability system, thereby improving the quality of drugs and service satisfaction.
[0115] In addition, based on the system's business records, the work conditions and intensity of warehouse personnel, drug adders, dispensers and other staff can be attributed, and employee performance appraisals can be effectively established, enabling medical institutions and pharmaceutical companies to conduct quantitative performance appraisals in warehouse adjustments.
[0116] Embodiment 3
[0117] Based on the above embodiments, the present invention provides a medicine replenishment device, which is applied to a Chinese medicine medicine management system. Figure 4 The schematic diagram of the structure of a medicine replenishing device provided by an embodiment of the present invention is shown, and the device comprises:
[0118] The data acquisition module 310 is used to obtain the remaining amount of medicine after the medicine hopper containing the medicine is closed.
[0119] The medicine remaining amount determination module 320 is used to determine whether the remaining amount is less than a preset warning value.
[0120] The target drug determination module 330 is used to determine the drug whose remaining amount is less than the warning value as the target drug.
[0121] The drug shortage notification processing module 340 is used to generate a drug shortage notification based on the target drug.
[0122] The medicine replenishment module 350 is used to replenish the target medicine based on the medicine shortage notification.
[0123] In some preferred embodiments of the present invention, the medicine replenishing device further includes: an alert value adjustment module, which is used to update the alert value according to the current alert value, a preset weight and the historical consumption of the medicine.
[0124] In some preferred embodiments of the present invention, the historical consumption of the medicine includes: the consumption of the medicine in the previous preset period, the consumption of the medicine in the previous two preset periods, the consumption of the medicine yesterday, and the consumption of the medicine the day before yesterday. The warning value adjustment module is used to update the warning value through the following formula: Among them, A1 is the current warning value, A is the updated warning value, S1 is the consumption of the medicine in the previous preset period, S2 is the consumption of the medicine in the previous two preset periods, S3 is the consumption of the medicine yesterday, S4 is the consumption of the medicine the day before yesterday, ω1 is the first weight, the first weight represents the growth rate of medication within the preset period, ω2 is the second weight, the second weight represents the growth rate of medication within a natural day.
[0125] In some preferred embodiments of the present invention, the medicine replenishing device further comprises: an early warning cycle adjustment module, which is used to adjust the preset cycle by the following formula: Among them, S1 is the consumption of the medicine in the previous preset cycle, S2 is the consumption of the medicine in the previous two preset cycles, T0 is the current warning cycle, and T is the adjusted warning cycle.
[0126] In some preferred embodiments of the present invention, the medicine hopper 100 is provided with a reset sensor 110, and the resetting of the reset sensor 110 indicates that the medicine hopper 100 is closed; the medicine hopper 100 is also provided with a weighing sensor 120 and / or a material level sensor 130; the data acquisition module 310 is used to obtain the remaining amount through the weighing sensor 120 and / or the material level sensor 130 after the reset sensor 110 is reset.
[0127] In some preferred embodiments of the present invention, the medicine shortage notice includes: the degree of urgency; the Chinese medicine drug management system sorts the order of adding target drugs based on the degree of urgency;
[0128] The device also includes an urgency determination module, which is used to determine the urgency by the following formula: Among them, △S is the consumption of the target medicine in a preset unit time, S5 is the current remaining amount of the target medicine, and H is the urgency level.
[0129] In some preferred embodiments of the present invention, the medicine replenishment device also includes: a verification module, used to obtain the replenishment quantity of the target medicine; determine whether the replenishment quantity is consistent with the quantity on the medicine shortage notification form; if they are consistent, generate a medicine collection record and update the target medicine's entry and exit information; if they are inconsistent, generate an error notification and perform a check.
[0130] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the medicine replenishing device described above can refer to the corresponding process in the aforementioned embodiment of the medicine replenishing method, and will not be repeated here.
[0131] Embodiment 4
[0132] The embodiment of the present invention also provides an electronic device for executing a medicine replenishment method; see Figure 5 The illustrated embodiment of the present invention provides a schematic diagram of the structure of an electronic device, which includes a memory 400 and a processor 401, wherein the memory 400 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 401 to implement the above-mentioned drug replenishment method.
[0133] Further, Figure 5 The electronic device shown further includes a bus 402 and a communication interface 403 , and the processor 401 , the communication interface 403 and the memory 400 are connected via the bus 402 .
[0134] Among them, the memory 400 may include a high-speed random access memory 400 (RAM), and may also include a non-volatile memory 400 (non-volatile memory), such as at least one disk memory 400. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 403 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 402 can be an ISA bus 402, a PCI bus 402 or an EI SA bus 402, etc. The bus 402 can be divided into an address bus 402, a data bus 402, a control bus 402, etc. For ease of representation, Figure 5 Although only one bidirectional arrow is used in the diagram, it does not mean that there is only one bus 402 or only one type of bus 402 .
[0135] The processor 401 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 401 or the instruction in the form of software. The above processor 401 can be a general processor 401, including a central processing unit 401 (CPU), a network processor 401 (NP), etc.; it can also be a digital signal processor 401 (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present invention can be implemented or executed. The general processor 401 can be a microprocessor 401 or the processor 401 can also be any conventional processor 401, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as being executed by the hardware decoding processor 401, or being executed by a combination of hardware and software modules in the decoding processor 401. The software module can be located in a mature storage medium in the art such as a random access memory 400, a flash memory, a read-only memory 400, a programmable read-only memory 400 or an electrically erasable programmable memory 400, a register, etc. The storage medium is located in the memory 400, and the processor 401 reads the information in the memory 400, and completes the steps of the method of the aforementioned embodiment in combination with its hardware.
[0136] An embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor 401, the computer-executable instructions prompt the processor 401 to implement the above-mentioned business recommendation method. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0137] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes a plurality of instructions, the instructions are stored in a computer-readable storage medium. The processor 401 of the electronic device reads the instructions from the computer-readable storage medium, and the processor 401 executes the instructions, so that the electronic device executes the methods provided in the various optional implementations provided in the above embodiments.
[0138] Since the instructions stored in the storage medium can execute the steps in any one of the medicine replenishment methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the medicine replenishment methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0139] The computer program products of the medicine replenishment method, device and electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the previous method embodiments. The specific implementation can be found in the method embodiments and will not be repeated here.
[0140] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and / or device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0141] In addition, in the description of the embodiments 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 an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0142] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory 400 (ROM, Read-On l yMemory), a random access memory 400 (RAM, Random Access Memory), a magnetic disk or an optical disk.
[0143] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A drug supplement method, characterized in that: Applied to Chinese medicine drug management system, including: After the medicine hopper containing the medicine is closed, obtaining the remaining amount of the medicine; Determining whether the remaining amount is less than a preset warning value; Determine the medicine whose remaining amount is less than the warning value as the target medicine; generating a medicine shortage notice based on the urgency of the target medicine; The target medicine is replenished based on the medicine shortage notification.
2. The drug replenishment method according to claim 1, characterized in that: The medicine shortage notice includes: the degree of urgency; the Chinese medicine drug management system sorts the order of adding the target drugs based on the degree of urgency; The urgency level is determined by the following formula: Wherein, ΔS is the consumption of the target medicine within a preset unit time, S5 is the current remaining amount of the target medicine, and H is the urgency level.
3. The drug replenishment method according to claim 1, characterized in that: The warning value is updated according to the current warning value, the preset weight and the historical consumption of the medicine.
4. The drug replenishment method according to claim 3, characterized in that: The historical consumption of the medicine includes: the consumption of the medicine in the previous preset cycle, the consumption of the medicine in the previous two preset cycles, the consumption of the medicine yesterday, and the consumption of the medicine the day before yesterday. The warning value is updated by the following formula: Among them, A1 is the current warning value, A is the updated warning value, S1 is the consumption of the medicine in the previous preset cycle, S2 is the consumption of the medicine in the previous two preset cycles, S3 is the consumption of the medicine yesterday, S4 is the consumption of the medicine the day before yesterday, ω1 is the first weight, and ω2 is the second weight.
5. The drug replenishment method according to claim 4, characterized in that: The preset period is adjusted by the following formula: Among them, S1 is the consumption of the medicine in the previous preset cycle, S2 is the consumption of the medicine in the previous two preset cycles, T0 is the current warning cycle, and T is the adjusted warning cycle.
6. The drug replenishment method according to claim 1, characterized in that: The medicine hopper is provided with a reset sensor, and the reset of the reset sensor indicates that the medicine hopper is closed; the medicine hopper is also provided with a weighing sensor and / or a material level sensor; The step of obtaining the remaining amount of the medicine after the medicine hopper containing the medicine is closed comprises: After the reset sensor is reset, the remaining amount is obtained through the weighing sensor and / or the material level sensor.
7. The drug replenishment method according to claim 1, characterized in that: After the step of replenishing the target medicine based on the medicine shortage notice, the method further includes: Obtaining a replenishment amount of the target drug; Determine whether the replenishment amount is consistent with the amount on the medicine shortage notice; If they are consistent, a medicine collection record is generated and the in-and-out warehouse information of the target medicine is updated; If there is a discrepancy, an error notification is generated and a check is performed.
8. A medicine replenishing device, characterized in that: Applied to Chinese medicine drug management system, including: A data acquisition module, used to acquire the remaining amount of the medicine after the medicine hopper containing the medicine is closed; A medicine remaining quantity judgment module is used to judge whether the remaining quantity is less than a preset warning value; A target medicine determination module, used for determining a medicine whose remaining amount is less than the warning value as a target medicine; A medicine shortage notification processing module, used for generating a medicine shortage notification based on the target medicine; The medicine replenishment module is used to replenish the target medicine based on the medicine shortage notification form.
9. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the medicine replenishment method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the medicine replenishment method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Medicine shortage prompting method for automated pharmacy and automated pharmacy equipment
CN103693344A
Traditional Chinese medicine cabinet
CN105957313A
Order processing method, transaction system and server
CN108460507A
Medicine feeding method
CN108657709A
Dosage residue alarm method and device
CN109044845A
Cited By
Agricultural supply chain data collaborative management method and system
CN120806875A
