Intelligent dispensing, dispensing and discharging system for traditional Chinese medicine decoction pieces in intelligent traditional Chinese medicine pharmacy
Through the smart Chinese medicine pharmacy system, the main business system and multiple automation equipment are used to realize intelligent management and automated processing of Chinese medicine prescriptions, solving the problems of inaccurate measurement and lack of drugs and wrong drugs in Chinese medicine pharmacy, and improving work efficiency and accuracy Spend.
Patent Information
- Application Number
- CN202411253394.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing traditional Chinese medicine pharmacies have problems such as inaccurate measurement, lack of drugs, and wrong drugs, and the existing automation equipment has failed to realize the intelligent process of the whole process from receipt to distribution of traditional Chinese medicine prescriptions.
A smart Chinese medicine pharmacy Chinese medicine tablet intelligent adjustment and dispensing drug delivery system, including the main business system, main control system, track car system, intelligent Chinese medicine cabinet system, drug shortage supplement system, drug testing system and mobile terminal, through barcode, RFID, etc. Technology realizes prescription management, automatic preparation, inspection and packaging of medicinal decoctions.
It realizes the intelligent process of traditional Chinese medicine prescriptions from reception to distribution, improves measurement accuracy, reduces manual operation, reduces error rate, improves work efficiency, and prevents cross-contamination of medicinal materials and dust pollution.
Smart Images

