Intelligent traditional Chinese medicine cabinet system
Through the combination of intelligent traditional Chinese medicine cabinet systems, the switch star network bus structure and Rs485 bus communication are adopted to realize automated picking and dosing drugs, solving the problem of time-consuming and labor-intensive manual dispensing in traditional Chinese medicine schools, and improving the adjustment accuracy and drug delivery Speed, suitable for the mixing of bulk and small-packaged medicinal tablets.
Patent Information
- Application Number
- CN202411253481.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-13
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN119131961A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an intelligent Chinese medicine cabinet, and in particular to an intelligent Chinese medicine cabinet system which adopts different combinations of unit medicine cabinets to realize the dispensing and picking of medicines mainly in bulk medicinal pieces or mainly in small packaged bags. Background Art
[0002] Traditional Chinese medicine is profound and extensive. Chinese medicine prescriptions are usually only targeted at specific patients and diseases. The effects of the same medicine in different prescriptions vary greatly. The traditional important drug dispensing process is: prescription writing, prescription review, drug picking and preparation, proofreading, and drug distribution. At present, almost all Chinese medicine pharmacies retain the traditional manual preparation method, and important cabinets usually store hundreds of Chinese medicinal materials, which are stored in thousands of medicine boxes. This makes the drug picking process of Chinese medicine pharmacists very time-consuming, laborious and prone to errors.
[0003] Workers at traditional Chinese medicine hospitals have made some useful explorations in the intelligentization of Chinese medicine cabinets, such as "An intelligent Chinese medicine cabinet for traditional Chinese medicine" (CN215382438): the bottom of the Chinese medicine cabinet is a medicine cabinet, and the upper part is a medicine storage cabinet. The medicine storage cabinet is divided into several medicine boxes by baffles. The inside of the medicine cabinet is slidably connected to the medicine box, and the medicine box is equipped with a liquid crystal display to display patient information and prescription information, making it easier to get medicine.
[0004] Another example is the "Intelligent Chinese Medicine Cabinet Based on PLC Control" (CN215776883): by setting a PLC module on the Chinese medicine cabinet, the PLC module controls the corresponding medicine cabinet's medicine dispenser indicator to turn on according to the prescription, making it convenient for Chinese medicine pharmacists to adjust and dispense medicines.
[0005] The above patent document is an improvement only for the manual dispensing and preparation process, and is not suitable for the dispensing and picking of medicines mainly based on bulk medicinal materials and / or mainly based on medicinal materials in small packaging bags through the combination of different unit medicine cabinets. Summary of the invention
[0006] The purpose of the present invention is to provide an intelligent Chinese medicine cabinet system with high precision in dispensing and fast medicine dispensing speed, aiming to adopt different combinations of unit medicine cabinets to realize the dispensing and picking of bulk medicinal materials and / or small packaged medicinal materials.
[0007] The object of the present invention is achieved in that:
[0008] An intelligent Chinese medicine cabinet system mainly consists of an external system, a medicinal material slice management system, a prescription management and dispatching system, a dosing management system, an intelligent Chinese medicine cabinet management system, a barcode and two-dimensional code management system, a user and user authority management system, a data statistics system, a fault alarm inspection and measurement correction system, a mobile terminal, i.e., a mobile phone, and an intelligent Chinese medicine cabinet main control system; wherein, an external system PC and a medicinal material slice management system PC, a prescription management and dispatching system PC, a dosing management system PC, an intelligent Chinese medicine cabinet management system PC, a barcode and two-dimensional code management system PC, a user and user authority management system PC, a data statistics system PC, a fault alarm inspection and measurement correction system PC, and a mobile terminal are respectively connected to the intelligent Chinese medicine cabinet management system PC;
[0009] The intelligent Chinese medicine cabinet management system PC communicates with the MCU of (1 to n) cabinet row control boards using a switch star network bus structure, and the MCU of each cabinet row control board communicates with the MCU of (1 to n) unit medicine cabinet control boards using RS485 bus type and host polling system;
[0010] The MCU of the unit medicine cabinet control board receives one or more current sampling signals from 4-channel brushless motor control circuits, barrel discharge electromagnetic door drive circuit, weighing plate flip motor drive circuit, medicine outlet electromagnetic door drive circuit, reserved brushless motor control circuit, reserved electromagnet drive circuit and medicine adding door electromagnetic lock drive circuit, and receives 16-channel switch output signals and weighing sampling circuit signals.
[0011] It also has a medicinal material slice management module: manage the names and aliases of medicinal materials; assign a specific system number to each medicinal material and slice; manage the bulk density of medicinal material slices; manage the form of medicinal material slices, such as powder, flake, spherical, columnar, strip, flocculent, etc.; manage the packaging form of medicinal material slices, such as bulk, bagged, etc.; manage the classification types of medicinal material slices in the system, such as commonly used system slices, low-frequency system slices, self-prepared medicines, special controlled medicines, regular controlled medicines, and temporary controlled medicines; manage the decoction methods of medicinal material slices; manage the incompatibility taboos of medicinal material slices; manage the toxicity of medicinal material slices; manage the standardized dosage of medicinal material slices; manage the entry, increase, decrease, and deletion of medicinal material slices; can query all medicinal material slices; system medicinal material slices temporary shortage management; operation and login management of medicinal material slice managers;
[0012] Prescription management and decomposition module:
[0013] 1. Prescription management:
[0014] Prescription content: The prescription content consists of three parts: ① Preface: including prescription barcode or QR code, name of medical, preventive, and health care institutions, prescription number, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, and items required by specialists can be added; ② Body: marked with Rp or R, prescriptions for Chinese patent medicines should list the name, specification, quantity, usage and dosage of the medicines; prescriptions for Chinese herbal medicine slices should list the name, quantity, decoction method, and usage and dosage of the medicine slices; ③ Postscript: Physician signature and / or special seal, drug amount, and signature of pharmaceutical professionals who review, dispense, check, and dispense the medicines;
[0015] Prescription writing principles: (1) The general items of the patient recorded in the prescription should be clear and complete, and consistent with the medical record; (2) Each prescription is limited to the medication of one patient; (3) The handwriting of the prescription should be clear and not be altered; if there is any modification, it must be signed and the modification date must be noted; (4) Prescriptions must be written in standard Chinese or English; Chinese is limited to the simplified characters announced by the State Council in the "General List of Simplified Characters" on October 15, 1986, and no different characters should be created; Latin names of drugs cannot be used, but Latin abbreviations can be used for usage and dosage; (5) Medical, preventive, health care institutions or doctors and pharmacists shall not compile drug abbreviations or use codes on their own; the drug name, dosage, specification, usage and dosage must be written accurately and in a standard manner;
[0016] The prescription format transmitted from the external system must match the prescription format that the intelligent Chinese medicine cabinet system can recognize. If it cannot be recognized, it needs to be converted and processed when building the communication protocol;
[0017] Prescriptions transmitted from external systems and entered into internal systems must clearly indicate the decoction method of the medicinal materials, which will be used as the basis for prescription decomposition. If there is no indication, it will be regarded as conventional decoction and no decomposition will be performed.
[0018] Receive prescriptions transmitted from the customer management system through external interfaces and external communication protocols, receive manually entered prescriptions, and automatically arrange prescriptions in the order of numbers; prescriptions that meet the conditions can be placed at the top or at the bottom; prescriptions that meet the conditions can be moved up or down one item; placing a prescription at the top or moving it up or down does not change the prescription number;
[0019] 2. Prescription breakdown:
[0020] Prescription breakdown basis:
[0021] Determination of medicine shortage: After identifying the prescription, the smart Chinese medicine cabinet system must first determine whether all the medicinal materials in the prescription are in the system. If some medicinal materials are not available, the information must be pushed to the external system immediately. At the same time, the smart Chinese medicine cabinet system will mark in the prescription which medicinal materials have not been picked up due to shortage.
[0022] Determination of decoction method: After identifying the prescription, the intelligent Chinese medicine cabinet system needs to determine the decoction method of the prescribed medicinal materials, and mark the medicinal materials with special requirements for decoction methods, such as: first decoction (shells, shells, fossils, minerals, nourishing and tonic, weak toxic (such as raw pinellia, asarum, etc.), post-decoction (aromatic, dispersing drugs), package decoction (seeds), separate decoction (ginseng, etc.), melt (donkey-hide gelatin, deer glue, tortoise shell glue and mirabilite, etc.) and separate powder for administration (Panzhen, Fritillaria cirrhosa, cinnabar, amber, antelope horn, etc.);
[0023] Determination of the properties of medicinal materials: In order to meet the needs of the unit cabinet discharging mechanism, some medicinal materials need to be broken into small pieces, that is, some medicinal materials are broken into small pieces before entering the cabinet and then added to the unit cabinet, or they are broken into small pieces and discharged through the unit cabinet discharging mechanism after the medicinal materials are added to the unit cabinet; "breaking into small pieces" is regarded as a kind of "crushing" in the processing method, and the word "crushing" is marked in the brackets in the upper right corner of the name of the medicinal material in the formal prescription;
[0024] Prescription Breakdown:
[0025] Prescription decomposition type: the prescription medicinal materials are divided into missing drugs and systemic drugs;
[0026] Missing medicine: refers to the medicinal materials that are not available in the intelligent Chinese medicine cabinet system, which are generally self-prepared medicines, that is, medicines prepared by patients themselves, special controlled medicines, that is, medicines directly sent from the warehouse to the medicine replenishment table in fixed quantities, regular controlled medicines, that is, precious medicinal materials, poisonous medicinal materials, medicinal materials with relatively light texture, strip-packed medicinal materials (such as centipedes, seahorses, etc.), liquid medicinal materials, gel-state medicinal materials and temporary controlled medicines, that is, medicinal materials that cannot be dispensed by the medicine cabinet system in a short period of time due to a malfunction of the intelligent medicine cabinet and need to be repaired;
[0027] System medicine: medicine in the smart medicine cabinet; system medicine is decomposed into multiple decomposition prescriptions according to different decoction methods such as first decoction, later decoction, package decoction, separate decoction, melting, powder and administration, etc. The smart Chinese medicine cabinet system picks up the medicinal materials according to the decomposition prescriptions;
[0028] The content of "Decomposing Prescription Drug List" is as follows:
[0029] The format of the decomposed prescription drug list is consistent with the above-mentioned prescription format regulations. The smart Chinese medicine cabinet system assigns a prescription number such as [20210512-123 1 / 3-1 / 2(6)]. Prescription number description: 20210512 refers to the prescription time: May 12, 2021, -123 refers to the number of prescriptions today, 1 / 3 refers to the first dose of a total of 3 doses, -1 / 2 refers to the first of the two decomposed prescription drug lists for this 1 dose, (6) means that this prescription has a total of 6 drug lists, and the decomposed prescription order number is noted in the lower right corner: 6-1, 6-2, 6-3, 6-4, 6-5, 6-6;
[0030] Prescription pre-decomposition: The intelligent Chinese medicine cabinet system receives queued prescriptions, and the system can pre-decompose the top 5 prescriptions in the queue. Prescription pre-decomposition can provide the prerequisite for system prescription pre-pickup;
[0031] Prescription pre-pickup: It has the function of pre-dispatching one or more prescription decomposition medicine order tasks; the intelligent Chinese medicine cabinet system pre-pick up the medicinal materials according to the status of the medicine dispensing in each unit medicine cabinet, and immediately dispense the medicine when the prescription arrives; consider the pre-pickup queue of 1-3 prescriptions, and the settings can be adjusted according to user requirements;
[0032] Query the prescription status in the prescription management module: the total number and details of prescriptions received and entered on the day; the number and queue of prescriptions in real time; the number and queue of prescriptions decomposed in real time;
[0033] Send prescription statistics information to the data statistics module;
[0034] Dosing management module: when the remaining amount in the unit medicine cabinet is less than or equal to 20% of the whole bag, an alarm will be sounded to notify the dosing. The calculation of the remaining amount of medicine in the 20% alarm is: the software statistical calculation method is used, that is, the remaining amount = the remaining amount before dosing + the amount of medicine added - the amount of medicine output; Dosing process: hold the employee's mobile terminal → scan the barcode of the dosing door of the unit medicine cabinet → the corresponding medicine cabinet warning light flashes → open the dosing door of the unit medicine cabinet → add medicine → the dosing staff enters the amount of medicine added on the mobile terminal and confirms → close the dosing door of the unit medicine cabinet; different batches of medicinal materials must be cleared when adding medicine; infrequently used medicinal materials will not be added for a long time after adding medicine once, and the interval in between is long. When the prescribed time is exceeded without adding medicine to update the medicinal materials, the system must prompt to clear the cabinet; send the data information of the amount of medicine added and the amount of medicine output to the data statistics module;
[0035] Intelligent Chinese medicine cabinet management module: configure the cabinet columns that have been successfully added, configure the associated positioning points and their numbers. When associating positioning points, the hardware number of the positioning points must be assigned;
[0036] For a unit medicine cabinet on a specified cabinet row, specify its unit number, barcode or QR code, packaging device type, discharge mechanism number and type, and scale type;
[0037] A unit medicine cabinet can be equipped with 1 to 3 hoppers (including discharge mechanisms);
[0038] The unit medicine cabinet must specify the type of medicinal material pieces;
[0039] The unit medicine cabinet control panel is provided with red, yellow and green color-changing warning lights as an alarm function. The green light indicates that the medicine is sufficient, the yellow light indicates that the medicine is insufficient, that is, the remaining amount of medicinal materials in the medicine cabinet hopper is less than 20%, and the red light indicates that the medicine must be added immediately, that is, the remaining amount of medicinal materials in the medicine cabinet hopper is less than 10%;
[0040] The process of discharging medicine mainly by barrel chaining: the operator clicks on the computer or mobile terminal to issue a medicine picking instruction → the medicine is discharged from the medicine cabinet → the discharged medicinal materials are collected on the conveyor belt at the bottom through barrel chaining → the conveyor belt transports the medicinal materials to the discharge port and enters the medicine storage frame to complete the discharging of medicine;
[0041] The conveyor-based drug dispensing process: the operator clicks on the computer or mobile terminal to issue a drug picking instruction → the unit medicine cabinet that needs to be dispensed dispenses the drugs → the dispensed medicinal materials are collected on the conveyor belt → the conveyor belt transports the medicinal materials to the dispensing port, and enters the drug storage frame through the barrel chain to complete the drug dispensing;
[0042] Surplus management of spiral metering: Fine-grained medicinal pieces are discharged by spiral metering conveyors. The discharge quantity is calculated based on the cross-sectional area of the spiral shaft notch, the step size and number of steps of the stepper motor, and the bulk density of the medicinal pieces, i.e., the stacking density. Then, a statistical algorithm is used to calculate the surplus of the medicinal pieces. To ensure that there is material in the hopper, an infrared position finder is used to detect the height of the medicinal pieces. In this way, the height of the medicine in the hopper is ensured to avoid cavities in the spiral metering conveyor. When the medicine in the hopper reaches a certain height, it must be stopped.
[0043] Surplus management of powdered medicinal materials: pre-packaging into 1g, 2g, and 5g weight bags outside the cabinet, loading them into a box in the form of rolls or stacks, and then loading them into the unit medicine cabinet. The material is discharged according to the required weight combination under the control of the unit medicine cabinet control board through the discharging mechanism; when managing the surplus, the number of remaining bags of each gram is calculated through a statistical algorithm. When it is not enough to meet the maximum dosage requirement of 3 doses of medicine, it is necessary to add medicine;
[0044] Barcode and QR code management module: manages the printing equipment of barcode and QR code; calls the barcode and QR code protocol and design functions to edit barcode and QR code; manages the barcode and QR code classification, addition, deletion, change and other functions of the management unit medicine cabinet, transport trolley, trolley medicine tray, medicine storage box, prescription, drug inspection guide, refill medicine order, user identity card, etc., and has the function of recording and querying barcode or QR code; configures the recognition function of barcode or QR code;
[0045] User and user rights management module: User and user rights management functions: manage user creation, add and delete users; have the functions of setting or changing user login passwords and retrieving or resetting passwords; set user management roles and rights, set, add, change and reduce roles and rights for users;
[0046] Data statistics module: Data statistics functions: Statistics on prescription receiving, execution, shelving, and scrapping data; receiving prescription receiving data sent by the prescription receiving and dispensing system, counting the total number of prescriptions received and the ratio of prescriptions received to external prescriptions; receiving dispensing data sent by the call dispensing system, counting the total number of packaged prescription medicinal pieces and the ratio of actually issued packaged prescription medicinal pieces to packaged prescription medicinal pieces; counting the satisfaction rate of prescriptions in the pieces dispensing control system; counting the prescription dosage, actual output (including the dosage for replenishing missing drugs), and the number of scrapped drugs for each medicinal piece; counting the total number, qualified number, qualified rate, scrapped number, and scrap rate of drug inspections; counting the total number and total number of missing drug replenishments and the number and quantity of each medicinal piece; counting the number and frequency of drug additions in the unit medicine cabinet; counting the fault types and frequencies of unit medicine cabinets, transport carts and other equipment; generating various reports;
[0047] Fault alarm, maintenance and metrology correction module: manages the login of user operators; has the functions of identifying faults in computers, software programs, control circuit boards and drivers, communication networks, electrical lines, machinery and structures, and preliminarily determines the type and location of the faults, and guides maintenance; manages the metrology correction of the unit medicine cabinet: issues metrology correction instructions, receives correction feedback data, reports metrology error data to the superior system and issues an alarm.
[0048] Also has mobile app:
[0049] The mobile app always keeps the status of the smart Chinese medicine cabinet system synchronized through WebSocket technology;
[0050] Query and obtain all cabinets of the specified main control system; display the cabinets in a vivid graphical way; the cabinets are arranged from left to right, and the cabinets are displayed in a new line if they exceed the interface boundary;
[0051] Cabinet unit display: Each cabinet row in the diagram is displayed as being composed of multiple cabinet units; if a cabinet unit contains multiple hoppers, then multiple hoppers are displayed accordingly in the cabinet unit diagram;
[0052] Cabinet unit monitoring: monitor the real-time status and actions of the cabinet unit; real-time status includes: waiting, working, cabinet unit dosing door or cabinet door opened; real-time actions include: taking materials, packaging, dumping; realize real-time monitoring of the remaining amount of medicinal materials in the medicine cabinet on the mobile terminal;
[0053] Fault display: Graphical alarm for unit medicine cabinet fault; Graphical alarm for cabinet group fault;
[0054] View pending prescriptions: view the decomposition status of prescriptions; prescriptions are displayed in list form; a button is provided behind pending prescriptions to view prescription details; adjust prescription priority:
[0055] A "Pin to Top" button is provided behind each item in the list of prescriptions to be processed, which can be set as the first prescription to be processed in the list with one click;
[0056] A matrix list of all unit medicine cabinets is created on the display interface of the mobile terminal app. Each grid in the table corresponds to a unit medicine cabinet. Through real-time monitoring of the remaining amount of medicinal materials in the medicine cabinet, the unit medicine cabinets that need to be added are displayed in the list for reminder. The table uses yellow and red double-color indicators to show the urgency of adding medicine. Yellow means that the unit medicine cabinet corresponding to the grid is in a state of waiting for medicine addition, and red means that the unit medicine cabinet corresponding to the grid must be added immediately. After the addition is completed, the indicator color of the grid returns to normal color; click on each grid to pop up the unit medicine cabinet code of the grid and the cabinet column number and layer where the unit medicine cabinet is located. The number of medicines, as well as the name and quantity of the medicinal pieces that need to be added to the unit medicine cabinet, are displayed to facilitate the warehouse management staff to find and check; the mobile terminal should have the function of scanning and taking pictures, and can scan the code to open the hopper door of the unit medicine cabinet or open the unit medicine cabinet door or open the cabinet to take out the unit medicine cabinet in case of failure; if the system determines that the addition of medicines is allowed, the UI interface will be in a locked state and display "waiting to open the cabinet"; wait for the system to open the cabinet, and after opening the cabinet, the UI interface will still be in a locked state and display "opened cabinet"; after manual addition of medicines, the UI interface will still be locked until the mobile terminal enters the amount of medicine to be added and clicks to confirm before the unit medicine cabinet dosing door can be closed;
[0057] System status when a unit medicine cabinet fails: In the unit medicine cabinet matrix list on the mobile terminal app display interface, the corresponding table column displays the word "failure", indicating that the unit medicine cabinet is dead and waiting to be checked; the smart Chinese medicine cabinet system will disable this unit medicine cabinet; subsequent affected prescriptions will not be able to pick up this medicinal material slice;
[0058] List of medicine slices to be added: The display interface of the display and mobile terminal displays a list of medicine slices that need to be added. Each grid in the table corresponds to a unit medicine cabinet and the medicine slices loaded therein. The table uses green and red two-color indicators to indicate the urgency of adding medicine. Green means that the medicine corresponding to the grid has sufficient medicine, yellow means that the medicine corresponding to the grid is in a state of waiting for addition (the remaining medicine slices in the medicine cabinet hopper are less than 20%), and red means that the medicine corresponding to the grid must be added immediately (the remaining medicine slices in the medicine cabinet hopper are less than 10%). After the addition is completed, the indicator color of the grid returns to normal color; click on each grid, and the unit medicine cabinet number, the name of the medicine slice and the amount of medicine to be added this time will pop up, so as to facilitate the search of the medicine adding personnel; after adding medicine, the amount of medicine to be added this time must be entered, and click to confirm before closing the unit medicine cabinet. After closing the unit medicine cabinet, the current medicine adding task is completed; the warning color of the corresponding grid returns to green;
[0059] The mobile terminal receives and processes information from the intelligent Chinese medicine cabinet system;
[0060] The mobile terminal and the intelligent Chinese medicine cabinet system share the following equipment: computing unit, display, mouse, and keyboard.
[0061] The intelligent Chinese medicine cabinet management system also has a medicinal material slice attribute library, and records the following attributes of medicinal material slices:
[0062] Main properties of medicinal material slices: medicinal material name, slice name, slice alias, slice form (one of powder, sand, granule, segment, block, sphere, spindle, sheet, filament, strip, ball, mesh, stamen, liquid, paste), standard density (g / ml), measurement unit (one of g, piece, strip), smell, meridian, processing method, toxicity, opposite, incompatible, fear, incompatibility of western medicine, dietary taboos, human body taboos, standard single dose dosage range, standard single dose maximum dosage, decoction method, decoction time offset (Note: for example, decoction first, then the time offset means decoction first n minutes; post-decocting means post-decocting for n minutes), pharmacopoeia usage, standard pretreatment type and storage method of medicinal slices when sold to customer units; the system automatically gives each type of medicinal slice entered an internal unique number, which is saved in the intelligent Chinese medicine cabinet system. Only the medicinal slices with numbers in the intelligent Chinese medicine cabinet system can be put on the shelf in the intelligent Chinese medicine cabinet system; medicinal slice attribute numbering format: medicinal slice attribute number: CX12-a: CX12 is the unique number of the system drug, -a refers to the medicinal slice property number; each intelligent Chinese medicine cabinet system needs to create a medicinal slice attribute library;
[0063] Add new herbal medicine pieces: manually enter or batch import new herbal medicine pieces, and the system will automatically give the herbal medicine pieces an internal unique number;
[0064] Delete the medicinal pieces. If the medicinal pieces have been put on the shelf, they need to be removed from the shelf in advance; traverse all intelligent Chinese medicine cabinet systems, and the medicinal piece does not exist in any unit medicine cabinet; after deleting the medicinal piece, the number of the medicinal piece will be deleted, and the numbers of other medicinal pieces will not be affected, that is, the numbers of other medicinal pieces will remain unchanged; if there is a new medicinal piece that needs to be numbered with this number, the system must record all the historical information of the number in the notes;
[0065] Importing medicinal materials and decoction categories into the management system of medical institutions: importing through Excel spreadsheets, the Excel format must meet the specified format; using the name of the medicinal materials and decoctions as the synchronization basis, add the medicinal materials and decoctions newly added to the system in Excel to the system and automatically generate a unique number; if the medicinal materials and decoctions in the Excel spreadsheet are numbered, it is necessary to list a separate system number column in the Excel spreadsheet for comparison to facilitate query.
[0066] The unit medicine cabinet control panel has a one-time medicine taking module controlled by its driver:
[0067] The unit medicine cabinet receives the medicine picking instruction sent by the intelligent Chinese medicine cabinet system, and the unit medicine cabinet control board starts to control the operation of the medicine taking motor; the metering scale starts to continuously record the metering data as the medicinal materials and slices enter and sends the metering data to the unit medicine cabinet control board. If the metering scale cannot record the metering data within the specified time as the medicine taking motor runs or the metering data does not change within the specified time, the unit medicine cabinet control board determines that the hopper discharge failure is detected and checks whether the medicine taking motor is blocked. If so, the unit medicine cabinet control board controls the medicine taking motor to reverse and try again; if not, it determines that the medicine taking motor is blocked. If the machine is abnormal, a fault alarm will be processed; when the unit medicine cabinet control board feels that the taken-out medicinal materials have not reached the set value, that is, the weight of the taken-out medicinal materials has reached 10% of the command weight or the remaining weight is only 3 grams, the unit medicine cabinet control board controls the medicine taking motor to continue taking medicine until the set value is reached; when the unit medicine cabinet control board feels that the weight of the taken medicinal materials has reached or exceeded the set value, the unit medicine cabinet control board controls the medicine taking motor to jog to take medicine. When the unit medicine cabinet control board feels that the taken medicine weight has not reached the error value of the command weight, the unit medicine cabinet control board controls the motor to continue jogging to take medicine until When the error value of the command weight is reached or exceeded, the medicine dispensing motor stops; the unit medicine cabinet control board receives the final weighing data sent by the metering scale, and the final weighing data is within the error range, waiting for the transport trolley to arrive to dispense the medicine; if the final weighing data is abnormal, a fault alarm is processed and the unit medicine cabinet is stopped at the same time; when the transport trolley arrives, the weighing pan push medicine dispensing device starts to push and pour the medicine; if the weighing pan push medicine dispensing device times out and fails to complete the pushing and pouring action, the unit medicine cabinet control board initiates a retry, and if the retry fails, it is determined that the weighing pan push medicine dispensing device is abnormal and an alarm is processed If the retry is successful, proceed to the next step; the weighing pan push medicine dispensing device must stop after the medicine is in place, and start the reset action after a certain delay until the reset is completed; if the weighing pan push medicine dispensing device fails to complete the reset action within the time limit, the unit medicine cabinet control board initiates a retry, and if the retry is unsuccessful, it is judged that the weighing pan push medicine dispensing device is abnormal and an alarm is processed; if the retry is successful, proceed to the next step; at this point, the unit medicine cabinet completes a medicine dispensing process; the lower limit of the medicine dispensing error of the above weighing data is set to be less than 0.2 grams of the accrued weight of the medicine, and the upper limit is not set.
[0068] The intelligent Chinese medicine cabinet management system has an intelligent Chinese medicine cabinet operation module:
[0069] Receive prescriptions input from external systems and internal systems assigned by the main business system; review prescriptions and mark the type of medicine system; decompose prescriptions; load the medicine tray on the transport cart, bind the medicine tray, transport cart, and prescription decomposition sheet together by scanning the code, and then dispatch the cart; the transport cart enters the smart medicine cabinet; the transport cart that needs to be replenished will light up a red light when leaving the smart medicine cabinet, and stop at the release point of the replenishment table to wait for replenishment, or manually take out the medicine box and wait for replenishment. After manual replenishment, the medicine box is manually transferred to the drug inspection table to wait for all the medicine boxes of the prescription to be gathered, or the transport cart is released if it is short of medicine, enter the drug inspection table, unbind the transport cart, load the empty medicine box, press the release point button of the drug inspection table to release it, and the transport cart enters the cart waiting area;
[0070] When the transport cart leaves the smart medicine cabinet, the yellow light will be on if there is a shortage of medicine. The system will remind the replenishment system to list the medicinal material slices as "temporarily controlled medicines" and enter the shortage medicine replenishment system. After troubleshooting and repairing the smart medicine cabinet, the unit medicine cabinet function will be restored and the temporary control of the medicinal material slices will be cancelled. When the transport cart that does not need to replenish medicine leaves the smart medicine cabinet, the light will not be on. When it arrives at the interception point of the drug inspection table, the drug inspection table will be checked to see if it is empty. If not, the transport cart will not be released and will wait. If the drug inspection table is empty, the transport cart of the same prescription will be released: the first dose of the first dose A vehicle prints the "drug inspection guide" and "decomposition prescription", clips the drug inspection guide on the medicine tray, and stops the transport vehicle at the release point of the drug inspection station. The medicine boxes of the transport vehicle entering the drug inspection station are taken out and placed in the transfer area. The medicine boxes are untied from the transport vehicle, and the untied transport vehicle is loaded with empty medicine boxes. The release point button of the drug inspection station is pressed to release the transport vehicle, and the transport vehicle enters the vehicle waiting area; the medicine boxes stored in the transfer area wait for the transport vehicle that needs to replenish the medicine; after all the medicine boxes of the prescription are gathered, enter the drug inspection:
[0071] When testing drugs, the weight error is within the minimum range, the green light is on and random inspection is carried out; the weight error is within the allowable range, the yellow light is on and random inspection is carried out; the weight error exceeds the allowable range, the red light is on and all drugs are inspected;
[0072] If the drug test fails, determine whether the unit medicine cabinet is short of medicine or has a fault. If it is a fault, manually enter the wrong medicinal materials into the system alarm urgently. The system reminds the shortage medicine replenishment system to list the medicinal materials as "temporarily controlled drugs" and enter the shortage medicine replenishment system. After troubleshooting and repair, restore the function of the unit medicine cabinet and cancel the temporary control of medicinal materials. If it is a shortage of medicine, replenish the missing medicine at the corresponding medicine replenishment table, and there is no need to make a system alarm. If the drug test fails, check the medicine box for the presence of separable shortage or shortage of medicine. If so, replenish the medicine manually. If not, scrap the medicinal materials for non-separable shortage, shortage or excess medicine, and re-assign the order. If the drug test is qualified, go to the prescription and drug distribution area, call for drug distribution, and the patient receives the prescribed medicinal materials and the process ends.
[0073] Compared with the prior art, the beneficial effects of the present invention are: 1. Reducing the manual operation of Chinese medicine pharmacies and saving labor costs; 2. Effectively reducing the error rate of manual dispensing operations, improving the accuracy of dispensing and dispensing, and reducing accidents caused by dispensing errors; 3. Improving work efficiency, the speed of intelligent and automatic dispensing and dispensing is more than 5 times that of manual dispensing and dispensing; 4. It can prevent cross-contamination of Chinese medicine pieces during the dispensing process; 5. It can effectively prevent dust pollution problems inside the pharmacy; 6. This intelligent Chinese medicine cabinet system only needs to use different unit medicine cabinet combinations to realize the dispensing and picking of bulk medicinal pieces or small-packaged medicinal pieces, that is, it can be used for the dispensing and picking of pure bulk medicinal pieces, it can also be used for the dispensing and picking of pure small-packaged medicinal pieces, and it can also be used for the dispensing and picking of mixed bulk medicinal pieces and small-packaged medicinal pieces. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] Figure 1 It is a relationship diagram between the functions and systems of the intelligent Chinese medicine cabinet system.
[0075] Figure 2 It is a diagram of the various systems and functional subordination systems of the intelligent Chinese medicine cabinet system.
[0076] Figure 3 It is the software configuration diagram of the control system of the intelligent Chinese medicine cabinet system.
[0077] Figure 4 This is the hardware system diagram of the intelligent Chinese medicine cabinet system.
[0078] Figure 5 It is the mechanical equipment system diagram of the intelligent Chinese medicine cabinet system.
[0079] Figure 6 It is a schematic diagram of the combination of groups, columns and rows of the intelligent Chinese medicine cabinet.
[0080] Figure 7 It is the operation flow chart of the intelligent Chinese medicine cabinet system.
[0081] Figure 8 It is a prescription management and decomposition logic diagram of the intelligent Chinese medicine cabinet system.
[0082] Fig. 9 It is a logical relationship diagram of the management of medicinal materials and decoction pieces in the intelligent Chinese medicine cabinet system.
[0083] Fig.10 It is a systematic classification diagram of prescription medicinal materials and decoction pieces.
[0084] Fig.11 It is a logic relationship diagram of medicine adding management in the intelligent Chinese medicine cabinet system.
[0085] Fig.12 It is a logical relationship diagram of the intelligent Chinese medicine cabinet management system.
[0086] Fig.13 It is a logical relationship diagram for fault alarm inspection and measurement correction of the intelligent Chinese medicine cabinet system.
[0087] Fig.14 It is the logical relationship diagram of the mobile APP of the smart Chinese medicine cabinet system.
[0088] Fig.15 This is the hardware configuration diagram of the intelligent Chinese medicine cabinet system.
[0089] Fig.16 Overall circuit structure block diagram of the intelligent Chinese medicine cabinet system.
[0090] Fig.17 This is the circuit diagram of the unit medicine cabinet control board.
[0091] Fig.18 This is the flow chart for taking medicine from a unit medicine cabinet.
[0092] Fig.19 This is a block diagram of the control board circuit.
[0093] Fig. 20 It is a schematic diagram of the bus communication solution of the unit medicine cabinet control panel.
[0094] Fig.21 It is a schematic diagram of the communication scheme between the Chinese medicine cabinet management PC and the cabinet column control panel using a switch star network bus.
[0095] Fig. 22 It is the communication line layout diagram of the smart medicine cabinet subsystem.
[0096] Fig.23 It is the layout diagram of power supply and power lines.
[0097] Fig.24 It is the mechanical equipment system diagram of the intelligent Chinese medicine cabinet system. DETAILED DESCRIPTION
[0098] The intelligent Chinese medicine cabinet system is an independent system composed of computer software, computers, drive control circuit boards, mechanical structures, communication networks, electrical circuits and other auxiliary electronic equipment. The system is an intelligent system that realizes the automatic metering and preparation of Chinese medicine prescriptions, automatic removal and automatic collection of medicinal materials.
[0099] The external system is a system used by users that is independent of the smart Chinese medicine cabinet system and is associated with the smart Chinese medicine cabinet system.
[0100] The components of the intelligent Chinese medicine cabinet system include: intelligent Chinese medicine cabinet control system, prescription management function, medicinal material and slice management function, dosing guidance function, fault alarm maintenance and measurement correction function, mobile APP system, and (1∽n) unit medicine cabinets. The unit medicine cabinet is composed of a medicinal material and slice hopper, a medicine dispensing device (which may include a crushing device), a metering device (which may include a correction device), a push dumping device, a control circuit board and other auxiliary devices. It has an independent running program, can receive command information, and can operate independently. It has the functions of dispensing, metering and dispensing medicine.
[0101] The relationship between each system and function of the intelligent Chinese medicine cabinet system is as follows Figure 1 shown.
[0102] Figure 3 An intelligent Chinese medicine cabinet system is shown, which is mainly composed of an external system, a medicinal material slice management system, a prescription management and dispatching system, a dosing management system, an intelligent Chinese medicine cabinet management system, a barcode and two-dimensional code management system, a user and user authority management system, a data statistics system, a fault alarm inspection and measurement correction system, a mobile terminal, and an intelligent Chinese medicine cabinet main control system; wherein, the external system PC and the medicinal material slice management system PC, the prescription management and dispatching system PC, the dosing management system PC, the intelligent Chinese medicine cabinet management system PC, the barcode and two-dimensional code management system PC, the user and user authority management system PC, the data statistics system PC, the fault alarm inspection and measurement correction system PC, and the mobile terminal are respectively connected to the intelligent Chinese medicine cabinet management system PC;
[0103] The communication service relationship between the software, hardware and devices of the smart Chinese medicine cabinet system:
[0104] Software and software use IP network communication. Software and hardware use IP network communication. Adaptive connection equipment: After one configuration, each system software will establish a connection autonomously without manual configuration. The hardware communication layer is the provider of system logs, which will record the communication process in detail, which is conducive to the analysis of system failures and logical errors;
[0105] The hardware communication service calls the secondary analysis of the basic data of the device service through its own registered event processing code; different devices use independent analysis codes. For example, fixed-point data will be analyzed using the positioning point protocol.
[0106] Similar to the hardware service layer, it uses event registration to forward device data to the event client for processing; provides registration services for internal clients to register processing codes; and client codes are registered according to device types.
[0107] When data is received from the hardware communication service, the data is first parsed at the second level; after the second level parsing is successful, the client code registered for the corresponding type of device is triggered; to ensure the effectiveness of the processing, the device service event triggering will adopt an asynchronous mechanism.
[0108] Communication mechanism: lower-level system or control board (collectively referred to as lower-level system), upper-level system software (referred to as upper-level system). The lower-level system shall send heartbeat data packets to the upper-level system according to the configured interval. If other data reports occur within the configured time range, they can replace the meaning expressed by the heartbeat data packets; all communications between the upper and lower systems are carried out in a "request-response" manner, that is, if any party actively sends data, it must wait for the other party's reply. If no reply is received within the configured time range, it is determined that this communication has not been answered.
[0109] 485 communication special case:
[0110] Since the unit medicine cabinet control board and the cabinet column control board communicate using the 485 bus, the protocol mechanism is relatively simple. In the case of external electromagnetic interference, the data sent may fail to be verified by the cabinet column control board. In this case, a lower-level protocol mechanism is required between the unit medicine cabinet control board and the cabinet column control board. The cabinet column control board allows the unit medicine cabinet control board to resend quickly without waiting. When the cabinet column control board forwards the instructions of the system software, if the unit medicine cabinet control board fails to verify, the unit medicine cabinet needs to allow the cabinet column control board to resend quickly without waiting. The maximum data capacity of a single communication between the unit medicine cabinet and the host computer is 16 bytes, and supports data exchange with the host computer more than 10 times / second.
[0111] Data recovery: Delay power failure to save complete data and avoid data omission. After power is restored, the software and hardware will resend the information and wait for the other party to confirm.
[0112] Fault recovery: Delay power failure to save complete data and avoid data loss. After power is restored, the software and hardware resend the information and wait for the other party to confirm.
[0113] Intelligent Chinese medicine cabinet system:
[0114] 1. Basic functions: Create communication protocols with external systems; Create internal system communication protocols; Receive internal prescription data input; Have barcode and QR code design capabilities; Have barcode or QR code recognition capabilities.
[0115] Subordinate system configuration: intelligent Chinese medicine cabinet control system, mobile APP system.
[0116] 2. Establishment of communication protocol:
[0117] External communication basic service protocol: Create a communication protocol with the customer management system for the customer management system to access, send data to this system, and feedback data to the customer management system. Internal communication protocol: Build a communication protocol between internal systems and functions for data exchange between them. Data consistency: Ensure the real-time or delayed consistency of data between systems and functions, and between software and hardware through the design of communication protocols and communication mechanisms.
[0118] 3. Relationship with subordinate systems:
[0119] It has the function of internal prescription entry; creates a connection with the mobile APP and realizes data interaction through the communication protocol.
[0120] 4. It has the functions of designing, identifying and managing barcodes and QR codes:
[0121] Equipment management: manage barcode or QR code printing equipment. Design and print barcode or QR code: configure the barcode or QR code design function, design barcode or QR code by category; design barcode or QR code for equipment such as unit medicine cabinets, medicine storage boxes and user ID cards, and print out the designed QR code and paste it on the corresponding equipment. Manage barcode or QR code: record the barcode or QR code designed and printed; modify the barcode or QR code design; add a barcode or QR code; delete a barcode or QR code. Record and query: has the function of recording and querying barcode or QR code. Identify: configure the barcode or QR code recognition function.
[0122] 5. User and user rights management function:
[0123] User management: Users with permissions can create, change and delete users. User role and permission management: Setting roles and permissions: Users with permissions can set one or more roles for each user, and configure corresponding permissions for different roles, role permission list management, each user can operate the corresponding system within the scope of their role permissions; Adding roles and permissions: Users with permissions can create new roles and configure corresponding permissions for the role; Changing roles and permissions: Users with permissions can change the corresponding permissions for users due to user role changes; Deleting roles and permissions: Users with permissions can delete users' roles and permissions; Querying roles and permissions: Users with permissions can query users' roles and permissions. User login management: User password login: ① New users have an initial password. After logging in with the initial password, users can modify their login passwords; ② It has the function of assisting users in retrieving passwords; ③ Users with permissions can reset user passwords. User badge scan code login: It has the function of logging in to the system by scanning the barcode or QR code of the user badge. Query users: Query all users and permissions in the system.
[0124] 6. Statistical function:
[0125] Prescription statistics: Real-time statistics of the number of prescriptions received (including input) by day and month, real-time statistics of the number of prescription medicinal materials slices by day and month, and real-time statistics of the number of medicinal materials slices for each prescription. Medicinal material slice statistics: Real-time statistics of the actual number of prescription medicinal materials slices adjusted by day and month, and real-time statistics of the actual number of medicinal materials slices adjusted for each prescription. Fault and measurement correction statistics: Real-time statistics of fault types and the number of faults of each fault type by day and month, and statistics of the correction records of each measurement correction. Statistical query: Real-time query function with statistical function.
[0126] 7. Monitoring function: monitor the startup and operation status of all unit medicine cabinets.
[0127] 8. Log recording service function: Provide log recording function for all operations of the intelligent Chinese medicine cabinet system, and save statistical logs permanently.
[0128] 9. Version management function:
[0129] It has a convenient upgrade function and develops an independent automatic upgrade application to facilitate the rapid update of system software and hardware embedded programs; all supported system versions are automatically maintained, and after the new system is upgraded, it will include all supported system versions.
[0130] The prescription management function is the first step in the operation of the entire intelligent Chinese medicine cabinet system, and it runs through the entire process of the intelligent Chinese medicine cabinet system. It is the basis for the intelligent Chinese medicine cabinet system to take out medicinal materials and pieces; it is the basis for the statistical function to count the amount of prescription drugs.
[0131] Prescription Management:
[0132] 1. Prescription format:
[0133] 1.1 Prescription content: The prescription content consists of three parts: ① Preface: including the name of the medical, preventive, and health care institutions, prescription number, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, etc., and items required by the specialist can be added. (Since most medical institutions now use computer intelligent management, in order to facilitate the information entry and code scanning of prescriptions, a barcode or QR code is added to the preface of the prescription.) ② Body: marked with Rp or R (abbreviation of Latin Recipe "Please take"), Chinese patent medicine prescriptions should list the name, specification, quantity, usage and dosage of the medicine. Chinese herbal medicine prescriptions should list the name, quantity, decoction method and usage and dosage of the medicine. ③ Postscript: Physician signature and / or special seal, drug amount and signature of pharmaceutical professionals who review, dispense, check and dispense medicines.
[0134] 1.2. Prescription writing principles: According to the relevant provisions of Chapter 2 "Format and Requirements for Writing Chinese Medicine Prescriptions" of the "Specifications for Prescriptions and Dispensing of Traditional Chinese Medicines" published in 2005, prescription writing must comply with the following principles: (1) The general items of the patient recorded in the prescription should be clear and complete, and consistent with the medical records. (2) Each prescription is limited to the use of medicines for one patient. (3) The prescription handwriting should be clear and not be altered. If there is any modification, the modification must be signed and the modification date must be indicated. (4) Prescriptions must be written in standard Chinese or English. Chinese is limited to the simplified characters announced by the State Council in the "General List of Simplified Characters" on October 15, 1986. Do not create different characters. Latin cannot be used for drug names, but Latin abbreviations can be used for usage and dosage. (5) Medical, preventive, health care institutions or doctors and pharmacists shall not compile drug abbreviations or use codes on their own. The drug name, dosage, specification, usage and dosage must be written accurately and in a standard manner.
[0135] 2. Prescription operation management: two software functions: prescription receiving (including input), prescription decomposition and prescription query.
[0136] 3. Prescription identification:
[0137] The prescription format transmitted from the external system must match the prescription format that the intelligent Chinese medicine cabinet system can recognize. If it cannot be recognized, it needs to be converted and processed when the communication protocol is established. The prescription transmitted from the external system and the prescription entered into the internal system must clearly mark the decoction method of the medicinal material slices, which serves as the basis for prescription decomposition. If there is no mark, it is regarded as a regular decoction and no decomposition is performed.
[0138] 2. Prescription reception (including input):
[0139] 1. Receipt of prescriptions from the customer management system:
[0140] Receiving prescriptions from the customer management system: receiving prescriptions transmitted from the customer management system (external interface and external communication protocol); providing external call services through the HTTP protocol, using the POST method to transmit prescription data in JSON format; when a new prescription arrives, if a prescription with the same number already exists in the system and is on hold, it will be automatically deleted from the hold.
[0141] 2. Receiving manually entered prescriptions:
[0142] The system provides a manual prescription entry function. Pharmacy staff can enter prescriptions that need to be picked up immediately on the computer of the intelligent Chinese medicine cabinet system. It supports the selection of herbal medicine slices by pinyin initials. Manually entered prescriptions also need to be reviewed and confirmed before proceeding to the next step.
[0143] 3. Prescription queue management:
[0144] Prescriptions are automatically arranged in the order of numbers; qualified prescriptions can be placed at the top or bottom; qualified prescriptions can be moved up or down one item; placing a prescription at the top or moving it up or down does not change the prescription number. The prescription queue service is the provider of the system log, which will record every change in the prescription queue in detail.
[0145] 3. Prescription breakdown:
[0146] 1. Basis for prescription decomposition:
[0147] 1.1. Determination of lack of medicine: After identifying the prescription, the smart Chinese medicine cabinet system must first determine whether all the medicinal materials in the prescription are in the system. If some medicinal materials are not available, the information must be pushed to the external system immediately. At the same time, the smart Chinese medicine cabinet system will mark in the prescription which medicinal materials have not been picked up due to lack of medicine.
[0148] 1.2. Determination of decoction method: After identifying the prescription, the intelligent Chinese medicine cabinet system needs to determine the decoction method of the prescribed medicinal materials and mark the medicinal materials with special requirements for decoction, such as: decoction first (shells, crustaceans, fossils, minerals, nourishing and tonic types, weak toxic types (such as raw pinellia, asarum, etc.), decoction later (aromatic and dispersing medicinal materials), decoction in packages (seeds), decoction separately (ginseng, etc.), melting (donkey-hide gelatin, deer glue, tortoise shell glue and Glauber's salt, etc.) and powdering and mixing (Panax notoginseng, Fritillaria cirrhosa, cinnabar, amber, antelope horn, etc.).
[0149] 1.3. Determination of the properties of medicinal materials:
[0150] In order to meet the needs of the unit medicine cabinet discharging mechanism, some medicinal pieces need to be broken into small pieces, that is, some medicinal pieces are broken into small pieces before entering the cabinet and then added to the unit medicine cabinet, or the medicinal pieces are broken into small pieces and discharged through the discharging mechanism of the unit medicine cabinet after being added to the unit medicine cabinet. However, the properties of the medicinal pieces after being broken into small pieces are different from those stipulated in the pharmacopoeia, which is easy to cause unnecessary trouble and disputes. In order to solve this problem, combined with the relevant requirements of the "Specifications for Chinese Medicine Prescriptions and Adjustments", "breaking into small pieces" is regarded as a kind of "crushing" in the processing method, and the word "crushing" is marked in the upper right corner bracket of the name of the medicinal piece in the formal prescription, such as: "Stir-fried Atractylodes (crushed)", which meets the requirements. At the same time, after the medicinal pieces are broken into small pieces, the volume of a single medicinal piece becomes smaller, which is also more conducive to the efficacy of the medicinal pieces when they are decocted. This requires that the names of medicinal materials in the user management system are consistent with the names of medicinal materials in our system, and that all names of medicinal materials that need to be crushed are marked as "crushed". The two systems are fully compatible in the names of medicinal materials, so that our system can avoid modifying the labels, thereby avoiding the suspicion of "unauthorized modification of the doctor's prescription."
[0151] 2. Prescription breakdown:
[0152] Prescription breakdown type:
[0153] Prescription medicinal materials are divided into missing medicines and systemic medicines.
[0154] Missing medicines: These are the medicinal materials that are not available in the smart Chinese medicine cabinet system. They are generally self-prepared medicines (medicines prepared by patients themselves, such as garlic, ginger, etc.), special-controlled medicines (medicines directly dispensed in fixed quantities from the warehouse, such as musk, arsenic, etc.), regularly controlled medicines (precious medicinal materials, poisonous medicinal materials, medicinal materials with a relatively light texture, strip-shaped medicinal materials (such as centipedes, seahorses, etc.), liquid medicinal materials, gelatinous medicinal materials, etc.) and temporarily controlled medicines (medicinal materials that cannot be dispensed by the smart Chinese medicine cabinet system in a short period of time due to a malfunction of the smart Chinese medicine cabinet and need to be repaired).
[0155] System medicine: medicine in the smart Chinese medicine cabinet. System medicine is decomposed into multiple prescription lists according to the different decoction methods of medicinal materials, such as first decoction, later decoction, package decoction, separate decoction, melting, powder and administration. The smart Chinese medicine cabinet system picks up medicinal materials according to the decomposition prescription list.
[0156] The content of "Decomposing Prescription Drug List" is as follows:
[0157] The format of the decomposed prescription drug list is consistent with the relevant provisions of "I. Prescription Management: 1. Prescription Format" in this chapter. The smart Chinese medicine cabinet system assigns a prescription number such as [20210512-123 1 / 3-1 / 2(6)] (Prescription number description: 20210512 refers to the prescription time: May 12, 2021, -123 refers to the number of prescriptions today, 1 / 3 refers to the first dose of a total of 3 doses, -1 / 2 refers to the first of the two decomposed prescription drug lists for this 1 dose, and (6) means that this prescription has a total of 6 decomposed prescription drug lists.) The sequence number of the decomposed prescription drug list is noted in the lower right corner: 6-1, 6-2, 6-3, 6-4, 6-5, 6-6.
[0158] The decomposed prescription drug list must contain a detailed list of medicinal materials and the total prescription dosage of all the medicinal materials and preparations on the decomposed prescription drug list, so as to facilitate inspection and verification by drug testing personnel.
[0159] The "Decomposed Prescription Drug List" can be checked on the display screen of the smart Chinese medicine cabinet system and on the mobile app.
[0160] Prescription pre-decomposition: The intelligent Chinese medicine cabinet system receives queued prescriptions, and the system can pre-decompose the top 5 prescriptions in the queue. Prescription pre-decomposition can provide the prerequisite for system prescription pre-picking.
[0161] Prescription pre-pickup: It has the function of pre-dispatching one or more prescription decomposition medicine order tasks. The intelligent Chinese medicine cabinet system pre-pick up the medicinal materials according to the status of the medicine dispensing in each unit medicine cabinet, and immediately dispense the medicine when the prescription arrives. Consider the pre-pickup queue of 1-3 prescriptions, and the settings can be adjusted according to user requirements.
[0162] IV. Prescription Query:
[0163] 1. Query the prescription status in the prescription management function:
[0164] The total number and details of prescriptions received and entered on the day; the number and queue of prescriptions in real time; the number and queue of prescriptions that have been decomposed in real time;
[0165] 2. Statistics function: Send prescription statistics information to the statistics function.
[0166] Classification of medicinal pieces: Medicinal pieces are divided into missing medicines and system medicines. Missing medicines: These are medicinal pieces that are not available in the smart Chinese medicine cabinet system. They are generally self-prepared medicines (medicines prepared by patients themselves, such as garlic, ginger, etc.), special controlled medicines (medicines directly dispensed from the warehouse in fixed quantities, such as musk, arsenic, etc.), regular controlled medicines (precious medicinal pieces, poisonous medicinal pieces, medicinal pieces with a relatively light texture, strip-shaped medicinal pieces (such as centipedes, seahorses, etc.), liquid medicinal pieces, gelatinous medicinal pieces, etc.), low-frequency medicinal pieces (which are used less frequently, not once a day, and may even be used once every few days, but are indispensable conventional medicinal pieces) and temporarily controlled medicines (medicinal pieces that cannot be dispensed by the smart Chinese medicine cabinet system in a short period of time due to a malfunction of the smart Chinese medicine cabinet and need to be repaired). System medicines: medicinal pieces loaded into the smart Chinese medicine cabinet. The system medicine is decomposed into multiple prescription lists according to the different decoction methods of the medicinal materials, such as decocting first, decocting later, decocting in a package, decocting separately, melting, and powdering. The intelligent Chinese medicine cabinet system picks up the medicinal materials according to the decomposed prescription lists.
[0167] Management of medicinal material properties and matching of medicinal material pieces with unit medicine cabinets:
[0168] Management of properties of medicinal materials:
[0169] Management of properties of specially controlled drugs (marked with the letters TK): implemented in accordance with the pharmacopoeia and relevant regulations.
[0170] Management of properties of commonly used controlled drugs (marked with letters CK): implemented in accordance with the pharmacopoeia and relevant regulations.
[0171] Management of properties of systemic drugs (marked with the letter X):
[0172] ⑴. Systemic drugs that do not require crushing and pre-packaging shall be processed in accordance with the pharmacopoeia and relevant specifications;
[0173] ⑵、System drugs that need to be broken into small pieces: In order to meet the needs of the unit medicine cabinet discharging mechanism, some medicinal pieces need to be broken into small pieces, that is, some medicinal pieces are broken into small pieces before entering the cabinet and then added to the unit medicine cabinet, or the medicinal pieces are broken into small pieces and discharged through the discharging mechanism of the unit medicine cabinet after being added to the unit medicine cabinet. However, the properties of the medicinal pieces after being broken into small pieces are different from those stipulated in the pharmacopoeia, which is easy to cause unnecessary trouble and disputes. In order to solve this problem, combined with the relevant requirements of the "Specifications for Chinese Medicine Prescriptions and Adjustments", "breaking into small pieces" is regarded as a kind of "crushing" in the processing method, and the word "crushing" is marked in the upper right corner bracket of the name of the medicinal piece in the formal prescription, such as: "Stir-fried Atractylodes (crushed)", which meets the requirements. At the same time, after the medicinal pieces are broken into small pieces, the volume of a single medicinal piece becomes smaller, which is also more conducive to the efficacy of the medicinal pieces when they are decocted. This requires that the names of medicinal materials in the user management system are consistent with the names of medicinal materials in our system, and that all names of medicinal materials that need to be crushed are marked as "crushed". The two systems are fully compatible in the names of medicinal materials, so that our system can avoid modifying the labels, thereby avoiding the suspicion of "unauthorized modification of the doctor's prescription."
[0174] ⑶. Systemic drugs that require pre-packaging: follow the pharmacopoeia and related specifications.
[0175] Matching of medicinal materials and unit medicine cabinets:
[0176] ⑴. Classify according to the properties of medicinal materials, and medicinal materials with the same properties use the same discharging mechanism. (Note: We can use lowercase letters a, b, c to classify and represent the properties of medicinal materials.)
[0177] ⑵. The volume size or the amount of medicine loaded in the hopper of the same discharging mechanism is determined by the bulk density (stacking density) of the medicinal materials. The properties of the same type of medicinal materials can be associated with one or more unit medicine cabinet hopper types, and the unit medicine cabinet hopper types are configured in the main control system.
[0178] ⑶. When medicinal materials are put on the shelf, the system will identify whether the properties of the medicinal materials are consistent with the properties supported by the cabinet unit. If they are not consistent, the cabinet door cannot be opened.
[0179] ⑷、The equipment should provide the cabinet unit type parameters to the software for matching. The unit medicine cabinet type is mainly determined by the hopper type, medicine taking mechanism, and metering mechanism. This type needs to be designed and planned in advance and built into the system.
[0180] ⑸. Add, modify, and delete the types of properties of medicinal materials.
[0181] 2.3. Attribute management of medicinal material slices:
[0182] Main properties of medicinal material slices: name of medicinal material, name of slice, alias of slice, form of slice (one of powder, sand, granular, segment, block, sphere, spindle, sheet, filament, strip, ball, mesh, stamen, liquid, paste), standard density (g / ml), unit of measurement (one of gram, piece, strip), smell, meridian, processing method, toxicity, opposite, incompatible, fear, incompatibility of western medicine, dietary taboos, human body taboos, standard single dose range, standard single dose maximum dosage, decoction method, decoction time offset (Note: for example, if decocted first, the time offset means decocting first for n minutes; decocting later means decocting later for n minutes), pharmacopoeia usage, standard pretreatment type of slices when sold to customer units, and storage method.
[0183] The system automatically gives each type of medicinal material an internal unique number, which is stored in the smart Chinese medicine cabinet system. Only numbered medicinal materials that exist in the smart Chinese medicine cabinet system can be put on the shelf in the smart Chinese medicine cabinet system.
[0184] Medicinal material slice attribute number format: Medicinal material slice attribute number: CX12-a (Note: CX12 is the unique number of the system drug, -a refers to the medicinal material slice attribute number.)
[0185] Each intelligent Chinese medicine cabinet system needs to create a medicinal material attribute library.
[0186] 2.4. Increase or decrease of medicinal material slices:
[0187] Add new categories of medicinal materials: manually enter (or batch import) new medicinal materials, and the system will automatically give the medicinal materials a unique internal number (the number format is the same as Article 2.3.4).
[0188] Delete the category of herbal medicine pieces:
[0189] ①. Delete the medicinal materials and pieces. The deleted medicinal materials and pieces need to be removed from the shelves in advance (if they have been put on the shelves);
[0190] ②. Traverse all intelligent Chinese medicine cabinet systems, and the medicinal material does not exist in any unit medicine cabinet;
[0191] ③. After deleting a medicinal material slice, the number of the medicinal material slice will be deleted at the same time, while the numbers of other medicinal material slices will not be affected, that is, the numbers of other medicinal material slices will remain unchanged. If a new medicinal material slice needs to be numbered with this number, the system must record all historical information of the number in the notes.
[0192] 2.5. Importing medicinal materials into the management system of medical institutions:
[0193] When importing through Excel spreadsheet, the Excel format must meet the specified format.
[0194] Using the name of the medicinal material slices as the synchronization basis, the medicinal material slices newly added to this system in Excel are added to this system and a unique number is automatically generated.
[0195] If the medicinal materials in the Excel table are numbered, you need to list a separate system number column in the Excel table for comparison and easy query.
[0196] Intelligent Chinese medicine cabinet dosing management:
[0197] Medication application data flow: The unit medicine cabinet issues a medication application (the medication application includes a dosage reminder), and the warning light alarms → sends it to the smart Chinese medicine cabinet system → sends it to the medication guidance.
[0198] 2. Intelligent Chinese medicine cabinet dosing management:
[0199] 2.1. Dosing process:
[0200] Hold the employee's mobile terminal → scan the barcode of the medicine cabinet's dosing door → the corresponding medicine cabinet warning light flashes → open the medicine cabinet's dosing door → add medicine → the dosing staff enters the dosing amount on the mobile terminal and confirms → close the medicine cabinet's dosing door (the dosing door can only be closed after the dosing staff enters the dosing amount on the mobile terminal and confirms it). (Ensure the accuracy of dosing, and make sure that the cabinet is open only when the person is in place, reducing system downtime.)
[0201] When the unit medicine cabinet issues a dosing application, the quantity of medicine to be added must be sent. (Both software and equipment design must take into account that each dosing is done in multiples of 1 bag or 2 bags, so the volume design of the medicine cabinet unit hopper should be 1.2 times of 1 bag or 1.2 times of N bags plus 1 bag. When the remaining medicine in the unit hopper is less than 20% of a whole bag, the medicine cabinet unit will alarm to prompt the dosing. The purpose of this design is to facilitate the dosing of medicine in a whole bag. Here, it is required that when purchasing medicinal materials, the supplier must be required to customize the bagging according to the specified weight.)
[0202] 2.2. Management of remaining amount of medicinal materials in unit medicine cabinet:
[0203] 20% alarm remaining medicine quantity calculation: adopt software statistical calculation method, that is: remaining quantity = remaining quantity before adding medicine + added medicine quantity - N amount of medicine output. When the remaining quantity is less than or equal to 20% of the whole bag, an alarm will be triggered to notify the addition of medicine.
[0204] Remaining quantity monitoring: When designing the equipment, easily identifiable weight scale lines are set at 20% and below the weight of the whole bag of medicinal materials in the unit medicine cabinet. When adding medicine, the height difference between the scale lines and the remaining medicinal materials is checked from time to time to estimate the actual remaining quantity of the medicinal materials in the hopper. The estimated remaining quantity is compared with the remaining quantity displayed by the system. If the remaining quantity is seriously inconsistent, the warehouse manager who adds medicine should promptly issue a review request to apply to stop using the unit medicine cabinet to verify the reason.
[0205] Correction of residual error: Manually count and weigh the residual amount of medicinal materials in the medicine cabinet on a monthly or quarterly basis, compare and verify with the residual amount displayed by the system, and correct the residual error.
[0206] 1. When adding medicines from different batches, the cabinet must be cleared: When adding medicines to the intelligent Chinese medicine cabinet, after manual comparison, it is found that the last medicine slices and the medicine slices added this time are from different batches. Then click "Batch does not match" on the mobile terminal interface. The mobile terminal interface will display a related prompt of "Clear cabinet" and provide two selection buttons of "Clear cabinet and add medicine" or "Terminate adding medicine". If you choose "Clear cabinet and add medicine", it means that the hopper balance is cleared or the remaining medicine slices are discarded, and then the cabinet is opened, the cabinet is cleared, and the medicine is added. If you choose "Cancel adding medicine", the cabinet will not be opened and the adding operation will be canceled.
[0207] (If the medicine is continuously discharged, a medicine shortage alarm may occur. Fault 1: The system shows that there is medicine, the discharging mechanism continues to operate, but the metering mechanism cannot measure the amount; 2: The system shows that there is no medicine, but there is actually medicine. Handle it according to the fault.)
[0208] 2. Clearing management of infrequently used medicinal pieces: Infrequently used medicinal pieces may not be refilled for a long time after being added once, with a long interval in between, and are prone to insect infestation. For this type of medicinal piece, if no medication is added or updated within the specified time (this time is set by the user), the system will prompt you to clear the cabinet.
[0209] The structure of the intelligent Chinese medicine cabinet system consists of a cabinet rack, multiple unit medicine cabinets, blanking equipment (conveyor belt, blanking string barrel), communication cables and bridges, power cables and bridges and other related equipment.
[0210] Configure cabinet columns: configure the cabinet columns that have been added successfully; configure the associated positioning points and their numbers. When associating positioning points, the hardware number of the positioning points must be specified; configure the medicine cabinet of the specified unit.
[0211] Configure the cabinet unit:
[0212] For a unit on the specified cabinet column, specify its unit number, packaging device type, discharge mechanism number and type, and scale type; a unit medicine cabinet can be configured with 1 to 3 hoppers (including discharge mechanism); the unit medicine cabinet must specify the type of medicinal material slices; the cabinet body of the unit medicine cabinet must have a unique number and barcode during production, and the barcode is made into an indelible permanent barcode and installed on the cabinet body. When installing and configuring the unit medicine cabinet, the intelligent Chinese medicine cabinet system must collect and enter the barcode information and bind it to the hardware barcode. During use, the barcode is the only basis for scanning the code to open the cabinet (opening the medicine cabinet door and the cabinet door). The hardware of the unit medicine cabinet control board needs to have its own unique number, which is used for system communication. When configuring the unit medicine cabinet, the control board actively goes online to report the system hardware number. The cabinet number must be re-bound when the control board is replaced. Multiple hoppers use multiple numbers. When one of the multiple hoppers fails, all hoppers must report the failure.
[0213] Cabinet unit unlocking: receiving the unlocking request sent by the mobile app system and opening the dosing door; receiving the unlocking request sent by the mobile app system and opening the cabinet door.
[0214] Operation and management of intelligent Chinese medicine cabinet system:
[0215] The drug dispensing process mainly based on barrel chaining: the operator clicks on the computer or mobile terminal to issue a drug picking instruction → the unit medicine cabinet that needs to be dispensed dispenses the medicine → the dispensed medicinal materials and slices are collected on the conveyor belt at the bottom through barrel chaining → the conveyor belt transports the medicinal materials and slices to the discharging port and enters the medicine storage frame to complete the drug dispensing.
[0216] The conveyor belt-based drug dispensing process: the operator clicks on the computer or mobile terminal to issue a drug picking instruction → the unit medicine cabinet that needs to be dispensed dispenses the medicine → the dispensed medicinal materials are gathered on the conveyor belt → the conveyor belt transports the medicinal materials to the discharging port, and enters the medicine storage frame through the barrel string to complete the drug dispensing.
[0217] Pre-picking of medicines in unit medicine cabinets: Considering the pre-picking queue of 1-3 prescriptions, the settings can be adjusted according to user requirements. The intelligent Chinese medicine cabinet system is designed to run up to 100 medicine cabinets at the same time.
[0218] Each unit medicine cabinet must have a separate control panel. The cabinet row control panel can control no more than 20 unit medicine cabinets. The cabinet row control panel is interfaced with the main control system.
[0219] Unit medicine cabinets can be divided into two types according to the number of hoppers in the cabinet: single-hopper unit medicine cabinets and multi-hopper unit medicine cabinets:
[0220] The single-hopper unit medicine cabinet has only one feed port, one hopper, one discharge mechanism and one set of metering mechanism, which has the characteristics of single discharge and simple discharge control;
[0221] The multi-hopper unit medicine cabinet has two or more feed ports, two or more hoppers and two or more discharge mechanisms, but shares a set of metering and discharge mechanisms.
[0222] Multi-hopper unit medicine cabinets are generally used to store the same kind of medicinal materials with different preparation methods, such as: Qing Banxia, Jiang Banxia, French Banxia, Sheng Banxia; and: Fried Atractylodes, Sheng Atractylodes, etc., and have the characteristics of complex discharge control.
[0223] The multi-hopper can also be used in pre-filled bag unit medicine cabinets such as 125 or 510.
[0224] Software programs, hardware design and hardware programming all need to be designed in a targeted manner to meet the respective discharge requirements of single-hopper unit medicine cabinets and multi-hopper unit medicine cabinets to meet the operation of the overall medicine cabinet.
[0225] Error management of drug dispensing from unit medicine cabinets: The measurement error of single medicines should be controlled within ±0.2g, and the measurement error of total prescription weight should be controlled within 2-3%.
[0226] The drug discharging error setting must be controlled within 0.2 grams. When setting the weighing, the lower limit should be set at 0.2 grams less than the accrued weight of the medicine. The drug discharging error upper limit should not be set. If the upper limit must be set, it should be set according to the total weight of the accrued weight of the medicine plus the maximum weight of a single pill of the medicine. Even if the drug discharging amount of the hopper is greater than the upper limit of the drug discharging error, the medicinal materials must be discharged, and the system will alarm to prompt the operator to handle it.
[0227] The mobile app always keeps the status of the smart Chinese medicine cabinet system synchronized through WebSocket technology;
[0228] Query and obtain all cabinets of the specified main control system; display the cabinets in a vivid graphical way; the cabinets are arranged from left to right, and the cabinets are displayed in a new line if they exceed the interface boundary.
[0229] Cabinet unit display: Each cabinet row in the diagram is displayed as consisting of multiple cabinet units; if a cabinet unit contains multiple hoppers, multiple hoppers are displayed accordingly in the cabinet unit diagram.
[0230] Cabinet unit monitoring: monitor the real-time status and actions of the cabinet unit; real-time status includes: waiting, working, cabinet unit dosing door or cabinet door opened; real-time actions include: taking materials, packaging, dumping. Realize real-time monitoring of the remaining amount of medicinal materials in the medicine cabinet on the mobile terminal.
[0231] Fault display: Graphical alarm for unit medicine cabinet fault; Graphical alarm for cabinet group fault.
[0232] View pending prescriptions: View the decomposition status of prescriptions; prescriptions are displayed in list form; a button is provided behind the pending prescriptions to view the prescription details. Adjust prescription priority:
[0233] A "Pin to Top" button is provided behind each item in the list of prescriptions to be processed, which can be set as the first prescription to be processed in the list with one click.
[0234] A matrix list of all unit medicine cabinets is created on the display interface of the mobile terminal app. Each grid in the table corresponds to a unit medicine cabinet. The unit medicine cabinets that need to be added are displayed in the list through real-time monitoring of the remaining amount of medicinal materials in the medicine cabinet. The table uses yellow and red double-color indicators to show the urgency of adding medicine. Yellow means that the unit medicine cabinet corresponding to the grid is in the state of waiting for medicine addition, and red means that the unit medicine cabinet corresponding to the grid must be added immediately. After the addition of medicine, the indicator color of the grid returns to normal color. Click on each grid to pop up the unit medicine cabinet code of the grid, the number of cabinet columns and layers of the unit medicine cabinet, and the name and quantity of the medicinal materials that need to be added to the unit medicine cabinet, so as to facilitate the warehouse management personnel to find and check.
[0235] The mobile terminal should have the functions of scanning and taking pictures, and can scan the code to open the hopper door of the unit medicine cabinet or open the door of the unit medicine cabinet or take out the unit medicine cabinet when a fault occurs;
[0236] If the system determines that drug addition is allowed, the UI interface will be locked and display "Waiting for cabinet opening";
[0237] Wait for the system to open the cabinet. After opening the cabinet, the UI interface is still locked and displays "Cabinet Opened";
[0238] After manual dosing, the UI interface remains locked until the dosing quantity is entered on the mobile terminal and confirmation is clicked before the dosing door of the unit medicine cabinet can be closed.
[0239] System status when unit medicine cabinet fails:
[0240] In the unit medicine cabinet matrix list on the mobile terminal app display interface, the corresponding table column displays the word "fault", indicating that the unit medicine cabinet is dead and waiting to be checked;
[0241] The smart Chinese medicine cabinet system will disable this unit medicine cabinet;
[0242] Subsequent affected prescriptions will not be able to pick up this medicinal material.
[0243] The power distribution cabinet consists of: main circuit breaker, leakage protection, circuit breakers for each subsystem, and grounding protection. 2KW switching power supply, 220V-24V, one switching power supply can manage 50 unit medicine cabinets.
[0244] Smart Chinese medicine cabinet system hardware composition:
[0245]
[0246] AC+AP builds WiFi coverage. Depending on the scale of the system, the number and location of APs can be adjusted on site. Wifi roaming needs to be supported in the end. Low-voltage wiring, network wiring, and control wiring should consider high- and low-voltage separation and interference isolation at the beginning of the design. A large monitor is required.
[0247] The unit medicine cabinet must have a non-wearable barcode when it leaves the factory. The unit medicine cabinet is equipped with red, yellow and green warning lights. The green light indicates that the medicine is sufficient; the yellow light indicates that the medicine is less than 20% and needs to be added; the red light indicates that the medicine is less than 10% and it is urgent to add medicine. After the addition is completed and confirmed, the warning light returns to green. The names of the medicinal materials are in the form of labels.
[0248] Unit medicine cabinet control panel hardware circuit configuration (including multi-hopper drive):
[0249]
[0250]
[0251] The drug dispensing process controlled by the unit medicine cabinet control panel driver:
[0252] The unit medicine cabinet receives the medicine picking instruction sent by the intelligent Chinese medicine cabinet system, and the unit medicine cabinet control board starts to control the operation of the medicine taking motor; the metering scale starts to continuously record the metering data as the medicinal materials enter and sends the metering data to the unit medicine cabinet control board (if the metering scale cannot record the metering data within the specified time as the medicine taking motor runs or the metering data does not change within the specified time, the unit medicine cabinet control board determines that the hopper discharge failure is detected and detects whether the medicine taking motor is blocked. If so, the unit medicine cabinet control board controls the medicine taking motor to reverse and try again; if not, The medicine dispensing motor is judged to be abnormal and a fault alarm is processed.); When the unit medicine cabinet control board senses that the taken-out medicinal material pieces have not reached the set value (the general set value is: the weight of the taken-out medicinal material pieces reaches 10% of the command weight or the remaining untaken weight is only 3 grams), the unit medicine cabinet control board controls the medicine dispensing motor to continue dispensing medicine until it reaches the set value; when the unit medicine cabinet control board senses that the taken-out weight of the medicinal material pieces has reached or exceeded the set value, the unit medicine cabinet control board controls the medicine dispensing motor to jog medicine. When the unit medicine cabinet control board senses that the taken-out weight has not reached the command weight, the medicine dispensing motor is jogged. When the weight difference is reached, the unit medicine cabinet control board controls the motor to continue to jog the medicine until it reaches or exceeds the error value of the command weight, and the medicine taking motor stops; the unit medicine cabinet control board receives the final weighing data sent by the metering scale, and the final weighing data is within the error range, waiting for the transport trolley to reach the medicine delivery (if the final weighing data is abnormal, a fault alarm is processed and the unit medicine cabinet is stopped); when the transport trolley arrives, the weighing pan push medicine delivery device starts to push and dump the medicine (if the weighing pan push medicine delivery device times out and fails to complete the pushing and dumping actions, the unit medicine cabinet control board Initiate a retry. If the retry fails, it is determined that the weighing pan push medicine dispensing device is abnormal and an alarm is processed; if the retry succeeds, continue to the next step.); The weighing pan push medicine dispensing device must stop the action after the medicine is pushed into place, and start the reset action after a certain delay until the reset is completed (if the weighing pan push medicine dispensing device times out and fails to complete the reset action, the unit medicine cabinet control board initiates a retry. If the retry fails, it is determined that the weighing pan push medicine dispensing device is abnormal and an alarm is processed; if the retry succeeds, continue to the next step.); At this point, the unit medicine cabinet completes a medicine dispensing process.
[0253] Unit medicine cabinet control panel software functions:
[0254]
[0255]
[0256] Unit medicine cabinet troubleshooting:
[0257]
[0258]
[0259] The measurement error of a single herb should be controlled within ±0.2g, and the measurement error of the total prescription weight should be controlled within 2-3%.
[0260] Medicine dispensing error setting: The error must be controlled within 0.2 grams. When setting the weighing, the lower limit shall be set at 0.2 grams less than the accrued weight of the medicine. The upper limit of medicine dispensing error shall not be set. If the upper limit must be set, it shall be set according to the total weight of the accrued weight of the medicine and the maximum weight of a single pill of the medicine. Even if the medicine dispensing amount of the hopper exceeds the upper limit of the medicine dispensing error, the medicinal materials must be discharged. The system will give an alarm prompt and the medicine tray will be handed over to the drug inspector for processing after leaving the medicine cabinet.
[0261] Basic requirements for column control panel:
[0262] The maximum interface capacity is within 20. When the number of unit bodies in a single row is less than 10, one control board controls two rows of cabinets; when the number of unit bodies in a single row is 10-20, one control board controls one row.
[0263] If the column control fails, the main control system should be shut down for maintenance.
[0264] All unit medicine cabinet control boards, column control boards, and system computing unit mainboards must use engineering control boards, and the components used must be industrial-grade components.
[0265] Column control board hardware circuit configuration:
[0266]
[0267] Column control panel software functions:
[0268]
[0269]
[0270] Dosing guidance function
[0271] Monitors and mobile terminal screens:
[0272] 1. List of medicine slices to be added: The display interface of the display and mobile terminal displays a list of medicine slices that need to be added. Each grid in the table corresponds to a unit medicine cabinet and the medicine slices loaded therein. The table uses green and red two-color indicators to indicate the urgency of adding medicine. Green means that the medicine corresponding to the grid has sufficient medicine, yellow means that the medicine corresponding to the grid is in a state of waiting for addition (the remaining amount of medicine slices in the medicine cabinet hopper is less than 20%), and red means that the medicine corresponding to the grid must be added immediately (the remaining amount of medicine slices in the medicine cabinet hopper is less than 10%). After the addition of medicine, the indicator color of the grid returns to normal color. Click on each grid, and the unit medicine cabinet number, the name of the medicine slice, and the amount of medicine to be added this time will pop up, so as to facilitate the search of the medicine adding personnel. After adding medicine, the amount of medicine to be added this time must be entered, and click to confirm before the unit medicine cabinet can be closed. After closing the unit medicine cabinet, the task of adding medicine is completed. The warning color of the corresponding grid returns to green.
[0273] 2. The mobile terminal receives and processes the information from the intelligent Chinese medicine cabinet system.
[0274] 3. Hardware composition: Shared equipment with the intelligent Chinese medicine cabinet system: computing unit, display, mouse, keyboard;
[0275] Separately configured device: mobile terminal.
[0276] Data that needs to be polled periodically for unit medicine cabinets
[0277]
[0278] A total of 12 bytes of data, plus 4 bytes of address, 2 bytes of message sequence number, 1 byte of message type, and 4 bytes of checksum, a total of 23 bytes. Calculated based on the host polling message of 10 bytes, considering 3 times the bus bandwidth, the required bandwidth is (10+23)*10*10*20*3=198kbps.
[0279] Data that does not require periodic polling (debugging data, calibration data, upgrade data) is generally performed when the equipment is idle, or only performed on a single-unit medicine cabinet. It has limited impact on the polling cycle and is not listed here.
[0280] Communication solution selection for unit medicine cabinet control board:
[0281] Column control board communication solution selection (between the intelligent Chinese medicine cabinet system computing unit and the cabinet column control board).
[0282] Consider 32 column control boards, each column control board is connected to 20 unit medicine cabinet control boards, data is updated 10 times per second, and the host polling message is calculated as 10 bytes. Considering 3 times the bandwidth, the total bandwidth required is ((23*20)+10)*32*10*10*3 / 1000 / 1000=4.512Mbps.
[0283] A switch star network bus structure is adopted.
[0284] The communication of the intelligent Chinese medicine cabinet subsystem adopts a combination of RS485 and Ethernet: RS485 is a bus-type host polling system; Ethernet is a switch star network bus structure.
[0285] Circuit design: The mains is connected to a 380V three-phase five-wire power supply, with a single-phase voltage of 220V;
[0286] The smart Chinese medicine cabinet converts 220V AC into 24-32V DC. All electrical equipment in the smart Chinese medicine cabinet uses 24V DC voltage appliances, and all motors (including stepper motors) use DC brushless motors.
[0287] The power line between the user's power distribution cabinet and the power switch cabinet: The design limit of the intelligent Chinese medicine cabinet system is that up to 100 medicine cabinets can be operated simultaneously. The average maximum power of the unit medicine cabinets cut in the cabinet is 680W, accounting for about 30% of the total number of unit medicine cabinets. The average maximum power of other unit medicine cabinets is 45W, accounting for about 70% of the total number of unit medicine cabinets. The total maximum operating power is 23550W. The maximum operating power of the rail trolley system is 1500W, the estimated operating power of the drug shortage replenishment subsystem is 300W, the estimated operating power of the drug inspection subsystem is 300W, and the estimated operating power of the prescription and drug delivery system is 600W. The total maximum operating power is 26250W. The three-phase five-wire wiring system is adopted, the three-phase voltage is 380V, the operating current is 120A, and refer to the "Common Wire Current Carrying Capacity and Load Power Comparison Table", and select 35mm according to the maximum converted load. 2 The copper core wire can be used. According to the maximum converted current, 35mm 2 The copper core wire should be selected with the largest wire diameter, so the single core wire diameter is 35mm. 2 Copper core wire.
[0288] The cabinet rack adopts an assembled design. The power line and communication line are pre-laid and hidden in the columns of the cabinet rack during production. A joint is set at the connection between the upper part and the main line, and a joint is set at the connection between the middle and each unit medicine cabinet to facilitate the connection with the line and the unit medicine cabinet. All lines are sealed with rubber threading rings at the column to prevent rodents and insects from entering the column and chewing the pipeline. The cabinet rack and the unit medicine cabinet are connected and positioned by a slot, which is convenient for disassembly and installation. The cabinet rack and the string tube adopt a detachable assembly design. On the cabinet rack, each unit is an independent, dense, detachable and replaceable individual. The lowest layer height on the front of the cabinet rack is designed to be 15mm~200mm, which is used to adapt to the ground height difference and meet the running height of the rail and the carrier. The wiring bridge frame and the column control panel frame of the power line and communication line are installed on the top of the cabinet rack. The design requires that the bridge frame, cables and column control panels are easy to install and remove. A row of cabinet racks is composed of two groups of single medicine cabinet racks on the left and right, which can be installed with two groups of unit medicine cabinets. The middle bottom is a track trolley channel, and the upper part is installed with a string tube. A row of intelligent Chinese medicine cabinets is composed of multiple columns of unit medicine cabinet racks. The height of the cabinet row is designed according to the height size of the unit medicine cabinet. According to the general building height size, 4-10 layers of unit medicine cabinets can be installed. The number of cabinet columns is arranged according to user needs, and it can be quickly increased when the number of cabinet columns needs to be increased.
[0289] The unit medicine cabinet consists of: a cabinet box, a hopper, a material-taking mechanical device, a metering, pushing and flipping device, a cabinet front door, a dosing door, a rear door device, a metering and calibration device, and a control panel box. The cabinet front door and the dosing door are equipped with electromagnetic elastic locks with manual forced unlocking devices, and each device is equipped with electric facilities such as motors of different models.
[0290] Cabinet: The cabinet is the outer shell of the unit medicine cabinet, which almost incorporates the hopper, material taking mechanism, metering push and flip device, cabinet front door, dosing door, rear door device, metering calibration device, and control panel box into the cabinet to form an independently operated module.
[0291] Hopper: The hopper is connected to the unit medicine cabinet and is the place where the unit medicine cabinet contains medicinal materials and occupies the largest volume in the cabinet. The design of the hopper must take into account the properties, bulk density and the material receiving port form of the discharging mechanism; the hopper type is divided into straight hopper type, arc hopper type, single hopper type and multi-hopper type;
[0292] Medicine dispensing error setting: The error must be controlled within 0.2 grams. When setting the weighing, the lower limit shall be set at 0.2 grams less than the calculated weight of the medicine. The upper limit of medicine dispensing error shall not be set. If the upper limit must be set, it shall be set according to the total weight of the medicine to be measured plus the maximum weight of a single pill of the medicine. Even if the medicine dispensing amount from the hopper exceeds the upper limit of the medicine dispensing error, the medicinal materials must be discharged. The system will give an alarm prompt and the medicine tray will be handed over to the drug inspection station for processing after leaving the medicine cabinet.
[0293] String tube classification:
[0294] Combination string tube: According to the number of groups and columns of the receiving unit medicine cabinet, it is divided into three types: single group string tube, single column string tube (2 in 1) and double column string tube (4 in 1):
[0295] Single set of string barrels: A single set of string barrels can receive the medicinal pieces of a single set of unit medicine cabinets or the medicinal pieces of the layered conveyor belt of the intelligent Chinese medicine cabinet. The receiving port corresponds to the discharge port or conveyor belt of the unit medicine cabinet on each layer, and it is easy to configure a dust collection device.
[0296] Single-row string barrel: The single-row string barrel receives the medicinal materials from two groups of one-row unit medicine cabinets. There are two opposite material receiving ports on the same layer, which can receive the output of two unit medicine cabinets on the same layer at the same time.
[0297] Double-row string barrel: The double-row string barrel receives medicines from four groups of two-row unit medicine cabinets. There are four opposite material receiving ports on the same layer, which can simultaneously receive the discharge of four unit medicine cabinets on the same layer.
[0298] The invention can be used for the adjustment of all bulk Chinese herbal medicine pieces, can be used for the mixed adjustment of bulk and bagged Chinese herbal medicine pieces, and can also be used for the adjustment of all bagged Chinese herbal medicine pieces.
[0299] The invention is applicable to the following Chinese herbal medicine pieces: bulk Chinese herbal medicine pieces and bagged Chinese herbal medicine pieces, decoction-free granule preparations and liquid Chinese herbal medicine preparations.
Claims
1. An intelligent Chinese medicine cabinet system, characterized in that: It is mainly composed of external system, medicinal material slice management system, prescription management and dispatching system, dosing management system, intelligent Chinese medicine cabinet management system, barcode and QR code management system, user and user authority management system, data statistics system, fault alarm repair and measurement correction system, mobile terminal, i.e. mobile phone, and intelligent Chinese medicine cabinet main control system; among them, the external system PC and medicinal material slice management system PC, prescription management and dispatching system PC, dosing management system PC, intelligent Chinese medicine cabinet management system PC, barcode and QR code management system PC, user and user authority management system PC, data statistics system PC, fault alarm repair and measurement correction system PC, and mobile terminal are respectively connected to the intelligent Chinese medicine cabinet management system PC; The intelligent Chinese medicine cabinet management system PC communicates with the MCU of (1 to n) cabinet row control boards using a switch star network bus structure, and the MCU of each cabinet row control board communicates with the MCU of (1 to n) unit medicine cabinet control boards using RS485 bus type and host polling system; The MCU of the unit medicine cabinet control board receives one or more current sampling signals from 4-channel brushless motor control circuits, barrel discharge electromagnetic door drive circuit, weighing plate flip motor drive circuit, medicine outlet electromagnetic door drive circuit, reserved brushless motor control circuit, reserved electromagnet drive circuit and medicine adding door electromagnetic lock drive circuit, and receives 16-channel switch output signals and weighing sampling circuit signals.
2. The intelligent Chinese medicine cabinet system according to claim 1 is characterized in that: It also has a medicinal material slice management module: manage the names and aliases of medicinal materials; assign a specific system number to each medicinal material and slice; manage the bulk density of medicinal material slices; manage the form of medicinal material slices, such as powder, flake, spherical, columnar, strip, flocculent, etc.; manage the packaging form of medicinal material slices, such as bulk, bagged, etc.; manage the classification types of medicinal material slices in the system, such as commonly used system slices, low-frequency system slices, self-prepared medicines, special controlled medicines, regular controlled medicines, and temporary controlled medicines; manage the decoction methods of medicinal material slices; manage the incompatibility taboos of medicinal material slices; manage the toxicity of medicinal material slices; manage the standardized dosage of medicinal material slices; manage the entry, increase, decrease, and deletion of medicinal material slices; can query all medicinal material slices; system medicinal material slices temporary shortage management; operation and login management of medicinal material slice managers; Prescription management and decomposition module:
1. Prescription management: Prescription content: The prescription content consists of three parts: ① Preface: including prescription barcode or QR code, name of medical, preventive, and health care institutions, prescription number, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, and items required by specialists can be added; ② Body: marked with Rp or R, prescriptions for Chinese patent medicines should list the name, specification, quantity, usage and dosage of the medicines; prescriptions for Chinese herbal medicine slices should list the name, quantity, decoction method, and usage and dosage of the medicine slices; ③ Postscript: Physician signature and / or special seal, drug amount, and signature of pharmaceutical professionals who review, dispense, check, and dispense the medicines; Prescription writing principles: (1) The general items of the patient recorded in the prescription should be clear and complete, and consistent with the medical record; (2) Each prescription is limited to the medication of one patient; (3) The handwriting of the prescription should be clear and not be altered; if there is any modification, it must be signed and the modification date must be noted; (4) Prescriptions must be written in standard Chinese or English; Chinese is limited to the simplified characters announced by the State Council in the "General List of Simplified Characters" on October 15, 1986, and no different characters should be created; Latin names of drugs cannot be used, but Latin abbreviations can be used for usage and dosage; (5) Medical, preventive, health care institutions or doctors and pharmacists shall not compile drug abbreviations or use codes on their own; the drug name, dosage, specification, usage and dosage must be written accurately and in a standard manner; The prescription format transmitted from the external system must match the prescription format that the intelligent Chinese medicine cabinet system can recognize. If it cannot be recognized, it needs to be converted and processed when building the communication protocol; Prescriptions transmitted from external systems and entered into internal systems must clearly indicate the decoction method of the medicinal materials, which will be used as the basis for prescription decomposition. If there is no indication, it will be regarded as conventional decoction and no decomposition will be performed. Receive prescriptions transmitted from the customer management system through external interfaces and external communication protocols, receive manually entered prescriptions, and automatically arrange prescriptions in the order of numbers; prescriptions that meet the conditions can be placed at the top or at the bottom; prescriptions that meet the conditions can be moved up or down one item; placing a prescription at the top or moving it up or down does not change the prescription number; 2. Prescription breakdown: Prescription breakdown basis: Determination of medicine shortage: After identifying the prescription, the smart Chinese medicine cabinet system must first determine whether all the medicinal materials in the prescription are in the system. If some medicinal materials are not available, the information must be pushed to the external system immediately. At the same time, the smart Chinese medicine cabinet system will mark in the prescription which medicinal materials have not been picked up due to shortage. Determination of decoction method: After identifying the prescription, the intelligent Chinese medicine cabinet system needs to determine the decoction method of the prescribed medicinal materials, and mark the medicinal materials with special requirements for decoction methods, such as: first decoction (shells, shells, fossils, minerals, nourishing and tonic, weak toxic (such as raw pinellia, asarum, etc.), post-decoction (aromatic, dispersing drugs), package decoction (seeds), separate decoction (ginseng, etc.), melt (donkey-hide gelatin, deer glue, tortoise shell glue and mirabilite, etc.) and separate powder for administration (Panzhen, Fritillaria cirrhosa, cinnabar, amber, antelope horn, rhino horn, etc.); Determination of the properties of medicinal materials: In order to meet the needs of the unit cabinet discharging mechanism, some medicinal materials need to be broken into small pieces, that is, some medicinal materials are broken into small pieces before entering the cabinet and then added to the unit cabinet, or they are broken into small pieces and discharged through the unit cabinet discharging mechanism after the medicinal materials are added to the unit cabinet; "breaking into small pieces" is regarded as a kind of "crushing" in the processing method, and the word "crushing" is marked in the brackets in the upper right corner of the medicinal material name in the formal prescription; Prescription Breakdown: Prescription decomposition type: the prescription medicinal materials are divided into missing drugs and systemic drugs; Missing medicine: refers to the medicinal materials that are not available in the intelligent Chinese medicine cabinet system, which are generally self-prepared medicines, that is, medicines prepared by patients themselves, special controlled medicines, that is, medicines directly sent from the warehouse to the medicine replenishment table in fixed quantities, regular controlled medicines, that is, precious medicinal materials, poisonous medicinal materials, medicinal materials with relatively light texture, strip-packed medicinal materials (such as centipedes, seahorses, etc.), liquid medicinal materials, gel-state medicinal materials and temporary controlled medicines, that is, medicinal materials that cannot be dispensed by the medicine cabinet system in a short period of time due to a malfunction of the intelligent medicine cabinet and need to be repaired; System medicine: medicine in the smart medicine cabinet; system medicine is decomposed into multiple decomposition prescriptions according to different decoction methods such as first decoction, later decoction, package decoction, separate decoction, melting, powder and administration, etc. The smart Chinese medicine cabinet system picks up the medicinal materials according to the decomposition prescriptions; The content of "Decomposition of Prescription Drug List": The format of the decomposed prescription drug list is consistent with the above-mentioned prescription format regulations. The smart Chinese medicine cabinet system assigns a prescription number such as [20210512-123 1 / 3-1 / 2(6)]. Prescription number description: 20210512 refers to the prescription time: May 12, 2021, -123 refers to the number of prescriptions today, 1 / 3 refers to the first dose of a total of 3 doses, -1 / 2 refers to the first of the two decomposed prescription drug lists for this 1 dose, (6) means that this prescription has a total of 6 drug lists, and the decomposed prescription order number is noted in the lower right corner: 6-1, 6-2, 6-3, 6-4, 6-5, 6-6; Prescription pre-decomposition: The intelligent Chinese medicine cabinet system receives queued prescriptions, and the system can pre-decompose the top 5 prescriptions in the queue. Prescription pre-decomposition can provide the prerequisite for system prescription pre-pickup; Prescription pre-pickup: It has the function of pre-dispatching one or more prescription decomposition medicine order tasks; the intelligent Chinese medicine cabinet system pre-pick up the medicinal materials according to the status of the medicine dispensing in each unit medicine cabinet, and immediately dispense the medicine when the prescription arrives; consider the pre-pickup queue of 1-3 prescriptions, and the settings can be adjusted according to user requirements; Query the prescription status in the prescription management module: the total number and details of prescriptions received and entered on the day; the number and queue of prescriptions in real time; the number and queue of prescriptions decomposed in real time; Send prescription statistics information to the data statistics module; Dosing management module: when the remaining amount in the unit medicine cabinet is less than or equal to 20% of the whole bag, an alarm will be sounded to notify the dosing. The calculation of the remaining amount of medicine in the 20% alarm is: the software statistical calculation method is used, that is, the remaining amount = the remaining amount before dosing + the amount of medicine added - the amount of medicine output; Dosing process: hold the employee's mobile terminal → scan the barcode of the dosing door of the unit medicine cabinet → the corresponding medicine cabinet warning light flashes → open the dosing door of the unit medicine cabinet → add medicine → the dosing staff enters the amount of medicine added on the mobile terminal and confirms → close the dosing door of the unit medicine cabinet; different batches of medicinal materials must be cleared when adding medicine; infrequently used medicinal materials will not be added for a long time after adding medicine once, and the interval in between is long. When the prescribed time is exceeded without adding medicine to update the medicinal materials, the system must prompt to clear the cabinet; send the data information of the amount of medicine added and the amount of medicine output to the data statistics module; Intelligent Chinese medicine cabinet management module: configure the cabinet columns that have been successfully added, configure the associated positioning points and their numbers. When associating positioning points, the hardware number of the positioning points must be assigned; For a unit medicine cabinet on a specified cabinet row, specify its unit number, barcode or QR code, packaging device type, discharge mechanism number and type, and scale type; A unit medicine cabinet can be equipped with 1 to 3 hoppers (including discharge mechanism); The unit medicine cabinet must specify the type of medicinal material pieces; The unit medicine cabinet control panel is provided with red, yellow and green color-changing warning lights as an alarm function. The green light indicates that the medicine is sufficient, the yellow light indicates that the medicine is insufficient, that is, the remaining amount of medicinal materials in the medicine cabinet hopper is less than 20%, and the red light indicates that the medicine must be added immediately, that is, the remaining amount of medicinal materials in the medicine cabinet hopper is less than 10%; The process of discharging medicine mainly by barrel chaining: the operator clicks on the computer or mobile terminal to issue a medicine picking instruction → the medicine is discharged from the medicine cabinet → the discharged medicinal materials are collected on the conveyor belt at the bottom through barrel chaining → the conveyor belt transports the medicinal materials to the discharge port and enters the medicine storage frame to complete the discharging of medicine; The conveyor-based drug dispensing process: the operator clicks on the computer or mobile terminal to issue a drug picking instruction → the unit medicine cabinet that needs to be dispensed dispenses the drugs → the dispensed medicinal materials are collected on the conveyor belt → the conveyor belt transports the medicinal materials to the dispensing port, and enters the drug storage frame through the barrel chain to complete the drug dispensing; Surplus management of spiral metering: Fine-grained medicinal pieces are discharged by spiral metering conveyors. The discharge quantity is calculated based on the cross-sectional area of the spiral shaft notch, the step size and number of steps of the stepper motor, and the bulk density of the medicinal pieces, i.e., the stacking density. Then, a statistical algorithm is used to calculate the surplus of the medicinal pieces. To ensure that there is material in the hopper, an infrared position finder is used to detect the height of the medicinal pieces. In this way, the height of the medicine in the hopper is ensured to avoid cavities in the spiral metering conveyor. When the medicine in the hopper reaches a certain height, it must be stopped. Surplus management of powdered medicinal materials: pre-packaging into 1g, 2g, and 5g weight bags outside the cabinet, loading them into a box in the form of rolls or stacks, and then loading them into the unit medicine cabinet. The material is discharged according to the required weight combination under the control of the unit medicine cabinet control board through the discharging mechanism; when managing the surplus, the number of remaining bags of each gram is calculated through a statistical algorithm. When it is not enough to meet the maximum dosage requirement of 3 doses of medicine, it is necessary to add medicine; Barcode and QR code management module: manages the printing equipment of barcode and QR code; calls the barcode and QR code protocol and design functions to edit barcode and QR code; manages the barcode and QR code classification, addition, deletion, change and other functions of the management unit medicine cabinet, transport trolley, trolley medicine tray, medicine storage box, prescription, drug inspection guide, refill medicine order, user identity card, etc., and has the function of recording and querying barcode or QR code; configures the recognition function of barcode or QR code; User and user rights management module: User and user rights management functions: manage user creation, add and delete users; have the functions of setting or changing user login passwords and retrieving or resetting passwords; set user management roles and rights, set, add, change and reduce roles and rights for users; Data statistics module: Data statistics functions: Statistics on prescription receiving, execution, shelving, and scrapping data; receiving prescription receiving data sent by the prescription receiving and dispensing system, counting the total number of prescriptions received and the ratio of prescriptions received to external prescriptions; receiving dispensing data sent by the call dispensing system, counting the total number of packaged prescription medicinal pieces and the ratio of actually issued packaged prescription medicinal pieces to packaged prescription medicinal pieces; counting the satisfaction rate of prescriptions in the pieces dispensing control system; counting the prescription dosage, actual output (including the dosage for replenishing missing drugs), and the number of scrapped drugs for each medicinal piece; counting the total number, qualified number, qualified rate, scrapped number, and scrap rate of drug inspections; counting the total number and total number of missing drug replenishments and the number and quantity of each medicinal piece; counting the number and frequency of drug additions in the unit medicine cabinet; counting the fault types and frequencies of unit medicine cabinets, transport carts and other equipment; generating various reports; Fault alarm, maintenance and metrology correction module: manages the login of user operators; has the functions of identifying faults in computers, software programs, control circuit boards and drivers, communication networks, electrical lines, machinery and structures, and preliminarily determines the type and location of the faults, and guides maintenance; manages the metrology correction of the unit medicine cabinet: issues metrology correction instructions, receives correction feedback data, reports metrology error data to the superior system and issues an alarm.
3. The intelligent Chinese medicine cabinet system according to claim 2 is characterized in that: Also has mobile app: The mobile app always keeps the status of the smart Chinese medicine cabinet system synchronized through WebSocket technology; Query and obtain all cabinets of the specified main control system; display the cabinets in a vivid graphical way; the cabinets are arranged from left to right, and the cabinets are displayed in a new line if they exceed the interface boundary; Cabinet unit display: Each cabinet row in the diagram is displayed as being composed of multiple cabinet units; if a cabinet unit contains multiple hoppers, then multiple hoppers are displayed accordingly in the cabinet unit diagram; Cabinet unit monitoring: monitor the real-time status and action of the cabinet unit; Real-time status includes: waiting, working, cabinet unit dosing door or cabinet door opened; real-time actions include: taking materials, packing, dumping; and achieving real-time monitoring of the remaining amount of medicinal materials in the medicine cabinet on the mobile terminal; Fault display: Graphical alarm for unit medicine cabinet fault; Graphical alarm for cabinet group fault; View pending prescriptions: view the decomposition status of prescriptions; prescriptions are displayed in list form; a button is provided behind pending prescriptions to view prescription details; adjust prescription priority: A "Pin to Top" button is provided behind each item in the list of prescriptions to be processed, which can be set as the first prescription to be processed in the list with one click; A matrix list of all unit medicine cabinets is created on the display interface of the mobile terminal app. Each grid in the table corresponds to a unit medicine cabinet. Through real-time monitoring of the remaining amount of medicinal materials in the medicine cabinet, the unit medicine cabinets that need to be added are displayed in the list for reminder. The table uses yellow and red double-color indicators to show the urgency of adding medicine. Yellow means that the unit medicine cabinet corresponding to the grid is in a state of waiting for medicine addition, and red means that the unit medicine cabinet corresponding to the grid must be added immediately. After the addition is completed, the indicator color of the grid returns to normal color; click on each grid to pop up the unit medicine cabinet code of the grid and the cabinet column number and layer where the unit medicine cabinet is located. The number of medicines, as well as the name and quantity of the medicinal pieces that need to be added to the unit medicine cabinet, so as to facilitate the warehouse management staff to find and check; the mobile terminal should have the function of scanning and taking pictures, and can scan the code to open the hopper door of the unit medicine cabinet or open the unit medicine cabinet door or open the cabinet to take out the unit medicine cabinet in case of failure; when the system determines that the addition of medicines is allowed, the UI interface will be in a locked state and display "waiting for cabinet opening"; wait for the system to open the cabinet, after opening the cabinet, the UI interface is still in a locked state and displays "opened cabinet"; after manual addition of medicines, the UI interface is still locked until the mobile terminal enters the amount of medicine to be added and clicks to confirm before the unit medicine cabinet dosing door can be closed; System status when a unit medicine cabinet fails: In the unit medicine cabinet matrix list on the mobile terminal app display interface, the corresponding table column displays the word "failure", indicating that the unit medicine cabinet is dead and waiting to be checked; the smart Chinese medicine cabinet system will disable this unit medicine cabinet; subsequent affected prescriptions will not be able to pick up this medicinal material slice; List of medicine slices to be added: The display interface of the display and mobile terminal displays a list of medicine slices that need to be added. Each grid in the table corresponds to a unit medicine cabinet and the medicine slices loaded therein. The table uses green and red two-color indicators to indicate the urgency of adding medicine. Green means that the medicine corresponding to the grid has sufficient medicine, yellow means that the medicine corresponding to the grid is in a state of waiting for addition (the remaining medicine slices in the medicine cabinet hopper are less than 20%), and red means that the medicine corresponding to the grid must be added immediately (the remaining medicine slices in the medicine cabinet hopper are less than 10%). After the addition is completed, the indicator color of the grid returns to normal color; click on each grid, and the unit medicine cabinet number, the name of the medicine slice and the amount of medicine to be added this time will pop up, so as to facilitate the search of the medicine adding personnel; after adding medicine, the amount of medicine to be added this time must be entered, and click to confirm before closing the unit medicine cabinet. After closing the unit medicine cabinet, the current medicine adding task is completed; the warning color of the corresponding grid returns to green; The mobile terminal receives and processes information from the intelligent Chinese medicine cabinet system; The mobile terminal and the intelligent Chinese medicine cabinet system share the following equipment: computing unit, display, mouse, and keyboard.
4. The intelligent Chinese medicine cabinet system according to claim 2 is characterized in that: The intelligent Chinese medicine cabinet management system also has a medicinal material slice attribute library, and records the following attributes of medicinal material slices: Main properties of medicinal material slices: medicinal material name, slice name, slice alias, slice form (one of powder, sand, granule, segment, block, sphere, spindle, sheet, filament, strip, ball, mesh, stamen, liquid, paste), standard density (g / ml), measurement unit (one of g, piece, strip), smell, meridian, processing method, toxicity, opposite, incompatible, fear, incompatibility of western medicine, dietary taboos, human body taboos, standard single dose dosage range, standard single dose maximum dosage, decoction method, decoction time offset (Note: for example, decoction first, then the time offset means decoction first n minutes; post-decocting means post-decocting for n minutes), pharmacopoeia usage, standard pretreatment type and storage method of medicinal slices when sold to customer units; the system automatically gives each type of medicinal slice entered an internal unique number, which is saved in the intelligent Chinese medicine cabinet system. Only the medicinal slices with numbers in the intelligent Chinese medicine cabinet system can be put on the shelf in the intelligent Chinese medicine cabinet system; medicinal slice attribute numbering format: medicinal slice attribute number: CX12-a: CX12 is the unique number of the system drug, -a refers to the medicinal slice property number; each intelligent Chinese medicine cabinet system needs to create a medicinal slice attribute library; Add new herbal medicine pieces: manually enter or batch import new herbal medicine pieces, and the system will automatically give the herbal medicine pieces an internal unique number; Delete the medicinal pieces. If the medicinal pieces have been put on the shelf, they need to be removed from the shelf in advance; traverse all intelligent Chinese medicine cabinet systems, and the medicinal piece does not exist in any unit medicine cabinet; after deleting the medicinal piece, the number of the medicinal piece will be deleted, and the numbers of other medicinal pieces will not be affected, that is, the numbers of other medicinal pieces will remain unchanged; if there is a new medicinal piece that needs to be numbered with this number, the system must record all the historical information of the number in the notes; Importing medicinal materials and decoction categories into the management system of medical institutions: importing through Excel spreadsheets, the Excel format must meet the specified format; using the name of the medicinal materials and decoctions as the synchronization basis, add the medicinal materials and decoctions newly added to the system in Excel to the system and automatically generate a unique number; if the medicinal materials and decoctions in the Excel spreadsheet are numbered, it is necessary to list a separate system number column in the Excel spreadsheet for comparison to facilitate query.
5. The intelligent Chinese medicine cabinet system according to claim 2 is characterized in that: The unit medicine cabinet control panel has a one-time medicine taking module controlled by its driver: The unit medicine cabinet receives the medicine picking instruction sent by the intelligent Chinese medicine cabinet system, and the unit medicine cabinet control board starts to control the operation of the medicine taking motor; the metering scale starts to continuously record the metering data as the medicinal materials and pieces enter and sends the metering data to the unit medicine cabinet control board. If the metering scale cannot record the metering data within the specified time as the medicine taking motor runs or the metering data does not change within the specified time, the unit medicine cabinet control board determines that the hopper discharge failure occurs and detects whether the medicine taking motor is blocked. If so, the unit medicine cabinet control board controls the medicine taking motor to reverse and try again; if not, it determines that the medicine taking motor is abnormal and performs fault alarm processing; the unit medicine cabinet control board will detect that the taken medicinal materials and pieces have not reached the set value when it feels that the taken medicinal materials and pieces have not reached the set value. When the fixed value, that is, the weight of the taken medicinal material slices reaches 10% of the command weight or the remaining untaken weight is only 3 grams, the unit medicine cabinet control board controls the medicine taking motor to continue taking medicine until it reaches the set value; when the unit medicine cabinet control board senses that the weight of the taken medicinal material slices has reached or exceeded the set value, the unit medicine cabinet control board controls the medicine taking motor to jog the medicine. When the unit medicine cabinet control board senses that the taken medicine weight has not reached the error value of the command weight, the unit medicine cabinet control board controls the motor to continue jogging the medicine until it reaches or exceeds the error value of the command weight, and the medicine taking motor stops; the unit medicine cabinet control board receives the final weighing data sent by the metering scale, and the final weighing data is within the error range, waiting for the transport trolley to arrive to take out the medicine; If the final weighing data is abnormal, a fault alarm will be issued and the medicine cabinet of the unit will be stopped; When the transport trolley arrives, the weighing pan push-dispensing device starts pushing and pouring medicine; if the weighing pan push-dispensing device fails to complete the pushing and pouring action due to timeout, the unit medicine cabinet control board initiates a retry. If the retry fails, it is determined that the weighing pan push-dispensing device is abnormal and an alarm is issued; if the retry succeeds, the next step is continued; the weighing pan push-dispensing device must stop after pushing the medicine into place, and start the reset action again after a certain delay until the reset is completed; if the weighing pan push-dispensing device fails to complete the reset action due to timeout, the unit medicine cabinet control board initiates a retry. If the retry fails, it is determined that the weighing pan push-dispensing device is abnormal and an alarm is issued; if the retry succeeds, the next step is continued; at this point, the unit medicine cabinet completes a medicine taking process; the lower limit of the medicine dispensing error of the above weighing data is set to be 0.2 grams less than the accrued weight of the medicine, and the upper limit is not set.
6. The intelligent Chinese medicine cabinet system according to claim 2 is characterized in that: The intelligent Chinese medicine cabinet management system has an intelligent Chinese medicine cabinet operation module: Receive prescriptions input from external systems and internal systems assigned by the main business system; review prescriptions and mark the type of medicine system; decompose prescriptions; load the medicine tray on the transport cart, bind the medicine tray, transport cart, and prescription decomposition sheet together by scanning the code, and then dispatch the cart; the transport cart enters the smart medicine cabinet; the transport cart that needs to be replenished will light up a red light when leaving the smart medicine cabinet, and stop at the release point of the replenishment table to wait for replenishment, or manually take out the medicine box and wait for replenishment. After manual replenishment, the medicine box is manually transferred to the drug inspection table to wait for all the medicine boxes of the prescription to be gathered, or the transport cart is released if it is short of medicine, enter the drug inspection table, unbind the transport cart, load the empty medicine box, press the release point button of the drug inspection table to release it, and the transport cart enters the cart waiting area; When the transport cart leaves the smart medicine cabinet, the yellow light will be on when the medicine is out of the supply cabinet. The system will remind the medicine replenishment system to list the medicinal material as "temporarily controlled medicine" and enter the shortage medicine replenishment system. After troubleshooting and repairing the smart medicine cabinet, the unit medicine cabinet function will be restored and the temporary control of the medicinal material will be cancelled. When the transport cart that does not need to replenish the medicine leaves the smart medicine cabinet, the light will not be on. When it arrives at the interception point of the drug inspection table, the drug inspection table will be checked to see if it is empty. If not, the transport cart will not be released and will wait. If the drug inspection table is empty, the transport cart of the same prescription will be released: the first dose of the first dose A vehicle prints the "drug inspection guide" and "decomposition prescription", clips the drug inspection guide on the medicine tray, and stops the transport vehicle at the release point of the drug inspection station. The medicine boxes of the transport vehicle entering the drug inspection station are taken out and placed in the transfer area. The medicine boxes are untied from the transport vehicle, and the untied transport vehicle is loaded with empty medicine boxes. The release point button of the drug inspection station is pressed to release the transport vehicle, and the transport vehicle enters the vehicle waiting area; the medicine boxes stored in the transfer area wait for the transport vehicle that needs to replenish the medicine; after all the medicine boxes of the prescription are gathered, enter the drug inspection: When testing drugs, the weight error is within the minimum range, the green light is on and random inspection is carried out; the weight error is within the allowable range, the yellow light is on and random inspection is carried out; the weight error exceeds the allowable range, the red light is on and all drugs are inspected; If the drug test fails, determine whether the unit medicine cabinet is short of medicine or faulty. If it is a fault, manually enter the wrong medicinal materials into the system alarm urgently. The system reminds the shortage medicine replenishment system to list the medicinal materials as "temporary controlled drugs" and enter the shortage medicine replenishment system. After troubleshooting and repair, restore the unit medicine cabinet function and cancel the temporary control of medicinal materials. If it is a shortage of medicine, replenish the missing medicine at the corresponding medicine replenishment table, and there is no need to make a system alarm. If the drug test fails, check the medicine box for the presence of separable shortage or shortage of medicine. If so, replenish the medicine manually. If not, scrap the medicinal materials for non-separable shortage, shortage or excess medicine, and re-assign the order. If the drug test is qualified, go to the prescription and medicine distribution area, call for medicine distribution, and the patient receives the prescribed medicinal materials and medicines, and the process ends.
Citation Information
Patent Citations
Drug intelligent management system
CN105373990A
Intelligent drugstore control system
CN108062063A
Internet of Things-based intelligent weighing and blending system for traditional Chinese medicine decoction pieces
CN113720431A
Method and system for controlling automatic circulation of medicine baskets of medicine dispensing machine
CN117864661A
