A combined drug dispensing method and system based on multi-dispensing devices

By identifying the drugs and dosages in the prescription information, determining the target dispensing device, generating dispensing instructions, and controlling multiple dispensing devices to dispense drugs in a coordinated manner, the problem of low dispensing efficiency for multiple types of drugs in existing technologies is solved, and an efficient self-service dispensing process is realized.

CN117923044BActive Publication Date: 2026-05-26SHENZHEN LACHESIS MOBILE MEDICAL TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN LACHESIS MOBILE MEDICAL TECH CO LTD
Filing Date
2024-01-22
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing self-service dispensing equipment cannot process multiple types of medications simultaneously, requiring patients or pharmacists to repeatedly enter prescription information into different devices. This makes the dispensing process cumbersome and fails to effectively improve the dispensing efficiency of outpatient pharmacies.

Method used

By acquiring prescription information, identifying the medication to be dispensed and its dosage, determining the target dispensing device, generating dispensing instructions, and controlling multiple dispensing devices to dispense medication in coordination, manual operation is avoided.

Benefits of technology

This technology enables the combined dispensing of medications from multiple dispensing devices, improving the efficiency of outpatient pharmacies and reducing cumbersome manual operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117923044B_ABST
    Figure CN117923044B_ABST
Patent Text Reader

Abstract

This invention discloses a combined dispensing method and system based on multiple dispensing devices. Upon receiving prescription information, the method first determines the dispensing device for each drug based on the prescription and its dosage. Then, based on the drugs, dosages, and target dispensing devices, a dispensing instruction is generated for each target device and sent to it. This instruction allows each target dispensing device to deliver the drugs to its dispensing port according to the dispensing instruction. Therefore, this invention enables the combined dispensing of medications from multiple devices after receiving prescription information, avoiding cumbersome manual operations and effectively improving the dispensing efficiency of outpatient pharmacies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of pharmaceutical management technology, and in particular to a combined dispensing method, apparatus and system based on multiple dispensing devices. Background Technology

[0002] With the development of medical informatization, the drug management methods of outpatient pharmacies are gradually shifting towards electronic and intelligent systems. Currently, outpatient pharmacies are generally equipped with self-service dispensing machines. Patients or pharmacists can input prescription information into the self-service dispensing machine, which then identifies the medications on the prescription and delivers them to the dispensing slot, effectively improving dispensing efficiency and reducing patient waiting time.

[0003] However, a single self-service dispensing machine can only handle a single or limited number of medication types, such as boxed medications, injections, mixtures of boxed and injection medications, bulk medications, or hazardous drugs. Different types of medications are stored in different self-service dispensing machines. Therefore, when a prescription contains multiple types of medications, the patient or pharmacist needs to repeatedly enter the prescription information into different self-service dispensing machines to obtain the medications.

[0004] Therefore, current self-service dispensing equipment cannot meet the demand for dispensing multiple types of medicines at the same time. The self-service dispensing process still requires cumbersome manual operation and cannot effectively improve the dispensing efficiency of outpatient pharmacies. Summary of the Invention

[0005] This invention provides a combined dispensing method and system based on multiple dispensing devices, which can effectively improve the dispensing efficiency of outpatient pharmacies.

[0006] An embodiment of the present invention provides a combined drug dispensing method based on a multi-dispensing device, comprising:

[0007] Obtain prescription information and identify all the medications to be picked up in the prescription information, as well as the dosage of each medication to be picked up in the prescription information;

[0008] Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, determine the target dispensing device for storing each of the drugs to be retrieved;

[0009] Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, a dispensing instruction corresponding to each target dispensing device is generated and sent to each target dispensing device, so that each target dispensing device can transmit each drug to be retrieved to the dispensing port according to the dispensing instruction.

[0010] Furthermore, determining the target dispensing device for storing each of the drugs to be dispensed based on each drug to be dispensed and the dosage of each drug to be dispensed includes:

[0011] Iterate through all the drugs to be picked up in the prescription information and obtain the preset storage location of the currently traversed drug to be picked up;