Figure CN119190671A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a system for automatically sorting and quantitatively dispensing Chinese medicinal materials, and in particular to a system for intelligently dispensing and dispensing Chinese medicinal pieces in a smart Chinese medicine pharmacy. Background Art
[0002] Chinese herbal medicines are plant, animal or mineral herbs used to prevent, diagnose, treat or regulate human functions under the guidance of traditional Chinese medicine theory. There are many kinds of Chinese herbal medicines. The Shennong Herbal Classic alone records as many as 365 kinds of Chinese herbal medicines. According to surveys and statistics by scholars at home and abroad, there are about 500 kinds of Chinese herbal medicines needed clinically, and nearly 1,000 kinds of Chinese herbal medicines (listed in the National Medical Insurance Administration's 2021 Drug Catalog, 892 kinds of herbal medicines are paid for by the fund, and about 40 kinds of herbal medicines are not paid for by the fund).
[0003] From the perspective of disease treatment, different diseases correspond to different prescriptions, and the same prescription is made up of a mixture of multiple Chinese medicinal materials, and there are strict requirements on the proportion of each Chinese medicinal material. In existing Chinese medicine pharmacies, doctors refer to the prescription, grab and weigh each Chinese medicinal material in the medicine cabinet, and deliver it to the patient after packaging. There are disadvantages such as high workload for doctors, difficulty in ensuring accurate measurement, and frequent shortages of medicines, wrong medicines, and insufficient medicines.
[0004] In response to the problems existing in the manual dispensing of traditional Chinese medicine, medical workers have made the following disclosures on automated dispensing equipment and systems for traditional Chinese medicine.
[0005] Document 1 "Fully automatic bulk Chinese medicine dispensing machine" (CN209291244): The dispensing units are arranged on a rack, and the medicine collecting container is driven by a medicine collecting driving device to move along a medicine collecting path. The dispensing unit includes a medicine container, a Chinese medicine quantitative mechanism and a unit medicine outlet. According to the patient's prescription, the medicine collecting container stays at a designated medicine collecting station to collect the medicine, and finally all the Chinese medicine in the prescription is collected at multiple medicine collecting stations, thereby completing the Chinese medicine dispensing work.
[0006] Document 2 "Smart Pharmacy Service Cloud System and Smart Pharmacy Dispensing Method" (CN107330285A): Medical information acceptance system, used to obtain and store user medical information, including user prescription information; smart pharmacy management system, used to send user prescription information to corresponding smart dispensing equipment; smart dispensing equipment, including semi-automatic intelligent dispensing equipment, fully automatic intelligent dispensing equipment, special-shaped packaging intelligent storage equipment and constant temperature injection intelligent dispensing equipment, to dispense medicine according to user prescription information.
[0007] Document 3 "An Intelligent System for Automatic Dispensing and Dispensing of Traditional Chinese Medicine" (CN106250682A): The HIS interface system receives electronic prescriptions and assigns priorities to dispensing tasks. The prescription analysis system includes a prescription database and a main control computer; the pharmacy processing system includes an RFID electronic tag module, an RFID reading device module, and an intelligent automatic medicine cabinet module.
[0008] The above documents cannot fully realize the following functions as a whole: from receiving prescriptions, prescription review, prescription decomposition, prescription distribution, to automatic adjustment of medicinal pieces, automatic retrieval of collected medicinal pieces, to supplementing missing medicinal pieces, inspecting medicinal pieces, packaging medicinal pieces, and distributing packaged medicinal pieces, etc., the entire process of Chinese medicine preparation in the Chinese medicine pharmacy is intelligent. Summary of the invention
[0009] The purpose of the present invention is to provide a smart Chinese medicine pharmacy intelligent dispensing and dispensing system for Chinese medicine slices, aiming to realize the intelligence of the whole process of Chinese medicine slice dispensing in the Chinese medicine pharmacy, from receiving prescriptions, prescription review, prescription decomposition, prescription distribution, to automatic dispensing of medicinal materials, automatic taking out of collected medicinal materials, and then to replenishing missing medicinal materials, inspecting medicinal materials, packaging medicinal materials, and distributing packaged medicinal materials.
[0010] The objective of the present invention is achieved as follows: a smart Chinese medicine pharmacy Chinese medicine preparation and dispensing system, comprising: a business server of a main business system and 1 to n master control servers of 1 to n master control systems are respectively connected to a first switch via a network cable, the LAN port of the first switch is connected to a router, the WAN port of the router is connected to an external system, and the antenna of the router is wirelessly connected to a mobile terminal such as a mobile phone and / or a tablet computer.
[0011] Business server: The large display, the touch screen display and the printer are respectively connected to the business server.
[0012] 1 to n master control servers: connected to the first switch and the second switch via network cables respectively.
[0013] Each main control system consists of a rail trolley system, a departure system, an intelligent Chinese medicine cabinet system, a medicine replenishment system, a medicine inspection system, and a mobile terminal;
[0014] Track trolley system: It consists of tracks and several trolleys. The tracks are rectangular with rounded corners. The trolleys start from the trolley waiting area and pass through the smart medicine cabinet, medicine replenishment table, medicine inspection table, packaging table and medicine distribution area in sequence, and then return to the trolley waiting area. The tracks in the trolley waiting area are successively equipped with the first RFID card for slowing down the trolley, as well as RFID cards and magnets for stopping and parking the trolley. The tracks at the medicine replenishment table and medicine inspection table are respectively equipped with trolley release buttons; the trolley is equipped with an RFID card reader and a medicine tray, and the trolley and the medicine tray are respectively equipped with barcodes; the circuit board installed on each trolley is used as the trolley control board The 4 action motor drive circuits are connected to the MCU respectively, the distance sensor used to judge the distance of obstacles in front and behind the trolley, the Hall sensor for assisting the position judgment of the trolley, the collision sensor and the output signal of the RFID reader are connected to the MCU respectively, the output end of the RFID reader installed on the trolley for reading the magnetic steel or infrared baffle on the track for precise positioning is connected to the MCU, the fault indicator light and the red medicine shortage indicator light are connected to the MCU through the indicator light drive circuit respectively, the MCU communicates with the main business server through wifi, and the trolley adopts the hybrid sharing mode of on-track power supply and battery power supply to operate;
[0015] Departure system: The camera used to read and identify the QR code on the vehicle is connected to the computing unit, which is connected to the switch via a network cable;
[0016] Intelligent Chinese medicine cabinet system: a column control panel controls no more than 20 unit cabinets. If the two unit cabinets arranged horizontally are one, then 1 to (n-1) unit cabinets are arranged adjacent to each other in the longitudinal direction behind the unit cabinet. A track trolley channel is set between the 1 to n unit cabinets to form an intelligent medicine cabinet layout. Each unit cabinet is provided with a barcode, a unit cabinet control panel and green, yellow and red warning lights. The green light indicates that the medicine is sufficient, the yellow light indicates that the medicine is less than 20%, and the red light indicates that the medicine is less than 10%. In the unit cabinet control panel, the green, yellow and red warning lights are connected to the MCU through the indicator light drive circuit The signal output ends of the five circuits, namely, the electromagnetic lock driving circuit of the dosing door, the weighing pan flip motor driving circuit, the electromagnetic door driving circuit of the medicine outlet, and the electromagnetic lock driving circuit of the unit cabinet, are respectively connected to the MCU through the circuit sampling circuit, and the control signals of the MUC are respectively output to the five circuits, and the signal output end of the weighing sampling circuit is connected to the MCU; in the column control board, the MCU is connected to the main control server through the switch, and the MCUs of multiple column control boards and the main control server form a switch star network bus structure through the switch, and each column control board adopts RS485 bus type and host polling system to communicate with multiple unit cabinet control boards;
[0017] Shortage medicine replenishment system: the touch display screen, camera and printer are connected to the computing unit respectively, and the computing unit is connected to the switch through a network cable;
[0018] Drug testing system: The touch screen, camera and printer are connected to the computing unit respectively, the electronic scale is connected to the computing unit via RS232 line or USB line, and the computing unit is connected to the switch via network cable;
[0019] Mobile terminals, i.e. tablet computers: are respectively placed at the drug testing table and the warehouse, and are connected to the business server via wifi;
[0020] Drug addition guidance and pre-processing system: receiving signals from the business server, the camera, QR code scanning device, barcode scanning gun and display are connected to the computing unit respectively, and the computing unit is connected to the switch through a network cable. It is equipped with a crusher, a powdering machine and a packaging machine. The crusher and the powdering machine have barcodes. The particle weight after processing by the crusher is ≤1g. The packaging machine pre-packages the powdered drugs into 1g, 2g, 5g, and 10g per bag;
[0021] Packaging and dispensing system: The touch screen, camera, laser printer, large-screen display, and large and small speakers are connected to the computing unit respectively. The computing unit is connected to the switch via a network cable. The data of the packaging machine is transmitted to the touch screen by the PLC programmable logic controller.
[0022] The main business system also includes:
[0023] 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 powder, flake, spherical, columnar, strip, and flocculent forms of medicinal material slices; manage the bulk and bagged packaging forms of medicinal material slices; manage the classification types of medicinal material slices in the system: 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; temporary shortage management of system medicinal material slices; operation and login management of medicinal material slice managers;
[0024] Prescription management and distribution module: receive and enter prescriptions from the management system, Internet prescriptions, and manually entered prescriptions; issue a unique prescription number for the received prescriptions. The content of the prescription consists of three parts. The first is the preface: including the name of the medical, preventive, and health care institution, 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 can add items required by the specialist. The second is the main text: marked with Rp or R, the prescription of Chinese herbal medicine pieces should list the name of the piece, quantity, decoction method, and usage and dosage. The third is the postscript: the signature of the physician and / or a special seal, the amount of the medicine, and the signature of the pharmaceutical professional and technical personnel who review, prepare, check, and dispense the medicine;
[0025] 1. Receipt of prescriptions from the customer management system:
[0026] 1.1. Receive prescriptions transmitted from the customer management system (external interface and external communication protocol);
[0027] 1.2. The main business system establishes WebSocket protocol communication and HTTP protocol communication with the customer management system, provides external call services through HTTP protocol, and uses POST method to transmit prescription data in JSON format;
[0028] 1.3. When a new prescription arrives, any existing and shelved prescription with the same number will be automatically deleted from the shelved list;
[0029] 2. Recipient of prescriptions in the customer management system:
[0030] 2.1. The business system sets up the "receiver" function and adds switches for "open receiver" and "close receiver". After clicking these switches once, they will be automatically executed every time the system is started thereafter, without the need to click them again every time the system is started;
[0031] 2.2. Click the "Close Prescription Receive" switch. After the business system receives the prescription entered by the customer management system, there is no need to wait for the patient to submit the prescription to the pharmacy. The system will automatically start the next step of the process such as prescription review and allocation;
[0032] 2.3. If you click to turn on the "Start Prescription Collection" switch, the prescription collection function will be activated, that is, the prescriptions received by the business system from the customer's management system will enter the "Prescription Collection Area" to wait for processing, and will not be immediately reviewed and assigned to the herbal medicine dispensing control system. When the patient hands the prescription to the prescription collection and dispensing station, the prescription collection and dispensing station scans and reads the prescription barcode through a camera and reports it to the main business system. After the main business system automatically compares it, it starts the prescription corresponding to the "Prescription Collection Area" to enter the next step. At this time, the activated prescription begins to enter the next step of review and allocation;
[0033] Prescription review and allocation module: including seven units: drug shortage review, Chinese medicine incompatibility review, Chinese medicine toxicity review, dosage review, decoction review, medicinal material properties review, and prescription validity review;
[0034] Drug shortage review unit: There are two situations: the system has drug shortages and the system has no drug shortages. The system will mark the shortages and send an alarm to the reviewer. The reviewer will manually remind the prescribing doctor offline whether to change the drug and prescribe again. If no new prescription is made, the shortages will be marked as self-prescribed drugs and released.
[0035] TCM incompatibility review unit: review whether the medicinal materials in the prescription are incompatible with each other, mark the incompatible medicinal materials and alarm the reviewer, and the reviewer manually reminds the prescribing doctor whether to change the prescription. If no re-prescription is needed, the review will be passed after the reminder is given;
[0036] Traditional Chinese Medicine Toxicity Review Unit: Review according to the "Traditional Chinese Medicine Prescription and Dispensing Specifications". If the usage of toxic drugs or the dosage of a single drug in the prescription has seriously violated the drug toxicity compatibility regulations, the system will directly prompt "Not Approved";
[0037] Medication dosage review unit: Review whether the dosage of medicinal materials in the prescription exceeds the provisions of the pharmacopoeia, mark the medicinal materials that exceed the provisions of the pharmacopoeia and alarm the reviewer. The reviewer manually reminds the prescribing doctor whether to change the prescription. If no re-prescription is needed, the reviewer will be prompted and approved;
[0038] Decoction and administration review unit: Review the decoction and administration methods of the medicinal materials in the prescription, mark the medicinal materials that may be decocted first, decocted later, decocted in a package, decocted separately, melted, or pulverized for administration, and alarm the reviewer;
[0039] The auditors handle the case in two ways: 1. The auditors manually remind the prescribing physician whether to change or re-prescribe. If re-prescribing is not necessary, the auditors will give the reminder and approve the case. 2. The auditors directly mark the prescribed medicinal materials according to the conventional medication specifications. After the marking becomes a standard format prescription, the change will be approved.
[0040] Medicinal material properties review unit: In order to meet the needs of the unit cabinet discharging mechanism, some medicinal materials need to be broken into small pieces. Breaking into small pieces is regarded as a kind of crushing in the processing method. The word "crushing" is marked in the brackets in the upper right corner of the medicinal material name in the formal prescription;
[0041] Prescription validity review unit:
[0042] ⑴. When the user starts the settings in the main business system, clicks the "Close prescription collection" switch to close the system's prescription collection function, then the system will no longer start the prescription validity review function, that is, all prescriptions transmitted to the system by the user management system are considered to be time-effective prescriptions;
[0043] ⑵. When the user starts the settings in the business system, clicks the "Start Prescription Collection" switch to start the prescription collection function of the system, then the system will start the prescription validity review function to review the timeliness of the payment prescriptions transmitted by the user management system and received by the "Prescription Collection and Dispensing Subsystem";
[0044] Audit method:
[0045] ①. Review whether the prescription for payment is expired: If it is found during the review that the prescription is not prescribed on the same day or the prescription is valid for 3 days but has exceeded 3 days as indicated by the prescribing physician, the system will give an alarm and put the prescription on hold, waiting for the reviewer to handle it;
[0046] ②、The reviewer's handling method is:
[0047] Explain the timeliness of the prescription to the patient and go through the refund procedure. Alternatively, the person picking up the medicine will hand in the prescription with the modified date and re-signed by the doctor to the medicine receiving and dispensing counter to find the reviewer → the reviewer will scan the code of the prescription and enter it → the system will pop up a prompt "This prescription has been put on hold and is pending" and two buttons "Approved" and "Failed" → the reviewer will click "Approved" → the system will automatically un-hold the prescription and modify the prescription date to the current day → the system will assign the prescription to the herbal medicine dispensing control system to enter the next step;
[0048] Prescriptions that have been on hold for more than 3 days are pending prescriptions and can be activated for dispensing upon the request of the person who takes the medicine. Prescriptions that have been on hold for more than 3 days are scrapped prescriptions and are only kept on record for future reference.
[0049] Prescription review and approval is divided into five types: "Not approved", "Approved due to lack of medicine", "Approved after prompt", "Approved after change" and "Approved", all of which are operated by manual clicks;
[0050] Each of the above-mentioned audit functions is set with an option switch, namely, the switch of "turn on ** audit" and "turn off ** audit". After clicking these switches once, they will be automatically executed every time the system is started thereafter;
[0051] The module of guidance and pre-processing for taking and adding medicine: manage the login of user operators; create and store a statistical list of storage locations of medicinal pieces in the medicinal pieces warehouse; create a list of taking and adding medicine according to the shortage of medicine in each unit medicine cabinet transmitted by the medicinal pieces dispensing control system. The list shows the amount of medicine needed for each medicinal piece, the warehouse number, shelf number, and rack number of the medicinal piece, and whether pre-processing is required; bind the medicine storage frame and the batch and quantity of medicinal pieces to be pre-processed by scanning the code or taking a photo until the pre-processing is completed and the medicine is added successfully; send the list of taking and adding medicine to the mobile APP to guide the operation of the personnel who take and add medicine; display the status of taking and adding medicine: normal amount of medicine, waiting for addition of medicine, urgent need for addition of medicine, and prioritize and adjust in real time according to the urgency of this status; display the remaining amount of the unit medicine cabinet in real time; have the function of identifying barcodes and QR codes; have the function of taking pictures; have the function of scanning the code to open the hopper door of the unit medicine cabinet; have the function of returning medicinal pieces to the warehouse and deducting the amount of medicine added; have the function of managing the expiration of medicinal pieces and guiding the cleaning of the unit medicine cabinet; report statistical data;
[0052] Barcode and QR code management module: manages barcode and QR code printing equipment; calls barcode and QR code protocols and design functions to edit barcodes and QR codes; manages barcode and QR code classification, addition, deletion, and change functions for management unit medicine cabinets, transport carts, cart medicine trays, medicine storage boxes, prescriptions, drug inspection instructions, refill orders, user identity cards, etc.
[0053] User and user rights management module: 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;
[0054] Data statistics module: 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 medicines), and the number of scrapped medicines 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 medicines replenished and the number and quantity of each medicinal piece; counting the number and frequency of medicines added to the unit medicine cabinet; counting the fault types and fault frequencies of the unit medicine cabinet, transport trolley and other equipment; generating various reports;
[0055] Modules for configuring and managing 1∽n slice dispensing control systems: creating 1∽n master control systems, i.e., slice dispensing control systems, in the main business system; configuring or modifying subordinate systems of the slice dispensing control system: dispatching system, intelligent Chinese medicine cabinet system, medicine shortage replenishment system, and medicine inspection system; configuring or modifying the unit medicine cabinet array group of the intelligent Chinese medicine cabinet system; configuring or modifying the unit medicine cabinet of the intelligent Chinese medicine cabinet system; managing the startup, operation, pause, stop, and recovery status of the slice dispensing control system and each subordinate system; having the function of querying the prescription tasks of each slice dispensing control system on the day: all queued prescriptions, prescriptions to be picked up, prescriptions that have been picked up, etc.; having the function of querying the historical prescription tasks of each slice dispensing control system Yes; it has the function of placing prescriptions at the top or bottom; it has the function of withdrawing prescriptions, and prescriptions that have entered the adjustment procedure cannot be withdrawn; it sends the received queued prescriptions to the intelligent Chinese medicine cabinet system for decomposition, and reports the train task information decomposed by the intelligent Chinese medicine cabinet system to the main business system; it has the function of querying the status of the transport vehicles in this medicine piece adjustment control system: total number of vehicles, waiting to be dispatched, dispatched, medicine-collected, scrapped, faulty, etc.; it reports the operating status of the medicine piece adjustment control system, the intelligent Chinese medicine cabinet system and all unit medicine cabinets; it has the function of pausing and resuming; it reports the storage volume of medicinal materials in the unit medicine cabinet; it reports faults, fault types and fault handling status; it can perform self-inspection and report the self-inspection results;
[0056] The intelligent Chinese medicine cabinet system has a prescription decomposition module: for the approved prescription, a unique master control number of the corresponding medicine piece dispensing system is added to the original prescription number, and the prescription is decomposed into system medicine, special control medicine, controlled medicine and self-prepared medicine according to the type of medicinal materials.
[0057] Self-prepared medicine: medicine prepared by the patient himself;
[0058] Special controlled drugs: drugs that cannot be placed in controlled medicine cabinets are directly delivered from the warehouse to the medicine refill counter in fixed quantities and quantities;
[0059] Regular controlled drugs: precious medicinal materials, poisonous medicinal materials, medicinal materials with relatively light texture, medicinal materials in strips, liquid medicinal materials, and medicinal materials in gel state;
[0060] Temporary controlled drugs: drugs that cannot be dispensed by the medicine cabinet system within a short period of time due to a malfunction of the smart medicine cabinet and need to be repaired;
[0061] System medicine: medicine in the smart Chinese medicine cabinet;
[0062] Based on whether each medicinal material in the prescription belongs to self-prepared medicine, special controlled medicine, regular controlled medicine, temporary controlled medicine and systemic medicine, and whether the medicinal material needs to be decocted first, decocted later, decocted in a package, decocted separately, or ground into powder for oral administration, as well as the quantity and bulk density of the medicinal materials and the loading capacity of the trolley medicine tray, an optimization configuration algorithm is used to decompose the medicine in each prescription again to form one or more "Decomposed Prescription Drug Lists", and ensure that the medicinal materials on each "Decomposed Prescription Drug List" can be effectively loaded on the trolley medicine tray. Each "Decomposed Prescription Drug List" is again added with a barcode on the basis of the prescription number with the master control number to generate a unique decomposed prescription number;
[0063] How to bind the "Decomposed Prescription Drug List" to the medicine tray:
[0064] The medicine tray's own number and unique barcode are pre-printed on the medicine tray. The medicine tray barcode is scanned at the camera of the dispatch subsystem, and the "Decomposition Prescription Drug List" and the medicine tray's own unique number are bound. The medicine tray's own unique number is sent back to the system business server and entered into the "Decomposition Prescription Drug List" and "Drug Inspection Guide" as the basis for drug inspection.
[0065] The format and content of the preface of the decomposed prescription drug order: name of the medical institution, prescription number [20210512-123 1 / 3-1 / 2(6)XXXXXX]-2. Decomposed prescription drug order barcode, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, and issuance date;
[0066] Prescription number description: 20210512 refers to the prescription date: 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 tray of a total of 2 trays for this dose, (6) refers to the total number of 6 trays for this prescription, XXXXXX tray has its own unique number, -2 refers to the main control system number, the sequence number of the prescription order is noted in the lower right corner of the decomposition prescription order: 6-1, 6-2, 6-3, 6-4, 6-5, 6-6;
[0067] After the above seven reviews and prescription decomposition, the decomposed prescriptions are respectively marked with prescription marks, marked as prescriptions containing controlled drugs and prescriptions not containing controlled drugs, and then sent to the main control system.
[0068] The main control system also has:
[0069] Departure module: The trolley receives the "Decomposition Prescription Drug List" and related location and delivery information issued by the system and binds them → queues up to enter the departure area → enters the departure area, scans the camera to confirm the trolley barcode and medicine tray barcode, and then binds the medicine tray, trolley and "Decomposition Prescription Drug List" → the trolley departs;
[0070] Medicine shortage supplement module:
[0071] The transport vehicle is short of medicine and the yellow light is on: This indicates that the transport vehicle is short of commonly controlled medicines or specially controlled medicines.
[0072] Medicine refilling process: The yellow light of the transport trolley turns on when it leaves the cabinet → It stops at the release point of the medicine refilling station and waits for manual refilling → The camera scans the barcode or QR code of the transport trolley and medicine tray → The computer monitor pops up the medicine refilling order information of the transport trolley and medicine tray → Manual comparison completes the medicine refilling → Manually scans the medicine refilling order at the medicine refilling station, and the system records that the medicine refilling is completed → Press the release button → The transport trolley enters the medicine inspection station;
[0073] The red light on the trolley is on due to lack of medicine: indicating that the trolley is temporarily out of medicine;
[0074] Temporary shortage of medicine process: the red light turns on when the trolley leaves the smart medicine cabinet → stops at the release point of the medicine refilling station → manually takes away the medicine tray on the trolley → waits for manual refilling at the medicine refilling station → clicks on the shortage of medicine release on the computer → presses the release button → the trolley enters the next process empty → manual refilling is completed → the medicine refilling station scans the temporary refilling order, and the system records the completion of refilling → manually transfers the medicine tray with completed refilling to the medicine inspection station;
[0075] The process of replenishing medicines when the unit cabinet is temporarily short of medicines: print the "Temporary Replenishment Form" → notify the warehouse to deliver the medicines → load the medicines into the medicine storage box according to the "Temporary Replenishment Form" → load the medicines into the medicine tray after the trolley arrives → scan the "Temporary Replenishment Form", and the system records that the replenishment is completed → manually transfer the completed medicine tray to the drug inspection table;
[0076] Drug testing module:
[0077] 1. The medicine preparation control system sends the drug inspection guide sheet to the drug inspection station, which prints out the "Drug Inspection Guide Sheet" and places the printed "Drug Inspection Guide Sheet" on the drug storage box of the drug inspection station.
[0078] The "Drug Inspection Guide" is produced based on the prescription, the "Decomposition Prescription Drug List" and the "Temporary Refill List", corresponding to each medicine tray that each prescription and each dose of drug is decomposed into;
[0079] Printing of drug testing instructions: When the first vehicle of the first dose arrives at the drug testing station, print the drug testing instructions;
[0080] 2. Drug inspection process: the trolley and the medicine tray arrive at the interception point of the drug inspection table → determine whether the drug inspection table is idle → yes → release the trolley with the same prescription (release at the interception point) → the trolley with the same prescription stops at the release point → the medicine tray is separated from the trolley (the indicator light of the trolley turns red after the trolley and the tray are separated), put the medicine tray on the drug inspection table, and install an empty medicine tray at the same time (the indicator light of the trolley turns yellow after the empty medicine tray is installed, because the data of the trolley has not been cleared) → the camera on the metering and testing scale scans the barcode of the medicine tray and unbinds the medicine tray and the trolley → click the release button on the display, the trolley data is cleared and released (the indicator light of the trolley turns green) → the trolley enters the waiting area → conduct drug inspection on the medicinal materials on the drug inspection table (put the medicine tray on the metering and testing scale for inspection) → qualified → stack the medicine trays of the same prescription together → enter the packaging stage;
[0081] When testing drugs at the drug testing station, each plate should be measured and then placed on the transfer station;
[0082] Control of measurement error in a prescription:
[0083] ①. Weight error within ±3% is marked in green;
[0084] ②. Weight errors within the range of 3%-5% are marked in yellow;
[0085] ③. If the weight error exceeds 5%, it will be marked in red;
[0086] For a prescription, if the medicine tray is green in measurement test, one medicine tray is randomly inspected to check whether the medicine varieties in the medicine tray are complete. If they are complete and qualified, proceed to the next step;
[0087] For a prescription, if the medicine tray is yellow during measurement, 2 to 3 trays will be randomly inspected to check whether the types and weights of the medicines in the trays meet the requirements. Those that meet the requirements will be qualified.
[0088] Check the types and weights of all medicines in the red medicine tray in a prescription;
[0089] Mark the status of each medicine tray: missing medicine, insufficient medicine, excessive medicine, wrong medicine, and be specific about which medicine has a problem, and convert the marked systemic medicines into temporary controlled medicines;
[0090] Re-dispatching process for scrapped medicine trays: After the operator of the drug inspection station confirms that the tray is scrapped in the shortage medicine replenishment subsystem, the shortage medicine replenishment subsystem sends the "Decomposition Prescription Drug Order" information corresponding to the scrapped medicine tray to the decoction piece dispensing control system. The system should mark it as "second dispatch" and re-dispatch the vehicle for the "Decomposition Prescription Drug Order" of the second dispatch. When the new medicine tray arrives at the drug inspection station, it is marked as a re-dispatched medicine tray and placed together with the original medicine tray to enter the next process;
[0091] Packing and dispensing medicine call module:
[0092] Process: After the drug test, the medicine tray and the drug test instruction sheet are transferred to the packaging area → After the packaging machine completes the packaging, it scans the prescription barcode on the drug test instruction sheet and prints the formal prescription → Put the formal prescription into the packaging bag, indicating that all the drugs in the prescription have been packaged.
[0093] All the medicines for each dose are packed together, one dose is in a small package, and all the doses in the prescription are packed into a large package. A voice call is made to remind people to pick up the medicine. When picking up the medicine, the person picking up the medicine uses the payment receipt. The pharmacy camera scans the receipt to read the patient information, and an offline manual verification is performed to see if the prescription is consistent with the patient information. After verification, the medicine is given to the person picking up the medicine.
[0094] The unit cabinet control panel has a one-time medicine taking module: proceed as follows:
[0095] The unit medicine cabinet receives the medicine picking instruction sent by the intelligent Chinese medicine cabinet subsystem, 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 fails to record the metering data within the specified time or the metering data does not change within the specified time as the medicine taking motor runs, the unit medicine cabinet control board determines that the hopper discharge failure is detected and detects whether the medicine taking motor is blocked. If it is, the unit medicine cabinet control board controls the medicine taking motor to reverse and retry; if not, it is determined that the medicine taking motor is abnormal and a fault alarm is processed; when the unit medicine cabinet control board feels that the taken medicinal materials have not reached the set value, that is, the weight of the taken medicinal materials has reached 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 the set value is reached; when the unit medicine cabinet control board feels that the weight of the medicinal materials has reached or exceeded the set value, the unit medicine cabinet control board controls the medicine taking motor to jog the medicine, and the unit medicine cabinet control board feels that the weight of the medicine has not reached the error value of the command weight When the medicine is taken out, the control board of the unit medicine cabinet 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 control board of the unit medicine cabinet receives the final weighing data sent by the metering scale. If the final weighing data is within the error range, it waits for the transport trolley to reach the medicine outlet. 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 outlet device starts to push and dump the medicine (if the weighing pan push medicine outlet device times out and fails to complete the pushing and dumping actions, the control board of the unit medicine cabinet A retry is initiated. If the retry fails, it is determined that the weighing pan push-dispensing device is abnormal and an alarm is issued. If the retry is successful, the next step is continued. The weighing pan push-dispensing device must stop 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-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-dispensing device is abnormal and an alarm is issued. If the retry is successful, the next step is continued. At this point, the unit medicine cabinet completes a medicine collection process.
[0096] The main control server also has a medicine replenishment and medicine inspection control module for the trolley:
[0097] 1 prescription for multiple doses, 1 dose for 1 car
[0098] (1) Receive prescriptions assigned by the main business system;
[0099] (2) converting the received prescription into a decoction prescription;
[0100] (3) Dispatching a vehicle: Put the medicine bag in the vehicle, print the prescription number, name, phone number, and total weight of the medicine in the bag on the bag, scan the bag, and use the infrared communication vehicle;
[0101] (4) The trolley enters the medicine cabinet;
[0102] (5) The trolley with sufficient medicine leaves the medicine cabinet without lighting up and arrives at the interception point of the drug inspection station. If the drug inspection station is not empty, it will wait. If the drug inspection station is empty, it will release the trolley with the same prescription. The trolley stops at the release point of the drug inspection station, removes the medicine bags of no more than 6 trolleys with sufficient medicine, puts them into the transfer box, unbinds the above trolleys with sufficient medicine, presses the release point button of the drug inspection station to release the above trolleys with sufficient medicine, and enters the trolley waiting area;
[0103] If the yellow light comes out of the medicine cabinet, the cart will be released after the medicine is replenished. The medicine bags of the carts with yellow lights, which are no more than 6 carts, will be taken off and put into the transfer box. Then the carts with yellow lights will be untied and the release button on the drug inspection table will be released. The carts will enter the cart waiting area.
[0104] When the trolley leaves the medicine cabinet, the red light will be on. When it reaches the medicine refilling station, it will stop and wait for medicine refilling. Or, if it is released due to lack of medicine, it will enter the medicine inspection station, untie the trolley, press the button at the medicine inspection station release point, and release the trolley to enter the trolley waiting area. Or, after manual medicine refilling, it will manually transfer to the medicine inspection station, take out the medicine bag of the trolley with the red light, and put it into the transfer box.
[0105] For the above-mentioned trolleys that are more than 6 and that are not short of medicine and that carry the same prescription, the trolleys with yellow lights and the trolleys with red lights will be intercepted and released by the drug inspection station according to the prescription. The medicine bags on the trolleys will be removed and put into the transfer box. The trolleys will be untied, that is, the medicine boxes and the trolleys will be separated. The release button of the drug inspection station will be pressed to release the trolleys, and the trolleys will enter the trolley waiting area.
[0106] After the transfer box gathers multiple doses of the same prescription, each dose is tested at the drug testing station. If the drug test fails, there is a shortage of drugs that can be separated for testing, or there is a shortage of drugs, then the drugs are replenished manually. If there is a shortage of drugs that cannot be separated for testing, wrong drugs, or multiple drugs, then the drugs are scrapped and re-ordered. If the drug test passes, the drugs are packaged by the packaging machine at the packaging station and finally sent to the drug distribution area.
[0107] If the weight error of each dose is within 3% during drug testing, the green light will be turned on and random inspection will be conducted;
[0108] If the weight error of each dose during drug testing is within the range of 3% to 5%, a yellow light will be turned on and random inspection will be conducted;
[0109] If the weight of each dose exceeds the 5% range during drug testing, a red light will be turned on and the entire drug will be checked;
[0110] 1 prescription for multiple doses, 1 dose for multiple vehicles
[0111] (1) Receive prescriptions assigned by the main business system;
[0112] (2) converting the received prescription into a decoction prescription;
[0113] (3) Dispatching a vehicle: Put the medicine bag in the vehicle, print the prescription number, name, phone number, and total weight of the medicine in the bag on the bag, scan the bag, and use the infrared communication vehicle;
[0114] (4) The trolley enters the medicine cabinet;
[0115] (5) The trolley with sufficient medicine leaves the medicine cabinet without lighting up and arrives at the interception point of the drug inspection station. If the drug inspection station is not empty, it will wait. If the drug inspection station is empty, it will release the trolley with the same prescription. The trolley stops at the release point of the drug inspection station, removes the medicine bags of no more than 6 trolleys with sufficient medicine, puts them into the transfer box, unbinds the above trolleys with sufficient medicine, presses the release point button of the drug inspection station to release the above trolleys with sufficient medicine, and enters the trolley waiting area;
[0116] If the yellow light comes out of the medicine cabinet, the cart will be released after the medicine is replenished. The medicine bags of the carts with yellow lights, which are no more than 6 carts, will be taken off and put into the transfer box. Then the carts with yellow lights will be untied and the release button on the drug inspection table will be released. The carts will enter the cart waiting area.
[0117] When the trolley leaves the medicine cabinet, the red light will be on. When it reaches the medicine refilling station, it will stop and wait for medicine refilling. Or, if it is released due to lack of medicine, it will enter the medicine inspection station, untie the trolley, press the button at the medicine inspection station release point, and release the trolley to enter the trolley waiting area. Or, after manual medicine refilling, it will manually transfer to the medicine inspection station, take out the medicine bag of the trolley with the red light, and put it into the transfer box.
[0118] For the other carts that are not short of medicine and carry more than 6 carts of the same prescription, the carts with yellow lights and the carts with red lights will be intercepted and released by the drug inspection station. The medicine bags on the carts will be removed and put into the transfer box. The carts will be untied, that is, the medicine boxes and the carts will be separated. The release button of the drug inspection station will be pressed to release them, and the carts will enter the cart waiting area.
[0119] After the transfer box gathers multiple doses of the same prescription, each dose is tested at the drug testing station. If the drug test fails, there is a shortage of drugs that can be separated for testing, or there is a shortage of drugs, then the drugs are replenished manually. If there is a shortage of drugs that cannot be separated for testing, wrong drugs, or multiple drugs, then the drugs are scrapped and re-ordered. If the drug test passes, the drugs are packaged by the packaging machine at the packaging station and finally sent to the drug distribution area.
[0120] If the weight error of each dose is within 3% during drug testing, the green light will be turned on and random inspection will be conducted;
[0121] If the weight error of each dose during drug testing is within the range of 3% to 5%, a yellow light will be turned on and random inspection will be conducted;
[0122] If the weight of each dose exceeds the 5% range during drug testing, a red light will be turned on and the entire drug will be checked.
[0123] The business server also has a fault alarm maintenance and medicine cabinet measurement and calibration module and a dynamic display module:
[0124] Fault alarm maintenance and medicine cabinet measurement calibration module:
[0125] Manage the login of user operators; have the function of identifying faults in computers, software programs, control circuit boards and drivers, communication networks, electrical circuits, machinery and structures, and preliminarily determine the type and location of faults, and guide maintenance; manage the measurement calibration of unit medicine cabinets: issue measurement calibration instructions, receive calibration feedback data, report measurement error data to the superior system and alarm;
[0126] 1. Troubleshooting in the trolley cabinet:
[0127] ① When the system detects a car fault, the subsequent cars of the faulty car will stop and will not move forward. They will continue to move forward after obtaining action instructions after the fault is resolved;
[0128] ②. The UI interface will display the approximate location of the faulty trolley: the cabinet row corresponding to the positioning point;
[0129] ③. The user obtains the unit cabinet barcode data by scanning the code according to the fault location;
[0130] ④. Submit the unit cabinet barcode to the main business system and request to open the cabinet;
[0131] ⑤. The user takes out the old cart and places the medicinal materials on the new cart;
[0132] ⑥ Wait for the user to place the new car at the fault location, and adjust the position to wait for the new car to come online;
[0133] ⑦. Scan the barcodes of new and damaged trolleys, restore data and confirm release;
[0134] 2. Trolley cabinet fault handling:
[0135] ① When the system detects a car fault, the subsequent cars of the faulty car will stop and will not move forward. They will continue to move forward after obtaining action instructions after the fault is resolved;
[0136] ②. The UI interface will display the approximate location of the faulty vehicle, and the location point should be within a certain interval;
[0137] ③. The user takes out the old cart and places the medicinal materials on the new cart;
[0138] ④. Wait for the user to place the new car at the fault location, and adjust the position to wait for the new car to come online;
[0139] ⑤. Scan the barcodes of new and damaged trolleys, restore data and confirm release.
[0140] Cabinet unit troubleshooting
[0141] 1. System status when the cabinet unit fails:
[0142] 1.1. In the unit cabinet matrix list on the mobile terminal app display interface, the corresponding table column displays the word "fault", indicating that the unit cabinet has a fault to be checked;
[0143] 1.2. The herbal medicine preparation control system will disable this unit;
[0144] 1.3. Subsequent affected prescriptions will not be able to collect this medicinal material;
[0145] 2. Opening the cabinet:
[0146] 2.1. If the unit cabinet control board fails, you need to manually open the cabinet unit and replace the unit cabinet control board;
[0147] 2.2. For mechanical failure, scan the code to unlock;
[0148] 2.3. If the unit cabinet control panel fails, scanning the code to unlock the lock will fail. Manual unlocking is required. Manual unlocking requires a locking mechanism. When the unit cabinet control panel is in normal working condition, only scanning the code to unlock the lock is provided; otherwise, forced manual unlocking will cause the control panel to fail.
[0149] ①. If the intelligent medicine cabinet system finds that the unit cabinet or positioning point is offline, it should immediately report to the medicine preparation control system, the main business system interface will give an alarm, and provide maintenance suggestions according to the configured strategy;
[0150] ② If the decoction piece dispensing control system finds that the dispatching system, intelligent medicine cabinet system, medicine replenishment system, and medicine testing system are offline, it should immediately report to the main business system, the main business system interface will give an alarm, and will no longer dispatch medicine collection tasks;
[0151] ③. If the main business system finds that a certain herbal medicine preparation control system is offline, it will no longer issue prescriptions to the control system and issue an interface alarm;
[0152] Fault between the cabinet row control board and the unit cabinet control board and the switch power supply:
[0153] The wiring mode between the unit cabinet control board and the switching power supply is: a main cable is connected from the switching power supply, and the branch cables of each row of unit cabinets and the branch wires of the cabinet column control board are connected in parallel to the main cable, and then the branch wires of each unit cabinet control board are connected in parallel to the branch cable;
[0154] Fault classification:
[0155] One is the failure of the branch wire of the unit cabinet control panel to be damaged, which will cause the unit cabinet corresponding to the branch wire to be powered off;
[0156] The second is the failure of the branch wire of the cabinet control panel being damaged. This failure will cause the cabinet control panel to lose power and all unit cabinets corresponding to the cabinet control panel to have communication failures.
[0157] The third is that the branch cable of a row of unit cabinets is damaged, which will cause power outage to all unit cabinets behind the fault point;
[0158] The fourth is a main cable failure from the switching power supply, which will cause all unit cabinets behind the fault point to lose power;
[0159] Fault determination method:
[0160] The first fault: In terms of hardware, the indicator light on the unit cabinet door goes out, the motor equipment stops running, and the control panel has no power; in terms of software, there is no response to the command information sent by the upper system, and the information sent by the unit cabinet cannot be received suddenly. Combining these two points in terms of software and hardware, it can be clearly determined that the branch wire of the unit cabinet control panel is damaged;
[0161] The second fault: in terms of hardware, the running status indicator light of the cabinet row control board is off, and the cabinet row control board has no power; in terms of software, the upper system loses communication with all the unit cabinet control boards involved in the cabinet row control board, that is, the upper system has no response to the command information sent to these unit cabinets, and suddenly cannot receive the information sent by these unit cabinets. This fault is the same as the cabinet row control board communication fault in terms of software level. The difference lies in the hardware. One is that the status indicator light is off and the cabinet row control board has no power, and the other is that the status indicator light is still on and the cabinet row control board has power.
[0162] The third type of failure: In terms of hardware, the indicator lights on all the unit cabinet doors behind the fault point of the branch cable of the row of unit cabinets go out, the motor equipment stops running, and the control panel has no power; in terms of software, the upper system has no response to the command information sent to these unit cabinets, and suddenly cannot receive the information sent by these unit cabinets. Combining these two points in software and hardware, the approximate location of the damaged fault point of the branch cable of a row of unit cabinets can be determined;
[0163] The fourth fault: In terms of hardware, the status indicator light of the cabinet control panel behind the main cable fault point connected from the switching power supply goes out, and the indicator lights on all unit cabinet doors behind the main cable fault point go out, the motor equipment stops running, and the control panel has no power; in terms of software, the upper system has no response to the command information sent to these unit cabinets, and suddenly cannot receive the information sent by these unit cabinets. Combining these two points in software and hardware, the approximate location of the damaged fault point of the main cable connected from the switching power supply can be determined;
[0164] Processing flow:
[0165] The first type of fault handling process: the slice dispensing control system alarms → the maintenance personnel determine which unit cabinet has a damaged branch wire through the system fault guidance and the indicator light status of the unit cabinet → force the cabinet to open → replace the branch wire → reinstall the unit cabinet → the maintenance personnel clicks "confirm" on the mobile terminal to release the alarm → the unit cabinet restarts → process the slice dispensing control system, the intelligent medicine cabinet subsystem and the unit cabinet control board data → process the medicinal materials that have been discharged from the unit cabinet;
[0166] The second fault handling process: the main control system alarms → maintenance personnel use the system fault guidance and the cabinet control panel status indicator to determine which cabinet control panel has a damaged branch wire → remove the cabinet control panel → replace the branch wire of the cabinet control panel → reinstall the cabinet control panel → maintenance personnel click confirm on the mobile terminal to release the alarm → the unit cabinet restarts → process the data of the main control system, intelligent medicine cabinet system and unit cabinet control panel → process the medicinal materials that have been taken out of the unit cabinet;
[0167] The third type of fault handling process: the main control system alarms → the maintenance personnel determine the location of the fault point of the branch cable of a row of unit cabinets through the system fault guidance and the indicator light status of the unit cabinet → replace the branch cable → the maintenance personnel clicks on the mobile terminal to confirm and release the alarm → the unit cabinet restarts → process the data of the medicinal material dispensing control system, the intelligent medicine cabinet system and the unit cabinet control panel → process the medicinal materials that have been discharged from the unit cabinet;
[0168] The fourth fault handling process: the main control system alarms → the maintenance personnel determine the approximate location of the fault point through the system fault guidance and the cabinet column control panel status indicator status and the unit cabinet indicator status → replace the main cable → the maintenance personnel clicks confirm on the mobile terminal to release the alarm → the unit cabinet restarts → process the medicinal material dispensing control system, intelligent medicine cabinet system and unit cabinet control panel data → process the medicinal materials that have been discharged from the unit cabinet;
[0169] Smart medicine cabinet measurement error: The measurement error of each medicine must be controlled within -0.2 grams before the medicine can be released. The measurement error does not set an upper deviation, but the upper deviation alarm value must be set. The upper deviation alarm value is: the total of the prescription weight of the medicine plus the maximum weight of a single pill of the medicine. When the medicine output weight of the unit cabinet is greater than the upper deviation alarm value, the unit cabinet must also release the medicine, but it must also alarm the system to remind the system that the medicine tray needs to be inspected after leaving the smart medicine cabinet;
[0170] Dynamic display module: The touch display interface of the business server uses tabs to list all connected medicine dispensing control systems; the display screen of the main control server graphically displays all intelligent medicine cabinet rows and unit cabinets, and trolley movement failures, cabinet row failures and unit cabinet failures are all graphically warned; manage the login of user operators; display the operating status of each medicine dispensing control system, intelligent Chinese medicine cabinet, cabinet row group, unit medicine cabinet and transport trolley to the operator in real time: normal, lack of medicine, failure, etc.
[0171] The operation layout schemes of the rail trolley include: single row, two rows, two rows L-shaped, three rows U-shaped, three turns and four rows, four rows, and single row, double row, and multiple rows of intelligent Chinese medicine cabinets with lifting trolley tracks.
[0172] The operating status module of the main control system is:
[0173] 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;
[0174] 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:
[0175] 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;
[0176] 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.
[0177] The entire process of Chinese medicine prescription dispensing in Chinese pharmacies is intelligent, from receiving prescriptions, prescription review, prescription decomposition, prescription distribution, to automatic preparation of medicinal materials, automatic retrieval of collected medicinal materials, and then to replenishing missing medicinal materials, inspecting medicinal materials, packaging medicinal materials, and distributing packaged medicinal materials.
[0178] The beneficial effects of the present invention are:
[0179] 1. The present invention simultaneously receives prescriptions from the management system, the Internet, and manually entered prescriptions, and unifies the writing format: the prescription is divided into three parts: the preface, the main body, and the postscript, and a unique prescription number is assigned;
[0180] Based on the incompatibility of Chinese medicinal materials, the prescription medicinal materials are reviewed for incompatibility, toxicity, dosage, decoction method, medicinal material properties, and prescription validity. Taking into account the storage capacity of the smart medicine cabinet and the loading capacity of the trolley medicine tray, the conventional Chinese medicine prescription is split into decomposed prescriptions, and the decomposed prescription number and barcode are formed based on the above prescription number for use in the unit medicine cabinet to dispense medicine, the medicine replenishment table to replenish medicine, and the medicine inspection table to inspect.
[0181] 2. The present invention divides Chinese medicinal materials into five categories: systemic medicines, temporarily controlled medicines, regularly controlled medicines, specially controlled medicines and self-prepared medicines, and the above four categories of medicinal materials are properly handled in the system respectively.
[0182] 3. my country is the birthplace of Chinese medicinal materials, which have been used for thousands of years. However, the properties of Chinese medicinal materials have formed a fixed form over thousands of years. This is the result of long-term rough processing of Chinese medicinal materials. Many Chinese medicinal materials have large single-grain sizes and are clumpy in shape. They are not suitable for entering smart Chinese medicine cabinets for dispensing. They need to undergo secondary processing before they can be dispensed intelligently, which hinders the development of smart Chinese medicine pharmacies.
[0183] In view of the existing forms of commercially available medicinal materials, the present invention adopts pre-processing such as breaking, crushing and pre-packaging for the medicinal materials entering the smart medicine cabinet, which perfectly meets the drug discharging requirements of the discharging metering system of the smart medicine cabinet.
[0184] 4. The trolley track system of the present invention is matched with the intelligent medicine cabinet to realize intelligent medicine dispensing. The trolley adopts a hybrid sharing mode of on-track power supply and battery power supply, and the trolley and the system communicate using wireless wifi. When the trolley is dispatched, the trolley, the medicine tray and the decomposed prescription are barcode-bound. After dispensing the medicine, the trolley and the medicine tray are unbound and the medicine tray is removed from the trolley.
[0185] 5. Reduce manual operations in Chinese medicine pharmacies and save labor costs;
[0186] 6. Effectively reduce the error rate of manual dispensing operations, improve the accuracy of dispensing and medication, and reduce accidents caused by dispensing errors.
[0187] 7. Improve work efficiency. The speed of intelligent and automatic medication dispensing and dispensing is more than 5 times that of manual medication dispensing and dispensing.
[0188] 8. It can prevent cross contamination of Chinese herbal medicines during the preparation process.
[0189] 9. It can effectively prevent dust pollution inside the pharmacy.
[0190] The present invention is applicable to a range of Chinese herbal medicine pieces, such as bulk Chinese herbal medicine pieces, bagged Chinese herbal medicine pieces, decoction-free granule preparations and liquid Chinese herbal medicine preparations.
[0191] The present invention realizes the intelligence of the whole process of Chinese medicine preparation in a Chinese medicine pharmacy, from receiving prescriptions, prescription review, prescription decomposition, prescription distribution, to automatic preparation of medicinal materials and pieces, automatic taking out of collected medicinal materials and pieces, and then to replenishing missing medicinal materials and pieces, inspecting medicinal materials and pieces, packaging medicinal materials and pieces, and distributing packaged medicinal materials and pieces. BRIEF DESCRIPTION OF THE DRAWINGS
[0192] Figure 1 This is the hardware configuration system diagram of the smart Chinese medicine pharmacy.
[0193] Figure 1a This is the hardware configuration diagram of the intelligent Chinese medicine cabinet system.
[0194] Figure 2 yes Figure 1 System diagram of each subordinate system in the system shown.
[0195] Figure 3 It is a correlation diagram among the various systems of the present invention.
[0196] Figure 4 yes Figure 1 The system hardware diagram is shown.
[0197] Figure 5 yes Figure 1 The mechanical equipment system diagram of the system shown.
[0198] Figure 6a , Figure 6b , Figure 6c , Figure 6d They are three-dimensional diagrams of the combination of a group (there are 5 unit cabinets in the figure), a column, a row and a row of unit cabinets.
[0199] Figure 7 yes Figure 1 System software configuration diagram is shown.
[0200] Figure 8 yes Figure 1 Shown is the relationship diagram between the main business system and its subordinate systems.
[0201] Fig. 9 yes Figure 1 Shown is the main business system prescription management and dispatch logic relationship diagram.
[0202] Fig.10 It is the logical relationship diagram of the management of medicinal materials and decoction pieces in the main business system.
[0203] Fig.11 It is the logical relationship diagram of the main business system, dosing system and pretreatment system.
[0204] Fig.12 It is a logical relationship diagram between the main business system and multiple main control systems.
[0205] Fig.13 It is a schematic diagram of the classification system of medicinal materials.
[0206] Fig.14 It is a logical relationship diagram of the data statistics function of the main business system.
[0207] Fig.15 It is a logical relationship diagram of the main business system fault alarm maintenance and measurement correction functions.
[0208] Fig.16 It is a dynamic display of the logical relationship diagram of the main business system.
[0209] Fig.17 yes Figure 1 The logical relationship diagram of the rail trolley system is shown.
[0210] Fig.18 yes Figure 1 The logical relationship diagram of the prescription and drug dispensing system is shown.
[0211] Fig.19 yes Figure 1 The logical relationship diagram of the medicine dispensing call system is shown.
[0212] Fig. 20yes Figure 1 The logical relationship diagram of the mobile APP is shown.
[0213] Fig.21 yes Figure 1 The system hardware diagram is shown.
[0214] Fig. 22 yes Figure 1 The overall circuit structure block diagram of the system is shown.
[0215] Fig.23 This is the circuit diagram of the rail car control board.
[0216] Fig.24 This is the circuit diagram of the unit medicine cabinet control board.
[0217] Fig.25 This is a flowchart for taking medicine.
[0218] Fig.26 This is a block diagram of the control board circuit.
[0219] Fig. 27 It is a schematic diagram of the communication scheme between the column control board and the unit cabinet control board using RS485 bus and host polling system.
[0220] Fig.28 It is a schematic diagram of the communication scheme using a switch star network bus structure between the main control system computing unit and the column control board.
[0221] Fig.29 Fig.30 They are two communication line diagrams between the main business system and the main control system.
[0222] Fig.31 It is the communication circuit diagram of the tonic subsystem.
[0223] Fig.32 It is the communication circuit diagram of the drug testing subsystem.
[0224] Fig.33 It is the communication circuit diagram of the medicine packaging and distribution subsystem.
[0225] Fig.34 It is the communication line layout diagram of the smart medicine cabinet subsystem.
[0226] Fig.35 This is a schematic diagram of the integrated power supply wiring of the smart Chinese medicine pharmacy.
[0227] Fig.36 It is the layout diagram of power supply and power lines.
[0228] Fig.37 yes Figure 1 The mechanical equipment system diagram of the system shown.
[0229] Fig.38a , 38b , 38c, 38d, 38e, and 38f are single-row, double-row, two-row L-shaped, three-row U-shaped, three-in-four-row, and four-row trolley track operation layout plans respectively.
[0230] Figure 38g , Figure 38h , Figure 38i They are schematic diagrams of the trolley track operation layout plan of the lifting track.
[0231] Fig.39a , Fig.39b The following are schematic diagrams of two pharmacy layout plans.
[0232] Fig.40a , Fig.40b , Fig.40c They are prescription breakdown, drug shortage analysis and schematic diagrams of drug testing methods.
[0233] Fig.41 yes Figure 1 The operating status diagram of each system and main functions is shown.
[0234] Fig.42 It is the prescription format of Chinese herbal medicine.
[0235] Fig.43 yes Fig.42 The preface format of the prescription shown.
[0236] Fig.44 , Fig.45 , Fig.46 Barcode or QR code diagrams were added to the preface of the prescription sheets of three Chinese hospitals.
[0237] Fig.47 This is a diagram of the pre-prescription format of this system.
[0238] Fig.48 This is the writing format of the prescription text of this system.
[0239] Fig.49 This is the writing format for the prescription postscript of this system.
[0240] Fig.50 This is the official prescription format of this system.
[0241] Fig.51 This is a schematic diagram of the method of decocting medicine.
[0242] Fig.52 It is the master prescription format.
[0243] Fig.53 It is a decomposition prescription format with 6 medicine trays (6-1, 6-2, 6-3, 6-4, 6-5, 6-6).
[0244] Fig.54 It is a temporary medication form.
[0245] Fig.55 It is the format of the drug testing guide. DETAILED DESCRIPTION
[0246] Figure 1 Figure 2 Fig. 22 A smart Chinese medicine dispensing and dispensing system for Chinese medicine slices in a smart Chinese medicine pharmacy is shown, comprising: a business server of a main business system and 1 to n master control servers of 1 to n master control systems are respectively connected to a first switch via a network cable, a LAN port of the first switch is connected to a router, a WAN port of the router is connected to an external system, and an antenna of the router is wirelessly connected to a mobile terminal such as a mobile phone and / or a tablet computer;
[0247] Business server: The large display, touch screen display and printer are connected to the business server respectively;
[0248] 1 to n master control servers: connected to the first switch and the second switch via network cables respectively;
[0249] Each main control system includes a drug taking and adding guidance and pretreatment system, a rail car system, a vehicle dispatching system, an intelligent Chinese medicine cabinet system, a drug shortage replenishment system, a drug inspection system, and a drug packaging and dispensing system;
[0250] Taking and adding medicine guidance and pretreatment system: the electronic scale, the camera and the QR code scanning device are respectively connected to the computing unit, and the computing unit is connected to the second switch via a network cable;
[0251] Track trolley system: Magnets and RFID cards are installed on the trolley track, Hall sensors and RFID card readers are installed on the trolley to cooperate with the magnets and RFID cards on the trolley track, and four motor control circuits are set on the trolley mainboard installed on the trolley. The collision sensor, medicine shortage indicator light and fault indicator light installed on the trolley are respectively connected to the trolley mainboard circuit. The computing unit of the trolley mainboard circuit is connected to the second switch via wifi, and the collision sensor installed on the trolley track is connected to the computing unit of the track mainboard, and the computing unit is connected to the first switch via a network cable;
[0252] Departure system: the camera is connected to the computing unit, and the computing unit is connected to the second switch via a network cable;
[0253] Intelligent Chinese medicine cabinet system: the computing unit is connected to the second switch and the column control board or the third switch via a network cable respectively, the column control board or the third switch is connected to 1 to n unit cabinet control boards via an RS485 serial bus or a network cable respectively, each unit medicine cabinet is installed with an inspection door electromagnetic lock, a medicine adding door electromagnetic lock, a fault indicator light and a medicine shortage indicator light, the inspection door electromagnetic lock, the medicine adding door electromagnetic lock, the fault indicator light and the medicine shortage indicator light are respectively connected to the circuit of the unit cabinet control board, the material taking motor, the stirring motor, the medicine discharging door motor, the metering calibration motor and the dumping motor and the corresponding limit switch installed in the unit medicine cabinet are respectively connected to the circuit of the unit medicine cabinet control board, the dumping device sensor, the medicine discharging door sensor, the medicine adding door sensor and the inspection door sensor are respectively connected to the circuit of the unit medicine cabinet control board, 1 to n conveyor belt control boards are respectively connected to the column control board or the third switch via a network cable, each conveyor belt control board circuit is respectively connected to the conveyor belt motor and the conveyor belt sensor, the cleaning barrel control board is connected to the column control board or the third switch via a network cable, and each cleaning barrel control board circuit is connected to the cleaning barrel motor and the cleaning barrel sensor;
[0254] Shortage medicine replenishment system: The camera and the printer are respectively connected to the computing unit, and the computing unit is connected to the second switch via a network cable;
[0255] Drug testing system: the electronic scale, the camera and the printer are respectively connected to the computing unit, and the computing unit is connected to the second switch via a network cable;
[0256] Packaging and dispensing system: The camera, printer, touch screen, large screen, and large and small speakers are connected to the computing unit respectively, and the computing unit is connected to the second switch via a network cable.
[0257] The "intelligent Chinese medicine pharmacy intelligent dispensing and dispensing system for Chinese herbal medicine slices" of the present invention is referred to as the "intelligent Chinese medicine pharmacy intelligent dispensing and dispensing system for Chinese herbal medicine slices". The "intelligent Chinese medicine pharmacy intelligent dispensing and dispensing system for Chinese herbal medicine slices" is a comprehensive system composed of multiple independent systems, subsystems and grandchildren systems composed of computer software, computers, drive control circuit boards, mechanical structures, communication networks, electrical circuits and other auxiliary electronic equipment. The system is based on the "intelligent Chinese medicine cabinet system for dispensing Chinese herbal medicine slices (referred to as the intelligent Chinese medicine cabinet system)", which realizes the intelligent system of the whole process of dispensing Chinese herbal medicine slices in the Chinese herbal medicine pharmacy, from receiving prescriptions, prescription review, prescription decomposition, prescription dispatching, to automatic dispensing of medicinal materials, automatic taking out of collected medicinal materials, and then to replenishing missing medicinal materials, testing medicinal materials, packing medicinal materials, and distributing packaged medicinal materials.
[0258] "External system" refers to a system used by users that is independent of this "Smart Chinese Medicine Pharmacy Chinese Medicine Piece Intelligent Dispensing and Prescription System" and is related to this "Smart Chinese Medicine Pharmacy Chinese Medicine Piece Intelligent Dispensing and Prescription System".
[0259] The "Smart Chinese Medicine Pharmacy Chinese Medicine Piece Intelligent Dispensing and Dispensing System" is composed of: main business system, prescription collection and dispensing system, dispensing call system, rail trolley system, and mobile APP system; the main business system includes subsystems and functions: drug collection and addition guidance and pretreatment system, medicinal material and piece management function, prescription management and dispatching function, (1∽n) medicinal material and piece dispensing control system, fault alarm maintenance and measurement calibration system; the medicinal material and piece dispensing control system is an independently operating system composed of a dispatching system (which can be merged into the smart Chinese medicine cabinet system), a smart Chinese medicine cabinet system, a shortage medicine replenishment system, and a medicine inspection system in a closed-loop track of a trolley; the smart Chinese medicine cabinet system is an independently operating system composed of software programs, computers, communication networks and equipment, electrical lines, and multiple unit medicine cabinets; the unit medicine cabinet is composed of a medicinal material and piece hopper, The medicine taking device (which may include a crushing device), a metering device (which may include a calibration device), a pushing and dumping device, a control circuit board and other auxiliary devices are composed of an independent operating program, can receive command information, and can operate independently. The cabinet has the functions of taking, metering and dispensing medicine; the rail trolley system is an independently operating system composed of software programs, computers, communication networks and equipment, WIFI routers, trolley tracks, Hall sensors and magnets, RFID sensors and sensors, and multiple transport trolleys and medicine boxes; the transport trolley is composed of an anti-collision device, a distance detection device, an operating drive mechanical device, a rechargeable battery pack, a Hall sensor, an RFID sensor, a WIFI receiver, a control circuit board and other auxiliary devices. It has an independent operating program, can receive command information, and can operate independently. The relationship between these systems and functions is as follows: Figure 1 .
[0260] Functional modules of the system:
[0261] 1. Functions of the external system: It has the function of providing prescription information data to the intelligent Chinese medicine preparation and dispensing system of smart Chinese medicine preparations through computer networks and software protocols. The information data includes the patient information and medicinal material preparation information of the prescription. Receive the information fed back by the intelligent Chinese medicine preparation and dispensing system of smart Chinese medicine preparations.
[0262] 2. Functions of the intelligent dispensing and dispensing system for Chinese herbal medicines in smart Chinese medicine pharmacies: Receive prescription data transmitted from external systems through computer networks and software protocols, and feedback the receipt status identification to the external system; receive internally entered prescription data; realize communication between various sub-systems within the system through computer networks and communication protocols; realize communication between computer software and hardware through computer networks and communication protocols; have barcode design and QR code design functions for the main business system to select and configure; have barcode and QR code scanning and recognition functions for the configuration and use of subordinate systems.
[0263] 3. Functions of the main business system: It has the function of receiving prescription data input from the external system and the prescription data entered internally; it receives the prescription information data transmitted by the prescription receiving and dispensing system through the communication protocol and matches it with the prescription information data input from the external system or the prescription information data directly entered into this system. The matching prescription is a valid prescription before the next step can be entered (when the prescription receiving function is turned on); it has the function of prescription management and dispatching; it has the function of managing medicinal materials and pieces; it has the function of configuring and managing (1∽n) medicinal pieces dispensing control systems; it has the function of managing medicine trays, and can add, modify and delete medicine trays; it can configure barcodes and QR codes Design, management and printing functions; has user and user authority management functions; has data statistics functions; contains a built-in drug taking and adding guidance and pretreatment system; contains a fault alarm maintenance and medicine cabinet measurement and calibration system; communicates with the rail trolley system through the network and software protocol, issues instructions, receives information feedback, manages the registration, addition, modification, deletion of the trolley, and manages the trolley positioning points; communicates with the mobile APP system through the network and software protocol, receives or feedbacks instructions and information; communicates with the recipient drug delivery system through the network and software protocol, receives or feedbacks instructions and information; communicates with the packaging and delivery call system through the network and software protocol, and receives instruction feedback information.
[0264] Appendix: Function of the medicine tray: to hold medicinal pieces; by scanning the code, the medicine tray can be bound or unbound to the "prescription breakdown sheet".
[0265] ⑴ Prescription management and dispatching functions: read the received prescription information data; perform the following review functions on the prescription: drug shortage review (can be closed), drug incompatibility review (can be closed), drug toxicity review (can be closed), whether the dosage exceeds the dosage specified in the pharmacopoeia review (can be closed), drug decoction method review (can be closed), drug decoction properties review (can be closed), prescription timeliness review (can be closed); pass, shelve or reject the reviewed prescriptions; classify and mark the drug decoctions in the prescription: often Use system medicine pieces, system medicine pieces with low usage frequency, medicine pieces with different decoction methods, self-prepared medicines, special controlled medicines, regular controlled medicines, and temporarily controlled medicines; assign prescriptions to the medicine piece dispensing control system; withdraw prescriptions that have been assigned to the medicine piece dispensing control system, but prescriptions that have entered the medicine piece dispensing procedure cannot be withdrawn; receive information data sent by the packaging and dispensing system and the call dispensing system, and record the status of all prescriptions in real time: whether to print the formal prescription, whether to package, and whether to dispense; query the prescription and the real-time status of the prescription; report statistical data.
[0266] ⑵ Functions of medicinal material slice management: manage medicinal material names and aliases; 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, sphere, column, strip, floc, 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, infrequently used system slices, self-prepared medicines, special controlled medicines, regularly controlled medicines, and temporarily controlled medicines; manage the decoction methods of medicinal material slices; manage the incompatibility contraindications 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; temporary shortage management of system medicinal material slices; operation and login management of medicinal material slice managers.
[0267] ⑶Configure and manage (1∽n) pieces of medicine dispensing control system functions: create (1∽n) pieces of medicine dispensing control system in the main business system; configure or modify the subordinate systems of the pieces of medicine dispensing control system: dispatch system, intelligent Chinese medicine cabinet system, medicine shortage replenishment system, medicine inspection system; configure or modify the unit medicine cabinet group of the intelligent Chinese medicine cabinet system; configure or modify the unit medicine cabinet of the intelligent Chinese medicine cabinet system; manage the startup, operation, pause, stop, and recovery status of the pieces of medicine dispensing control system and each subordinate system; have the function of querying the prescription tasks of each pieces of medicine dispensing control system on the day: all queued prescriptions, prescriptions to be picked up, prescriptions that have been picked up, etc.; have the function of querying the historical prescription tasks of each pieces of medicine dispensing control system Yes; it has the function of placing prescriptions at the top or bottom; it has the function of withdrawing prescriptions (prescriptions that have entered the dispensing procedure cannot be withdrawn); it sends the received queued prescriptions to the intelligent Chinese medicine cabinet system for decomposition, and reports the vehicle task information decomposed by the intelligent Chinese medicine cabinet system to the main business system; it has the function of querying the status of the transport vehicles in this herbal medicine dispensing control system: total number of vehicles, waiting to be dispatched, dispatched, medicine-collected, scrapped, faulty, etc.; it reports the operating status of the herbal medicine dispensing control system, the intelligent Chinese medicine cabinet system and all unit medicine cabinets; it has the function of pause and resume; it reports the storage capacity of herbal medicines in the unit medicine cabinet; it reports faults, fault types and fault handling status; it can perform self-inspection and report the self-inspection results.
[0268] ① Functions of the dispatching system: The dispatching point of the dispatching system is the starting point and also the end point of the transport trolley of the closed-loop trolley track of a herbal medicine dispensing control system. After completing a task, all transport trolleys will queue up at the dispatching point and wait to receive the next train task; the dispatching point receives the train task information data sent by the main business system; the system has a built-in train task queue management, queues the received train tasks, and dispatches them in sequence; the dispatching point binds the train task, the transport trolley and the medicine tray together, and sends the information data of the transport trolley's medicine pickup stop positioning point to the transport trolley, and then dispatches the transport trolley; reports the train task execution status information data to the herbal medicine dispensing control system and the main business system; has the control system pause and resume function; reports faults, fault types and fault handling status; can perform self-inspection and report the self-inspection status.
[0269] ② Functions of the intelligent Chinese medicine cabinet system: communicate with the main control system and unit medicine cabinet; start, stop, pause, and resume the operation of the unit medicine cabinet; and query its operating status at any time; create cabinet groups, manage the addition, exchange, start, disable, query and deletion of cabinet groups; set the positioning point of the transport trolley associated with the cabinet group; bind the unit medicine cabinet, manage the addition, exchange, start, disable, query and deletion of the unit medicine cabinet; the unit medicine cabinet equipment goes online, online status, control command sending, receive unit medicine cabinet feedback information, and report the unit medicine cabinet equipment status to the superior system; manage the control unit medicine cabinet's drug retrieval and drug delivery work; manage the unit medicine cabinet's cabinet door scanning switch; manage the unit medicine cabinet's drug addition and hopper balance; manage the unit medicine cabinet's medicinal material slice replacement; manage the unit medicine cabinet's drug delivery error and error clearing; responsible for decomposing the prescription sent by the slice dispensing control system, and report the prescription decomposition vehicle task information to the main business system, and generate a "decomposed prescription" for the decomposed prescription The "decomposed prescription list" and related data information are sent to the drug inspection system, and the "controlled medicinal material slices" in the prescription are used to generate a "shortage medicine replenishment list" and the "shortage medicine replenishment list" and related data information are sent to the shortage medicine replenishment system; the control unit medicine cabinet can be pre-picked according to the train number that is about to arrive or to be dispatched, that is, the unit medicine cabinet is pre-arranged to pick out the medicinal material slices and store them on the weighing plate, and the medicine is not dispatched until the transport trolley and medicine tray of the corresponding train arrive; the unit medicine cabinet receives feedback from the temporary shortage of medicine caused by failure or insufficient or shortage of medicine in the unit medicine cabinet, reports it to the slice dispensing control system, adds it as a "temporary controlled medicinal material slice" in the slice dispensing control system, and generates a "shortage medicine replenishment list" by the slice dispensing control system, and then sends the "shortage medicine replenishment list" and related data information to the shortage medicine replenishment system; the replacement of the management cabinet column group control panel and the unit medicine cabinet control panel is reported; the fault, fault type and fault handling status are reported; self-inspection can be performed and the self-inspection situation is reported;
[0270] Functions of the unit medicine cabinet: Receive data information sent by the intelligent Chinese medicine cabinet system; report data information to the intelligent Chinese medicine cabinet system; be responsible for the collection and delivery of medicinal materials; receive measurement calibration instructions sent by the intelligent Chinese medicine cabinet system, complete measurement calibration work, and report measurement error data and alarms to the intelligent Chinese medicine cabinet system; report faults and fault types; perform self-inspection and report the self-inspection results.
[0271] ③ Functions of the shortage medicine replenishment system: manage the login of user operators; receive the "shortage medicine replenishment form" and related data information sent by the intelligent Chinese medicine cabinet system, and print out the "shortage medicine replenishment form"; use the communication protocol to manage the passage, stop and release of the transport cart and medicine tray at the positioning point of the shortage medicine replenishment system; confirm the replenishment information of the current vehicle by scanning the transport cart and medicine tray, so that the operator can compare the "shortage medicine replenishment form" to complete the replenishment task; confirm the completion of the replenishment by scanning the "shortage medicine replenishment form"; can query the replenishment status of the current system in real time, and report the log to the superior system; report faults and fault types; can perform self-inspection and report the self-inspection situation.
[0272] ④ Functions of the drug inspection system: manage the login of user operators; receive the "prescription decomposition sheet" and related data information sent by the intelligent Chinese medicine cabinet system to generate a "drug inspection guidance sheet", and print out the "drug inspection guidance sheet"; use the communication protocol to manage the passage, stop and release of the transport trolley and medicine tray at the positioning point of the drug inspection system; after the operator removes the medicine tray from the transport trolley, he scans the code of the medicine tray to unbind the transport trolley and the medicine tray, and obtains the "prescription decomposition sheet" data information of the current medicine tray, which is convenient for the operator to measure or identify the physical object against the "prescription decomposition sheet" Compare and complete the drug inspection task; when the trolley leaves the drug inspection positioning point, the system will clear the data bound to the transport trolley; confirm the medicine trays that have passed the inspection of medicinal materials; confirm the medicine trays that have failed the inspection of medicinal materials, unbind the medicine trays from the "prescription decomposition form", and report the "prescription decomposition form" and related data information to the superior system so that the superior system can dispatch the order again; manage the calibration of measuring equipment; manage the weight calibration of medicine trays; can query the drug inspection status of the current system in real time, and report the log to the superior system; report faults and fault types; can perform self-inspection, and report the self-inspection situation.
[0273] ⑷Barcode and QR code management functions (optional configuration): manage barcode and QR code printing equipment; call barcode and QR code protocols and design functions to edit barcodes and QR codes; manage the barcode and QR code classification, addition, deletion, change and other functions of unit medicine cabinets, transport carts, cart medicine trays, medicine storage boxes, prescriptions, drug inspection instructions, refill orders, user identity cards, etc.
[0274] ⑸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, and set, add, change, and reduce roles and rights for users.
[0275] ⑹Data statistics functions: statistics on prescription reception, execution, shelving and scrapping data; receiving prescription data sent by the prescription receiving and dispensing system, counting the total number of prescriptions received and the ratio of prescriptions to external prescriptions; receiving dispensing data sent by the call dispensing system, counting the total number of packaged prescription medicinal materials and slices, and the ratio of actually issued packaged prescription medicinal materials and slices to packaged prescription medicinal materials and slices; counting the satisfaction rate of prescriptions in the slice dispensing control system; counting the prescription dosage, actual output (including the dosage for replenishment of missing drugs), and the number of scrapped drugs for each medicinal material and slice; counting the total number, qualified number, qualified rate, scrapped number and scrap rate of drug inspections; counting the total number and total number of replenishments for missing drugs and the number and quantity of each medicinal material and slice; counting the number and frequency of added drugs in the unit medicine cabinet; counting the types and frequencies of failures of the unit medicine cabinet, transport trolley and other equipment; and generating various reports.
[0276] ⑺Functions of the medication guidance and pretreatment system: manage the login of user operators; create and store a statistical list of storage locations of medicinal materials in the medicinal materials warehouse; create a medication list based on the shortage of each unit medicine cabinet transmitted by the medicinal materials dispensing control system. The list shows the amount of medication required for each medicinal material, the warehouse number, shelf number, and rack number of the medicinal material, and whether pretreatment is required; bind the drug storage frame and the batch and quantity of the medicinal materials to be pretreated by scanning the code or taking a photo until the pretreatment is completed and the medication is successfully added; send the medication list to the mobile APP to guide the medication personnel to operate; display the medication status: normal amount, waiting for medication, and urgent need for medication, and prioritize and display it according to the urgency of this status and adjust it in real time; display the remaining amount of the unit medicine cabinet in real time; have the function of recognizing barcodes and QR codes; have the function of taking photos; have the function of scanning the code to open the hopper door of the unit medicine cabinet; have the function of returning medicinal materials to the warehouse and deducting the amount of medication added; have the function of managing expired medicinal materials and guiding the cleaning of unit medicine cabinets; report statistical data.
[0277] ⑻Fault alarm maintenance and medicine cabinet measurement calibration system functions: manage user operator login; have the function of identifying faults in computers, software programs, control circuit boards and drivers, communication networks, electrical circuits, machinery and structures, and preliminarily determine the type and location of the fault, and guide maintenance. Management unit medicine cabinet measurement calibration: issue measurement calibration instructions, receive calibration feedback data, report measurement error data to the superior system and alarm.
[0278] ⑼ Dynamic display function: manage the login of user operators; show the operating status of each herbal medicine dispensing control system, intelligent Chinese medicine cabinet, cabinet group, unit medicine cabinet and transport vehicle to the operator in real time: normal, lack of medicine, fault, etc.
[0279] 4. Functions of the prescription receiving and dispensing system: manage the login of user operators; the prescription receiving function of the system can be turned off; receive prescriptions submitted by patients and scan the code to enter the system, and then transmit the prescription information to the main business system; assign the prescription dispensing window; scan the code of the drug inspection instruction sheet to confirm that the packaging of medicinal materials and slices is completed, and print the formal prescription sheet; scan the code of the patient's medicine collection sheet to confirm that the medicine collection is completed; query the status of the prescription: medicine picking status, packaging status, and waiting for medicine collection status; manage the timeliness of packaged medicinal materials and slices, and display an alarm for prescription drugs that have not been picked up within the time limit; can query the current system operation status in real time, and report the log to the main business system; report faults and fault types; can perform self-inspection, and report the self-inspection results.
[0280] 5. Functions of the medication dispensing call system: It has text-to-speech conversion function; it receives the packaged prescription information sent by the medication dispensing system, pushes the display information to the screen, pushes the voice call information to the calling device, prompts and calls the patient to pick up the medicine; it manages the queue of prescriptions to be dispensed in real time: it receives new prescriptions, queues display calls, and deletes prescriptions that have been picked up; it reports system dynamics and logs in real time; it reports faults and fault types; it can perform self-inspection and report the self-inspection results.
[0281] 6. Functions of the rail trolley system: establish connections with the main business system, various herbal medicine dispensing control systems, and the dispatching systems, intelligent Chinese medicine cabinet systems, medicine shortage replenishment systems, and drug testing systems under the herbal medicine dispensing control systems through communication protocols; manage the deployment and settings of which herbal medicine dispensing control system the positioning point belongs to, and can add, modify, delete, and query the positioning points for the transport trolley to stop; manage the deployment and configuration of which herbal medicine dispensing control system the transport trolley belongs to, and can add, modify, and delete the deployment of the transport trolley, monitor and query the transport trolley, and replace or repair faulty transport trolleys; manage the operation of the transport trolley: command the transport trolley to stop or run at the positioning point, stop the operation of the transport trolley, and resume the operation of the stopped transport trolley; report the operating status and configuration business of the transport trolley to each related system in real time; receive data information sent by each related system to command the operation of the transport trolley; report system dynamics and logs in real time; report faults and fault types; perform self-inspection and report the self-inspection results.
[0282] Appendix: Functions of the transport trolley: sense positioning point information, analyze and report it to the rail trolley system; receive control instructions sent by the rail trolley system, and complete operation and parking according to the control instructions; report operation dynamic data information to the rail trolley system in real time; report faults and fault types; can perform self-inspection and report the self-inspection results.
[0283] 7. Functions of the mobile APP system: manage the login of user operators; can scan and identify barcodes and QR codes; can receive information push from the main business system; has notification reminder functions: fault alarm reminder, unit medicine cabinet shortage alarm reminder, error clearing reminder, measurement correction reminder, shortage of medicine replenishment alarm reminder, medicine test failure alarm reminder, and other alarm reminders; can query and operate medicine tray management; can query and operate rail trolley management; can query and operate medicinal materials and slices management; can query and operate prescription management; can query and operate medicine taking and adding instructions and medicinal materials and slices pretreatment; can query and operate intelligent Chinese medicine cabinet configuration; can independently control the start and disable of unit medicine cabinet and the opening of unit medicine cabinet door; can query and operate unit medicine cabinet balance management; can query and operate shortage of medicine replenishment management; can query and operate medicine test management; can query and operate fault repair management.
[0284] The subordinate systems of the above systems and main functions are as follows Figure 2 , the running status is as follows Fig.41 .
[0285] Communication service relationship between software, hardware and equipment in the intelligent dispensing and dispensing system of Chinese medicine pieces in smart Chinese medicine pharmacy
[0286] Software and hardware communicate via IP network.
[0287] Adaptive connection device: After one configuration is implemented, each system software will automatically establish a connection without the need for manual configuration.
[0288] System log provider: 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;
[0289] Secondary parsing of device data: The hardware communication service calls the secondary parsing of the basic data of the device service through its own registered event processing code; different devices use independent parsing codes. For example, fixed-point data will be parsed using the positioning point protocol.
[0290] Data consistency issue: The lower-level system should send heartbeat 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 packets; all communications between the upper and lower systems are carried out in a "request-response" manner, that is, if either 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 responded to.
[0291] The prescription management and dispatching function is the first step in the operation of the intelligent Chinese medicine dispensing and dispensing system for Chinese medicine slices in the smart Chinese medicine pharmacy, and it runs through the entire process of the operation of the intelligent Chinese medicine dispensing and dispensing system for Chinese medicine slices in the smart Chinese medicine pharmacy. It is the basis for prescription decomposition in the main control system; it is the basis for the intelligent Chinese medicine cabinet subsystem in the main control system to take out medicinal slices; it is the basis for the replenishment of medicines in the shortage replenishment subsystem; it is the basis for drug testing in the drug testing subsystem; it is the basis for the receipt and dispensing of prescriptions by the prescription receiving and dispensing subsystem; it is the basis for the statistical function to count the prescription drug volume.
[0292] Prescription format management:
[0293] Prescription content: Prescription content consists of three parts: ① Preface: including the name of the medical, preventive, and health care institution, 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. ② Text: marked with Rp or R (abbreviation of the Latin word Recipe "please take"), prescriptions for Chinese patent medicines should list the name of the medicine, specifications, quantity, usage and dosage. Prescriptions for Chinese herbal medicines should list the name of the medicine, quantity, decoction method, and usage and dosage. ③ Postscript: Physician signature and / or special seal, drug amount, and signature of pharmaceutical professionals who review, dispense, check, and dispense the medicine.
[0294] Prescription writing principles: According to the relevant provisions of Chapter 2 "Format and Requirements for Writing Chinese Medicine Prescriptions" of the "Standards for Prescription 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, and 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.
[0295] Prescription format template; e.g. Fig.42 Example of writing prescription for Chinese herbal medicine: 23cm*14.5cm.
[0296] Prescription note writing format:
[0297] ①. Relevant provisions on the format of pre-prescription notes: Pre-prescription notes include the name of the medical institution, 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. See Fig.43.
[0298] Since most medical institutions now use computer intelligent management, in order to facilitate the input of prescription information and scanning of codes, a barcode or QR code is added to the preface of the prescription. Fig.44 , Fig.45 , Fig.46 .
[0299] ②、System regulations on the format of prescription pre-notes:
[0300] The system's prescription pre-record format includes: medical institution name, prescription number such as [20210512-123], prescription barcode, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, etc. In general, the prescription information transmitted by the user management system is used.
[0301] (Prescription number description: 20210512 refers to the prescription time: May 12, 2021, -123 refers to the number of prescriptions today. The system automatically sorts and numbers the prescription time and prescription number.)
[0302] The specific format is Fig.47 :
[0303] Prescription text writing format:
[0304] The text of the prescription is indicated by the capital letters "RP" or "R". The text of the prescription of Chinese herbal medicine pieces includes the name of the piece, dosage, number of doses, usage and dosage. The prescription of Chinese herbal medicine pieces cannot be written on the same prescription as Western medicine or Chinese patent medicine.
[0305] The names of the pieces, dosage regulations, number of doses, usage and dosage regulations, and the format of the prescription text shall be implemented in accordance with the "Standards for Prescription and Dispensing of Traditional Chinese Medicines", see Fig.48 .
[0306] Fig.49 Show the format for writing prescription postscripts:
[0307] ①. Excerpts from the "Standards for Prescription and Dispensing of Traditional Chinese Medicine" are as follows: The prescription postscript includes the physician's signature and / or a special seal, the drug amount, and the signature and / or a special seal of the pharmaceutical professional and technical personnel who review, dispense, check, and dispense the drugs.
[0308] ②. Our system's regulations on the format of prescription postscript writing are consistent with the "Standards for Prescription and Dispensing of Traditional Chinese Medicine".
[0309] We designed a formal prescription writing format, such as Fig.50 :
[0310] Questions about decoction method:
[0311] ①. When there are special requirements for the decoction method of a certain Chinese medicine in the prescription, it will be noted in brackets on the upper right corner of the Chinese medicine, such as cloth wrapped, first, last, etc. For example: mint (last).
[0312] ② The instructions for decoction are usually marked on the medicine bag in larger fonts for easy reading by the patient. Fig.51 :
[0313] Prescription operation management: three software functions: prescription receiving (including input), prescription review and allocation, and prescription query.
[0314] Prescription reception (including input):
[0315] 1. Receipt of prescriptions from the customer management system:
[0316] Receive prescriptions transmitted from the customer management system (external interface and external communication protocol); provide external call services through the HTTP protocol, use POST to transmit prescription data, and the data is 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.
[0317] Activate the "Receive Prescription" function to receive prescriptions:
[0318] After the main business system starts the "receiving prescription" function, the prescriptions received by the main business system from the customer's management system will enter the "prescription waiting area" for processing and will not be immediately reviewed and assigned to the main control system. When the patient hands the prescription to the prescription receiving and dispensing counter, the prescription receiving and dispensing counter scans and reads the prescription barcode through a camera and reports it to the main business system. After the main business system automatically compares it, it starts the corresponding prescription in the "prescription waiting area" to enter the next step. At this time, the activated prescription begins to enter the next step of review and distribution.
[0319] 2. Receiving prescriptions from the Internet: The user management system receives prescriptions transmitted by patients through the Internet (such as WeChat, QQ, etc.), and sends the prescriptions to the pharmacy after payment is calculated in the app. The pharmacy then picks up the medicines based on the prescriptions.
[0320] 3. Receiving and entering manually entered prescriptions: The system provides a manual prescription entry function, where pharmacy staff can enter prescriptions that need to be picked up immediately on the computer of the smart Chinese medicine pharmacy intelligent dispensing and dispensing system for Chinese herbal medicines; it supports selecting herbal medicines by the first letters of their pinyin for entry; when a prescription is entered manually, automatic pre-examination will be called to identify the opposite; manually entered prescriptions also need to be reviewed before being distributed; when the "receive prescription" function is turned on, manually entered prescriptions also require the patient to submit the prescription to the pharmacy before entering the next step.
[0321] 4. Prescription number:
[0322] The system issues a unique prescription number to the input prescription, which can be the prescription number transmitted by the user management system. If the user management system does not give a prescription number or the prescription number given by the user management system cannot be used by our system, our management system can generate a prescription number for the prescription according to the provisions of Section 3 of this chapter "1. Prescription management: 1. Prescription format requirements: ⑴. Prescription pre-note writing format: ②. Our system's provisions on the pre-prescription note format:".
[0323] 5. Time limit of prescription:
[0324] In order to ensure timely and effective clinical medication, the timeliness of prescriptions should be guaranteed.
[0325] The prescription is valid on the day it is issued. If the validity period needs to be extended under special circumstances, the physician who issues the prescription shall indicate the validity period, but the maximum validity period shall not exceed 3 days.
[0326] When the Chinese medicine dispensing room receives a prescription that has been paid for but is not valid on the same day, or a prescription that is valid for more than 3 days and is indicated by the prescribing physician, the patient should be explained the timeliness of the prescription and a refund should be processed. If the person picking up the medicine insists on asking the pharmacy to dispense an expired prescription, the person picking up the medicine should first seek the opinion of the prescribing physician. If the physician confirms that the prescription is still suitable for the condition, the prescription date should be changed on the prescription and the physician should re-sign (or / and stamp) the change before dispensing.
[0327] Medical institutions that adjust prescriptions that are not charged on the same day should count the prescriptions according to the adjustment date, implement strict product management, and conduct financial settlement on a daily basis should also make good accounting processing.
[0328] Prescription Review:
[0329] Receive prescriptions from "prescription input"; the system automatically pre-examines: drug shortage review:
[0330] ⑴. There is a lack of medicine with the name of a certain medicine in the prescription: the name exists in the system, but the system shows that there is no such medicine in the inventory and medicine cabinet. In this case, the system will mark it and alarm the reviewer. The reviewer will manually remind the prescribing doctor offline whether to change the medicine and prescribe again. If no re-prescription is made, the missing medicine will be marked as self-prescribed medicine and released.
[0331] ⑵、Missing medicine without the name of the medicinal material: If a certain medicine in the prescription does not exist in the system, the system will mark it and alarm the reviewer. The reviewer will manually remind the prescribing doctor offline whether to change the medicinal material and prescribe again. If no re-prescription is made, the missing medicine will be marked as self-prescribed medicine and released.
[0332] 2. Review of incompatibility of traditional Chinese medicine:
[0333] ⑴. The incompatibility taboos of Chinese medicine are mainly summarized as "Eighteen Antidotes" and "Nineteen Fears":
[0334] Eighteen counter-reactions: Licorice is counter-reaction to Ginseng, Euphorbia, Dahurian, and Sargassum; Aconitum (Chuanwu, Caowu, and Fuzi) is counter-reaction to Fritillaria (Chuanbei, Zhejiang Fritillaria), Trichosanthes (Trichosanthes peel, Trichosanthes seed, Radix Trichosanthis), Pinellia, Bletilla striata, and Bletilla striata; Veratrum is counter-reaction to Ginseng, Salvia miltiorrhiza, Adenophora, Scrophularia, Sophora flavescens, Asarum, and Paeonia lactiflora.
[0335] Nineteen things that fear: sulfur fears potassium saltpeter, mercury fears arsenic, wolfsbane fears realgar, croton fears qianniu, clove fears turmeric, Chuanwu and Caowu fear buffalo horn, saltpeter fears trillium, cinnamon fears litharge, ginseng fears quinanopsis.
[0336] (2) The system checks whether there are any contradictory medicinal materials in the prescription. If there are any contradictory medicinal materials, the system will mark them and send an alarm to the auditor. The auditor will manually remind the prescribing doctor whether to change the prescription. If no re-prescription is needed, the system will remind the doctor and approve the prescription.
[0337] 3. Toxicity review of traditional Chinese medicine:
[0338] At present, ordinary white prescriptions are used to prescribe toxic Chinese medicines; medical institutions dispense toxic Chinese medicines based on formal prescriptions signed by practicing physicians with prescription authority; the dosage of each prescription must not exceed the two-day maximum; when dispensing prescriptions, one must be serious and responsible, measure accurately, follow the requirements of the doctor's instructions, and the prescriptions can only be issued after being signed and sealed by the formulating personnel and the reviewer with a technical title of pharmacist or above.
[0339] Upon review, if the usage of toxic medicinal materials or the dosage of a single medicine in the prescription has seriously violated the regulations on the toxic compatibility of medicinal materials, the system will directly prompt "Not Approved".
[0340] 4. Dosage review:
[0341] If the user's management system has a prompt function in prescription management to indicate whether the single-dose dosage of medicinal materials exceeds the dosage specified in the pharmacopoeia, when the doctor is prescribing and the dosage of medicinal materials in the prescription exceeds the dosage specified in the pharmacopoeia, the user's management system will issue an alarm to avoid exceeding the dosage of medicinal materials in the prescription.
[0342] 5. Review of decoction method:
[0343] If the user's management system has a prescription option for decocting medicinal materials in the prescription management, the doctor can directly select and click to confirm in the prescription.
[0344] Review the methods of decocting and taking the medicinal materials in the prescriptions, and mark the medicinal materials that may be decocted first (shells, shells, fossils, minerals, nourishing and tonic types, weakly toxic types (such as raw pinellia, asarum, etc.), decocted later (aromatic and dispersing medicinal materials), decocted in packages (seeds), decocted separately (ginseng, etc.), melted (donkey-hide gelatin, deer glue, tortoise shell glue and Glauber's salt, etc.) and powdered for oral administration (Panax notoginseng, Fritillaria cirrhosa, cinnabar, amber, antelope horn, buffalo horn, etc.) and send an alarm to remind the reviewer.
[0345] 6. Review of the properties of medicinal materials:
[0346] In order to meet the needs of the unit medicine cabinet's discharging mechanism, some medicinal materials need to be broken into small pieces. At the same time, combined with the relevant requirements of the "Standards for Prescription and Adjustment of Traditional Chinese Medicines", "breaking into small pieces" is regarded as a kind of "crushing" in the processing method. The word "crushed" should be marked in the upper right corner of the name of the medicinal material in the formal prescription, such as: "Stir-fried Atractylodes (crushed)", which meets the requirements.
[0347] 7. Prescription validity review: Review whether the prescription for payment is an expired prescription: If it is found during the review that the prescription is not a prescription for the same day or the prescribing physician indicates that the prescription is valid for 3 days but has exceeded 3 days, the system will alarm and put the prescription on hold, waiting for the reviewer to process.
[0348] Prescription review and approval are divided into five types: "Not approved", "Approved due to lack of medicine", "Approved after prompt", "Approved after change" and "Approved", all of which are operated by manual clicks; upon review, if the medicinal materials and pieces in the prescription meet the requirements of the seven items of "drug shortage review, Chinese medicine incompatibility review, Chinese medicine toxicity review, dosage review, decoction method review, medicinal materials and pieces properties review, and prescription time limit review" in the system, the system will directly prompt "Approved".
[0349] Query the prescription status in the prescription management and dispatching function: query the reviewed prescriptions (pending review, passed review, failed review); query the reviewed pending distribution to view the real-time undistributed prescriptions; query the reviewed distributed prescriptions to view the distributed prescriptions; query the failed reviewed shelved prescriptions to view the currently shelved prescriptions.
[0350] Classification of prescription medicinal slices: Based on the toxicity, shape, weight and frequency of use of medicinal slices, medicinal slices are divided into: self-prepared medicinal slices (referred to as self-prepared medicines), special-controlled medicinal slices (referred to as special-controlled medicines), regular controlled medicinal slices (referred to as regular controlled medicines), temporary controlled system medicinal slices (referred to as temporary controlled medicines), and system medicinal slices (referred to as system medicines). System medicinal slices are divided into: low-frequency system medicinal slices (referred to as low-frequency system medicines) and commonly used system medicinal slices (referred to as commonly used system medicines).
[0351] Self-prepared medicine (marked with letters ZB): This type of medicine is very common in daily life but is basically not available in pharmacies, such as ginger, etc., and must be prepared by the patient at home;
[0352] Special controlled drugs (marked with letters TK): This type of medicinal material slices are extremely expensive and have low usage rates, requiring special management (expensive), or are extremely toxic and require special management (toxic), or are extremely volatile liquids (liquids), etc. These medicinal material slices should not be placed in the intelligent Chinese medicine cabinet subsystem, but should be managed in a special way in the medicinal material warehouse. If a prescription requires, they can be directly weighed and taken from the warehouse;
[0353] Standing controlled medicines (marked with letters CK): This type of medicinal pieces are relatively expensive and not used frequently (expensive), or are highly toxic and not used frequently (toxic), or are liquid (including volatile liquids) (liquid), or are not suitable for small pieces (whole), or are particularly sticky (sticky) or light (light) or have magnetic (magnetic) and other characteristics. Such medicinal pieces should not be put into the intelligent Chinese medicine cabinet subsystem, but should be specially stored and managed in the standing controlled medicine cabinet set up in the shortage medicine replenishment subsystem. If a prescription is required, they should be weighed and taken in the shortage medicine replenishment subsystem;
[0354] Temporary controlled drugs (marked with letters LKX): This type of medicinal material slices are originally systemic drugs, but are temporarily converted into controlled drugs due to equipment failure. They have the characteristics of uncertainty and short control time;
[0355] Low-frequency system medicine (marked with the letters DX): This type of medicinal pieces are conventional medicinal pieces, but the daily usage is not large. Sometimes they are not used once a day, or even only once every few days. In smaller pharmacies, it is recommended to directly take medicine from the warehouse or from the shortage medicine replenishment subsystem, without entering the intelligent Chinese medicine cabinet subsystem, reducing the number of unit medicine cabinets used and reducing the cost of medicine cabinets; in larger pharmacies, they can enter the intelligent Chinese medicine cabinet subsystem, but when placing them, these medicinal pieces should be placed relatively concentrated together, which is convenient for centralized management and can reduce the number of cleaning times of the string barrel.
[0356] Commonly used system medicines (marked with the letters CX): This type of medicinal materials are conventional medicinal materials with large daily usage and are the main service objects of the intelligent Chinese medicine cabinet subsystem.
[0357] Matching of medicinal materials and unit medicine cabinets:
[0358] 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.
[0359] The system automatically gives each type of medicinal material entered an internal unique number, which is stored in the main business system. Only medicinal materials with numbers that exist in the main business system can be listed in the main control system.
[0360] Medicinal material slice attribute number format: Medicinal material slice attribute number: CX12-a (Note: CX12 is the unique number of commonly used systemic drugs, -a refers to the medicinal material slice attribute number.)
[0361] Each main business system needs to create a medicinal material decoction attribute library.
[0362] In the process of taking and adding medicines for Chinese herbal medicines, set the "scan code" function selection switch, that is, the main business system sets the "scan code" function selection switch, that is, "turn on the management of taking and adding medicines by scanning code" or "turn on the management of taking and adding medicines without code". After clicking these switches once, the system will automatically execute each time it is started, and there is no need to click them again every time it is started. To adapt to both the present and the future. When there is a code, click "turn on the management of taking and adding medicines by scanning code" to start the scanning process and execute according to the scanning management plan; when there is no code, click "turn on the management of taking and adding medicines without code" to execute according to the management plan without code.
[0363] 1. Management plan for the code-coded medicine bags for taking and adding medicines:
[0364] Management of medicine location: In the software, when the main business system reports the need for adding medicine, it should flash and sound an alarm prompt. The display interface of the computer monitor and mobile terminal in the medicine warehouse needs to have a matrix list of all medicinal pieces. Each grid in the table corresponds to a medicine. The table uses green, yellow and red colors to indicate the urgency of adding medicine. Green means that the medicine corresponding to the grid has sufficient medicine in the smart Chinese medicine cabinet, yellow means that the medicine corresponding to the grid is in the state of waiting for medicine addition in the smart Chinese medicine cabinet (the remaining amount of medicinal pieces in the medicine cabinet hopper is less than 20%), and red means that the medicine corresponding to the grid must be added immediately in the smart Chinese medicine cabinet (the remaining amount of medicinal pieces in the medicine cabinet hopper is less than 10%). After the addition of medicine in the smart Chinese medicine cabinet is completed, the color of the grid indicator returns to normal green. Click on each grid, and the name of the medicinal piece in the grid, the shelf column and cabinet number of the medicine, and the amount of medicine required this time will pop up, so as to facilitate the warehouse management staff to find. After taking the medicine, click the "Taken" button to indicate that the medicine has been taken. Other people can no longer click on the grid and cannot proceed to the next step. After the medicine is added to the smart Chinese medicine cabinet, the warning color of the corresponding grid returns to green.
[0365] 2. Management plan for the guidance of taking and adding medicines without codes in medicine bags:
[0366] Since the medicine bags in the warehouse are not coded, it is impossible to scan the code when taking medicine from the warehouse or adding medicine to the medicine cabinet. Therefore, customers are required to take a picture of the batch of medicinal materials and enter it into the system every time they take or add medicine, so as to facilitate verification and tracing.
[0367] 1. Pretreatment of medicine bags with codes:
[0368] Pre-processing of broken pieces: The medicinal pieces that are too large to be discharged normally by the unit medicine cabinet discharging mechanism are pre-processed into small pieces by using breaking equipment, and then loaded into the unit medicine cabinet for use.
[0369] Pre-packaging pretreatment: A pre-treatment method in which powdered medicinal pieces, liquid medicinal pieces or highly viscous medicinal pieces that are not easy to be discharged directly through the discharging mechanism of the unit medicine cabinet are pre-packed into small bags of certain quantity (such as 3 grams / bag, 5 grams / bag or 10 grams / bag, etc.) and then loaded into the unit medicine cabinet for use.
[0370] Weighing after pretreatment: Re-weigh the medicinal materials after pretreatment, and enter the weighing data into the system, which will be displayed as the weight after pretreatment.
[0371] Management of multiple master control systems:
[0372] When there are multiple master control systems, each master control system must have its own specific number.
[0373] When multiple main control systems need to select sub-main control systems for startup, the main control system is selected manually.
[0374] When there are multiple master control systems, the regular controlled drugs are concentrated in one master control system. When the main business system allocates prescriptions, the prescriptions marked with regular controlled drugs are allocated to this master control system. (If it is found that the pressure of a single master control system with regular controlled drugs is too high, regular controlled drugs can be added to another master control system to make it the second master control system with regular controlled drugs.)
[0375] Main control system prescription management:
[0376] Receive prescriptions assigned by the main business system:
[0377] New prescriptions are checked for legitimacy upon arrival.
[0378] Prescriptions that have been successfully verified will continue to obtain the unique master control system number of this master control system based on the prescription number.
[0379] The format of the prescription after obtaining the control number includes: name of medical institution, prescription number such as [20210512-123]-2, prescription barcode, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, etc. In general, the prescription information transmitted by the user management system is used.
[0380] (Prescription number description: 20210512 refers to the prescription time: May 12, 2021, -123 refers to the number of prescriptions today, and -2 refers to the main control system number. The system uses automatic sorting to number prescription time and prescription number.)
[0381] The specific format is Fig.52 :
[0382] Decomposition of medicinal material slices: Decompose new prescriptions into systemic drugs, special controlled drugs, controlled drugs and self-prepared drugs according to the types of medicinal material slices;
[0383] Decomposition of decoction and administration methods: For system medicines, according to different decoction and administration methods, such as decoction first, decoction later, decoction in a package, decoction separately, melting, powdering and administration, etc., the medicinal pieces that are decocted first and for the same time, the medicinal pieces that are decocted later and for the same time, the medicinal pieces that are decocted in a package, the medicinal pieces that are decocted separately, the medicinal pieces that are melted, and the medicinal pieces that are administered with other medicines are classified and mixed separately.
[0384] If the total amount of medicine in a decomposed prescription exceeds the volume loading capacity of the medicine tray of the transport trolley, the system must further decompose the prescription until the total amount of medicinal materials in the final decomposed prescription can be loaded in the medicine tray of the transport trolley.
[0385] The medicines in each prescription are further decomposed to form one or more "Decomposed Prescription Drug Lists", and it is ensured that the medicinal materials on each "Decomposed Prescription Drug List" can be effectively loaded onto the medicine tray of the transport cart. Each "Decomposed Prescription Drug List" will generate a unique drug list number and barcode based on the prescription number.
[0386] The total weight of the various medicinal materials in the "Decomposed Prescription Drug List" must be counted and marked to facilitate verification when the drug testing subsystem conducts measurement testing.
[0387] The "Decomposed Prescription Drug List" can be queried in the drug testing subsystem by scanning the barcode on the medicine tray of the transport cart. It is the basis for comparing the physical drugs during drug testing.
[0388] The "Decomposed Prescription Drug List" is converted into a transport trolley mission and sent to the main business system, which then dispatches the mission to the rail trolley system and the intelligent Chinese medicine cabinet subsystem.
[0389] The unique number and barcode of the medicine tray are pre-printed on the medicine tray. The system scans the barcode of the medicine tray at the departure camera, binds the transport vehicle, the "Decomposition Prescription Drug List" and the unique number of the medicine tray, and feeds this data information back to the upper system, and then sends it to the drug inspection subsystem as one of the bases for drug inspection to scan the medicine tray to query the medicinal materials contained in the medicine tray.
[0390] The format of the preface of the decomposed prescription drug list includes: name of the medical institution, prescription number such as [20210512-123 1 / 3-1 / 2(6)]-2, decomposed prescription drug list barcode, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, etc. In general, the prescription information transmitted by the user management system is used.
[0391] (Explanation of prescription number: 20210512 refers to the prescription date: 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 tray of a total of 2 trays for this dose, (6) refers to the total number of 6 trays for this prescription, and -2 refers to the master control system number.)
[0392] Decompose the main content of the prescription medicine list: Decompose the list of medicinal materials and decoction pieces of the prescription medicine list.
[0393] The notes in the lower right corner break down the order numbers of the prescription: 6-1, 6-2, 6-3, 6-4, 6-5, 6-6.
[0394] The specific format is Fig.53 :
[0395] Subsystems under the main control system
[0396] 1. Departure subsystem
[0397] 1. Dispatch process: The transport vehicle receives the "Decomposition Prescription Drug List" and related positioning and delivery information issued by the superior system and binds them → queues up to wait to enter the dispatch area → enters the dispatch area, scans and confirms the medicine tray barcode on the camera, and then binds the medicine tray, transport vehicle and "Decomposition Prescription Drug List" → the transport vehicle dispatches.
[0398] 2. Information binding: The transport vehicle stops when it reaches the camera position. The camera scans the barcodes of the medicine tray and the transport vehicle, reads the transport vehicle number and the medicine tray number and uploads them to the system. The system binds the "Decomposition Prescription Drug List" with the medicine tray number and the transport vehicle number. After the binding is completed, the system issues a release command and the transport vehicle departs normally; if the binding is still unsuccessful after 1-3 seconds, an alarm prompts to wait for disposal, and the system temporarily turns off the camera. After the fault is disposed, press the recovery button, the camera turns on, and re-scans and identifies the binding before releasing it. The transport vehicle identifies its own information through RFID at the departure point and reports it to the system through WiFi. No more scanning and inputting is required here.
[0399] 3. Two RFID cards are set at the departure point. The first RFID card is used to read the position information, which can achieve early deceleration and then brake and park at the magnetic steel position; the second RFID card is used to park the trolley at the departure point, and its function is to meet the real-time reporting of the position information of the trolley. The system needs to record the numbers of these two cards and represent the departure position and the function they represent.
[0400] 2. Intelligent Chinese medicine cabinet subsystem
[0401] 1. The structure of the intelligent Chinese medicine cabinet subsystem:
[0402] The structure of the intelligent Chinese medicine cabinet subsystem 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.
[0403] The hardware of the unit medicine cabinet control panel needs to have its own unique number, which is used for system communication. When configuring the unit medicine cabinet, the control panel will actively go online to report the system hardware number.
[0404] Medicine dispensing process: the transport trolley enters the cabinet → stops under the string tube of the cabinet row where medicine is to be dispensed → medicine is dispensed from the unit medicine cabinet → the transport trolley moves to the next cabinet row where medicine is to be dispensed → the trolley is unloaded after medicine is taken from all cabinet rows.
[0405] Pre-pick medicines in unit medicine cabinets: Consider pre-pick queues for 3-5 prescriptions, but the total number of pre-pick medicines should not exceed 200. The settings can be adjusted according to user requirements. However, the design limit of the intelligent Chinese medicine cabinet subsystem is that up to 100 medicine cabinets can be operated simultaneously.
[0406] The cabinet row control panel can control no more than 20 unit medicine cabinets, and the cabinet row control panel is interfaced with the main control system.
[0407] Drug shortage supplement subsystem
[0408] 1. Medication replenishment process:
[0409] 1.1. The transport vehicle is short of medicine and the yellow light is on: indicating that the transport vehicle is short of commonly controlled medicines or specially controlled medicines.
[0410] Medicine refilling process: the yellow light turns on when the transport cart leaves the cabinet → it stops at the release point of the medicine refilling counter and waits for manual refilling → the camera scans the barcode or QR code of the transport cart and medicine tray → the computer monitor pops up the medicine refilling order information of the transport cart and medicine tray → manual comparison completes the medicine refilling → manual scanning of the medicine refilling order at the medicine refilling counter, the system records the completion of medicine refilling → press the release button → the transport cart enters the medicine inspection counter.
[0411] 1.2. The transport cart is out of medicine and the red light is on: This indicates that the transport cart is temporarily out of medicine due to a malfunction in the smart Chinese medicine cabinet.
[0412] 1.2.1. Temporary shortage of medicine process: the transport cart lights up red when leaving the smart Chinese medicine cabinet → stops at the release point of the medicine replenishment table → the camera scans the barcode or QR code of the transport cart and the medicine tray → the computer monitor interface displays two options: "On-track replenishment" and "Release of shortage of medicine" → click "Release of shortage of medicine" on the computer monitor interface, and the system automatically unbinds the transport cart from the medicine tray and the prescription drug list after receiving this information → manually remove the medicine tray on the transport cart → press the release button → the transport cart enters the drug inspection table, loads the empty medicine tray, and goes to the waiting area after release → manual replenishment is completed → the medicine replenishment table scans the medicine replenishment list, and the system records the completion of replenishment → manually transfer the medicine tray with completed replenishment to the drug inspection table.
[0413] When a unit medicine cabinet is short of medicine, when the transport cart leaves the medicine cabinet, the intelligent Chinese medicine cabinet subsystem immediately sends the information of the system medicine that is short of the transport cart to the shortage medicine replenishment system through the main control system in the form of a "temporary medicine replenishment form". The medicine replenishment station of the shortage medicine replenishment system prints out the "temporary medicine replenishment form" for the corresponding vehicle number and notifies the medicinal materials and decoction pieces warehouse to deliver this part of the medicine to the medicine replenishment station.
[0414] The content of the temporary medication list is as follows:
[0415] The format of the preface of the temporary medication order includes: name of the medical institution, prescription number such as [20210512-123 1 / 3-1 / 2(6)]-2, temporary medication order barcode, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, etc. In general, the prescription information transmitted by the user management system is used.
[0416] (Explanation of prescription number: 20210512 refers to the prescription date: 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 tray of a total of 2 trays for this dose, (6) refers to the total number of 6 trays for this prescription, and -2 refers to the master control system number.)
[0417] List of medicinal materials for temporary prescription.
[0418] The specific format is Fig.54 :
[0419] Drug testing subsystem
[0420] Contents of the Drug Testing Guide:
[0421] The format of the preface of the drug inspection guide sheet includes: name of the medical institution, prescription number such as [20210512-123]-2, prescription barcode, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, etc. In general, the prescription information transmitted by the user management system is used.
[0422] (Prescription number description: 20210512 refers to the prescription time: May 12, 2021, -123 refers to the number of prescriptions today, and -2 refers to the main control system number.)
[0423] (Explanation of the prescription number breakdown: 20210512 refers to the prescription date: May 12, 2021, -123 refers to the number of prescriptions today, 1 / 3 refers to the first of three doses, -1 / 2 refers to the first of two trays for this dose, (6) refers to a total of six trays for this prescription, and -2 refers to the master control system number.)
[0424] The main content of the drug inspection guide sheet: a list of medicinal materials contained in the medicine tray, the weight of each medicine, and the total weight of the medicine tray and the medicinal materials.
[0425] The specific format is Fig.55 :
[0426] The main control system sends the drug testing guide sheet to the drug testing station, which prints out the "Drug Testing Guide Sheet" and places the printed "Drug Testing Guide Sheet" on the drug storage box of the drug testing station.
[0427] The "Drug Inspection Guidance Sheet" is produced based on the prescription sheet, the "Decomposed Prescription Drug Sheet" and the "Temporary Refill Drug Sheet", corresponding to each medicine tray that is decomposed into each dose of each prescription.
[0428] Drug testing process: the transport cart and the medicine tray arrive at the interception point of the drug testing table → determine whether the drug testing table is now idle → yes → the transport cart with the same prescription is released (release at the interception point) → the transport cart with the same prescription stops at the release point → the medicine tray is separated from the transport cart (the indicator light of the transport cart turns red after the cart and tray are separated), the medicine tray is placed on the drug testing table, and an empty medicine tray is installed at the same time (the indicator light of the transport cart turns yellow after the empty medicine tray is installed, because the data of the transport cart has not been cleared) → the camera on the measuring and testing scale scans the barcode of the medicine tray and unbinds the medicine tray and the transport cart → click the release button on the display, the transport cart data is cleared and released (the indicator light of the transport cart turns green) → the transport cart enters the waiting area → conduct drug testing on the medicinal materials on the drug testing table (put the medicine tray on the measuring and testing scale for testing) → qualified → stack the medicine trays of the same prescription together → enter the packaging stage.
[0429] Mobile terminal APP operation process:
[0430] For a prescription, if the measured measurement is green, one medicine tray will be randomly sampled to verify whether the varieties of medicinal materials in the tray are complete. If they are complete and qualified, proceed to the next step.
[0431] For a prescription, for the yellow medicine trays tested by measurement, 2 to 3 medicine trays will be randomly inspected to verify whether the variety and weight of the medicinal materials in the trays meet the requirements. Those that meet the requirements will be qualified.
[0432] The medicine tray in a prescription is marked with red color and the types and weights of all the medicinal materials in the tray are checked.
[0433] The status of each medicine tray can be marked: missing medicine, insufficient medicine, excessive medicine, wrong medicine. It is necessary to identify which medicine has a problem and transfer the marked system medicine to temporary control medicine.
[0434] Mobile online function: remote management of user data, and monitoring of the status and balance of the medicine cabinet on the mobile phone.
[0435] The rail trolley system is a very critical system. Each of its closed-loop systems includes and is connected in series with the departure subsystem, the intelligent Chinese medicine cabinet subsystem, the medicine replenishment subsystem and the medicine inspection subsystem to form a main control system, which is the link of this main control system.
[0436] Operation process of the rail trolley system: the transport trolley receives and binds the "Decomposition Prescription Drug List" and related positioning and dispensing information issued by the system in the waiting area → queues up to wait to enter the departure area → enter the departure area, scan and confirm the barcode of the medicine tray and the transport trolley with the camera, and then bind the medicine tray, the transport trolley and the "Decomposition Prescription Drug List" → the transport trolley departs and enters the smart Chinese medicine cabinet → stops receiving the medicine from the unit medicine cabinet under each string tube with a medicine dispensing positioning point → drives out of the smart Chinese medicine cabinet after receiving all the medicinal materials → stops receiving manual replenishment (if any) at the replenishment table and then releases → enters the drug inspection table, and the medicine tray loaded with medicinal materials is separated from the transport trolley → releases the transport trolley after reloading the empty medicine tray → the transport trolley drives into the waiting area.
[0437] On the trolley track, numbered RFID cards are placed at specific positions. The trolley reads the RFID card number through the RFID card reader to obtain the position information, which can achieve early deceleration. At the same time, a magnet is placed at the corresponding position on the trolley track that is paired with the RFID card. The trolley reads the RFID card number through the RFID card reader to obtain the position information to achieve early deceleration. The Hall sensor on the trolley positions and parks after sensing the paired magnet. The delay distance between the magnet and the RFID card is 20cm, and the function of this distance is to meet the braking requirements of the trolley.
[0438] The medicine trays are installed on the transport cart in a detachable form. Each medicine tray has its own independent barcode and can be bound to the transport cart and the "Disassembled Prescription Drug List".
[0439] The track system consists of: track, track support structure, steering mechanism, lifting mechanism, RFID card, magnetic steel, power supply and other components.
[0440] Mobile APP monitoring module:
[0441] 1. Master control system display: The interface uses tabs to display all connected master control systems; each master control system has a name, which can be modified.
[0442] 2. Cabinet display:
[0443] 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.
[0444] 3. Unit medicine cabinet display:
[0445] Each cabinet row in the graphic is displayed as being composed of multiple unit medicine cabinets; if a unit medicine cabinet contains multiple hoppers, multiple hoppers are displayed accordingly in the unit medicine cabinet graphic.
[0446] 4. Unit medicine cabinet monitoring:
[0447] Monitor the real-time status and actions of the unit medicine cabinet; the real-time status includes: waiting, working, the medicine cabinet dosing door or cabinet door is open; the real-time actions include: taking materials, packing, dumping. Realize real-time monitoring of the remaining amount of medicine in the medicine cabinet on the mobile phone.
[0448] 5. Fault display
[0449] Graphical alarm for transport trolley failure; Graphical alarm for unit medicine cabinet failure; Graphical alarm for cabinet group failure.
[0450] 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.
[0451] The mobile terminal should have the functions of scanning and taking photos. It can scan the barcode of the medicine bag of the decoction piece or take photos of the medicine bag and enter the system. It can scan the barcode of the temporary medicine storage frame and enter the system. It can scan the barcode of the unit medicine cabinet to open the hopper door or the unit medicine cabinet door or open the cabinet to take out the unit medicine cabinet in case of failure.
[0452] Main business system: AC+AP builds WiFi coverage. Depending on the scale of the system, the number and location of APs are adjusted during on-site layout. Ultimately, WiFi roaming needs to be supported.
[0453] Main control system: When there is only one main control system, the server can be shared with the main business system. When there are multiple main control systems, the main control system can set up the server independently.
[0454] The transport vehicle uses a hybrid mode of on-track power supply and battery power supply, and the transport vehicle communicates with the system using wireless WiFi. The transport vehicle uses an RFID sensor to read the location information, and then uses a Hall sensor to sense the magnet for precise positioning.
[0455] The drug dispensing process controlled by the unit medicine cabinet control panel driver:
[0456] The unit medicine cabinet receives the medicine picking instruction sent by the intelligent Chinese medicine cabinet subsystem, 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 checks whether the medicine taking motor is blocked. If it is, the unit medicine cabinet control board controls the medicine taking motor to reverse and try again; if not, If it is, it is determined that the medicine dispensing motor is abnormal and a fault alarm is processed.); When the unit medicine cabinet control board senses that the taken-out medicinal pieces have not reached the set value (the general set value is: the weight of the taken-out medicinal 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 medicine dispensing weight of the medicinal 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 medicine dispensing weight has not reached the command weight, the unit medicine cabinet control board controls the medicine dispensing motor to jog medicine. 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.
[0457] The cabinet control panel and the unit medicine cabinet control panel are selected and finalized: RS485 bus type, host polling system. The calculation unit and the cabinet control panel adopt the switch star network bus structure.
[0458] Operation layout of the rail trolley system: single-row intelligent Chinese medicine cabinet rail trolley operation layout plan; two-row intelligent Chinese medicine cabinet rail trolley operation layout plan; two-row L-shaped intelligent Chinese medicine cabinet rail trolley operation layout plan; three-row U-shaped intelligent Chinese medicine cabinet rail trolley operation layout plan; three-turn four-row intelligent Chinese medicine cabinet rail trolley operation layout plan; four-row intelligent Chinese medicine cabinet rail trolley operation layout plan ( Figures 38a to 38f ).
[0459] Operation layout of lifting rail trolley system: single-row intelligent Chinese medicine cabinet trolley rail operation layout plan; two-row intelligent Chinese medicine cabinet trolley rail operation layout plan; multi-row intelligent Chinese medicine cabinet trolley rail operation layout plan ( Figure 38g , Figure 38h , Figure 38i ).
[0460] The structure of the transport trolley itself: The body structure of the transport trolley consists of a medicine tray platform, a drive motor fixing plate, a battery fixing plate, a control board mounting plate, an elastic device, and a power supply device.
[0461] An easily detachable snap-on device is provided between the transport trolley and the medicine tray, which can be used to quickly install and remove the medicine tray, and the connection between the transport trolley and the medicine tray must be firmly secured. The transport trolley is equipped with a sensing device, which functions as follows: when the medicine tray is detached from the transport trolley, the sensing device is turned off, the transport trolley displays a fault alarm, the fault alarm light flashes, and the transport trolley cannot be driven and can only be parked in place or removed from the track; after the new medicine tray is installed, the sensing device is turned on, the fault alarm light returns to normal, and the transport trolley can continue to drive. Each medicine tray has its own independent number and barcode, and is set in a position that can be scanned by the camera.
[0462] The unit medicine cabinet consists of: cabinet box, hopper, material taking mechanical device, metering push turning device, cabinet front door, dosing door, back door device, metering calibration device, control panel box. The cabinet front door and dosing door are equipped with electromagnetic elastic locks with manual forced unlocking devices. Each device is equipped with electric facilities such as motors of different models. The unit cabinet is installed in Figure 6d As shown in the cabinet rack, the cabinet rack adopts an assembled design. The power cord and communication line are pre-laid and hidden in the columns of the cabinet rack during factory production. A connector is set at the connection with the main line on the upper part, and a connector is set at the connection with each unit medicine cabinet in the middle to facilitate the connection with the line and the unit medicine cabinet. All wires are closed with rubber threading rings at the places where they pass through the columns to prevent rodents and insects from entering the columns and gnawing the pipelines.
[0463] 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.
[0464] 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. A smart Chinese medicine pharmacy Chinese medicine preparation and dispensing system, characterized by: Including, the business server of the main business system and 1 to n main control servers of 1 to n main control systems are respectively connected to the first switch via network cables, the LAN port of the first switch is connected to the router, the WAN port of the router is connected to the external system, and the antenna of the router is wirelessly connected to the mobile terminal such as a mobile phone and / or a tablet computer; Business server: The large display, touch screen display and printer are connected to the business server respectively; 1 to n master control servers: connected to the first switch and the second switch via network cables respectively; Each main control system includes a drug taking and adding guidance and pretreatment system, a rail car system, a vehicle dispatching system, an intelligent Chinese medicine cabinet system, a drug shortage replenishment system, a drug inspection system, and a drug packaging and dispensing system; Taking and adding medicine guidance and pretreatment system: the electronic scale, the camera and the QR code scanning device are respectively connected to the computing unit, and the computing unit is connected to the second switch via a network cable; Track trolley system: Magnets and RFID cards are installed on the trolley track, Hall sensors and RFID card readers that cooperate with the magnets and RFID cards on the trolley track are installed on the trolley, and motor control circuits for four trolley wheels are set on the trolley mainboard installed on the trolley. The collision sensor, medicine shortage indicator light, and fault indicator light installed on the trolley are respectively connected to the trolley mainboard circuit. The computing unit of the trolley mainboard circuit is connected to the second switch via wifi, and the collision sensor installed on the trolley track is connected to the computing unit of the track mainboard, and the computing unit is connected to the first switch via a network cable; Departure system: the camera is connected to the computing unit, and the computing unit is connected to the second switch via a network cable; Intelligent Chinese medicine cabinet system: the computing unit is connected to the second switch and the column control board or the third switch via a network cable respectively, the column control board or the third switch is connected to 1 to n unit cabinet control boards via an RS485 serial bus or a network cable respectively, each unit medicine cabinet is installed with an inspection door electromagnetic lock, a medicine adding door electromagnetic lock, a fault indicator light and a medicine shortage indicator light, the inspection door electromagnetic lock, the medicine adding door electromagnetic lock, the fault indicator light and the medicine shortage indicator light are respectively connected to the circuit of the unit cabinet control board, the material taking motor, the stirring motor, the medicine discharging door motor, the metering calibration motor and the dumping motor and the corresponding limit switch installed in the unit medicine cabinet are respectively connected to the circuit of the unit medicine cabinet control board, the dumping device sensor, the medicine discharging door sensor, the medicine adding door sensor and the inspection door sensor are respectively connected to the circuit of the unit medicine cabinet control board, 1 to n conveyor belt control boards are respectively connected to the column control board or the third switch via a network cable, each conveyor belt control board circuit is respectively connected to the conveyor belt motor and the conveyor belt sensor, the cleaning barrel control board is connected to the column control board or the third switch via a network cable, and each cleaning barrel control board circuit is connected to the cleaning barrel motor and the cleaning barrel sensor; Shortage medicine replenishment system: The camera and the printer are connected to the computing unit respectively, and the computing unit is connected to the second switch via a network cable; Drug testing system: the electronic scale, the camera and the printer are respectively connected to the computing unit, and the computing unit is connected to the second switch via a network cable; Packaging and dispensing system: The camera, printer, touch screen, large screen, and large and small speakers are connected to the computing unit respectively, and the computing unit is connected to the second switch via a network cable.
2. According to claim 1, a smart Chinese medicine pharmacy Chinese medicine preparation and dispensing system is characterized in that the main business system also has: 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 powder, flake, spherical, columnar, strip, and flocculent forms of medicinal material slices; manage the bulk and bagged packaging forms of medicinal material slices; manage the classification types of medicinal material slices in the system: 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; temporary shortage management of system medicinal material slices; operation and login management of medicinal material slice managers; Prescription management and dispatch module: receive and enter prescriptions from the management system, Internet prescriptions, and manually entered prescriptions; issue a unique prescription number for the received prescriptions. The content of the prescription consists of three parts. The first is the preface: including the name of the medical, preventive, and health care institution, 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 the specialist can be added. The second is the main text: marked with Rp or R, the prescription of Chinese herbal medicine pieces should list the name of the piece, quantity, decoction method, and usage and dosage. The third is the postscript: the signature of the physician and / or a special seal, the amount of the medicine, and the signature of the pharmaceutical professional and technical personnel who review, prepare, check, and dispense the medicine; 1. Receipt of prescriptions from the customer management system: 1.
1. Receive prescriptions transmitted from the customer management system via external interfaces and external communication protocols; 1.
2. The main business system establishes WebSocket protocol communication and HTTP protocol communication with the customer management system, provides external call services through HTTP protocol, and uses POST method to transmit prescription data in JSON format; 1.
3. When a new prescription arrives, any existing and shelved prescription with the same number will be automatically deleted from the shelved list; 2. Recipient of prescriptions in the customer management system: 2.
1. The business system sets up the "Receiver" function and adds switches for "Open Receiver" and "Close Receiver". After clicking these switches once, they will be automatically executed every time the system is started thereafter, without the need to click them again every time the system is started; 2.
2. Click the "Close Prescription Receive" switch. After the business system receives the prescription entered by the customer management system, there is no need to wait for the patient to submit the prescription to the pharmacy. The system will automatically start the next step of the process such as prescription review and allocation; 2.
3. If you click to turn on the "Start Prescription Collection" switch, the prescription collection function will be activated, that is, the prescriptions received by the business system from the customer's management system will enter the "Prescription Collection Area" to wait for processing, and will not be immediately reviewed and assigned to the herbal medicine dispensing control system. When the patient hands the prescription to the prescription collection and dispensing station, the prescription collection and dispensing station scans and reads the prescription barcode through a camera and reports it to the main business system. After the main business system automatically compares it, it starts the prescription corresponding to the "Prescription Collection Area" to enter the next step. At this time, the activated prescription will begin to enter the next step of review and allocation; Prescription review and allocation module: including seven units: drug shortage review, Chinese medicine incompatibility review, Chinese medicine toxicity review, dosage review, decoction review, medicinal material properties review, and prescription validity review; Drug shortage review unit: There are two situations: the system has drug shortages and the system has no drug shortages. The system will mark the shortages and send an alarm to the reviewer. The reviewer will manually remind the prescribing doctor offline whether to change the drug and prescribe again. If no new prescription is made, the shortages will be marked as self-prescribed drugs and released. TCM incompatibility review unit: review whether the medicinal materials in the prescription are incompatible with each other, mark the incompatible medicinal materials and alarm the reviewer, and the reviewer manually reminds the prescribing doctor whether to change the prescription. If no re-prescription is needed, the review will be passed after the reminder is given; Traditional Chinese medicine toxicity review unit: According to the "Chinese medicine prescription and adjustment specifications", if the usage of toxic drugs or the dosage of a single drug in the prescription has seriously violated the drug toxicity compatibility regulations, the system will directly prompt "not passed"; Medication dosage review unit: Review whether the dosage of medicinal materials in the prescription exceeds the provisions of the pharmacopoeia, mark the medicinal materials that exceed the provisions of the pharmacopoeia and alarm the reviewer. The reviewer manually reminds the prescribing doctor whether to change the prescription. If no re-prescription is needed, the reviewer will be prompted and approved; Decoction and administration review unit: Review the decoction and administration methods of the medicinal materials in the prescription, mark the medicinal materials that may be decocted first, decocted later, decocted in a package, decocted separately, melted, or pulverized for administration, and alarm the reviewer; The auditor handles the case in two ways:
1. The auditor manually reminds the prescribing physician whether to change or re-prescribe. If re-prescription is not necessary, the auditor will give the reminder and approve the case; ② The reviewer directly marks the prescription medicinal materials according to the conventional medication specifications, and after marking and making it into a standard format prescription, it is changed and approved; Medicinal material properties review unit: In order to meet the needs of the unit cabinet discharging mechanism, some medicinal materials need to be broken into small pieces. Breaking into small pieces is regarded as a kind of pulverization in the processing method. The word "pulverization" is marked in the brackets in the upper right corner of the medicinal material name in the formal prescription; Prescription validity review unit: ⑴. When the user starts the settings in the main business system, clicks the "Close prescription collection" switch to close the system's prescription collection function, then the system will no longer start the prescription validity review function, that is, all prescriptions transmitted to the system by the user management system are considered to be time-effective prescriptions; ⑵. When the user starts the settings in the business system, clicks the "Start Prescription Collection" switch to start the prescription collection function of the system, then the system will start the prescription validity review function to review the timeliness of the payment prescriptions transmitted by the user management system and received by the "Prescription Collection and Dispensing Subsystem"; Audit method: ①. Review whether the prescription for payment is expired: If it is found during the review that the prescription is not prescribed on the same day or the prescription is valid for 3 days but has exceeded 3 days as indicated by the prescribing physician, the system will give an alarm and put the prescription on hold, waiting for the reviewer to handle it; ②、The reviewer's handling method is: Explain the timeliness of the prescription to the patient and go through the refund procedure. Alternatively, the person picking up the medicine will hand in the prescription with the modified date and re-signed by the doctor to the medicine receiving and dispensing counter to find the reviewer → the reviewer will scan the prescription code and enter it → the system will pop up a prompt "This prescription has been put on hold, pending processing" and two buttons "Approved" and "Failed" → the reviewer will click "Approved" → the system will automatically un-hold the prescription and modify the prescription date to the current day → the system will assign the prescription to the herbal medicine dispensing control system to enter the next step; Prescriptions that are on hold for more than 3 days beyond the expiration date are pending prescriptions and can be activated for dispensing upon the request of the person who takes the medicine; prescriptions that are on hold for more than 3 days beyond the expiration date are scrapped prescriptions and are only kept on record for future inspection; Prescription review and approval is divided into five types: "rejected", "approved due to lack of medicine", "approved after prompt", "approved after change" and "approved", all of which are operated by manual clicks; Each of the above review functions is set with an option switch, namely, "Open ** Review" and "Close ** Review". After clicking these switches once, they will be automatically executed every time the system is started thereafter; The module of guidance and pre-processing for taking and adding medicine: manage the login of user operators; create and store a statistical list of storage locations of medicinal pieces in the medicinal pieces warehouse; create a list of taking and adding medicine according to the shortage of medicine in each unit medicine cabinet transmitted by the medicinal pieces dispensing control system. The list shows the amount of medicine needed for each medicinal piece, the warehouse number, shelf number, and rack number of the medicinal piece, and whether pre-processing is required; bind the medicine storage frame and the batch and quantity of medicinal pieces to be pre-processed by scanning the code or taking a photo until the pre-processing is completed and the medicine is added successfully; send the list of taking and adding medicine to the mobile APP to guide the operation of the personnel who take and add medicine; display the status of taking and adding medicine: normal amount of medicine, waiting for addition of medicine, urgent need for addition of medicine, and prioritize and adjust in real time according to the urgency of this status; display the remaining amount of the unit medicine cabinet in real time; have the function of identifying barcodes and QR codes; have the function of taking pictures; have the function of scanning the code to open the hopper door of the unit medicine cabinet; have the function of returning medicinal pieces to the warehouse and deducting the amount of medicine added; have the function of managing the expiration of medicinal pieces and guiding the cleaning of the unit medicine cabinet; report statistical data; Barcode and QR code management module: manages barcode and QR code printing equipment; calls barcode and QR code protocols and design functions to edit barcodes and QR codes; manages the classification, addition, deletion, and change functions of the barcode and QR codes of the medicine cabinet, transport trolley, trolley medicine tray, medicine storage box, prescription, drug inspection guide, refill order, and user ID card; User and user rights management module: manage user creation, add and delete users; have the functions of setting or changing user login passwords and retrieving or resetting passwords; Set up user management roles and permissions, and set, add, change, and reduce roles and permissions for users; Data statistics module: statistics on prescription receipt, execution, suspension and scrapping data; receives prescription data sent by the prescription receipt and dispensing system, and counts the total number of prescriptions received and the ratio of prescriptions received to external prescriptions; Receive the drug dispensing data sent by the drug dispensing call system, count the total number of packaged prescription medicinal materials and the ratio of actually distributed packaged prescription medicinal materials to packaged prescription medicinal materials; Statistics on the satisfaction rate of prescriptions in the slice dispensing control system; Statistics on the prescription dosage of each medicinal slice, the actual output including the dosage for replenishing missing medicines, and the number of scrapped medicines; Statistics on the total number of drug tests, the number of qualified products, the qualified rate, the number of scrapped products, and the scrap rate; Statistics on the total number and total number of missing medicines replenished and the number and quantity of each medicinal slice; Statistics on the number and frequency of medicines added to the unit medicine cabinet; Statistics on the fault types and frequencies of unit medicine cabinets, transport carts and other equipment; Formation of various reports; Configure and manage 1 to n modules of the slice dispensing control system: create 1 to n master control systems, i.e., slice dispensing control systems, in the main business system; configure or modify the subordinate systems of the slice dispensing control system: dispatch system, intelligent Chinese medicine cabinet system, medicine shortage replenishment system, and drug inspection system; configure or modify the unit medicine cabinet array group of the intelligent Chinese medicine cabinet system; configure or modify the unit medicine cabinet of the intelligent Chinese medicine cabinet system; manage the startup, operation, pause, stop, and recovery status of the slice dispensing control system and each subordinate system; It has the function of querying the prescription tasks of each slice dispensing control system on the day: the status of all queued prescriptions, prescriptions to be picked up, prescriptions that have been picked up, etc.; it has the function of querying the historical prescription tasks of each slice dispensing control system; it has the function of placing prescriptions at the top or bottom; it has the function of withdrawing prescriptions, and prescriptions that have entered the dispensing program cannot be withdrawn; the received queued prescriptions are sent to the intelligent Chinese medicine cabinet system for decomposition, and the train task information decomposed by the intelligent Chinese medicine cabinet system is reported to the main business system; it has the function of querying the status of the transport vehicles in this slice dispensing control system: total number of vehicles, waiting number of vehicles, number of vehicles that have been dispatched, number of vehicles that have picked up medicine, number of vehicles that have been scrapped, number of vehicles that have failed, etc.; it reports the operating status of the slice dispensing control system, the intelligent Chinese medicine cabinet system and all unit medicine cabinets; it has the function of pausing and resuming; it reports the storage capacity of medicinal slices in the unit medicine cabinet; it reports faults, fault types and fault handling status; it can perform self-inspection and report the self-inspection results; The intelligent Chinese medicine cabinet system has a prescription decomposition module: for the approved prescription, a unique master control number of the corresponding decoction piece dispensing system is added to the original prescription number, and the prescription is decomposed into systemic drugs, special controlled drugs, controlled drugs and self-prepared drugs according to the type of medicinal materials; Self-prepared medicine: medicine prepared by the patient himself; Special controlled drugs: drugs that cannot be placed in controlled medicine cabinets are directly delivered from the warehouse to the medicine refill counter in fixed quantities and quantities; Regular controlled drugs: precious medicinal materials, poisonous medicinal materials, medicinal materials with relatively light texture, medicinal materials in strips, liquid medicinal materials, and medicinal materials in gel state; Temporary controlled drugs: drugs that cannot be dispensed by the medicine cabinet system within a short period of time due to a malfunction of the smart medicine cabinet and need to be repaired; System medicine: medicine in the smart Chinese medicine cabinet; Based on whether each medicinal material in the prescription belongs to self-prepared medicine, special controlled medicine, regular controlled medicine, temporary controlled medicine and systemic medicine, and whether the medicinal material needs to be decocted first, decocted later, decocted in a package, decocted separately, or ground into powder for oral administration, as well as the quantity and bulk density of the medicinal materials and the loading capacity of the trolley medicine tray, an optimization configuration algorithm is used to decompose the medicine in each prescription again to form one or more "Decomposed Prescription Drug Lists", and ensure that the medicinal materials on each "Decomposed Prescription Drug List" can be effectively loaded on the trolley medicine tray. Each "Decomposed Prescription Drug List" is again added with a barcode on the basis of the prescription number with the master control number to generate a unique decomposed prescription number; How to bind the "Decomposed Prescription Drug List" to the medicine tray: The medicine tray is pre-printed with its own number and unique barcode. The barcode of the medicine tray is scanned at the camera of the dispatch subsystem, and the "Decomposition Prescription Drug List" is bound to the unique number of the medicine tray. The unique number of the medicine tray is sent back to the system business server and entered into the "Decomposition Prescription Drug List" and "Drug Inspection Guide" as the basis for drug inspection; The format and content of the preface of the decomposed prescription drug order: name of the medical institution, prescription number [20210512-123 1 / 3-1 / 2(6)XXXXXX]-2. Decomposed prescription drug order barcode, fee type, patient name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, and issuance date; Prescription number description: 20210512 refers to the prescription date: 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 tray of a total of 2 trays for this dose, (6) refers to the total number of 6 trays for this prescription, XXXXXX tray has its own unique number, -2 refers to the main control system number, the sequence number of the prescription order is noted in the lower right corner of the decomposition prescription order: 6-1, 6-2, 6-3, 6-4, 6-5, 6-6; After the above seven reviews and prescription decomposition, the decomposed prescriptions are respectively marked with prescription marks, marked as prescriptions containing controlled drugs and prescriptions not containing controlled drugs, and then sent to the main control system.
3. According to claim 2, a smart Chinese medicine pharmacy Chinese medicine preparation and dispensing system is characterized in that: The main control system also has: Departure module: The trolley receives the "Decomposition Prescription Drug List" and related location and delivery information issued by the system and binds them → queues up to enter the departure area → enters the departure area, scans the camera to confirm the trolley barcode and medicine tray barcode, and then binds the medicine tray, trolley and "Decomposition Prescription Drug List" → the trolley departs; Shortage medicine supplement module: The transport vehicle is short of medicine and the yellow light is on: indicating that the transport vehicle is short of regular controlled medicine or special controlled medicine; Medicine refilling process: The yellow light of the transport trolley turns on when it leaves the cabinet → It stops at the release point of the medicine refilling station and waits for manual refilling → The camera scans the barcode or QR code of the transport trolley and medicine tray → The computer monitor pops up the medicine refilling order information of the transport trolley and medicine tray → Manual comparison completes the medicine refilling → Manually scans the medicine refilling order at the medicine refilling station, and the system records that the medicine refilling is completed → Press the release button → The transport trolley enters the medicine inspection station; The red light on the trolley is on due to lack of medicine: it indicates that the trolley is temporarily short of medicine; Temporary shortage of medicine process: the red light turns on when the trolley leaves the smart medicine cabinet → stops at the release point of the medicine refilling station → manually takes away the medicine tray on the trolley → waits for manual refilling at the medicine refilling station → clicks on the shortage of medicine release on the computer → presses the release button → the trolley enters the next process empty → manual refilling is completed → the medicine refilling station scans the temporary refilling order, and the system records the completion of refilling → manually transfers the medicine tray with completed refilling to the medicine inspection station; The process of replenishing medicines when the unit cabinet is temporarily short of medicines: print the "Temporary Replenishment Form" → notify the warehouse to deliver the medicines → load the medicines into the medicine storage box according to the "Temporary Replenishment Form" → load the medicines into the medicine tray after the trolley arrives → scan the "Temporary Replenishment Form", and the system records that the replenishment is completed → manually transfer the completed medicine tray to the drug inspection table; Drug testing module:
1. The decoction piece dispensing control system sends the drug inspection guide sheet to the drug inspection station, which prints out the "Drug Inspection Guide Sheet" and puts it on the drug storage box of the drug inspection station. The "Drug Inspection Guide Sheet" is produced based on the prescription sheet, the "Decomposition Prescription Drug Sheet" and the "Temporary Replenishment Drug Sheet", corresponding to each medicine tray decomposed from each prescription and each dose of medicine; Printing of drug testing instructions: When the first vehicle of the first dose arrives at the drug testing station, print the drug testing instructions; 2. Drug inspection process: the trolley and the medicine tray arrive at the interception point of the drug inspection table → determine whether the drug inspection table is idle → yes → the trolley with the same prescription is released → the trolley with the same prescription stops at the release point → the medicine tray is separated from the trolley, and the indicator light of the trolley turns red after the car and tray are separated. The medicine tray is placed on the drug inspection table, and an empty medicine tray is installed at the same time. After the empty medicine tray is installed, the indicator light of the trolley turns yellow because the data of the trolley has not been cleared → the camera on the metering and testing scale scans the barcode of the medicine tray and unbinds the medicine tray and the trolley → click the release button on the display, the trolley data is cleared and released, and the indicator light of the trolley turns green → the trolley enters the waiting area → put the medicine tray on the metering and testing scale, and conduct drug inspection on the medicinal materials on the drug inspection table → qualified → stack the medicine trays of the same prescription together → enter the packaging stage; When testing drugs at the drug testing station, each plate should be measured and then placed on the transfer station; Control of measurement error in a recipe: ①. Weight error within ±3% is marked in green; ②. Weight errors within the range of 3%-5% are marked in yellow; ③. If the weight error exceeds 5%, it will be marked in red; For a prescription, if the medicine tray is green in measurement test, one medicine tray is randomly inspected to check whether the medicine varieties in the medicine tray are complete. If they are complete and qualified, proceed to the next step; For a prescription, if the medicine tray is yellow during measurement, 2 to 3 trays will be randomly inspected to check whether the types and weights of the medicines in the trays meet the requirements. Those that meet the requirements will be qualified. Check the types and weights of all medicines in the red medicine tray in a prescription; Mark the status of each medicine tray: missing medicine, insufficient medicine, excessive medicine, wrong medicine, and be specific about which medicine has a problem, and convert the marked systemic medicines into temporary controlled medicines; Re-dispatching process for scrapped medicine trays: After the operator of the medicine testing station confirms that the tray is scrapped in the shortage medicine replenishment subsystem, the shortage medicine replenishment subsystem sends the "Decomposition Prescription Drug Order" information corresponding to the scrapped medicine tray to the medicine preparation control system. The system should mark it as "second dispatch" and re-dispatch the vehicle for the "Decomposition Prescription Drug Order" of the second dispatch. When the new medicine tray arrives at the medicine testing station, it is marked as a re-dispatched medicine tray and placed together with the original medicine tray to enter the next process; Packing and dispensing medicine call module: Process: After the drug test, the medicine tray and the drug test instruction sheet are transferred to the packaging area → After the packaging machine completes the packaging, it scans the prescription barcode on the drug test instruction sheet and prints the formal prescription → Put the formal prescription into the packaging bag, indicating that all the drugs in the prescription have been packaged. All the drugs for each dose are packed together, one dose is a small package, and all the doses in the prescription are put into a large package. A voice call is made to remind you to pick up the medicine. When picking up the medicine, the person who picks up the medicine uses the payment receipt. The pharmacy camera scans the receipt to read the patient information. The offline manual verification is whether the prescription is consistent with the patient information. After verification, the medicine is issued to the person who picks up the medicine.
4. According to claim 3, a smart Chinese medicine pharmacy Chinese medicine preparation and dispensing system is characterized in that: The unit cabinet control panel has a one-time medicine taking module: proceed as follows: The unit medicine cabinet receives the medicine picking instruction sent by the intelligent Chinese medicine cabinet subsystem, 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 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 retry; 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 weight of the taken medicinal materials has not reached the set value, that is, the weight of the taken medicinal materials has reached the specified value. When the weight is 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 it reaches the set value; when the unit medicine cabinet control board senses that the weight of the 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 weight of the medicine 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. If the final weighing data is within the error range, wait 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 at the same time; When the transport trolley arrives, the weighing pan pushing and discharging device starts pushing and pouring medicine; if the weighing pan pushing and discharging device times out and fails to complete the pushing and pouring action, the unit medicine cabinet control board initiates a retry. If the retry fails, it is determined that the weighing pan pushing and discharging device is abnormal and an alarm is processed; if the retry succeeds, the next step is continued; the weighing pan pushing and discharging device must stop 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 pushing and discharging 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 pushing and discharging device is abnormal and an alarm is processed; if the retry succeeds, the next step is continued; at this point, the unit medicine cabinet completes a medicine collection process.
5. According to claim 4, a smart Chinese medicine pharmacy Chinese medicine preparation and dispensing system is characterized in that: The main control server also has a medicine replenishment and medicine inspection control module for the trolley: 1 prescription for multiple doses, 1 dose for 1 car: Receive prescriptions assigned by the main business system; The received prescription is transformed into a detoxification prescription; Dispatching a vehicle: Load the medicine tray into the vehicle, print the prescription number, name, phone number, and total weight of the medicine in the tray on the tray, scan the tray, and use the infrared communication vehicle; The cart goes into the medicine cabinet to get medicine; The trolley with no shortage of medicines leaves the medicine cabinet without lighting up, and arrives at the interception point of the drug inspection station. If the drug inspection station is not empty, it will wait. If the drug inspection station is empty, it will release the trolley with the same prescription. The trolley stops at the release point of the drug inspection station, and the medicine trays of no more than 6 trolleys with no shortage of medicines are taken out and put into the transfer box. Then the above trolleys with no shortage of medicines are untied, and the button at the release point of the drug inspection station is pressed to release the above trolleys with no shortage of medicines. The trolleys enter the trolley waiting area; If the yellow light is on when the trolley leaves the medicine cabinet, it will be released after the medicine is replenished. Remove the medicine trays of the trolleys with yellow lights that are no more than 6 and put them into the transfer box. Then untie the trolleys with yellow lights and press the release button on the drug inspection table to release the trolleys with yellow lights. The trolleys will enter the trolley waiting area. When the trolley leaves the medicine cabinet, the red light will be on. When it reaches the medicine refilling station, it will stop and wait for medicine refilling. Or, if it is released due to lack of medicine, it will enter the medicine inspection station, untie the trolley, press the button at the medicine inspection station release point, and release the trolley to enter the trolley waiting area. Or, after manual medicine refilling, it will manually transfer to the medicine inspection station, take out the medicine tray of the trolley with the red light, and put it into the transfer box. The above-mentioned trolleys with more than 6 carts that are not short of medicine and have yellow lights and red lights belonging to the same prescription shall be released by the drug inspection station according to the prescription, and the medicine tray on the trolley shall be taken off and put into the transfer box. The trolley shall be untied, that is, the medicine tray and the trolley shall be separated, and the release button of the drug inspection station shall be released, and the trolley shall enter the trolley waiting area; After the transfer box gathers multiple doses of the same prescription, each dose is tested at the drug testing station. If the drug test fails, there is a shortage of drugs that can be separated for testing, or there is a shortage of drugs, then the drugs are replenished manually. If there is a shortage of drugs that cannot be separated for testing, wrong drugs, or multiple drugs, then the drugs are scrapped and re-ordered. If the drug test passes, the drugs are packaged by the packaging machine at the packaging station and finally sent to the drug distribution area. If the weight error of each dose is within 3% during drug testing, the green light will be turned on and random inspection will be conducted; If the weight error of each dose during drug testing is within the range of 3% to 5%, a yellow light will be turned on and random inspection will be conducted; If the weight of each dose exceeds the 5% range during drug testing, a red light will be turned on and the entire drug will be checked; 1 prescription for multiple doses, 1 dose for multiple vehicles: Receive prescriptions assigned by the main business system; The received prescription is transformed into a detoxification prescription; Dispatching a vehicle: Load the medicine tray into the vehicle, print the prescription number, name, phone number, and total weight of the medicine in the tray on the tray, scan the tray, and use the infrared communication vehicle; The cart goes into the medicine cabinet to get medicine; The trolley with no shortage of medicines leaves the medicine cabinet without lighting up, and arrives at the interception point of the drug inspection station. If the drug inspection station is not empty, it will wait. If the drug inspection station is empty, it will release the trolley with the same prescription. The trolley stops at the release point of the drug inspection station, and the medicine trays of no more than 6 trolleys with no shortage of medicines are taken out and put into the transfer box. Then the above trolleys with no shortage of medicines are untied, and the button at the release point of the drug inspection station is pressed to release the above trolleys with no shortage of medicines. The trolleys enter the trolley waiting area; If the yellow light is on when the trolley leaves the medicine cabinet, it will be released after the medicine is replenished. Remove the medicine trays of the trolleys with yellow lights that are no more than 6 and put them into the transfer box. Then untie the trolleys with yellow lights and press the release button on the drug inspection table to release the trolleys with yellow lights. The trolleys will enter the trolley waiting area. When the trolley leaves the medicine cabinet, the red light will be on. When it reaches the medicine refilling station, it will stop and wait for medicine refilling. Or, if it is released due to lack of medicine, it will enter the medicine inspection station, untie the trolley, press the button at the medicine inspection station release point, and release the trolley to enter the trolley waiting area. Or, after manual medicine refilling, it will manually transfer to the medicine inspection station, take out the medicine tray of the trolley with the red light, and put it into the transfer box. For the above-mentioned trolleys that are not short of medicine and have more than 6 carts for the same prescription, the trolleys with yellow lights and the trolleys with red lights will be intercepted and released by the drug inspection station. The medicine tray on the trolley will be taken off and put into the transfer box. The trolley will be untied, that is, the medicine tray and the trolley will be separated. The release button of the drug inspection station will be released, and the trolley will enter the trolley waiting area. After the transfer box gathers multiple doses of the same prescription, each dose is tested at the drug testing station. If the drug test fails, there is a shortage of drugs that can be separated for testing, or there is a shortage of drugs, then the drugs are replenished manually. If there is a shortage of drugs that cannot be separated for testing, wrong drugs, or multiple drugs, then the drugs are scrapped and re-ordered. If the drug test passes, the drugs are packaged by the packaging machine at the packaging station and finally sent to the drug distribution area. If the weight error of each dose is within 3% during drug testing, the green light will be turned on and random inspection will be conducted; If the weight error of each dose during drug testing is within the range of 3% to 5%, a yellow light will be turned on and random inspection will be conducted; If the weight of each dose exceeds the 5% range during drug testing, a red light will be turned on and the entire drug will be checked.
6. According to claim 5, a smart Chinese medicine pharmacy Chinese medicine preparation and dispensing system is characterized in that: The business server also has a fault alarm maintenance and medicine cabinet measurement and calibration module and a dynamic display module: Fault alarm maintenance and medicine cabinet measurement calibration module: Manage the login of user operators; have the function of identifying faults in computers, software programs, control circuit boards and drivers, communication networks, electrical circuits, machinery and structures, and preliminarily determine the type and location of faults, and guide maintenance; manage the measurement calibration of unit medicine cabinets: issue measurement calibration instructions, receive calibration feedback data, report measurement error data to the superior system and alarm; 1. Troubleshooting in the trolley cabinet: ① When the system detects a car fault, the subsequent cars of the faulty car will stop and will not move forward. They will continue to move forward after obtaining action instructions after the fault is resolved; ②. The UI interface will display the approximate location of the faulty trolley: the cabinet row corresponding to the positioning point; ③. The user obtains the unit cabinet barcode data by scanning the code according to the fault location; ④. Submit the unit cabinet barcode to the main business system and request to open the cabinet; ⑤. The user takes out the old cart and places the medicinal materials on the new cart; ⑥ Wait for the user to place the new car at the fault location, and adjust the position to wait for the new car to come online; ⑦. Scan the barcodes of new and damaged trolleys, restore data and confirm release; 2. Trolley cabinet fault handling: ① When the system detects a car fault, the subsequent cars of the faulty car will stop and will not move forward. They will continue to move forward after obtaining action instructions after the fault is resolved; ②. The UI interface will display the approximate location of the faulty vehicle, and the location point should be within a certain interval; ③. The user takes out the old cart and places the medicinal materials on the new cart; ④. Wait for the user to place the new car at the fault location, and adjust the position to wait for the new car to come online; ⑤. Scan the barcodes of new and damaged trolleys, restore data and confirm release.
3. Failure of the transport trolley Carrier trolley failure: Basic handling principle: replace the carrier trolley, transfer data, put the new trolley in place, and continue operation; The trolley fault light is a red, yellow and green tricolor light: when it is green, it indicates that the trolley is normal; when it is yellow, it indicates that although the communication of the trolley is normal, there is a local fault, such as a motor failure, but the trolley can still run; when it is red, it indicates that the trolley has a fault, including communication fault, program fault, control panel fault or mechanical fault, which has caused the trolley to be unable to run; Troubleshooting of transport trolley: ① When the fault light is green, it means the transport vehicle is normal and does not need any treatment; ② When the fault light is yellow, it means that although the communication of the transport trolley is normal, there are other local faults and the transport trolley needs to be repaired. At this time, since the transport trolley can still run, it should be repaired after the transport trolley reaches the departure area; Maintenance process: turn off the power of the transport trolley → manually remove the transport trolley from the track → the faulty transport trolley enters the maintenance workshop for maintenance → install a new transport trolley → turn on the power switch of the new transport trolley → register and run the new transport trolley; ③ When the fault light is red, it indicates that the trolley has been faulty and cannot run. The trolley must be replaced at the parking position. There are two situations: one is that the trolley stops outside the intelligent Chinese medicine cabinet; the other is that the trolley stops inside the intelligent Chinese medicine cabinet. Maintenance process when the transport trolley stops outside the smart Chinese medicine cabinet: The preferred solution: turn off the power of the faulty transport trolley → manually remove the medicine tray → remove the transport trolley for repair, and place it directly in the departure area after repair → install the spare medicine tray → click on the mobile terminal to confirm that the repair is complete and release the alarm → the transport trolley obtains the operation instruction and starts running → manually transfer the medicine tray to the missing medicine replenishment subsystem or the medicine inspection subsystem for processing; the problem of missing transport trolley in the missing medicine replenishment subsystem or the medicine inspection subsystem is handled by software; Second option: Turn off the power of the faulty transport trolley → manually remove the medicine tray → replace it with a new transport trolley → power on the new transport trolley and register → scan the code to enter the information of the transport trolley and bind it with the "Decomposition Prescription Drug List" and the medicine tray → manually reinstall the medicine tray on the transport trolley → click on the mobile terminal to confirm that the repair is complete and remove the alarm → the transport trolley obtains the running instruction and starts running; the faulty transport trolley is taken for repair and standby; Maintenance process for the transport trolley stopped in the smart Chinese medicine cabinet: find out the position where the transport trolley stops according to the preliminary judgment of the system alarm → scan the code to open the unit medicine cabinet at the bottom layer → take out the unit cabinet → turn off the power of the faulty transport trolley → manually remove the medicine tray → take out the faulty transport trolley → take out the new transport trolley → power on and register the new transport trolley → scan the code to enter the information of the transport trolley and bind it with the "Decomposition Prescription Drug List" and the medicine tray → install the new transport trolley → manually install the medicine tray on the new transport trolley → put it back into the unit medicine cabinet → click on the mobile terminal to confirm that the maintenance is completed and release the alarm → the transport trolley obtains the running instruction and starts running; the faulty transport trolley is taken for repair and standby; Cabinet unit troubleshooting 1. System status when the cabinet unit fails: 1.
1. In the unit cabinet matrix list on the mobile terminal app display interface, the corresponding table column displays the word "fault", indicating that the unit cabinet has a fault to be checked; 1.
2. The herbal medicine preparation control system will disable this unit; 1.
3. Subsequent affected prescriptions will not be able to collect this medicinal material; 2. Opening the cabinet: 2.
1. If the unit cabinet control board fails, you need to manually open the cabinet unit and replace the unit cabinet control board; 2.
2. For mechanical failure, scan the code to unlock; 2.
3. If the unit cabinet control panel fails, scanning the code to unlock the lock will fail. Manual unlocking is required. Manual unlocking requires a locking mechanism. When the unit cabinet control panel is in normal working condition, only scanning the code to unlock the lock is provided; otherwise, forced manual unlocking will cause the control panel to fail. ①. If the intelligent medicine cabinet system finds that the unit cabinet or positioning point is offline, it should immediately report to the medicine preparation control system, the main business system interface will give an alarm, and provide maintenance suggestions according to the configured strategy; ② If the decoction piece dispensing control system finds that the dispatching system, intelligent medicine cabinet system, medicine replenishment system, and medicine testing system are offline, it should immediately report to the main business system, the main business system interface will give an alarm, and will no longer dispatch medicine collection tasks; ③. If the main business system finds that a certain herbal medicine preparation control system is offline, it will no longer issue prescriptions to the control system and issue an interface alarm; Fault between the cabinet row control board and the unit cabinet control board and the switch power supply: The wiring mode between the unit cabinet control board and the switching power supply is: a main cable is connected from the switching power supply, and the branch cables of each row of unit cabinets and the branch wires of the cabinet column control board are connected in parallel to the main cable, and then the branch wires of each unit cabinet control board are connected in parallel to the branch cable; Fault classification: One is the failure of the branch wire of the unit cabinet control panel being damaged, which will cause the unit cabinet corresponding to the branch wire to lose power; the other is the failure of the branch wire of the cabinet column control panel being damaged, which will cause the cabinet column control panel to lose power and all the unit cabinets corresponding to the cabinet column control panel to have communication failures; The third is a cable failure in a row of unit cabinets. This failure will cause all unit cabinets behind the fault point to lose power. The fourth is a main cable failure from the switching power supply, which will cause all unit cabinets behind the fault point to lose power; Fault determination method: The first fault: In terms of hardware, the indicator light on the unit cabinet door goes out, the motor equipment stops running, and the control panel has no power; in terms of software, there is no response to the command information sent by the upper system, and the information sent by the unit cabinet cannot be received suddenly. Combining these two points in terms of software and hardware, it is clearly determined that the branch wire of the unit cabinet control panel is damaged; The second fault: in terms of hardware, the running status indicator of the cabinet row control board is off, and the cabinet row control board has no power; in terms of software, the upper system loses communication with all the unit cabinet control boards involved in the cabinet row control board, that is, the upper system has no response to the command information sent to these unit cabinets, and suddenly cannot receive the information sent by these unit cabinets. This fault is the same as the cabinet row control board communication fault in terms of software level. The difference lies in the hardware. One is that the status indicator is off and the cabinet row control board has no power, and the other is that the status indicator is still on and the cabinet row control board has power. The third type of failure: In terms of hardware, the indicator lights on all the unit cabinet doors behind the fault point of the branch cable of the row of unit cabinets go out, the motor equipment stops running, and the control panel has no power; in terms of software, the upper system has no response to the command information sent to these unit cabinets, and suddenly cannot receive the information sent by these unit cabinets. Combining these two points in software and hardware, the approximate location of the damaged fault point of the branch cable of a row of unit cabinets can be determined; The fourth fault: In terms of hardware, the status indicator light of the cabinet control panel at the rear end of the main cable fault point connected to the switching power supply and the indicator lights on all unit cabinet doors at the rear end of the main cable fault point are off, the motor equipment stops running, and the control panel has no power; in terms of software, the upper system has no response to the command information sent to these unit cabinets, and suddenly cannot receive the information sent by these unit cabinets. Combining these two points in software and hardware, the approximate location of the damaged fault point of the main cable connected to the switching power supply can be determined; processing flow: The first type of fault handling process: the slice dispensing control system alarms → the maintenance personnel determine which unit cabinet has a damaged branch wire through the system fault guidance and the indicator light status of the unit cabinet → force the cabinet to open → replace the branch wire → reinstall the unit cabinet → the maintenance personnel clicks "confirm" on the mobile terminal to release the alarm → the unit cabinet restarts → process the slice dispensing control system, the intelligent medicine cabinet subsystem and the unit cabinet control board data → process the medicinal materials that have been discharged from the unit cabinet; The second fault handling process: the main control system alarms → maintenance personnel use the system fault guidance and the cabinet control panel status indicator to determine which cabinet control panel has a damaged branch wire → remove the cabinet control panel → replace the branch wire of the cabinet control panel → reinstall the cabinet control panel → maintenance personnel click confirm on the mobile terminal to release the alarm → the unit cabinet restarts → process the data of the main control system, intelligent medicine cabinet system and unit cabinet control panel → process the medicinal materials that have been taken out of the unit cabinet; The third type of fault handling process: the main control system alarms → the maintenance personnel determine the location of the fault point of the branch cable of a row of unit cabinets through the system fault guidance and the indicator light status of the unit cabinet → replace the branch cable → the maintenance personnel clicks on the mobile terminal to confirm and release the alarm → the unit cabinet restarts → process the data of the medicinal material dispensing control system, the intelligent medicine cabinet system and the unit cabinet control panel → process the medicinal materials that have been discharged from the unit cabinet; The fourth fault handling process: the main control system alarms → the maintenance personnel determine the approximate location of the fault point through the system fault guidance and the cabinet column control panel status indicator status and the unit cabinet indicator status → replace the main cable → the maintenance personnel clicks confirm on the mobile terminal to release the alarm → the unit cabinet restarts → process the medicinal material dispensing control system, intelligent medicine cabinet system and unit cabinet control panel data → process the medicinal materials that have been discharged from the unit cabinet; Smart medicine cabinet measurement error: The measurement error of each medicine must be controlled within 0.2 grams before the medicine can be released. The measurement error does not set an upper deviation, but an upper deviation alarm value must be set. The upper deviation alarm value is: the total of the prescription weight of the medicine plus the maximum weight of a single pill of the medicine. When the medicine output weight of the unit cabinet is greater than the upper deviation alarm value, the unit cabinet must also release the medicine, but it must also alarm the system to remind the system that the medicine tray needs to be inspected after leaving the smart medicine cabinet; Dynamic display module: The touch display interface of the business server uses tabs to list all connected medicine dispensing control systems; the display screen of the main control server graphically displays all intelligent medicine cabinet rows and unit cabinets, and trolley movement failures, cabinet row failures and unit cabinet failures are all graphically warned; manage the login of user operators; display the operating status of each medicine dispensing control system, intelligent Chinese medicine cabinet, cabinet row group, unit medicine cabinet and transport trolley to the operator in real time: normal, lack of medicine, failure.
7. According to claims 1 to 6, a smart Chinese medicine pharmacy Chinese medicine preparation and dispensing system is characterized in that: The operation layout schemes of the rail trolley include: single row, two rows, two rows L-shaped, three rows U-shaped, three turns and four rows, four rows, and single row, double row, and multiple rows of intelligent Chinese medicine cabinets with lifting trolley tracks.
8. According to claim 7, a smart Chinese medicine pharmacy Chinese medicine preparation and dispensing system is characterized in that: The operating status module of the main control system is: Receive prescriptions input from external systems and internal systems assigned by the main business system; review prescriptions and mark the type of medicine piece system; decompose prescriptions; load medicine trays on the transport cart, scan the code to bind the medicine trays, transport cart, and prescription decomposition sheet together, and then dispatch the cart; the transport cart enters the smart medicine cabinet; the transport cart that needs to replenish medicine will light up a red light when it leaves the smart medicine cabinet, and stop at the release point of the replenishment table to wait for replenishment, or manually take down the medicine tray and wait for replenishment. After manual replenishment, manually transfer the medicine tray to the drug inspection table to wait for all the medicine trays 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 tray, 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 tray of the transport vehicle entering the drug inspection station is taken down and placed in the transfer area. The medicine tray and the transport vehicle are untied, and the untied transport vehicle is loaded with an empty medicine tray. The release button of the drug inspection station is pressed to release the transport vehicle, and the transport vehicle enters the vehicle waiting area; the medicine tray stored in the transfer area waits for the transport vehicle that needs to replenish the medicine; after all the medicine trays 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 no system alarm is required. If the drug test fails, check the medicine tray for the presence of separable drugs or shortages. If so, replenish the drugs manually. If not, scrap the medicinal materials for non-separable drugs, shortages, or excess drugs, 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.
Citation Information
Cited By
Intelligent traditional Chinese medicine cabinet system
CN120932332A
