Traditional Chinese medicine decoction piece distribution method and system, automatic dispensing machine and storage medium
An automatic medicine dispensing system for Chinese herbal medicine slices uses data acquisition and verification to enhance efficiency and accuracy, addressing the inefficiencies of manual weighing in traditional methods.
Patent Information
- Application Number
- CN202411101816.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional method of manually weighing each ingredient for traditional Chinese medicine formulas is inefficient and time-consuming.
An automatic medicine dispensing system and method that uses data acquisition, image recognition, and weight verification to accurately dispense Chinese herbal medicine slices based on electronic prescriptions, generating dispensing receipt information upon successful verification.
The system improves dispensing efficiency, reduces labor intensity, and saves time for both patients and pharmacy staff by automating the process, ensuring accurate and precise medication distribution.
Smart Images

Figure CN119206948A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical equipment, and in particular to a distribution method and system for Chinese herbal medicine slices, an automatic medicine dispensing machine and a storage medium. Background Art
[0002] Traditional Chinese medicine has a long history in China. A traditional Chinese medicine formula usually contains a variety of Chinese medicinal materials. The traditional method of dispensing medicine is to manually weigh each ingredient according to the requirements of the formula. This method is inefficient and time-consuming. Summary of the invention
[0003] The purpose of the present invention is to provide a method and system for distributing Chinese herbal medicine slices, an automatic medicine dispensing machine and a storage medium, so as to solve the problem of low efficiency and precision of the automatic medicine dispensing machine in the related art.
[0004] In order to achieve the above object, the present invention provides the following technical solutions:
[0005] In the first aspect, the present invention provides a method for distributing Chinese herbal medicine slices, comprising:
[0006] Acquire data information of Chinese herbal medicine pieces in the electronic prescription, wherein the data information of the Chinese herbal medicine pieces includes: the type of the Chinese herbal medicine pieces and the weight corresponding to the type;
[0007] Automatically dispensing medicine according to the type of the Chinese herbal medicine slices and the weight corresponding to the type, and obtaining the automatic dispensing result;
[0008] The automatic medicine dispensing result is tested, and if the test passes, medicine dispensing receipt information is generated.
[0009] Furthermore, as a preference, the method further comprises: if the inspection fails, sending drug error information to the background management system.
[0010] Furthermore, as a preferred embodiment, the method further comprises: rechecking the drug dispensing result according to the drug dispensing receipt information, and if the recheck is passed, sending the drug dispensing information to the hospital drug dispensing system.
[0011] Further, preferably, the method of automatically dispensing medicine according to the type of the Chinese herbal medicine slices and the weight corresponding to the type, and obtaining the automatic dispensing result, includes:
[0012] The automatic medicine dispensing machine automatically dispenses medicine according to the types of the Chinese herbal medicine pieces and the corresponding quantities of the types;
[0013] Identify the type and weight of the medicine and obtain the result of automatic dispensing.
[0014] Further, preferably, the identifying the type and weight of the medicine to obtain the result of automatic medicine dispensing includes:
[0015] Use image recognition technology to identify the types of drugs and obtain information on the types of drugs;
[0016] Weigh the discharged medicines to obtain the weight information of the discharged medicines.
[0017] Further, as a preferred embodiment, the automatic drug dispensing result is tested, and if the test passes, drug dispensing receipt information is generated, including:
[0018] The result of the automatic dispensing of medicines is checked and compared with the data information in the electronic prescription. If the check passes, the dispensing receipt information is generated.
[0019] Second aspect: The present invention also provides a distribution system for Chinese herbal medicine pieces, comprising:
[0020] The acquisition module is used to acquire the data information of the Chinese herbal medicine pieces in the electronic prescription, wherein the data information of the Chinese herbal medicine pieces includes: the type of the Chinese herbal medicine pieces and the weight corresponding to the type;
[0021] A medicine dispensing module is used to automatically dispense medicine according to the type of the Chinese herbal medicine pieces and the weight corresponding to the type, and obtain the automatic medicine dispensing result;
[0022] The inspection module is used to inspect the automatic drug dispensing result. If the inspection passes, the drug dispensing information will be sent to the hospital drug dispensing system.
[0023] Furthermore, as a preferred embodiment, the inspection module is also used to send drug error information to the background management system if the inspection fails.
[0024] A third aspect: The present invention also provides an automatic medicine dispensing machine, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method for dispensing Chinese herbal medicines as described in any one of the above are implemented.
[0025] Fourth aspect: The present invention also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the method for distributing Chinese herbal medicines as described in any one of the above are implemented.
[0026] The present invention provides a method, system, automatic medicine dispensing machine and storage medium for distributing Chinese herbal medicine slices. The method obtains data information of Chinese herbal medicine slices in electronic prescriptions, wherein the data information of the Chinese herbal medicine slices includes: the type of Chinese herbal medicine slices and the weight corresponding to the type; automatically dispenses medicine according to the type of Chinese herbal medicine slices and the weight corresponding to the type, and obtains the automatic medicine dispensing result; and verifies the automatic medicine dispensing result, and generates medicine dispensing receipt information if the verification passes. Compared with the prior art, the present invention has the following effects: the technical solution of the present invention adopts a fully automatic medicine dispensing method, which not only shortens the time for prescription adjustment, but also improves the efficiency of medicine dispensing, saves the time for patients to pick up medicine, and also improves the efficiency of comprehensive processing in Chinese medicine pharmacies, reduces the labor intensity of employees, and reduces the operation of manually searching for medicines and pulling cabinet barrels, making the work of personnel easier and more efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic flow chart of a method for distributing Chinese herbal medicine slices according to an embodiment of the present invention;
[0028] Figure 2 It is a structural schematic diagram of a distribution system of Chinese herbal medicine slices according to an embodiment of the present invention;
[0029] Figure 3 It is a schematic diagram of the structure of an electronic device in an automatic medicine dispensing machine according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. In contrast, when an element is referred to as being "directly on" another element, there is no intermediate element. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0032] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0033] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0034] The terms used in one or more embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present invention. The singular forms "a", "said" and "the" used in one or more embodiments of the present invention are also intended to include plural forms, unless the context clearly indicates other meanings.
[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of the template are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the associated listed items.
[0036] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present invention, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present invention, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "when..." or "when...".
[0037] Please refer to Figure 1 The embodiment of the present invention provides a method for distributing Chinese herbal medicine slices, which is applied to an automatic medicine dispensing machine and includes the following steps:
[0038] S10. Acquire data information of Chinese herbal medicine pieces in the electronic prescription, wherein the data information of the Chinese herbal medicine pieces includes: types of Chinese herbal medicine pieces and weights corresponding to the types.
[0039] Specifically, the background system in the automatic medicine dispensing machine establishes a communication connection with the hospital's HIS system. When the doctor writes an electronic prescription for the patient through the hospital's HIS system, the HIS system will send the data information of the Chinese herbal medicines in the electronic prescription to the background system of the automatic medicine dispensing machine. The information of the Chinese herbal medicines includes the type of Chinese herbal medicines and the corresponding weight of the type, for example, a certain Chinese herbal medicine, 60 grams, etc.
[0040] It should be noted that Chinese herbal medicine slices are Chinese herbal medicines that have been processed and prepared according to the theory of traditional Chinese medicine and the processing methods of traditional Chinese medicine, and can be directly used in clinical Chinese medicine. This concept shows that there is no absolute boundary between Chinese herbal medicines and Chinese herbal medicine slices. Chinese herbal medicine slices include some Chinese herbal medicine slices processed at the place of origin, original herbal medicine slices, and sliced and processed herbal medicine slices. It should be noted that the HIS system is a hospital management information system throughout the process, which is used to manage various information of the hospital.
[0041] S20: automatically dispensing medicine according to the types of the Chinese medicinal pieces and the weights corresponding to the types, and obtaining automatic dispensing results.
[0042] It should be noted that the automatic medicine dispensing machine includes multiple cells, each of which stores a Chinese herbal medicine. The automatic medicine dispensing machine controls these cells in the background to achieve automatic dispensing of medicine.
[0043] Specifically, when the automatic medicine dispensing machine obtains the type of medicine to be dispensed and the corresponding weight, the automatic medicine dispensing machine controls the corresponding cell storing the medicine to automatically dispense the medicine, and counts the results of the dispensing to obtain the dispensing information.
[0044] S30: Check the automatic medicine dispensing result, and if the check passes, generate medicine dispensing receipt information.
[0045] Specifically, it is understandable that after the automatic medicine dispensing machine finishes dispensing medicine, the dispensing result needs to be checked. The contents of the check include: whether the type of medicine and the weight corresponding to the type are the same as the prescription in the electronic prescription. If they are the same, it means that the dispensing result is correct, and the dispensing receipt information is generated.
[0046] It should be noted that since there may be a certain error in the weight of the medicine, the medicine is considered qualified when the error is within a certain range.
[0047] The present invention provides a method for distributing Chinese herbal medicine slices, which obtains data information of Chinese herbal medicine slices in an electronic prescription, wherein the data information of the Chinese herbal medicine slices includes: the type of Chinese herbal medicine slices and the weight corresponding to the type; automatically dispenses the medicine according to the type of the Chinese herbal medicine slices and the weight corresponding to the type, and obtains the automatic dispensing result; and verifies the automatic dispensing result, and if the verification passes, generates the dispensing receipt information. Compared with the prior art, the present invention has the following effects: the technical solution of the present invention adopts a fully automatic dispensing method, which not only shortens the time for prescription adjustment, but also improves the dispensing efficiency, saves the time for patients to pick up medicine, and also improves the efficiency of the comprehensive treatment of the Chinese medicine pharmacy, reduces the labor intensity of employees, and reduces the operation of manually searching for medicines and pulling cabinet barrels, making the work of personnel easier and more efficient.
[0048] In one embodiment of the present invention, the method further includes: S40, if the inspection fails, sending drug error information to the background management system.
[0049] Specifically, when a drug fails the inspection, it means that there is something wrong with the drug. At this time, the automatic dispensing machine will send the drug error information to the hospital's prescription management system to prompt the relevant personnel of the pharmacy to check.
[0050] It should be noted that the following situations may exist: 1. The type of medicine dispensed does not correspond to that on the electronic prescription. For example, there are 5 kinds of Chinese herbal medicines on the electronic prescription, but there are 6 types of medicine dispensed; 2. The weight corresponding to the type of medicine dispensed does not correspond to that on the electronic prescription. For example, a certain Chinese herbal medicine on the electronic prescription is 20 grams, but the dispensed result is 30 grams; 3. Neither the type of medicine dispensed nor the corresponding weight corresponds to that on the electronic prescription.
[0051] In a certain embodiment of the present invention, the method further includes: S50, rechecking the drug dispensing result according to the drug dispensing receipt information, and if the recheck is passed, sending the drug dispensing information to the hospital drug dispensing system.
[0052] It is understandable that after the first inspection of the medication dispensing results, it is necessary to conduct another inspection based on the medication dispensing receipt information generated by the first inspection. If the re-inspection is passed, the corresponding medication collection information can be sent to the hospital's medication collection system so that the hospital's medication collection system can notify the patient to collect the medication.
[0053] It should be noted that the re-examination of the drug dispensing results can be performed by machine or manually, and can be set according to the actual needs of the hospital.
[0054] In one embodiment of the present invention, step S20, automatically dispensing medicine according to the type of the Chinese herbal medicine pieces and the weight corresponding to the type, and obtaining the automatic dispensing result, includes:
[0055] S21, according to the type of the Chinese herbal medicine pieces and the quantity corresponding to the type, the automatic medicine dispensing machine automatically dispenses the medicine;
[0056] S22. Identify the type and weight of the medicine and obtain the result of automatic medicine dispensing.
[0057] In one embodiment of the present invention, step S22, identifying the type and weight of the medicine and obtaining the result of automatic medicine dispensing, comprises the following steps:
[0058] S221. Use image recognition technology to identify the type of medicine and obtain information on the type of medicine.
[0059] It can be understood that, generally speaking, Chinese herbal medicines are stored in automatic dispensing machines in the form of packaging, which includes bagging and boxing. Each bag or box corresponds to a fixed weight, and each bag or box is the minimum selling unit. For example, each bag can be 5 grams, 10 grams, etc. The weight of the medicine in the prescription is an integer multiple of each bag.
[0060] It should be noted that each bag will have a corresponding barcode or QR code, and the barcode or QR code contains information about the medicine, including the name of the medicine, date of production, etc.
[0061] Specifically, when the medicine is dispensed, the image recognition device of the automatic medicine dispensing machine, such as a camera, recognizes the barcode or QR code on the bag and can obtain the type of medicine information therefrom, thereby determining whether the medicine was dispensed incorrectly.
[0062] S222: Weigh the discharged medicines to obtain weight information of the discharged medicines.
[0063] Specifically, when the automatic medicine dispensing machine finishes dispensing medicines, it will weigh the medicines to obtain the medicine weight information.
[0064] In one embodiment of the present invention, step S30, wherein the automatic medicine dispensing result is inspected, and if the inspection passes, the medicine dispensing receipt information is generated, includes:
[0065] The result of the automatic dispensing of medicines is checked and compared with the data information in the electronic prescription. If the check passes, the dispensing receipt information is generated.
[0066] See also Figure 2 The present invention also provides a distribution system 200 for Chinese herbal medicine slices, comprising:
[0067] The acquisition module 201 is used to acquire the data information of the Chinese herbal medicine pieces in the electronic prescription, wherein the data information of the Chinese herbal medicine pieces includes: the type of the Chinese herbal medicine pieces and the weight corresponding to the type;
[0068] The medicine dispensing module 202 is used to automatically dispense medicine according to the type of the Chinese herbal medicine pieces and the weight corresponding to the type, and obtain the automatic medicine dispensing result;
[0069] The inspection module 203 is used to inspect the automatic drug dispensing result. If the inspection passes, the drug dispensing information will be sent to the hospital drug dispensing system.
[0070] In one embodiment of the present invention, the inspection module 203 is also used to send drug error information to the background management system if the inspection fails.
[0071] See also Figure 3 An embodiment of the present invention further provides an automatic medicine dispensing machine, on which there is an electronic device 400, the electronic device 400 includes a memory 403 and a processor 402, the memory 403 stores a computer program, and when the processor executes the computer program, the steps of the method for dispensing Chinese herbal medicines described in any one of the above are implemented.
[0072] Specifically, the electronic device 400 includes: a transceiver 401, a bus interface and a processor 402, wherein the processor 402 is used to obtain data information of Chinese herbal medicines in the electronic prescription, wherein the data information of the Chinese herbal medicines includes: the type of the Chinese herbal medicines and the weight corresponding to the type; automatically dispensing medicines according to the type of the Chinese herbal medicines and the weight corresponding to the type, and obtaining the automatic dispensing result; and inspecting the automatic dispensing result, and if the inspection passes, generating dispensing receipt information.
[0073] In an embodiment, the electronic device 400 further includes a memory 403. Figure 3 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 402 and memory represented by memory 403. The bus architecture may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 401 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 402 is responsible for managing the bus architecture and general processing, and the memory 403 may store data used by the processor 402 when performing operations.
[0074] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for distributing Chinese herbal medicines as described in any one of the above are implemented.
[0075] In this embodiment, the computer readable storage medium may be a non-volatile storage medium or a volatile storage medium. For example, the computer storage medium may include but is not limited to: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0076] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.
[0077] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0078] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0079] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0080] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a terminal device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
[0081] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A method for distributing Chinese herbal medicine slices, characterized in that: include: Acquire data information of Chinese herbal medicine pieces in the electronic prescription, wherein the data information of the Chinese herbal medicine pieces includes: the type of the Chinese herbal medicine pieces and the weight corresponding to the type; Automatically dispensing medicine according to the type of the Chinese herbal medicine slices and the weight corresponding to the type, and obtaining the automatic dispensing result; The automatic medicine dispensing result is tested, and if the test passes, medicine dispensing receipt information is generated.
2. The method for distributing Chinese medicinal pieces according to claim 1, characterized in that: The method further comprises: If the inspection fails, the drug error information will be sent to the background management system.
3. The method for distributing Chinese medicinal pieces according to claim 1, characterized in that: The method further comprises: According to the information on the medication dispensing receipt, the medication dispensing result is rechecked, and if the recheck is passed, the medication collection information is sent to the hospital medication collection system.
4. The method for distributing Chinese medicinal pieces according to claim 1, characterized in that: The method of automatically dispensing medicine according to the type of the Chinese herbal medicine pieces and the weight corresponding to the type, and obtaining the automatic dispensing result, includes: The automatic medicine dispensing machine automatically dispenses medicine according to the types of the Chinese herbal medicine pieces and the corresponding quantities of the types; Identify the type and weight of the medicine and obtain the result of automatic dispensing.
5. The method for distributing Chinese medicinal pieces according to claim 4, characterized in that: The method of identifying the type and weight of the medicine and obtaining the result of automatically dispensing the medicine includes: Use image recognition technology to identify the types of drugs and obtain information on the types of drugs; Weigh the discharged medicines to obtain the weight information of the discharged medicines.
6. The method for distributing Chinese medicinal pieces according to claim 1, characterized in that: The automatic dispensing result is tested, and if the test is passed, the dispensing receipt information is generated, including: The result of the automatic dispensing of medicines is checked and compared with the data information in the electronic prescription. If the check passes, the dispensing receipt information is generated.
7. A distribution system for Chinese herbal medicine slices, characterized in that: include: The acquisition module is used to acquire the data information of the Chinese herbal medicine pieces in the electronic prescription, wherein the data information of the Chinese herbal medicine pieces includes: the type of the Chinese herbal medicine pieces and the weight corresponding to the type; A medicine dispensing module is used to automatically dispense medicine according to the type of the Chinese herbal medicine pieces and the weight corresponding to the type, and obtain the automatic medicine dispensing result; The inspection module is used to inspect the automatic drug dispensing result. If the inspection passes, the drug dispensing information will be sent to the hospital drug dispensing system.
8. The distribution system of Chinese herbal medicine slices according to claim 7, characterized in that: The inspection module is also used to send drug error information to the background management system if the inspection fails.
9. An automatic medicine dispensing machine, characterized in that: An electronic device is disposed thereon, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the method for distributing Chinese herbal medicine slices according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for distributing Chinese herbal medicine slices according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Traditional Chinese medicine decoction piece automatic dispensing system
CN109775216A
Intelligent medicinal material taking and checking method and system for traditional Chinese medicine pharmacy
CN110070680A
Automatic medicine taking method and system, electronic device and storage medium
CN110135936A
Label-based medicine distribution method, system and device and storage medium
CN112732950A
Prescription drug traceability code re-checking module and control system
CN115147983A