[0012] When determining the storage location of the drug to be retrieved at the current traversal to the main dispensing device, it is determined whether the first inventory of the drug to be retrieved at the current traversal in the main dispensing device is less than the required dosage of the drug to be retrieved.

[0013] If not, then the main dispensing device is determined to be the target dispensing device for the currently traversed drug to be dispensed;

[0014] If so, calculate the dose difference between the first inventory and the dose to be taken;

[0015] When the dose difference is equal to the dose to be taken, the standby dispensing device storing the drug to be taken is determined as the target dispensing device for the drug to be taken currently being traversed;

[0016] When the dose difference is not equal to the dose to be taken, the standby dispensing device and the main dispensing device are determined as the target dispensing devices for the drug to be taken currently being traversed.

[0017] Furthermore, after obtaining the preset storage location of the currently traversed drugs to be retrieved, it also includes:

[0018] When it is determined that the storage location of the drug to be retrieved is not the main dispensing device, the extended dispensing device storing the drug to be retrieved is queried, and the second inventory of the drug to be retrieved in the extended dispensing device is obtained; wherein, the extended dispensing device stores various types of drugs that the main dispensing device cannot store.

[0019] When it is determined that the second inventory is not less than the dose of the drug to be retrieved currently being traversed, the extended drug dispensing device is determined as the target drug dispensing device for the drug to be retrieved currently being traversed.

[0020] Furthermore, after obtaining the second inventory of the currently traversed drugs to be retrieved in the extended dispensing equipment, the process also includes:

[0021] When the second inventory is less than the available dose of the currently traversed available drug, an alarm message is generated to indicate that the current available drug inventory is insufficient.

[0022] Furthermore, after generating the dispensing instructions corresponding to each target dispensing device and sending them to each target dispensing device, the process also includes:

[0023] Generate a dispensing order containing each of the drugs to be dispensed, the dosage of each drug to be dispensed, and the target dispensing device for each drug to be dispensed, so that the user can dispense the drug at the dispensing port of each target dispensing device according to the dispensing order.

[0024] Another embodiment of the present invention provides a combined drug dispensing system based on multiple drug dispensing devices, including: a combined drug dispensing control device and a plurality of drug dispensing devices;

[0025] The combined drug dispensing control device is used to acquire prescription information and identify all the drugs to be dispensed in the prescription information, as well as the dosage of each drug to be dispensed in the prescription information.

[0026] Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, determine the target dispensing device for storing each of the drugs to be retrieved;

[0027] Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, a dispensing instruction corresponding to each target dispensing device is generated and sent to each target dispensing device respectively.

[0028] The dispensing device is used to store various drugs and, according to the dispensing instructions, to transfer each drug to be dispensed to the dispensing port.

[0029] Furthermore, the combined drug dispensing control device determines the target dispensing device for storing each of the drugs to be dispensed based on each drug to be dispensed and the dosage of each drug to be dispensed, including:

[0030] Iterate through all the drugs to be picked up in the prescription information and obtain the preset storage location of the currently traversed drug to be picked up;

[0031] When determining the storage location of the drug to be retrieved at the current traversal to the main dispensing device, it is determined whether the first inventory of the drug to be retrieved at the current traversal in the main dispensing device is less than the required dosage of the drug to be retrieved.

[0032] If not, then the main dispensing device is determined to be the target dispensing device for the currently traversed drug to be dispensed;

[0033] If so, calculate the dose difference between the first inventory and the dose to be taken;

[0034] When the dose difference is equal to the dose to be taken, the standby dispensing device storing the drug to be taken is determined as the target dispensing device for the drug to be taken currently being traversed;

[0035] When the dose difference is not equal to the dose to be taken, the standby dispensing device and the main dispensing device are determined as the target dispensing devices for the drug to be taken currently being traversed.

[0036] Furthermore, after obtaining the preset storage location of the currently traversed drug to be retrieved, the combined drug dispensing control device is also used to query the extended drug dispensing device that stores the currently traversed drug to be retrieved when it is determined that the storage location of the currently traversed drug to be retrieved is not the main drug dispensing device, and obtain the second inventory of the currently traversed drug to be retrieved in the extended drug dispensing device; wherein, the extended drug dispensing device stores various types of drugs that the main drug dispensing device cannot store;

