Method for preventing medicine supplementing link error of full-automatic tablet dispensing machine
By employing a dual-matching verification method based on ENA-13 barcode technology, errors in the replenishment process of fully automated tablet dispensing machines have been resolved, ensuring the accuracy and safety of drug replenishment and eliminating drug errors.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PEKING UNIVERSITY THIRD HOSPITAL (THE THIRD CLINICAL MEDICAL SCHOOL OF PEKING UNIVERSITY)
- Filing Date
- 2019-10-10
- Publication Date
- 2026-07-14
AI Technical Summary
Fully automated tablet dispensing machines have errors in the refilling process, especially due to the lack of barcode technology, which affects patient medication safety. The existing two-person verification method has human loopholes and problems with shared thinking inertia.
Using EAN-13 barcode technology, the system generates, scans, and binds to the drug information master table to perform a dual matching and verification between the drug box FRID code and the drug EAN-13 barcode, ensuring the uniqueness of the drug and preventing further operations if the verification fails.
This achieves 100% accuracy in the drug replenishment process, eliminates drug errors, and improves the reliability and safety of drug dispensing.
Smart Images

Figure CN110705663B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of medical and pharmaceutical technology, specifically to a method for preventing errors in the refilling process of a fully automated tablet dispensing machine. Background Technology
[0002] Currently, fully automated tablet dispensing machines are widely used for single-dose dispensing of oral medications, offering advantages in speed, efficiency, and accuracy compared to traditional dispensing cups. While these machines reduce dispensing errors and manpower, as the source of medication dispensing, any errors in replenishing the machine can lead to widespread medication errors with serious and far-reaching consequences. Therefore, the replenishment process within the dispensing machine is crucial.
[0003] An investigation of 74 hospitals in Beijing (including 50 tertiary hospitals) and 100 hospitals in the Beijing-Tianjin-Hebei region (including 58 tertiary hospitals), involving three major brands of fully automated tablet dispensing machines, revealed that all systems employed double-checking to prevent errors. However, double-checking is susceptible to human error. On one hand, its implementation is often poor, lacking control in practice; on the other hand, even with double-checking, the problem of shared thought patterns persists, easily leading to the same mental trap. These human errors directly impact patient medication safety, making it crucial to ensure 100% accurate replenishment of medications into the appropriate dispensing boxes for dispensing accuracy.
[0004] Given the uniqueness of barcode technology, linking drug barcodes to dispensing machines and scanning them during refills ensures accurate dispensing. However, not all drugs in my country have 13-digit product codes, especially imported drugs. For example, a hospital's fully automated tablet dispensing machine contains 278 drug varieties, 129 of which lack product codes. This is a common problem in hospitals with automated dispensing machines, relying solely on double-checking and failing to utilize barcode technology. The lack of 13-digit product codes for all drugs is the biggest obstacle to using barcode technology for tablet dispensing, explaining why none of the 100 hospitals in the Beijing-Tianjin-Hebei region use barcode technology for fully automated tablet dispensing. Replacing double-checking with barcode technology to completely prevent errors in fully automated tablet dispensing and eliminate mass medication errors has become an urgent issue for the industry. Summary of the Invention
[0005] The present invention aims to provide a method for preventing errors in the replenishment process of a fully automated tablet dispensing machine. The technical problem to be solved includes at least how to effectively prevent errors in the replenishment process of a fully automated tablet dispensing machine by applying barcode technology.
[0006] To address the aforementioned technical problems, this invention provides a method for preventing errors in the replenishment process of a fully automated tablet dispensing machine, comprising the following steps:
[0007] First, generate the ENA-13 barcode;
[0008] Second, scan the ENA-13 barcode to identify it;
[0009] Third, set up a reserved barcode position in the main drug information table, automatically add the EAN-13 barcode information to the main drug maintenance table of the dispensing machine, and bind the FRID code of the medicine box to the EAN-13 barcode of the medicine in the main drug information table;
[0010] Fourth, perform a double-match verification between the FRID code on the medicine box and the EAN-13 barcode of the medicine in the main drug information table;
[0011] Fifth, based on the results of the double matching verification, control whether the fully automatic tablet dispensing machine continues to the next step.
[0012] As a preferred embodiment, before binding the FRID code of the medicine box to the EAN-13 barcode of the medicine, the uniqueness of the medicine is confirmed in the main medicine information table by using four items: medicine name, manufacturer, specifications and dosage, and the matching and verification of the medicine information HIS code and the medicine box FRID code are performed.
[0013] The ENA-13 barcode consists of 13 digits. The structure of the 13-digit code is as follows: the first two digits are 69, representing China, followed by four 0s for reserved information space, then a 6-digit HIS code for drug information, and the last digit is a check digit.
[0014] The verification code is automatically generated using the Microsoft BarCode control according to a predetermined algorithm.
[0015] The algorithm is as follows: Number the known 12-digit code in the ENA-13 barcode from right to left as 1, 2, 3, 4... 11, 12. Starting from number 2, sum the numbers in all even-numbered positions and multiply the sum by 3 to get the first intermediate number. Starting from number 3, sum the numbers in all odd-numbered positions to get the second intermediate number. Add the first intermediate number to the second intermediate number and use the sum as the third intermediate number. Subtract the units digit of the third intermediate number from 10 to get the check digit.
[0016] In a preferred embodiment, for medicines with existing 13-digit product codes, the 13-digit product code is directly scanned and identified; a reserved barcode space is set in the main medicine information table, and the 13-digit product code information is automatically added to the medicine maintenance main table of the dispensing machine, and the FRID code of the medicine box is bound to the 13-digit product code of the medicine in the main medicine information table; the FRID code of the medicine box and the 13-digit product code of the medicine are double-matched and verified in the main medicine information table; based on the result of the double-matching and verification, the fully automatic tablet dispensing machine is controlled to continue to the next step.
[0017] After the double matching verification is completed, the results of the double matching verification are displayed on the screen of the medicine dispensing machine.
[0018] After the double matching verification is completed, the voice prompt device of the medicine dispensing machine will provide a voice prompt on the result of the double matching verification.
[0019] Preferably, when the result of the double matching verification is successful, the display screen shows "GOOD" and the voice prompt device says "Verification successful"; when the result of the double matching verification is an error, the display screen shows "WRONG" and the voice prompt device says "The medicine in the medicine box does not match the medicine added".
[0020] When the double-match verification result is successful, the fully automatic tablet dispensing machine continues to the next step; when the double-match verification result is an error, the display screen shows "verification failed", the fully automatic tablet dispensing machine will not proceed to the next step, and the pharmacist needs to correct the medication error and re-scan and verify the correct medication to ensure 100% prevention of errors in the medication replenishment process of the fully automatic tablet dispensing machine.
[0021] Beneficial effects
[0022] Compared with existing technologies, the beneficial effects of this invention are as follows: The method for preventing errors in the refilling process of a fully automated tablet dispensing machine utilizes barcode technology. For medicines with existing 13-digit product codes, the barcode is scanned directly; for medicines without 13-digit product codes, an EAN-13 barcode is generated using the Microsoft BarCode control. The EAN-13 barcode is scanned and linked to the fully automated tablet dispensing machine. A double verification is performed between the FRID code on the medicine box and the product code or EAN-13 barcode. If an error is found, the next step cannot be performed. This double verification mode can completely eliminate errors in refilling tablets. Attached Figure Description
[0023] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the specific embodiments of this application to explain the technical solutions of the present invention and do not constitute a limitation on the technical solutions of the present invention.
[0024] Figure 1 This is a schematic diagram of the framework of the method for preventing errors in the replenishment process of a fully automatic tablet dispensing machine according to the present invention.
[0025] Figure 2 This is a schematic diagram of the ENA-13 barcode. Detailed Implementation
[0026] The invention is described in more detail below to aid in understanding it.
[0027] like Figure 1 As shown, the method for preventing errors in the replenishment process of a fully automated tablet dispensing machine according to the present invention includes the following steps:
[0028] First, generate the ENA-13 barcode;
[0029] Second, scan the ENA-13 barcode to identify it;
[0030] Third, set up a reserved barcode position in the main drug information table, automatically add the EAN-13 barcode information to the main drug maintenance table of the dispensing machine, and bind the FRID code of the medicine box to the EAN-13 barcode of the medicine in the main drug information table;
[0031] Fourth, perform a double-match verification between the FRID code on the medicine box and the EAN-13 barcode of the medicine in the main drug information table;
[0032] Fifth, based on the results of the double matching verification, control whether the fully automatic tablet dispensing machine continues to the next step.
[0033] As a preferred embodiment, before binding the FRID code of the medicine box to the EAN-13 barcode of the medicine, the uniqueness of the medicine is confirmed in the main medicine information table by using four items: medicine name, manufacturer, specifications and dosage, and the matching and verification of the medicine information HIS code and the medicine box FRID code are performed.
[0034] like Figure 2 As shown, the ENA-13 barcode consists of 13 digits. The structure of the 13-digit code is as follows: the first two digits are 69, representing China, followed by four 0s for reserved information space, then a 6-digit HIS code for drug information, and the last digit is a check digit.
[0035] The verification code is automatically generated using the Microsoft BarCode control according to a predetermined algorithm.
[0036] The algorithm is as follows: Number the known 12-digit code in the ENA-13 barcode from right to left as 1, 2, 3, 4... 11, 12. Starting from number 2, sum the numbers in all even-numbered positions and multiply the sum by 3 to get the first intermediate number. Starting from number 3, sum the numbers in all odd-numbered positions to get the second intermediate number. Add the first intermediate number to the second intermediate number and use the sum as the third intermediate number. Subtract the units digit of the third intermediate number from 10 to get the check digit.
[0037] In a preferred embodiment, for medicines with existing 13-digit product codes, the 13-digit product code is directly scanned and identified; a reserved barcode space is set in the main medicine information table, and the 13-digit product code information is automatically added to the medicine maintenance main table of the dispensing machine, and the FRID code of the medicine box is bound to the 13-digit product code of the medicine in the main medicine information table; the FRID code of the medicine box and the 13-digit product code of the medicine are double-matched and verified in the main medicine information table; based on the result of the double-matching and verification, the fully automatic tablet dispensing machine is controlled to continue to the next step.
[0038] After the double matching verification is completed, the results of the double matching verification are displayed on the screen of the medicine dispensing machine.
[0039] After the double matching verification is completed, the voice prompt device of the medicine dispensing machine will provide a voice prompt on the result of the double matching verification.
[0040] Preferably, when the result of the double matching verification is successful, the display screen shows "GOOD" and the voice prompt device says "Verification successful"; when the result of the double matching verification is an error, the display screen shows "WRONG" and the voice prompt device says "The medicine in the medicine box does not match the medicine added".
[0041] When the double-match verification result is successful, the fully automatic tablet dispensing machine continues to the next step; when the double-match verification result is an error, the display screen shows "verification failed", the fully automatic tablet dispensing machine will not proceed to the next step, and the pharmacist needs to correct the medication error and re-scan and verify the correct medication to ensure 100% prevention of errors in the medication replenishment process of the fully automatic tablet dispensing machine.
[0042] The method for preventing errors in the refilling process of a fully automated tablet dispensing machine, as described in this invention, involves directly scanning the 13-digit product code for medications; for medications without a 13-digit product code, an EAN-13 barcode is generated using the Microsoft BarCode control. The EAN-13 barcode is scanned and linked to the fully automated tablet dispensing machine. A double verification is performed between the FRID code on the medication box and the product code or EAN-13 barcode. If an error is found, the next step cannot be performed. This double verification mode completely eliminates the possibility of errors in refilling medications using the tablet dispensing machine.
[0043] When replenishing medication using the method described in this invention for preventing errors in the replenishment process of a fully automated tablet dispensing machine, the generated EAN-13 barcode can be printed out and affixed to the medication storage location and the medication reserve box.
[0044] The FRID code of the medicine box is stored in a chip at the bottom of the medicine box inside the medicine dispensing machine. When the medicine box inside the medicine dispensing machine is placed on the medicine dispensing platform of the medicine dispensing machine, the medicine dispensing machine automatically reads the FRID code of the medicine box in the chip and displays the name of the medicine corresponding to the FRID code (such as Bacillus subtilis and Bacillus thuringiensis enteric-coated capsules) on the display screen of the medicine dispensing machine.
[0045] When refilling the medicine dispenser, for medicines that already have a 13-digit product code (usually printed on the paper packaging), simply scan the 13-digit product code on the medicine's paper packaging using the dispenser's barcode scanner. Since the medicine box FRID code is linked to the medicine's 13-digit product code in the main medicine information table, after scanning the 13-digit product code on the medicine's paper packaging, the dispenser will automatically find the corresponding medicine box FRID code in the main medicine information table and display the medicine name corresponding to the medicine box FRID code on the dispenser's screen.
[0046] For example, if the medication to be replenished is Bacillus subtilis and Bacillus thuringiensis enteric-coated capsules, and the pharmacist in charge of replenishing the medication also has Bacillus subtilis and Bacillus thuringiensis enteric-coated capsules in hand, when the 13-digit product code on the paper packaging of the medication is scanned on the barcode scanner of the dispensing machine, the dispensing machine will automatically find the corresponding FRID code of the medicine box on the paper packaging of the Bacillus subtilis and Bacillus thuringiensis enteric-coated capsules in the main medicine information table, and display the medication name Bacillus subtilis and Bacillus thuringiensis enteric-coated capsules corresponding to the FRID code of the medicine box on the display screen of the dispensing machine.
[0047] The pharmacist checks the information on the dispensing machine's display screen. They find that the FRID code on the medicine box, automatically read by the machine, corresponds to the drug name: Bacillus subtilis and live bacteria enteric-coated capsules (indicating that the medication to be replenished is Bacillus subtilis and live bacteria enteric-coated capsules). The barcode scanner on the dispensing machine also scans the 13-digit product code on the paper packaging, which also corresponds to Bacillus subtilis and live bacteria enteric-coated capsules. This indicates the pharmacist has replenished the medication correctly; the double-matching verification is successful. The dispensing machine's display screen shows "GOOD," and the voice prompt device says, "Verification successful," allowing the fully automatic tablet dispensing machine to continue to the next step.
[0048] If the pharmacist responsible for refilling the medication has Bacillus licheniformis live bacteria capsules in hand (assuming Bacillus licheniformis live bacteria capsules do not have a 13-digit product code), and the pharmacist scans the EAN-13 barcode on the corresponding medication location or medication reserve box of the Bacillus licheniformis live bacteria capsules on the dispensing machine's barcode scanner, the dispensing machine will display on its screen that the medication name corresponding to the EAN-13 barcode is Bacillus licheniformis live bacteria capsules. However, the FRID code of the medication box in the chip automatically read by the dispensing machine corresponds to the medication name of Bacillus subtilis dual live bacteria enteric-coated capsules (indicating that the medication to be replenished is Bacillus subtilis dual live bacteria enteric-coated capsules). Since the two are different, the dispensing machine will automatically display "WRONG" on its screen, and the voice prompt device will announce: "The medication in the medication box does not match the medication to be added." This indicates that the result of the double matching verification is a verification error. The fully automatic tablet dispensing machine will not proceed to the next step. The pharmacist needs to correct the medication error and repeat the scanning and verification process for the correct medication to ensure 100% prevention of errors in the medication replenishment process of the fully automatic tablet dispensing machine.
[0049] The preferred embodiments of the present invention have been described above, but are not intended to limit the invention. Those skilled in the art can make modifications and variations to the embodiments disclosed herein without departing from the scope and spirit of the invention.
Claims
1. A method for preventing errors in the replenishment process of a fully automated tablet dispensing machine, characterized in that, The method includes the following steps: First, generate an EAN-13 barcode; Second, scan the EAN-13 barcode to identify it; Third, set up a reserved barcode position in the main drug information table, automatically add the EAN-13 barcode information to the main drug maintenance table of the dispensing machine, and bind the RFID code of the medicine box to the EAN-13 barcode of the medicine in the main drug information table; Fourth, perform a double-match verification between the FRID code on the medicine box and the EAN-13 barcode of the medicine in the main drug information table; Fifth, based on the results of the double matching verification, control whether the fully automatic tablet dispensing machine continues to the next step; Before binding the RFID code on the medicine box to the EAN-13 barcode of the medicine, the uniqueness of the medicine is confirmed in the main medicine information table by checking the four items of medicine name, manufacturer, specifications and dosage, and the matching and verification of the medicine information HIS code and the medicine box RFID code are performed. The EAN-13 barcode consists of 13 digits. The structure of the 13-digit code is as follows: the first two digits are 69, representing China, followed by four 0s for reserved information space, then a 6-digit HIS code for drug information, and the last digit is a check digit. When the result of the double matching verification is successful, the display screen shows "GOOD" and the voice prompt device says "Verification successful"; when the result of the double matching verification is an error, the display screen shows "WRONG" and the voice prompt device says "The medicine in the medicine box does not match the medicine added". When the result of the double matching verification is successful, the fully automatic tablet dispensing machine continues to the next step; when the result of the double matching verification is an error, the display screen shows "verification failed", the fully automatic tablet dispensing machine will not proceed to the next step, and the pharmacist needs to correct the medication error and repeat the scanning and verification process for the correct medication. After the double matching verification is completed, the results of the double matching verification are displayed on the screen of the medicine dispensing machine. After the double matching verification is completed, the voice prompt device of the medicine dispensing machine will provide a voice prompt on the result of the double matching verification.
2. The method for preventing errors in the replenishment process of a fully automatic tablet dispensing machine according to claim 1, characterized in that, The verification code is automatically generated using the Microsoft BarCode control according to a predetermined algorithm.
3. The method for preventing errors in the replenishment process of a fully automated tablet dispensing machine according to claim 2, characterized in that, The algorithm is as follows: Number the known 12-digit code in the EAN-13 barcode from right to left as 1, 2, 3, 4... 11, 12. Starting from number 2, sum the numbers in all even-numbered positions, multiply the sum by 3 to get the first intermediate number; starting from number 3, sum the numbers in all odd-numbered positions to get the second intermediate number; add the first intermediate number to the second intermediate number to get the third intermediate number; subtract the units digit of the third intermediate number from 10 to get the check digit.
4. The method for preventing errors in the replenishment process of a fully automated tablet dispensing machine according to claim 1, characterized in that, For medicines that already have a 13-digit product code, the 13-digit product code is scanned and identified directly. A reserved space for the barcode is set in the main medicine information table, and the 13-digit product code information is automatically added to the main medicine maintenance table of the dispensing machine. The FRID code of the medicine box is then bound to the 13-digit product code of the medicine in the main medicine information table. A double-matching verification is performed on the FRID code of the medicine box and the 13-digit product code of the medicine in the main medicine information table. Based on the result of the double-matching verification, the automatic tablet dispensing machine is controlled to continue to the next step.