Automatic dispensing method and automatic dispensing system
By automatically adjusting the order of drug information, the problem of drug dispensing interruption caused by mismatch between drug information and inventory is solved, and the efficiency of automated drug dispensing is improved.
Patent Information
- Application Number
- CN202311121337.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2025-02-28
AI Technical Summary
During the automated dispensing process, the drug information does not match the inventories, resulting in the dispensing process, and the operator needs to intervene and reconfigure.
By obtaining the initial drug information list, generating a demand list, and automatically adjusting the arrangement order of drug information according to the inventory situation, reducing the priority of dispensing that does not match drug information, and ensuring the continuity of the dispensing process.
It realizes automatic adjustment of the dispensing order when the drug information does not match the inventory, avoiding dispensing interruptions and improving the dispensing efficiency.
Smart Images

Figure CN119541786A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to the field of automated production, and more particularly to an automatic medicine dispensing method and an automatic medicine dispensing system. Background Art
[0002] Hospital Information System (HIS) is a large-scale medical management system configured in hospitals. It stores archives of various electronic information required for hospital operation and provides management methods for these information. Usually, the medical needs of patients are uploaded to the hospital information system, and drug information is generated accordingly. In the automation scenario of the hospital information system (such as automated dispensing), the hospital information system can integrate the patient's medical needs and medical information related to the patient's medical needs to provide the patient with an automated dispensing process.
[0003] In the prior art, the hospital information system and the dispensing device are usually used to cooperate to realize the automated dispensing process. Specifically, by uploading the doctor's prescription to the hospital information system, the hospital information system automatically generates drug information related to the doctor's prescription and arranged in sequence, and sends the drug information to the dispensing device, and the dispensing device performs an automated dispensing process based on the drug information.
[0004] However, in actual application, the drug information often does not match the inventory of drugs, resulting in interruption of the dispensing process. In such cases, operators are usually required to intervene and reconfigure the drug information or dispensing equipment so that the dispensing equipment can continue to dispense drugs. Summary of the invention
[0005] The present disclosure is proposed in view of the above situation, and its purpose is to provide an automatic dispensing method and automatic dispensing system that can automatically adjust the arrangement order of drug information during the dispensing process to continue the dispensing operation, thereby improving the dispensing efficiency.
[0006] To this end, a first aspect of the present disclosure provides an automatic dispensing method, comprising: obtaining an initial list including multiple drug information arranged in a first preset order, the drug information including first category drug information and second category drug information; obtaining a demand list including a first list and a second list based on the initial list, wherein the first list includes a list of types of the first category drug information and a list of quantities matching the list of types of the first category drug information, and the second list includes a list of types of the second category drug information and a list of quantities matching the list of types of the second category drug information; obtaining a first inventory list including a third list corresponding to the first list and a fourth list corresponding to the second list; in response to the mismatch between the demand list and the first inventory list, changing the first inventory list and performing a dispensing operation based on the arrangement order of the multiple drug information; and in the dispensing process, in response to the mismatch between the current drug information and the first inventory list, adjusting the sorting position of the current drug information to reduce the dispensing priority of the current drug information.
[0007] In the first aspect of the present disclosure, by judging whether the current drug information matches the first inventory list, it can be known whether the current first inventory list can meet the dispensing needs of the current drug information. If the current first inventory list cannot meet the dispensing needs of the current drug information, the dispensing priority of the current drug information is lowered, and at the same time, the dispensing priority of at least one drug information after the current drug information is increased; in other words, if the current drug information does not match the first inventory list, the position of the current drug information is adjusted and the dispensing process of at least one drug information after the current drug information is executed, that is, when the current drug information does not match the first inventory list, the dispensing operation can still continue, thereby improving the dispensing efficiency.
[0008] In addition, in the automatic dispensing method involved in the first aspect of the present disclosure, optionally, it also includes obtaining a configurable list based on the initial list, and obtaining the requirement list based on the configurable list, wherein the obtaining the configurable list based on the initial list includes: filtering the initial list based on preset filtering conditions, the preset filtering conditions include determining whether the drug information is tumor drug information, unregistered drug information, or manual drug information; in response to the drug information being any one of the tumor drug information, the unregistered drug information, or the manual drug information, removing the drug information to obtain the configurable list arranged in a second preset order. In this case, by filtering multiple pieces of drug information in the initial list, drug information that is not needed or not suitable for the automatic dispensing system can be further filtered out, thereby improving the efficiency of dispensing.
[0009] In addition, in the automatic dispensing method involved in the first aspect of the present disclosure, optionally, it also includes obtaining a target list based on the configurable list, and performing the dispensing operation based on the target list, wherein obtaining the target list based on the configurable list includes: obtaining the target list arranged in a third preset order based on a first preset rule, wherein the first preset rule includes sorting the configurable list based on any one of the priority of the category to which the drug information belongs, the priority of the department to which the drug information belongs, the priority of the brand to which the drug information belongs, and the priority of the batch to which the drug information belongs. Thus, the dispensing priority can be set according to the actual dispensing needs.
[0010] In addition, in the automatic dispensing method involved in the first aspect of the present disclosure, optionally, before changing the first inventory list, it also includes obtaining a second inventory list corresponding to the demand list, making the drug information included in the demand list but not included in the second inventory list as drug shortage information, and in response to the demand list including the drug shortage information, the drug shortage information is deployed to the tail of the queue of multiple drug information arranged in sequence. In this case, by moving the sorting position of the current drug information to the end of the queue, the sorting position of the drug information after the current drug information can be moved to the front of the queue in sequence, thereby, when the dispensing device lacks the first category and / or second category drugs that match the current drug information, the dispensing operation of other drug information after the current drug information can be preferentially executed, thereby preventing the dispensing device from interrupting dispensing due to drug shortage, thereby improving the dispensing efficiency.
[0011] In addition, in the automatic dispensing method involved in the first aspect of the present disclosure, optionally, changing the first inventory list includes changing the third list and / or the fourth list, and based on the third list before the change and the arrangement order of the multiple drug information, performing an addition operation on the first category of drugs to the first storage space for storing first category drugs to change the third list; based on the fourth list before the change, the arrangement order of the multiple drug information, and at least two items in the second list, performing an addition operation on the second category of drugs to the second storage space for storing second category drugs to change the fourth list. In this case, the third list and / or the fourth list can be used to know the remaining amount of the first category drugs in the first storage space and / or the remaining amount of the second category drugs in the second storage space (including types and quantities matching each type), and thus the number of empty positions in the first storage space that can be used to supplement the first category drugs and / or the number of empty positions in the second storage space that can be used to supplement the second category drugs can be known. In addition, combined with the arrangement order of the multiple drug information, the optimal supplement method for the current dispensing task can be calculated, that is, the first category drugs and quantities corresponding to the first category drug information in the front-arranged drug information and / or the second category drugs and quantities corresponding to the second category drug information need to be supplemented first, thereby facilitating the dispensing operation of multiple drug information according to the arrangement order of the multiple drug information.
[0012] In addition, in the automatic dispensing method involved in the first aspect of the present disclosure, optionally, the first storage space includes a plurality of medicine boxes, the plurality of medicine boxes are traversed to obtain the third list, the supplementary demand of the first category of drugs obtained based on the third list before the change and the arrangement order of the plurality of drug information is used as the first supplementary demand, and the first category of drugs is supplemented to the medicine box matching the first category of drugs based on the first supplementary demand to change the third list. In this case, the types and quantities of the first category of drugs in the third list can meet the dispensing requirements in the current dispensing task, thereby enabling the dispensing device to continuously perform dispensing operations to improve dispensing efficiency.
[0013] In addition, in the automatic dispensing method involved in the first aspect of the present disclosure, optionally, the second storage space includes a plurality of lanes, the plurality of lanes are traversed to obtain the third list, the supplementary demand of the second category of drugs is obtained as the second supplementary demand based on the fourth list before the change, the arrangement order of the plurality of drug information, and at least two items in the second list, and the second category of drugs is supplemented to the lane matching the second category of drugs based on the second supplementary demand to change the fourth list. In this case, the types and quantities of the second category of drugs in the fourth list can meet the dispensing requirements in the current dispensing task, thereby enabling the dispensing equipment to continuously perform dispensing operations to improve dispensing efficiency.
[0014] In addition, in the automatic dispensing method involved in the first aspect of the present disclosure, optionally, adjusting the position of the current drug information to lower the dispensing priority of the current drug information includes: adjusting the arrangement order of the current drug information in the multiple drug information according to a second preset rule; or dispensing the current drug information to a queue different from the multiple drug information. In this way, the dispensing priority of the current drug information can be lowered.
[0015] In addition, in the automatic dispensing method involved in the first aspect of the present disclosure, optionally, it also includes obtaining dispensing data of the dispensing operation, and the dispensing data includes at least one of a dispensing video, a dispensing time, a dispensing picture, and a dispensing method. In this case, by obtaining the dispensing data, each stage in the dispensing operation can be traced. If an abnormal factor occurs in the dispensing process, the key cause of the abnormality can be found promptly and accurately based on the dispensing data, and the abnormal factor can be solved in time.
[0016] The second aspect of the present disclosure provides an automatic medicine dispensing system, wherein the automatic medicine dispensing system executes any one of the automatic medicine dispensing methods provided in the first aspect to perform an automatic medicine dispensing operation, thereby improving medicine dispensing efficiency.
[0017] According to the present disclosure, an automatic dispensing method and an automatic dispensing system are provided, which can automatically adjust the arrangement order of drug information during the dispensing process to continuously perform the dispensing operation, thereby improving the dispensing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The present disclosure will now be explained in further detail, by way of example only, with reference to the accompanying drawings.
[0019] Figure 1 is a structural block diagram showing an automatic medication dispensing system involved in the example of the present disclosure.
[0020] Figure 2 Detailed description of the invention is given in detail below.
[0021] Figure 3 is a flow chart showing the process of obtaining a configurable list involved in an example of the present disclosure.
[0022] Figure 4 is a flow chart showing a process of changing a first inventory list according to an example of the present disclosure.
[0023] Figure 5 is a flowchart showing a third list of changes involved in the example of the present disclosure.
[0024] Figure 6 Detailed description of the invention is given in Figure 2. It is a flow chart showing a second embodiment of the automatic medication dispensing method according to the disclosed example.
[0025] Figure 7 is a flow chart showing a method of reducing the dispensing priority of current drug information according to an example of the present disclosure.
[0026] Figure 8 Detailed description of the invention is given in detail below. DETAILED DESCRIPTION
[0027] Hereinafter, the preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In the following description, the same symbols are assigned to the same components, and repeated descriptions are omitted. In addition, the accompanying drawings are only schematic diagrams, and the ratio of the dimensions of the components or the shapes of the components may be different from the actual ones.
[0028] It should be noted that the terms "including" and "having" and any variations thereof in the present disclosure, such as a process, method, system, product or device that includes or has a series of steps or units, are not necessarily limited to those steps or units clearly listed, but may include or have other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] The first aspect of the present disclosure provides an automatic dispensing method, which is a method for automatically dispensing medicine based on medical information in an automated dispensing scenario. The automatic dispensing method involved in the present disclosure can automatically adjust the arrangement order of drug information during the dispensing process to continuously perform the dispensing operation, thereby improving the dispensing efficiency. The automatic dispensing method involved in the present disclosure can also be called an automatic dispensing method for dispensing equipment, a dispensing method based on an automatic dispensing queue, a dispensing method based on intelligent sorting and scheduling, or a control method for automatic dispensing, etc.
[0030] In some examples, medical information may refer to a doctor's order. In some examples, medical information may refer to a doctor's order for a patient's medical needs. In some examples, medical information may refer to a doctor's order for a patient's medical needs issued by an automatic medical detection instrument.
[0031] In some examples, the drug information may be a medical prescription obtained based on the medical information, such as a temporary prescription, an emergency prescription, and a fixed prescription, etc. Thus, a drug suitable for the patient can be prepared according to the drug information.
[0032] The second aspect of the present disclosure provides an automatic dispensing system, which can be applied to the automatic dispensing method of the present disclosure to perform automatic dispensing operations. Thereby, the efficiency of dispensing can be improved. The automatic dispensing system of the present disclosure can also be called a dispensing system based on an automatic dispensing queue, a dispensing system based on intelligent sorting and scheduling, or a control system for automatic dispensing, etc.
[0033] Figure 1 2 is a block diagram showing the structure of an automatic medication dispensing system 1 according to an example of the present disclosure.
[0034] For some examples, see Figure 1 , the automated dispensing system 1 may include a host computer 11 and a slave computer 12. In some examples, the automated dispensing system may interact with the host computer 11 and the slave computer 12 to achieve automatic dispensing. Among them, the host computer 11 may be used to output control instructions for controlling the slave computer 12 to perform actions, and the slave computer 12 may perform dispensing operations based on the control instructions. In some examples, the slave computer 12 may feed back relevant instructions after performing the dispensing operation to the host computer 11, and the host computer 11 optimizes the control instructions based on the above-mentioned relevant instructions. In this case, closed-loop control in the dispensing process can be achieved based on the interaction between the host computer 11 and the slave computer 12, thereby improving the dispensing efficiency of the automated dispensing process.
[0035] In some examples, the host computer 11 may be a computerized electronic device, instrument, software or system, etc. For example, the host computer 11 may be a portable computer, a desktop computer, a mobile terminal, or a control device with an interactive interface and / or a display interface, etc.
[0036] In some examples, the lower computer 12 may be an operating device for performing an action. For example, the lower computer 12 may be an industrial automation device, a medicine dispensing robot, etc. In some examples, the lower computer 12 may also be referred to as a medicine dispensing device.
[0037] As described above, in some examples, the automatic dispensing system 1 can execute the automatic dispensing method involved in the present disclosure to perform automatic dispensing operations. The automatic dispensing method involved in the present disclosure is described in detail below in conjunction with the accompanying drawings.
[0038] Figure 2 Detailed description of the invention is given in detail below.
[0039] For some examples, see Figure 2 The automatic dispensing method may include obtaining an initial list including multiple drug information (step S20), obtaining a requirement list based on the initial list (step S30), obtaining a first inventory list that matches the requirement list (step S40), changing the first inventory list in response to the requirement list not matching the first inventory list (step S50), and during the dispensing process, reducing the dispensing priority of the current drug information in response to the current drug information not matching the first inventory list (step S60).
[0040] In the automatic dispensing method involved in the present disclosure, by judging whether the current drug information matches the first inventory list, it can be known whether the current first inventory list can meet the dispensing needs of the current drug information. If the current first inventory list cannot meet the dispensing needs of the current drug information, the dispensing priority of the current drug information is lowered, and at the same time, the dispensing priority of at least one drug information after the current drug information is increased; in other words, if the current drug information does not match the first inventory list, the position of the current drug information is adjusted and the dispensing process of at least one drug information after the current drug information is executed, that is, when the current drug information does not match the first inventory list, the dispensing operation can still continue, thereby improving the dispensing efficiency.
[0041] As described above, in step S20, an initial list including multiple pieces of drug information can be obtained. In some examples, the multiple pieces of drug information can come from a hospital information system. In some examples, the hospital information system can pre-process the multiple pieces of drug information. For example, the hospital information system can filter the multiple pieces of drug information by category. Specifically, the hospital information system can filter prescription categories such as temporary prescriptions, emergency prescriptions, and fixed prescriptions. In this case, drug information that needs to be automatically dispensed can be pre-screened based on actual needs, thereby improving the convenience of dispensing.
[0042] In some examples, the hospital information system may pre-process multiple pieces of drug information based on human factors. In some examples, the hospital information system may pre-process multiple pieces of drug information based on device factors of the dispensing device. For example, if the dispensing device only supports dispensing operations for fixed prescriptions, the hospital information system may filter out temporary prescriptions and emergency prescriptions.
[0043] In some examples, the multiple pieces of drug information in the initial list may be arranged in a first preset order. In some examples, the multiple pieces of drug information are arranged in the first preset order, which may refer to the multiple pieces of drug information being arranged according to any one of the generation time of the medical information, the generation time of the drug information, and the priority of the source of the medical information. In other words, the preprocessing of the multiple pieces of drug information by the hospital information system may also include arranging the multiple pieces of drug information in the first preset order. This facilitates subsequent drug dispensing operations.
[0044] In some examples, the drug information may include first-category drug information and second-category drug information. The first-category drug information may include the name, quantity, volume, and dispensing specifications of the first-category drug during the dispensing process, and the second-category drug information may include the name, quantity, volume, and dispensing specifications of the second-category drug during the dispensing process. Thus, the drug can be dispensed according to the drug information.
[0045] In some examples, the first class of drugs may be drugs contained in medicine bottles. In some examples, the second class of drugs may be drugs contained in liquid bags. However, the present disclosure is not limited thereto. In some examples, the first class of drugs may be drugs contained in liquid bags, and the second class of drugs may be drugs contained in medicine bottles. In other examples, both the first class of drugs and the second class of drugs may be drugs contained in medicine bottles, or both the first class of drugs and the second class of drugs may be drugs contained in liquid bags. The automatic dispensing method involved in the present disclosure can automatically mix and prepare the first class of drugs and the second class of drugs according to predetermined requirements to achieve automatic dispensing.
[0046] In some examples, the hospital information system may be in communication connection with the host computer 11 , and the host computer 11 may request an initial list including a plurality of pieces of drug information in the hospital information system.
[0047] As described above, in step S30, a requirement list can be obtained based on the initial list. In some examples, the requirement list may include a first list and a second list. Among them, the first list may include a list of types of first-category drug information. In some examples, the list of types of first-category drug information can be used as a first category list, and the first category list may include the types of first-category drugs required in the dispensing task. In this case, the types of first-category drugs required in the dispensing task can be known in advance before the dispensing operation is performed, thereby facilitating subsequent dispensing operations.
[0048] In some examples, the first list may include a quantity list that matches the type list of the first category drug information, and the quantity list that matches the type list of the first category drug information is used as the first quantity list. In some examples, the first quantity list may include the quantity of each first category drug required in the dispensing task. In this case, the quantity of each first category drug required in the dispensing task can be known in advance before the dispensing operation is performed, thereby facilitating the subsequent dispensing operation.
[0049] In some examples, the second list may include a list of types of the second-category drug information. In some examples, the list of types of the second-category drug information may be used as the second type list, and the second type list may include types of the second-category drugs required in the dispensing task. In this case, the types of the second-category drugs required in the dispensing task can be known in advance before the dispensing operation is performed, thereby facilitating subsequent dispensing operations.
[0050] In some examples, the second list may include a quantity list that matches the type list of the second-category drug information, and the quantity list that matches the type list of the second-category drug information is used as the second quantity list. In some examples, the second quantity list may include the quantity of each second-category drug required in the dispensing task. In this case, the quantity of each second-category drug required in the dispensing task can be known in advance before the dispensing operation is performed, thereby facilitating the subsequent dispensing operation.
[0051] In some examples, the requirement list can be obtained by traversing, searching, or counting the initial list, thereby obtaining the types and quantities of medicines required for the dispensing task.
[0052] For some examples, see Figure 1 , the host computer 11 may include a main display unit 111. In some examples, the demand list may be displayed on the main display unit 111. In this case, it is convenient for the operator to intuitively observe the drug information in the dispensing task so as to make dispensing adjustments.
[0053] Figure 3 is a flow chart showing the process of obtaining a configurable list involved in an example of the present disclosure.
[0054] In some examples, step S30 may further include obtaining a configurable list. Specifically, in some examples, the configurable list may be obtained based on the initial list, and the requirement list may be obtained based on the configurable list.
[0055] For some examples, see Figure 3Obtaining a configurable list based on the initial list may include filtering the initial list based on a preset filtering condition (step S32), and obtaining the configurable list (step S34). In this case, by filtering multiple pieces of drug information in the initial list, drug information that is not needed or not suitable for the automatic dispensing system 1 can be further filtered out, thereby improving the dispensing efficiency.
[0056] In some examples, the preset screening condition may include determining whether the drug information is tumor drug information (step S321 ), thereby screening out tumor drug information or non-tumor drug information.
[0057] In some examples, the preset screening condition may include determining whether the drug information is unregistered drug information (step S323). Thus, unregistered drug information or registered drug information can be screened out.
[0058] In some examples, the non-registered drug information may be drug information whose drug specifications are not recorded in the automatic dispensing system 1. In some examples, the registered drug information may be drug information whose drug specifications are recorded in the automatic dispensing system 1. Specifically, the drug specifications of the first category of drugs and / or the drug specifications of the second category of drugs corresponding to the registered drug information may be pre-stored in the automatic dispensing system 1.
[0059] In some examples, the drug specifications may include the size of the container for containing the drug, for example, at least one of the parameters of the length, width, height, shape, circumference (the circumference of each dimension of the drug bottle), weight, and volume of the drug bottle. In this case, during the dispensing process, the automatic dispensing system 1 can control the clamping arm of the dispensing device to apply precise clamping force to the drug bottle according to the pre-stored drug specifications to stably clamp the drug bottle, thereby reducing the occurrence of the drug bottle breaking due to the clamping arm applying too large a clamping force to the drug bottle or the drug bottle falling due to the clamping arm applying too small a clamping force to the drug bottle during the dispensing process, thereby improving the dispensing efficiency of the dispensing process.
[0060] In some examples, the drug specifications may also include the length, width, height, shape, weight, and volume of the fluid bag, etc. Thus, the dispensing efficiency of the dispensing process can be improved.
[0061] In some examples, the preset screening condition may include determining whether the drug information is manual drug information (step S325 ). Thus, manual drug information or non-manual drug information can be screened out.
[0062] In some examples, manual drug information may refer to drug information that relies on manual dispensing. In some examples, non-manual drug information refers to drug information that can be used for automatic dispensing by a dispensing device.
[0063] In some examples, the preset screening condition may include determining whether the drug information is at least one of oncology drug information, unregistered drug information, or manual drug information.
[0064] In some examples, before step S321, obtaining the configurable list based on the initial list may further include determining whether the dispensing device can configure tumor drug information. In some examples, if the dispensing device can configure tumor drug information, the preset screening condition may not include determining whether the drug information is tumor drug information.
[0065] As described above, in step S32, the drug information may be removed in response to the drug information matching the preset screening conditions. In some examples, the drug information matching the preset screening conditions may refer to the drug information being any one of the preset screening conditions. Specifically, in some examples, the drug information may be removed in response to the drug information being any one of tumor drug information, non-registered drug information, or manual drug information. In this case, drug information that is not compatible with the dispensing device can be screened out before the dispensing operation is performed, thereby reducing the occurrence of the dispensing operation being interrupted due to the incompatibility with the drug information during the dispensing operation. In other words, when the drug information filtered by the preset screening conditions is used in the dispensing device for automatic dispensing, the dispensing efficiency of the dispensing device can be improved.
[0066] In some examples, in step S34, a configurable list may be obtained. In some examples, a list after the initial list is filtered by a preset filtering condition may be used as a configurable list. In other words, the configurable list may include non-oncology drug information, registered drug information, and non-manual drug information in the initial list. In some examples, the configurable list may also be referred to as an automated configuration task list.
[0067] In some examples, a configurable list sorted in a second preset order can be obtained based on the initial list. That is, multiple pieces of drug information in the configurable list can be sorted in the second preset order. In other words, after the initial list arranged in the first preset order is screened out based on the preset screening conditions, the remaining multiple pieces of drug information are sequentially arranged to obtain a configurable list arranged in the second preset order. As a result, the dispensing device can perform a dispensing operation based on the multiple pieces of drug information arranged in the second preset order.
[0068] As described above, in step S40, a first inventory list that matches the demand list may be obtained. In some examples, the first inventory list may include a third list and a fourth list. The third list may correspond to the first list, and the fourth list may correspond to the second list. In this case, by determining whether the third list matches the first list, or determining whether the fourth list matches the second list, it is possible to determine whether the first inventory list can meet the dispensing requirements of the demand list, and then the first inventory list can be adjusted in time according to the determination result to improve the dispensing efficiency of the dispensing device.
[0069] In some examples, the first inventory list can be an inventory list in a storage space in a dispensing device for storing first-class drugs and second-class drugs. Specifically, in some examples, the dispensing device can include a first storage space for storing first-class drugs and a second storage space for storing second-class drugs. In some examples, the capacity of the first storage space and the capacity of the second storage space can be known.
[0070] In some examples, the third list can be obtained based on the first storage space, and the fourth list can be obtained based on the second storage space. In some examples, the third list can include the types and quantities of the first category of drugs remaining in the first storage space, and the fourth list can include the types and quantities of the second category of drugs remaining in the second storage space. Thus, it is possible to quickly determine whether the remaining drugs in the dispensing device can meet the current dispensing needs.
[0071] In some examples, the first storage space may include a plurality of medicine boxes, thereby facilitating storage of the first category of medicines. In some examples, the third list may be obtained by traversing the plurality of medicine boxes.
[0072] In some examples, the second storage space may include a plurality of lanes, thereby facilitating storage of the second category of drugs. In some examples, the fourth list may be obtained by traversing the plurality of lanes.
[0073] In some examples, in step S50, the first inventory list may be changed in response to the mismatch between the demand list and the first inventory list. In some examples, the mismatch between the demand list and the first inventory list may mean that the remaining drugs in the storage space corresponding to the first inventory list and the quantity matching the drugs can no longer meet the dispensing requirements of the demand list or will soon fail to meet the dispensing requirements of the demand list. In this case, it is necessary to change the first inventory list in a timely manner, that is, to replenish the drugs in the storage space in a timely manner so that the dispensing device can continue to perform the dispensing operation.
[0074] Figure 4 is a flow chart showing a process of changing a first inventory list according to an example of the present disclosure.
[0075] For some examples, see Figure 4 , in step S50, changing the first inventory list may include changing the third list (step S51). In some examples, the first storage space for storing the first-category drugs can be supplemented with the first-category drugs based on the third list before the change and the arrangement order of the multiple drug information to change the third list. In this case, the remaining amount of the first-category drugs in the first storage space (including the types and the quantities matching each type) can be known through the third list, and then the number of free positions in the first storage space that can be used to supplement the first-category drugs can also be known, and the optimal supplement method under the current dispensing task can be calculated in combination with the arrangement order of the multiple drug information, that is, the first-category drugs and quantities corresponding to the first-category drug information in the drug information arranged in front need to be supplemented first, thereby facilitating the dispensing operation of multiple drug information according to the arrangement order of the multiple drug information.
[0076] In some examples, the first storage space may include a first display unit 121 for displaying the third list (see Figure 1 ). This allows the operator to intuitively view the third list.
[0077] In some examples, the third list can also be changed in combination with at least one item in the first list. In this case, the type and quantity of the first category of drugs to be supplemented in the dispensing task can be known in real time based on the difference between the first list and the third list, which is conducive to the operator's real-time observation of the dispensing task.
[0078] In some examples, the supplementary demand for the first-category drugs obtained based on the third list before the change and the arrangement order of the plurality of drug information can be used as the first supplementary demand, and the first-category drugs are supplemented to the medicine box matching the first-category drugs based on the first supplementary demand to change the third list. In this case, the types and quantities of the first-category drugs in the third list can meet the dispensing requirements in the current dispensing task, thereby enabling the dispensing device to continuously perform the dispensing operation to improve the dispensing efficiency.
[0079] In some examples, the first replenishment requirement may be displayed on the first display unit 121. In some examples, the first replenishment requirement may include the type and quantity of the first-category medicine to be replenished, and the location to be replenished to the corresponding medicine box. In this case, the operator can replenish the first-category medicine to be replenished to the first storage space through the content displayed on the first display unit 121, thereby facilitating the replenishment operation of the first-category medicine.
[0080] Figure 5 is a flowchart showing a third list of changes involved in the example of the present disclosure.
[0081] For some examples, see Figure 5 Changing the third list may include performing authority verification according to the reminder of the first display unit 121 (step S511), the lower computer 12 opening the door based on the instruction passed by the authority verification (step S512), taking the medicine box (step S513), adding the first category of drugs to the corresponding position of the medicine box (step S514), recording the added first category of drugs (step S515), and performing authority verification again to lock the medicine box (step S516).
[0082] In some examples, the authority verification of step S511 may include fingerprint verification and password verification of the operator. In this case, the operator who performs the operation of replenishing the medicine can be clearly known, thereby improving the information security of the automatic dispensing system 1.
[0083] In some examples, in step S512, after the authority verification is passed, the lower computer 12 can receive the instruction of the verification and perform the door opening action based on the above instruction. In this case, the space for storing the medicine box in the lower computer 12 can be opened, and the medicine box can be taken out for supplementation.
[0084] In some examples, in step S514, the positions of the first-category drugs in the medicine box can be associated by scanning the two-dimensional code of the medicine box and the two-dimensional code on the medicine bottle containing the first-category drugs. In this case, the types of the first-category drugs stored in each position of the medicine box can be clearly known.
[0085] In some examples, in step S515, the supplemented medicine box can be placed in the camera area of the medicine box camera to take pictures and record. In this case, by coordinating with step S514, the correctness of the supplementation operation of the first category of medicines can be further improved.
[0086] In some examples, after the supplementation operation is completed, the medicine box can be placed in the lower computer 12 and verified again so that the lower computer 12 can close the door that allows the medicine box to be taken out. In this way, the supplementation operation of the first category of drugs can be completed.
[0087] For some examples, see Figure 4, in step S50, changing the first inventory list may include changing the fourth list (step S52). In some examples, the second storage space for storing the second-category drugs can be supplemented with the second-category drugs based on the fourth list before the change and the arrangement order of the multiple drug information to change the fourth list. In this case, the remaining amount of the second-category drugs in the second storage space (including the types and the quantities matching each type) can be known through the fourth list, and the number of free positions in the second storage space that can be used to supplement the second-category drugs can also be known, and the optimal supplement method under the current dispensing task can be calculated in combination with the arrangement order of the multiple drug information, that is, the second-category drugs and quantities corresponding to the second-category drug information in the drug information arranged in front need to be supplemented first, thereby facilitating the dispensing operation of multiple drug information according to the arrangement order of the multiple drug information.
[0088] In some examples, the second storage space may include a second display unit 122 (see Figure 1 ). This allows the operator to intuitively view the fourth list.
[0089] In some examples, the fourth list can also be changed in combination with at least one item in the second list. In this case, the type and quantity of the second-category medicine to be supplemented in the dispensing task can be known in real time based on the difference between the second list and the fourth list, which is conducive to the operator's real-time observation of the dispensing task.
[0090] In some examples, the supplementary demand for the second-category drugs obtained based on the fourth list before the change and the arrangement order of the plurality of drug information can be used as the second supplementary demand, and the second-category drugs are supplemented to the medicine box matching the second-category drugs based on the second supplementary demand to change the fourth list. In this case, the types and quantities of the second-category drugs in the fourth list can meet the dispensing requirements in the current dispensing task, thereby enabling the dispensing device to continuously perform the dispensing operation to improve the dispensing efficiency.
[0091] In some examples, the second replenishment requirement may be displayed on the second display unit 122. In some examples, the second replenishment requirement may include the type and quantity of the second-category drugs to be replenished, and the location of the corresponding lanes to be replenished. In this case, the operator can replenish the second-category drugs to be replenished to the second storage space through the content displayed on the second display unit 122, thereby facilitating the replenishment operation of the second-category drugs.
[0092] In some examples, the first display unit 121 and the second display unit 122 may also use a warning reminder to prompt that the first inventory list needs to be changed. For example, the first display unit 121 and the second display unit 122 may issue a warning by changing the color of the display page. In other examples, a warning may also be issued by making a sound.
[0093] In some examples, the process of changing the fourth list is substantially the same as the process of changing the third list, and will not be described in detail here. In some examples, during the automatic dispensing process, when the supplementation operation of the first category of drugs and the second category of drugs is completed, the lower computer 12 can send an instruction that the supplementation operation has been completed to the upper computer 11. Thus, the upper computer 11 can know that the lower computer 12 has completed the supplementation operation of the drugs, and issue an instruction to continue the dispensing operation.
[0094] In some examples, when the lower computer 12 consumes the first category of drugs and / or the second category of drugs, the lower computer 12 may send a consumption mark to the upper computer 11. In this case, the upper computer 11 can know the consumed first category of drugs and second category of drugs, and update the display data in the first display unit 121 and the second display unit 122 in a timely manner.
[0095] In some examples, the automatic dispensing method may further include detecting whether various functions in the automatic dispensing system 1 are normal, for example, detecting whether the functions of the dispensing equipment, camera equipment, clean equipment, labeling equipment and other equipment in the automatic dispensing system 1 are normal. In this case, by detecting the status of various functions, the automatic dispensing system 1 can perform the dispensing operation under normal circumstances, thereby improving the dispensing efficiency and safety of dispensing.
[0096] In some examples, the dispensing operation can be performed based on the arrangement order of multiple pieces of drug information. In some examples, the dispensing operation can be performed based on multiple pieces of drug information arranged in a first preset order. In some examples, the dispensing operation can be performed based on multiple pieces of drug information arranged in a second preset order. This is conducive to the standardization of the dispensing order.
[0097] Figure 6 Detailed description of the invention is given in Figure 2. It is a flow chart showing a second embodiment of the automatic medication dispensing method according to the disclosed example.
[0098] In some examples, the automatic dispensing method may further include obtaining a target list based on the configurable list, and performing a dispensing operation based on the target list (step S55). Thus, the dispensing priority can be set according to the actual dispensing demand. In some examples, the first embodiment of the automatic dispensing method may not include step S55 compared to the second embodiment of the automatic dispensing method.
[0099] In some examples, in step S55, a target list arranged in a third preset order may be obtained based on the first preset rule.
[0100] In some examples, the first preset rule may include arranging the configurable list based on the priority of the category to which the drug information belongs. Thus, the dispensing operation of the drug information can be performed according to the priority of the category. In some examples, the category to which the drug information belongs may refer to the solvent category of the first category of drugs, that is, the category of the second category of drugs.
[0101] In some examples, the first preset rule may include arranging the configurable list based on the priority of the department to which the drug information belongs, thereby enabling the dispensing operation of the drug information to be performed according to the priority of the department.
[0102] In some examples, the first preset rule may include arranging the configurable list based on the priority of the brand to which the drug information belongs, thereby enabling the dispensing operation of the drug information to be performed according to the priority of the brand.
[0103] In some examples, the first preset rule may include arranging the configurable list based on the priority of the batch to which the drug information belongs. Thus, the dispensing operation of the drug information can be performed according to the priority of the batch. In some examples, the batch to which the drug information belongs may refer to the medical information to which the drug information belongs when it is generated. In some examples, the target list can be obtained based on any sorting rule in the first preset rule.
[0104] In some examples, if there is a lack of drugs matching the current drug information, the arrangement order of the current drug information can be adjusted so that the dispensing device preferentially performs the dispensing operation of other drug information. In this case, the dispensing device will not terminate the dispensing operation due to an abnormality, thereby improving the dispensing efficiency of the dispensing device.
[0105] As described above, in step S60, during the dispensing process, the dispensing priority of the current drug information can be lowered in response to the current drug information not matching the first inventory list. In this case, when the drug matching the current drug information is missing, the queue can be automatically adjusted to lower the dispensing priority of the current drug information, thereby allowing the dispensing device to continue the dispensing operation.
[0106] Figure 7 is a flow chart showing a method of reducing the dispensing priority of current drug information according to an example of the present disclosure.
[0107] In some examples, the current drug information may refer to the drug dispensing information for which a drug dispensing operation is to be performed. In some examples, before the drug dispensing operation is formally performed, it may be determined whether the current drug dispensing information matches the first inventory list, that is, whether the first storage space stores the first category of drugs that match the current drug information, and whether the second storage space stores the second category of drugs that match the current drug information.
[0108] For some examples, see Figure 7 In response to the current drug information not matching the first inventory list, lowering the dispensing priority of the current drug information may include determining whether the first storage space stores first-category drugs matching the current drug information (step S61), determining whether the second storage space stores second-category drugs matching the current drug information in response to the first storage space storing first-category drugs matching the current drug information (step S62), and lowering the dispensing priority of the current drug information in response to the second storage space not storing second-category drugs matching the current drug information (step S63).
[0109] In some examples, if the first storage space in step S61 does not store the first category of drugs matching the current drug information, it can be directly determined that the current drug information does not match the first inventory list, and the dispensing priority of the current drug information can be directly reduced.
[0110] In some examples, in step S61, it may also be first determined whether the second storage space stores the second-category drugs that match the current drug information. If the second-category drugs are not stored, it may be directly determined that the current drug information does not match the first inventory list. If the second-category drugs are included, it is continued in the next step to determine whether the first-category drugs that match the current drug information are stored in the first storage space. If not, it is determined that the current drug information does not match the first inventory list. In other words, the current drug information matches the first inventory list means that the first-category drugs that match the current drug information are stored in the first storage space, and the second-category drugs that match the current drug information are stored in the second storage space.
[0111] In some examples, in step S63, the dispensing priority of the current drug information can be lowered by adjusting the sorting position of the current drug information. In some examples, step S63 may include adjusting the sorting order of the current drug information in the multiple drug information according to the second preset rule. Thus, the dispensing priority of the current drug information can be lowered.
[0112] In some examples, the second preset rule may be: if the current drug information does not match the first inventory list, the sorting position of the current drug information may be adjusted to the end of the queue of multiple drug information. In this case, by moving the sorting position of the current drug information to the end of the queue, the sorting position of the drug information after the current drug information may be moved to the front of the queue in sequence, thereby enabling the dispensing operation of other drug information after the current drug information to be preferentially executed when the dispensing device lacks the first-category drug and / or the second-category drug that matches the current drug information, thereby preventing the dispensing device from interrupting the dispensing due to a shortage of drugs, thereby improving the dispensing efficiency.
[0113] In some examples, the second preset rule may be to adjust the arrangement position of the current drug information at a preset arrangement interval. In some examples, if the current drug information does not match the first inventory list, the sorting position of the current drug information may be moved back by the preset arrangement interval. For example, assuming that the sorting position of the current drug information is N, the sorting position of the current drug information may be moved to N+preset arrangement interval, where the preset arrangement interval may be a natural integer such as 2, 3, 4, 5, or 6. In this case, at regular intervals, the current drug information for which the dispensing operation has not been formally performed can be judged again whether it matches the first inventory list. If the first inventory list can be supplemented in time, the dispensing operation of the current drug information for which the dispensing operation has not been formally performed can be completed in time.
[0114] In some examples, step S63 may include allocating the current drug information to a queue different from the multiple drug information. Thus, the dispensing priority of the current drug information can be reduced. Specifically, a queue different from the multiple drug information can be defined as a substitute queue, and if the current drug information does not match the first inventory list, the current drug information can be allocated to the substitute queue.
[0115] In some examples, the dispensing operation of the drug information outside the substitute queue can be performed preferentially. In this case, the dispensing device can prevent the dispensing operation from being interrupted due to abnormal factors such as drug shortage, and the dispensing operation of the drug information in the substitute queue can be continued after the first-category drugs and / or second-category drugs corresponding to the drug information in the substitute queue are subsequently supplemented, thereby improving the dispensing efficiency.
[0116] In some examples, the dispensing data of the dispensing operation may be obtained, and the dispensing data may include at least one of the dispensing video, dispensing time, dispensing picture, and dispensing method. In this case, by obtaining the dispensing data, each stage of the dispensing operation can be traced. If an abnormal factor occurs during the dispensing process, the key cause of the abnormality can be found promptly and accurately based on the dispensing data, and the abnormal factor can be solved in time.
[0117] In some examples, the dispensing data may be recorded by a camera in the dispensing device. In some examples, the camera may send the dispensing data to the host computer 11, and then the host computer 11 sends the dispensing data to the hospital information system. In this case, the dispensing data can be stored in the hospital information system.
[0118] In some examples, before changing the first inventory list, the second inventory list corresponding to the demand list may be obtained. In some examples, the second inventory list may include the first inventory list and a pharmacy list, and the pharmacy list may refer to a list of types and quantities of medicines stored in a hospital or a dispensing unit.
[0119] In some examples, the drug information included in the demand list but not included in the second inventory list is regarded as the drug shortage information, and in response to the demand list including the drug shortage information, the drug shortage information is allocated to the tail of the queue of the plurality of drug information arranged in sequence. In this case, by pre-allocating the drug shortage information to the tail of the queue of the plurality of drug information, it is possible to reduce the number of times that the current drug information does not match the first inventory list during the dispensing process, that is, it is possible to improve the dispensing efficiency of the dispensing device by reducing the number of times that the drug shortage occurs during the dispensing process.
[0120] Figure 8 Detailed description of the invention is given in detail below.
[0121] For some examples, see Figure 8 The automatic dispensing method may further include clearing the first inventory list before the dispensing operation begins (step S35). In this case, the first and second category drugs that are not needed in the current dispensing task can be cleared in time, so that the first storage space and the second storage space can provide sufficient drug storage space for the current dispensing task, thereby facilitating the improvement of the dispensing efficiency of the dispensing device.
[0122] In some examples, in the third embodiment, the first storage space and the second storage space can be emptied to clear the first inventory list before the dispensing operation starts. After the dispensing operation starts, the first inventory list matching the demand list can be obtained to perform the replenishment operation in time. In this way, the dispensing device can dispense medicines in an orderly manner.
[0123] Although the present disclosure is specifically described above in conjunction with the accompanying drawings and examples, it is to be understood that the above description does not limit the present disclosure in any form. Those skilled in the art may modify and change the present disclosure as needed without departing from the essential spirit and scope of the present disclosure, and these modifications and changes all fall within the scope of the present disclosure.
Claims
1. An automatic dispensing method, characterized in that: include: Acquire an initial list including a plurality of pieces of drug information arranged in a first preset order, wherein the drug information includes first-category drug information and second-category drug information; Based on the initial list, a demand list including a first list and a second list is obtained, wherein the first list includes a list of types of the first category of drug information and a list of quantities matching the list of types of the first category of drug information, and the second list includes a list of types of the second category of drug information and a list of quantities matching the list of types of the second category of drug information; a first inventory list including a third list corresponding to the first list and a fourth list corresponding to the second list is obtained; in response to the demand list not matching the first inventory list, the first inventory list is changed and a dispensing operation is performed based on the arrangement order of multiple drug information; and during the dispensing process, in response to the current drug information not matching the first inventory list, the sorting position of the current drug information is adjusted to reduce the dispensing priority of the current drug information.
2. The automatic dispensing method according to claim 1, characterized in that: The method further includes obtaining a configurable list based on the initial list, and obtaining the requirement list based on the configurable list, wherein obtaining the configurable list based on the initial list includes: Filtering the initial list based on preset filtering conditions, wherein the preset filtering conditions include determining whether the drug information is tumor drug information, unregistered drug information, or manual drug information; In response to the drug information being any one of the tumor drug information, the non-registered drug information, or the manual drug information, the drug information is removed to obtain the configurable list arranged in a second preset order.
3. The automatic dispensing method according to claim 2, characterized in that: The method further includes obtaining a target list based on the configurable list, and performing the medication dispensing operation based on the target list, wherein obtaining the target list based on the configurable list includes: The target list arranged in a third preset order is obtained based on a first preset rule, wherein the first preset rule includes sorting the configurable list based on any one of the priority of the category to which the drug information belongs, the priority of the department to which the drug information belongs, the priority of the brand to which the drug information belongs, and the priority of the batch to which the drug information belongs.
4. The automatic dispensing method according to claim 1 or 3, characterized in that: Before changing the first inventory list, it also includes obtaining a second inventory list corresponding to the demand list, making the drug information included in the demand list but not included in the second inventory list as drug shortage information, and in response to the demand list including the drug shortage information, the drug shortage information is allocated to the tail of the queue of multiple drug information arranged in sequence.
5. The automatic dispensing method according to claim 1, characterized in that: Changing the first inventory list includes changing the third list and / or the fourth list, Based on the third list before the change and the arrangement order of the plurality of drug information, a first storage space for storing first-category drugs is supplemented with respect to the first-category drugs to change the third list; Based on the fourth list before the change, the arrangement order of the multiple drug information, and at least two items in the second list, a second storage space for storing second-category drugs is supplemented with respect to the second-category drugs to change the fourth list.
6. The automatic medication dispensing method according to claim 5, characterized in that: The first storage space includes a plurality of medicine boxes, and the plurality of medicine boxes are traversed to obtain the third list. The supplementary demand for the first category of drugs obtained based on the third list before the change and the arrangement order of the multiple drug information is used as the first supplementary demand, and the first category of drugs is supplemented to the medicine box matching the first category of drugs based on the first supplementary demand to change the third list.
7. The automatic medication dispensing method according to claim 5, characterized in that: The second storage space includes a plurality of lanes, and the plurality of lanes are traversed to obtain the third list. Based on the fourth list before the change, the arrangement order of the multiple drug information, and at least two items in the second list, the additional demand for the second category of drugs is obtained as the second additional demand, and based on the second additional demand, the second category of drugs is added to the lane matching the second category of drugs to change the fourth list.
8. The automatic medication dispensing method according to claim 1, characterized in that: Adjusting the position of the current drug information to lower the dispensing priority of the current drug information includes: adjusting the arrangement order of the current drug information among the multiple drug information according to a second preset rule; or allocating the current drug information to a queue different from the multiple drug information.
9. The automatic medication dispensing method according to claim 1, characterized in that: The method also includes obtaining dispensing data of the dispensing operation, wherein the dispensing data includes at least one of a dispensing video, a dispensing time, a dispensing picture, and a dispensing method.
10. An automatic medicine dispensing system, characterized in that: The automatic medication dispensing system executes the automatic medication dispensing method according to any one of claims 1 to 9 to perform an automatic medication dispensing operation.