[0037] When it is determined that the second inventory is not less than the dose of the drug to be retrieved currently being traversed, the extended drug dispensing device is determined as the target drug dispensing device for the drug to be retrieved currently being traversed.

[0038] Furthermore, after obtaining the second inventory of the currently traversed drug to be retrieved in the extended drug dispensing device, the combined drug dispensing control device is also used to generate an alarm message indicating that the inventory of the currently traversed drug to be retrieved is insufficient when the second inventory is less than the dose to be retrieved of the currently traversed drug to be retrieved.

[0039] Furthermore, after generating the dispensing instructions corresponding to each target dispensing device and sending them to each target dispensing device, the combined dispensing control device is also used to generate a dispensing order containing each of the drugs to be dispensed, the dosage of each drug to be dispensed, and the dispensing order of each target dispensing device, so that the user can dispense the drug at the dispensing port of each target dispensing device according to the dispensing order.

[0040] The following benefits can be obtained by implementing the present invention:

[0041] This invention provides a combined dispensing method and system based on multiple dispensing devices. Upon receiving prescription information, the method first determines the dispensing device for each medication based on the prescription and its dosage. Then, based on the medication, dosage, and target dispensing device, it generates dispensing instructions for each target device and sends these instructions to each device, enabling them to dispense the medication to the dispensing port according to the instructions. Therefore, this invention can control multiple dispensing devices to dispense medication jointly after receiving prescription information, avoiding cumbersome manual operations and effectively improving the dispensing efficiency of outpatient pharmacies. Attached Figure Description

[0042] Figure 1 This is a schematic flowchart of a combined drug dispensing method based on multiple drug dispensing devices provided in an embodiment of the present invention.

[0043] Figure 2 This is a schematic diagram of a combined drug dispensing system based on multiple drug dispensing devices provided in an embodiment of the present invention.

[0044] Figure 3 This is a schematic diagram of the main drug dispensing device provided in an embodiment of the present invention.

[0045] Figure 4 This is a schematic diagram of a backup drug dispensing device provided in an embodiment of the present invention.

[0046] Figure 5 This is a schematic diagram of a first extended drug dispensing device provided in an embodiment of the present invention.

[0047] Figure 6 This is a schematic diagram of a second extended drug dispensing device provided in an embodiment of the present invention.

[0048] Figure 7 This is a schematic diagram of a third extended drug dispensing device provided in an embodiment of the present invention.

[0049] Figure 8 This is a schematic diagram of the fourth extended drug dispensing device provided in an embodiment of the present invention.

[0050] Figure 9 This is a schematic diagram of the fifth extended drug dispensing device provided in an embodiment of the present invention. Detailed Implementation

[0051] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0052] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0054] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0055] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0056] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0057] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).

[0058] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0059] See Figure 1 This is a flowchart illustrating a combined drug dispensing method based on multiple drug dispensing devices according to an embodiment of the present invention, comprising:

[0060] S1. Obtain prescription information and identify all the medications to be picked up in the prescription information, as well as the dosage of each medication to be picked up in the prescription information;

[0061] In a preferred embodiment of the present invention, to more specifically illustrate the implementation of this embodiment, the data calling methods between the various control systems and management systems are explained in advance. In this embodiment, the control systems of each dispensing device and the prescription management system of the pharmacy / hospital are each treated as a server. Each server supports distributed multi-node expansion. Multiple servers register their services with the registration center ZooKeeper and provide interfaces between each service. Services communicate via Dubbo's RPC protocol, thereby enabling interface calls between the various servers. Furthermore, when connecting devices, it also supports reporting and accessing other protocols, such as HTTP, MQTT, and custom protocols using sockets.

[0062] Specifically, when the system receives a prescription information input by a patient or pharmacist, it queries the prescription management system via Dubbo's RPC protocol to obtain all the medications to be picked up in the prescription information, as well as the dosage of each medication to be picked up.

[0063] S2. Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, determine the target dispensing device for storing each of the drugs to be retrieved;

[0064] Preferably, determining the target dispensing device for storing each of the drugs to be dispensed based on each drug to be dispensed and the desired dosage of each drug to be dispensed includes:

[0065] S201. Traverse all the drugs to be picked up in the prescription information and obtain the preset storage location of the currently traversed drugs to be picked up.

[0066] In a preferred embodiment of the present invention, all the drugs to be retrieved are traversed, and the storage location of the currently traversed drug to be retrieved is determined from a MySQL database that records the storage locations of various drugs by querying the database.

[0067] S202. When determining the storage location of the drug to be retrieved currently being traversed as the main dispensing device, determine whether the first inventory of the drug to be retrieved currently being traversed in the main dispensing device is less than the dose to be retrieved of the drug to be retrieved.

[0068] In a preferred embodiment of the present invention, a setting is provided as follows: Figure 3The main dispensing device shown is a large dispensing machine driven by a robotic arm. It is the primary dispensing device in the current outpatient pharmacy, mainly used for dispensing large quantities of boxed medications in whole numbers. When determining the storage location of the currently traversed medication to be dispensed in the main dispensing device, the system queries the main dispensing device's inventory management table to obtain the first inventory of the currently traversed medication in the main dispensing device, and determines whether the first inventory of the currently traversed medication in the main dispensing device is less than the required dosage of the medication.

[0069] S203. If not, then determine that the main dispensing device is the target dispensing device for the currently traversed drug to be dispensed;

[0070] In a preferred embodiment of the present invention, if the first inventory in the main dispensing device is not less than the dose of the drug to be dispensed, it means that the dispensing of the drug to be dispensed can be completed by relying solely on the main dispensing device. Therefore, the main dispensing device is used as the target dispensing device for the drug to be dispensed.

[0071] S204. If so, calculate the dose difference between the first inventory and the dose to be taken;

[0072] S205. When the dose difference is equal to the dose to be taken, determine the standby dispensing device storing the drug to be taken as the target dispensing device for the drug to be taken currently being traversed.

[0073] S206. When the dose difference is not equal to the dose to be taken, determine the backup dispensing device and the main dispensing device as the target dispensing devices for the drug to be taken currently being traversed.

[0074] In a preferred embodiment of the present invention, to prevent the main dispensing device from failing to replenish its drug inventory in a timely manner, thus failing to meet dispensing demands, several such devices are connected. Figure 4 The aforementioned small dispensing device serves as a backup dispensing device. Specifically, if the first inventory in the main dispensing device is less than the required dosage of the medicine to be dispensed, it means that the main dispensing device alone cannot meet the dispensing needs of the currently being processed medicine. Therefore, the dosage difference between the first inventory and the required dosage needs to be calculated and used as the dispensing dosage for the backup dispensing device.

[0075] When the dose difference equals the dose to be taken, it means that the current main dispensing device has 0 in stock and the backup dispensing device needs to provide all the doses of the currently traversed drugs. Therefore, the backup dispensing device is used as the target dispensing device for the currently traversed drugs.

[0076] When the dose difference is not equal to the dose to be taken, it means that the main dispensing device and the backup dispensing device need to provide all the doses of the drug to be taken that are currently being traversed. Specifically, the main dispensing device provides a dose equal to the first stock, and the backup dispensing device provides a dose equal to the dose difference.

[0077] Furthermore, when it is determined that the first inventory in the main dispensing device is less than the required dosage of the drug to be dispensed, an alarm message is generated to inform the staff that the main dispensing device needs to replenish the inventory of the drug to be dispensed currently being traversed.

[0078] Preferably, after obtaining the preset storage location of the currently traversed drugs to be retrieved, the method further includes:

[0079] S211. When it is determined that the storage location of the drug to be retrieved currently being traversed is not the main dispensing device, query the extended dispensing device that stores the drug to be retrieved currently being traversed, and obtain the second inventory of the drug to be retrieved currently being traversed in the extended dispensing device; wherein, the extended dispensing device stores various types of drugs that the main dispensing device cannot store.

[0080] S212. When it is determined that the second inventory is not less than the dosage of the drug to be taken currently being traversed, the extended drug dispensing device is determined as the target drug dispensing device for the drug to be taken currently being traversed.

[0081] In a preferred embodiment of the present invention, since there are many drugs that cannot be stored at room temperature and many drugs that need to be stored under sealed and light-proof conditions, the main dispensing device cannot be used for storage and dispensing. Therefore, the drugs must be stored in a suitable environment such as… Figure 5-9 The extended drug dispensing equipment shown is designed to save on tedious manual operations and improve dispensing efficiency. Figure 5-9 The control system of the extended drug dispensing equipment shown is registered with the ZooKeeper service so that each extended drug dispensing equipment can dispense drugs according to the dispensing instructions, eliminating the need for medical staff to manually operate the dispensing equipment.

[0082] Specifically, when it is determined that the storage location of the currently traversed drug to be retrieved is not the main dispensing device, the inventory management table of each extended dispensing device is queried to determine the extended dispensing device storing the currently traversed drug to be retrieved, and the second inventory of the currently traversed drug to be retrieved in the extended dispensing device is obtained. And when it is determined that the second inventory is not less than the required dosage of the currently traversed drug to be retrieved, the extended dispensing device is determined as the target dispensing device for the currently traversed drug to be retrieved.

[0083] Preferably, after obtaining the second inventory of the currently traversed drugs to be retrieved in the extended dispensing device, the method further includes:

[0084] S213. When the second inventory is less than the current dosage of the drug to be retrieved, generate an alarm message to indicate that the inventory of the drug to be retrieved is insufficient.

[0085] In a preferred embodiment of the present invention, when the second inventory is less than the available dosage of the currently traversed available medication, an alarm message is generated to indicate that the current available medication inventory is insufficient, so that staff can replenish the medication inventory in a timely manner.

[0086] It should be noted that, in order to prevent the untimely replenishment of drug inventory in the extended drug dispensing equipment from failing to meet the drug dispensing demand, the same solution as the main drug dispensing equipment can be adopted, by connecting the backup extended drug dispensing equipment to each extended drug dispensing equipment. When the inventory of the extended drug dispensing equipment is insufficient, the backup extended drug dispensing equipment is allocated to dispensing the drug.

[0087] S3. Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, generate a dispensing instruction corresponding to each target dispensing device, and send it to each target dispensing device respectively, so that each target dispensing device can transmit each drug to be retrieved to the dispensing port according to each dispensing instruction.

[0088] Preferably, after generating the dispensing instructions corresponding to each target dispensing device and sending them to each target dispensing device, the method further includes:

[0089] S4. Generate a dispensing order containing each of the drugs to be dispensed, the dosage of each drug to be dispensed, and the target dispensing device for each drug to be dispensed, so that the user can dispense the drug at the dispensing port of each target dispensing device according to the dispensing order.

[0090] This invention provides a combined dispensing method and system based on multiple dispensing devices. Upon receiving prescription information, the method first determines the dispensing device for each medication based on the prescription and its dosage. Then, based on the medication, dosage, and target dispensing device, it generates dispensing instructions for each target device and sends these instructions to each device, enabling them to dispense the medication to the dispensing port according to the instructions. Therefore, this invention can control multiple dispensing devices to dispense medication jointly after receiving prescription information, avoiding cumbersome manual operations and effectively improving the dispensing efficiency of outpatient pharmacies.

[0091] See Figure 2 This is a schematic diagram of a combined drug dispensing system based on multiple drug dispensing devices provided in an embodiment of the present invention, including: a combined drug dispensing control device and several drug dispensing devices;

[0092] The combined drug dispensing control device is used to acquire prescription information and identify all the drugs to be dispensed in the prescription information, as well as the dosage of each drug to be dispensed in the prescription information.

[0093] Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, determine the target dispensing device for storing each of the drugs to be retrieved;

[0094] Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, a dispensing instruction corresponding to each target dispensing device is generated and sent to each target dispensing device respectively.

[0095] The dispensing device is used to store various drugs and, according to the dispensing instructions, to transfer each drug to be dispensed to the dispensing port.

[0096] Preferably, the combined drug dispensing control device determines the target dispensing device for storing each of the drugs to be dispensed based on each drug to be dispensed and the desired dosage of each drug to be dispensed, including:

[0097] Iterate through all the drugs to be picked up in the prescription information and obtain the preset storage location of the currently traversed drug to be picked up;

[0098] When determining the storage location of the drug to be retrieved at the current traversal to the main dispensing device, it is determined whether the first inventory of the drug to be retrieved at the current traversal in the main dispensing device is less than the required dosage of the drug to be retrieved.

[0099] If not, then the main dispensing device is determined to be the target dispensing device for the currently traversed drug to be dispensed;

[0100] If so, calculate the dose difference between the first inventory and the dose to be taken;

[0101] When the dose difference is equal to the dose to be taken, the standby dispensing device storing the drug to be taken is determined as the target dispensing device for the drug to be taken currently being traversed;

[0102] When the dose difference is not equal to the dose to be taken, the standby dispensing device and the main dispensing device are determined as the target dispensing devices for the drug to be taken currently being traversed.

[0103] Preferably, after obtaining the preset storage location of the currently traversed drug to be retrieved, the combined drug dispensing control device is further configured to, when determining that the storage location of the currently traversed drug to be retrieved is not the main drug dispensing device, query the extended drug dispensing device storing the currently traversed drug to be retrieved, and obtain the second inventory of the currently traversed drug to be retrieved in the extended drug dispensing device; wherein, the extended drug dispensing device stores various types of drugs that the main drug dispensing device cannot store;

[0104] When it is determined that the second inventory is not less than the dose of the drug to be retrieved currently being traversed, the extended drug dispensing device is determined as the target drug dispensing device for the drug to be retrieved currently being traversed.

[0105] Preferably, after obtaining the second inventory of the currently traversed drug to be retrieved in the extended drug dispensing device, the combined drug dispensing control device is further configured to generate an alarm message indicating that the inventory of the currently traversed drug to be retrieved is insufficient when the second inventory is less than the required dosage of the currently traversed drug to be retrieved.

[0106] Preferably, after generating the dispensing instructions corresponding to each target dispensing device and sending them to each target dispensing device, the combined dispensing control device is also used to generate a dispensing order containing each of the drugs to be dispensed, the dosage of each of the drugs to be dispensed, and the dispensing order of each of the target dispensing devices, so that the user can dispense the drugs at the dispensing port of each target dispensing device according to the dispensing order.

[0107] This invention provides a combined dispensing system based on multiple dispensing devices. Upon receiving prescription information, the system first determines the dispensing device for each medication based on its dosage and the prescription details. Then, based on the medication, dosage, and target dispensing device, a dispensing instruction is generated for each target dispensing device and sent to each device. This allows each device to dispense the medication to its designated dispensing port according to the instruction. Therefore, this invention enables combined dispensing by multiple devices after receiving prescription information, avoiding cumbersome manual operations and effectively improving the dispensing efficiency of outpatient pharmacies.

[0108] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A combined drug dispensing method based on multiple drug dispensing devices, characterized in that, include: Obtain prescription information and identify all the medications to be picked up in the prescription information, as well as the dosage of each medication to be picked up in the prescription information; Traverse all the drugs to be picked up in the prescription information and obtain the preset storage location of the drug to be picked up currently being traversed; when the storage location of the drug to be picked up currently being traversed is determined to be the main dispensing device, determine whether the first inventory of the drug to be picked up currently being traversed in the main dispensing device is less than the dosage of the drug to be picked up. If not, then the main dispensing device is determined to be the target dispensing device for the currently traversed drug to be dispensed; If so, calculate the dose difference between the first inventory and the dose to be taken; When the dose difference is equal to the dose to be taken, the standby dispensing device storing the drug to be taken is determined as the target dispensing device for the drug to be taken currently being traversed; When the dose difference is not equal to the dose to be taken, the standby dispensing device and the main dispensing device are determined as the target dispensing devices for the drug to be taken currently being traversed; Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, a dispensing instruction corresponding to each target dispensing device is generated and sent to each target dispensing device, so that each target dispensing device can transmit each drug to be retrieved to the dispensing port according to each dispensing instruction. After obtaining the preset storage location of the currently traversed drugs to be retrieved, the process also includes: When it is determined that the storage location of the drug to be retrieved is not the main dispensing device, the extended dispensing device storing the drug to be retrieved is queried, and the second inventory of the drug to be retrieved in the extended dispensing device is obtained; wherein, the extended dispensing device stores various types of drugs that the main dispensing device cannot store. When it is determined that the second inventory is not less than the dose of the drug to be retrieved currently being traversed, the extended drug dispensing device is determined as the target drug dispensing device for the drug to be retrieved currently being traversed.

2. The combined drug dispensing method based on a multi-dispensing device as described in claim 1, characterized in that, After obtaining the second inventory of the currently traversed drugs in the extended dispensing equipment, the process also includes: When the second inventory is less than the available dose of the currently traversed available drug, an alarm message is generated to indicate that the current available drug inventory is insufficient.

3. The combined drug dispensing method based on multiple drug dispensing devices as described in claim 2, characterized in that, After generating the dispensing instructions corresponding to each target dispensing device and sending them to each target dispensing device, the process also includes: Generate a dispensing order containing each of the drugs to be dispensed, the dosage of each drug to be dispensed, and the target dispensing device for each drug to be dispensed, so that the user can dispense the drug at the dispensing port of each target dispensing device according to the dispensing order.

4. A combined drug dispensing system based on multiple drug dispensing devices, characterized in that, include: Combined drug dispensing control equipment and several drug dispensing devices; The combined drug dispensing control device is used to acquire prescription information and identify all the drugs to be dispensed in the prescription information, as well as the dosage of each drug to be dispensed in the prescription information. Traverse all the drugs to be picked up in the prescription information and obtain the preset storage location of the drug to be picked up currently being traversed; when the storage location of the drug to be picked up currently being traversed is determined to be the main dispensing device, determine whether the first inventory of the drug to be picked up currently being traversed in the main dispensing device is less than the dosage of the drug to be picked up. If not, then the main dispensing device is determined to be the target dispensing device for the currently traversed drug to be dispensed; If so, calculate the dose difference between the first inventory and the dose to be taken; When the dose difference is equal to the dose to be taken, the standby dispensing device storing the drug to be taken is determined as the target dispensing device for the drug to be taken currently being traversed; When the dose difference is not equal to the dose to be taken, the standby dispensing device and the main dispensing device are determined as the target dispensing devices for the drug to be taken currently being traversed; Based on each of the drugs to be retrieved and the dosage of each drug to be retrieved, a dispensing instruction corresponding to each target dispensing device is generated and sent to each target dispensing device respectively. The dispensing device is used to store various drugs and, according to the dispensing instructions, to transfer each drug to be dispensed to the dispensing port. The combined dispensing control device, after obtaining the preset storage location of the currently traversed drug to be dispensed, is further configured to, when determining that the storage location of the currently traversed drug to be dispensed is not the main dispensing device, query the extended dispensing device storing the currently traversed drug to be dispensed, and obtain the second inventory of the currently traversed drug to be dispensed in the extended dispensing device; wherein, the extended dispensing device stores various types of drugs that the main dispensing device cannot store; When it is determined that the second inventory is not less than the dose of the drug to be retrieved currently being traversed, the extended drug dispensing device is determined as the target drug dispensing device for the drug to be retrieved currently being traversed.

5. A combined drug dispensing system based on multiple drug dispensing devices as described in claim 4, characterized in that, After obtaining the second inventory of the currently traversed drug to be retrieved in the extended drug dispensing device, the combined drug dispensing control device is further configured to generate an alarm message indicating that the inventory of the currently traversed drug to be retrieved is insufficient when the second inventory is less than the required dosage of the currently traversed drug to be retrieved.

6. A combined drug dispensing system based on multiple drug dispensing devices as described in claim 5, characterized in that, After generating dispensing instructions for each target dispensing device and sending them to each target dispensing device, the combined dispensing control device also generates a dispensing order containing each of the drugs to be dispensed, the dosage of each drug to be dispensed, and the dispensing order for each target dispensing device, so that the user can dispense the drug at the dispensing port of each target dispensing device according to the dispensing order.