Intelligent management system and method for self-contained medicines of inpatient in special hospital
By building an intelligent management system for self-supplied medicines, the electronic recording and intelligent early warning of medicine information have been realized, which has solved the problems of low efficiency in the management of self-supplied medicines and potential safety hazards in medication use in specialized hospitals, and improved the accuracy of management and nursing efficiency.
Patent Information
- Application Number
- CN202511385706.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-26
- Publication Date
- 2026-01-09
AI Technical Summary
Specialized hospitals cannot cover all the long-term or special medications required by patients, resulting in a large number and variety of self-supplied medications, which are difficult to manage. Traditional manual record-keeping methods are inefficient and pose medication safety risks, increasing the burden on medical staff.
Design an intelligent management system for inpatient self-prepared medications in specialized hospitals, including a self-prepared medication registration module, a medication administration record module, an anomaly record module, and a dynamic inventory monitoring module, to realize electronic recording of medication information, intelligent early warning, and collaborative replenishment decision-making.
By using electronic records and intelligent early warning mechanisms, the accuracy of drug management can be significantly improved, medication safety risks can be reduced, nursing efficiency can be optimized, the number of repeated visits can be reduced, and patient and family satisfaction can be increased.
Smart Images

Figure CN121306457A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of medical information technology, specifically relating to an intelligent management system and method for self-prepared medicines for inpatients in specialized hospitals, and particularly relating to the use of information technology to achieve dynamic monitoring of self-prepared medicine inventory, intelligent early warning, collaborative replenishment decision support, and closed-loop process management. Background Technology
[0002] Specialized hospitals (such as oncology hospitals, psychiatric hospitals, and rehabilitation hospitals) often lack a focused drug catalog, making it difficult to cover all long-term or special medications needed by patients. This forces patients' families to frequently visit general hospitals or other channels to obtain medications, which are then brought into the inpatient department as "self-prepared medications." This results in a large quantity and diverse range of self-prepared medications within the hospital (various sources, specifications, brands, and batch numbers), significantly increasing management difficulty. Traditional methods relying on manual paper records for receiving, registering, verifying, distributing, and managing near-expiration reminders for medications are not only inefficient and error-prone, posing medication safety risks, but also greatly increase the non-core nursing workload of medical staff. Therefore, there is an urgent need for an efficient and intelligent management solution to address the unique challenges of self-prepared medication management in specialized hospitals, ensuring medication safety for inpatients and freeing up nursing human resources. Summary of the Invention
[0003] This invention addresses the problems and shortcomings of existing technologies by providing an intelligent management system for inpatient medications in specialized hospitals.
[0004] The present invention solves the above-mentioned technical problems through the following technical solution:
[0005] This invention provides an intelligent management system for inpatient self-prepared medications in specialized hospitals, characterized in that it includes a self-prepared medication registration module, a medication administration record module, an anomaly record module, and a dynamic inventory monitoring module.
[0006] The self-prepared medication registration module is used by medical staff to register the hospitalization information of inpatients and their respective medication information. The self-prepared medication information includes the name of the self-prepared medication, the total dosage of the self-prepared medication, the number of times it is taken per day, the single dose, the single time of administration, the method of administration, and the time when the prescription was issued.
[0007] The medication execution record module is used to analyze whether there is a medication task on the day the doctor's prescription is issued, based on the prescription date, the number of times each patient takes their medication, and the time of each dose. If yes, it generates and displays the medication task for the day the doctor's prescription is issued. The medication task for the day the doctor's prescription is issued includes the name of each patient's medication, the actual number of doses, the single dose, the time of each dose, and the method of administration. Subsequently, when there is an abnormality, it calls the abnormality record module for medical staff to record abnormal information. The abnormal information includes information on refusal of self-prepared medication containing the name of the self-prepared medication and the amount refused, and / or information on damage of self-prepared medication containing the name of the self-prepared medication and the amount damaged. Then, it receives confirmation from medical staff regarding whether the medication task for the day the hospitalized patient's prescription is issued has been completed and sends it to the dynamic inventory monitoring module. If no, it displays information that there is no medication task on the day the doctor's prescription is issued and sends it to the dynamic inventory monitoring module.
[0008] The dynamic inventory monitoring module is used to track and visualize the medication inventory information of each inpatient in real time. When a confirmation is received, the module updates the medication inventory information of each inpatient using the daily medication task prescribed by the doctor, the total dosage of self-prepared medication, and taking into account any abnormal information. When a confirmation is not received, the module updates the medication inventory information of each inpatient using the daily medication task prescribed by the doctor, the total dosage of self-prepared medication, and any abnormal information. When a doctor's order for no medication task is received, the module directly updates the medication inventory information of each inpatient using the self-prepared medication order information.
[0009] The medication execution record module is also used to generate daily medication tasks for hospitalized patients based on self-prepared medication orders in subsequent dates. When there is an abnormality each day, the abnormality record module is called to allow medical staff to record abnormal information. Afterward, the module receives confirmation from medical staff regarding whether the daily medication task for hospitalized patients has been completed and sends it to the dynamic inventory monitoring module.
[0010] The dynamic inventory monitoring module is also used to track and visualize the medication inventory information of each hospitalized patient in real time. Upon receiving confirmation of completion, it updates the medication inventory information of each hospitalized patient using the daily medication task, the actual remaining inventory, and considering abnormal information when it is found. Upon receiving incomplete confirmation, it updates the medication inventory information of each hospitalized patient using the daily medication task, the actual remaining inventory, and abnormal information. After updating, it analyzes whether the inventory information of a certain self-prepared medication has reached the inventory warning condition. If so, it displays and issues a reminder message to the hospitalized patient that the self-prepared medication is insufficient and needs to be replenished.
[0011] This invention also provides an intelligent management method for self-prepared medications of inpatients in specialized hospitals, characterized by the following steps:
[0012] S1. The self-prepared medication registration module is used by medical staff to register the hospitalization information of inpatients and their respective medication information. The self-prepared medication information includes the name of the self-prepared medication, the total dosage of the self-prepared medication, the number of times it is taken per day, the single dose, the single time of administration, the method of administration, and the time when the prescription was issued.
[0013] S2, the medication execution record module analyzes whether the hospitalized patient has a medication task on the day the doctor's order was issued, based on the time of the doctor's order, the number of times each patient takes the medication per day, and the time of each single dose. If yes, proceed to S3; otherwise, proceed to S5.
[0014] S3. The medication execution record module generates and displays the daily medication task prescribed by the doctor. The daily medication task includes the name of each prepared medication, the actual number of times it is taken, the single dose, the single dose time, and the method of administration. Then, when there is an abnormality, the abnormality record module is called so that medical staff can record the abnormal information. The abnormal information includes the name of the prepared medication and the amount of medication refused, and / or the name of the prepared medication and the amount of medication damaged. After that, the module receives the confirmation operation from the medical staff on whether the daily medication task prescribed by the doctor for the inpatient has been completed and sends it to the dynamic inventory monitoring module, and then proceeds to S4.
[0015] S4. The dynamic inventory monitoring module tracks and visualizes the medication inventory information of each inpatient in real time. When a confirmation is received, the module updates the medication inventory information of each inpatient in real time by using the doctor's order to issue daily medication tasks, the total dosage of self-prepared medications, and taking into account any abnormal information. When an incomplete confirmation is received, the module updates the medication inventory information of each inpatient in real time by using the doctor's order to issue daily medication tasks, the total dosage of self-prepared medications, and any abnormal information, and then proceeds to S7.
[0016] S5. The medication execution record module displays information about no medication tasks on the day the doctor's prescription was issued and sends it to the dynamic inventory monitoring module, then proceeds to S6.
[0017] S6. Upon receiving the information that there is no medication task on the day the doctor's prescription is issued, the dynamic inventory monitoring module directly uses the self-prepared medication prescription information to update the medication inventory information of each inpatient, and then proceeds to S7.
[0018] S7. The medication execution record module generates daily medication tasks for hospitalized patients based on self-prepared medication orders in subsequent dates. When there are any abnormalities each day, it calls the abnormality record module for medical staff to record abnormal information. Afterwards, it receives confirmation from medical staff on whether the daily medication tasks for hospitalized patients have been completed and sends it to the dynamic inventory monitoring module.
[0019] S8. The dynamic inventory monitoring module tracks and visualizes the medication inventory information of each inpatient in real time. When a confirmation is received, the module updates the medication inventory information of each inpatient in real time using the daily medication task, the actual remaining inventory, and also considers abnormal information when it is received. When an incomplete confirmation is received, the module updates the medication inventory information of each inpatient in real time using the daily medication task, the actual remaining inventory, and abnormal information.
[0020] S9. After the update, the dynamic inventory monitoring module analyzes whether the inventory information of a certain self-prepared medicine has reached the inventory warning condition. If so, it displays and issues a reminder message to the hospitalized patient that the self-prepared medicine is insufficient and needs to be replenished.
[0021] The positive and progressive effects of this invention are as follows:
[0022] This invention, by constructing a self-contained drug information integration platform and a dynamic inventory monitoring mechanism, combined with intelligent early warning (covering expiration date and inventory thresholds) and collaborative drug replenishment decision-making, is expected to achieve the following technical effects:
[0023] 1. Significantly improve the accuracy of drug management: By electronically recording medication administration and abnormal events, real-time synchronization and automatic correction of inventory data are achieved, effectively eliminating errors from manual recording;
[0024] 2. Fundamentally reduce medication safety risks: Based on a proactive early warning mechanism, intervene in advance to prevent the risk of medication expiration or treatment interruption by addressing the approaching expiration date;
[0025] 3. Significantly improve nursing efficiency: Automated operations such as inventory deduction and early warning push significantly reduce the manual operation time and cognitive load of medical staff in drug management;
[0026] 4. Systematically improve the experience of hospitalized patients and their families: By intelligently analyzing the demand for multi-drug supplementation, the system minimizes the need for repeated trips by family members due to scattered medication replenishment, thereby improving patient satisfaction.
[0027] 5. Comprehensively enhance management traceability: Structured storage of medication delivery records and abnormal events provides complete data support for quality analysis and process optimization. Attached Figure Description
[0028] Figure 1 This is a structural block diagram of the intelligent management system for inpatient medications in a specialized hospital according to Embodiment 1 of the present invention.
[0029] Figure 2 This is a flowchart of the intelligent management method for self-prepared medicines of inpatients in a specialized hospital, according to Embodiment 1 of the present invention.
[0030] Figure 3 This is a structural block diagram of the intelligent management system for inpatient medications in a specialized hospital according to Embodiment 2 of the present invention. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0032] Example 1
[0033] like Figure 1 As shown in the figure, this embodiment of the invention provides an intelligent management system for inpatient self-prepared medications in a specialized hospital, which includes a self-prepared medication registration module 1, a medication administration record module 2, an anomaly record module 3, and a dynamic inventory monitoring module 4.
[0034] The self-prepared medication registration module 1 is used by medical staff to register the hospitalization information of inpatients and their respective medication information. The hospitalization information includes bed number, name, hospitalization number and disease diagnosis information, etc. The self-prepared medication information includes the name of the self-prepared medication, the total dosage of the self-prepared medication, the number of times to take it per day, the single dose, the time of single administration, the method of administration, and the time of prescription.
[0035] In this embodiment, the self-prepared medication registration module 1 can also record the name of the medical staff who performed the registration operation and the registration time, forming a complete historical registration record of hospitalized patients' medications arranged in the registration time sequence, which is convenient for traceability and auditing.
[0036] The medication execution record module 2 is used to analyze whether hospitalized patients have a medication task on the day the doctor's order was issued, based on the time of the doctor's order, the number of times each patient takes their own medication per day, and the time of each single dose. Specifically, it analyzes whether there are any self-prepared medications on the day the doctor's order was issued that were taken later than the time the doctor's order was issued. If so, it is analyzed that there is a medication task on the day the doctor's order was issued; otherwise, it is analyzed that there is no medication task on the day the doctor's order was issued.
[0037] 1) When a medication task is identified on the day the prescription is issued, the medication task for that day is generated and displayed. The medication task for that day includes the name of the prepared medication, the actual number of times it is taken, the single dose, the single dose time, and the method of administration. The name of the prepared medication is the name of the prepared medication whose single dose time is later than the prescription time, and the actual number of times it is taken is the number of times the prepared medication's single dose time is later than the prescription time. Subsequently, when there is an abnormality, the abnormality recording module 3 is called to allow medical staff to record abnormal information. The abnormal information includes the name of the prepared medication and the amount of medication refused, and / or the name of the prepared medication and the amount of medication damaged. After the latest dose time of the hospitalized patient, the system receives confirmation from medical staff regarding whether the medication task for the hospitalized patient's prescription has been completed and sends it to the dynamic inventory monitoring module 4.
[0038] Among them, refusal to take self-prepared medication refers to hospitalized patients refusing to take their own medication; damage to self-prepared medication refers to medication damage caused by operational errors of medical staff or hospitalized patients, rendering the medication unusable, or medication damage caused by vomiting by hospitalized patients, rendering the medication unusable.
[0039] 2) When it is found that there is no medication task on the date of prescription, display the information that there is no medication task on the date of prescription and send it to the dynamic inventory monitoring module 4.
[0040] For example: Patient A brought two types of self-prepared medications: self-prepared medication 1 (3 times a day, 2 pills each time, taken half an hour after breakfast, lunch and dinner respectively) and self-prepared medication 2 (1 time a day, 1 pill each time, taken half an hour after dinner). The doctor issued a prescription for these self-prepared medications at 11:00 AM on September 1, 2025. On September 1, 2025, the medical staff promptly registered Patient A's hospitalization information and their respective medication information through the self-prepared medication registration module 1. The medication execution record module 2 analyzed the medications administered on the prescription date (September 1, 2025, 11:00 AM) and identified two self-prepared medications with doses later than the prescription date: Self-prepared Medication 1 (taken half an hour after lunch and half an hour after dinner) and Self-prepared Medication 2 (taken half an hour after dinner). The module generated and displayed the medication administration tasks for the prescribed day (Self-prepared Medication 1: 2 doses, 2 tablets each time, taken half an hour after lunch and half an hour after dinner; Self-prepared Medication 2: 1 dose, 1 tablet each time, taken half an hour after dinner). No abnormal events occurred on this day, and the inpatient A took the medications according to the prescribed schedule. After confirming that the inpatient A had completed the prescribed medication administration, the nurse performed an electronic confirmation operation (e.g., checking a box or clicking "confirm").
[0041] The dynamic inventory monitoring module 4 is used to track and visualize the medication inventory information of hospitalized patients in real time (including self-prepared medication information, near expiration date, expiration date, preset remaining inventory threshold (constant value), and actual remaining inventory). This is divided into three scenarios:
[0042] 1) Upon receiving confirmation (e.g., checking a checkmark), update the inpatient's medication inventory information using the doctor's order for daily medication tasks, total self-prepared medication dosage, and considering any abnormal information. The updated actual remaining inventory is calculated as follows: Post-update actual remaining inventory = total self-prepared medication dosage - sum of individual doses for each actual dose - amount of damaged self-prepared medication. Post-update expiration date = date calculated by dividing the updated actual remaining inventory by (sum of individual doses for each daily dose). Post-update near expiration date = date corresponding to the number of days immediately preceding the post-update expiration date. The near expiration date changes with the expiration date.
[0043] If the single dose corresponding to the actual number of times taken is the same, then the actual remaining stock of self-prepared medicine after the update = total self-prepared medicine dose - actual number of times taken * single dose - amount of self-prepared medicine damaged, and the expiration date of self-prepared medicine after the update = the date obtained by converting the data obtained by the actual remaining stock of self-prepared medicine after the update / (number of times taken per day * single dose).
[0044] 2) Upon receiving an incomplete confirmation operation (such as a "×" confirmation operation), update the near-expiration date, expiration date, and actual remaining stock of each inpatient's medication inventory information using the doctor's order for daily medication tasks, total self-prepared medication dosage, and abnormal information: The updated actual remaining stock of self-prepared medication = total self-prepared medication dosage - sum of single doses corresponding to the actual number of times it was taken + number of self-prepared medications refused; the updated expiration date of self-prepared medication = the date converted from the updated actual remaining stock of self-prepared medication / (sum of single doses corresponding to the number of times it was taken in one day); the updated near-expiration date of self-prepared medication = the date corresponding to the number of days adjacent to the updated expiration date of self-prepared medication.
[0045] If the single dose corresponding to the actual number of times taken is the same, then the actual remaining stock of self-prepared medicine after the update = total self-prepared medicine dose - actual number of times taken * single dose + number of self-prepared medicine refusal. The expiration date of self-prepared medicine after the update = the date obtained by converting the data obtained by the actual remaining stock of self-prepared medicine after the update / (number of times taken per day * single dose).
[0046] 3) Upon receiving a prescription for medication without a scheduled dose, directly use the prescription information to update the near-expiration date, expiration date, and actual remaining quantity of medication in each inpatient's inventory: The updated actual remaining quantity of medication = the total dose of medication; the updated expiration date of medication = the date calculated by dividing the updated actual remaining quantity of medication by (the sum of the single doses corresponding to the number of times medication is taken per day); the updated near-expiration date of medication = the date corresponding to the number of days prior to the updated expiration date of medication.
[0047] If the number of times a day is taken corresponds to the same single dose, then the expiration date of the self-prepared medicine after the update is calculated as the date obtained by converting the actual remaining stock of the self-prepared medicine after the update into (number of times a day * single dose).
[0048] For example: Continuing from the previous example, update the self-prepared medication inventory information for inpatient A's self-prepared medication 1 and self-prepared medication 2. The self-prepared medication inventory information for self-prepared medication 1 is as follows: Actual remaining quantity of self-prepared medication 1 = Total dosage of self-prepared medication 1 - Actual number of doses per day * Single dose 2 - Damaged quantity of self-prepared medication 1 (0); Expiry date of self-prepared medication 1 = Date converted from the actual remaining quantity of self-prepared medication 1 / (Number of doses per day * Single dose 2); Near expiry date of self-prepared medication 1 = Date converted from the expiry date of self-prepared medication 1. Pre-set the date corresponding to the number of days approaching the end of the period (e.g., 3 days); Self-prepared medicine inventory information for self-prepared medicine 2: Actual remaining quantity of self-prepared medicine 2 = Total dosage of self-prepared medicine 2 - Actual number of doses 1 * Single dose 1 - Damaged quantity of self-prepared medicine 2 0, Expiry date of self-prepared medicine 2 = The date converted from the actual remaining quantity of self-prepared medicine 2 / (Number of doses per day 1 * Single dose 1), and the near expiry date of self-prepared medicine 2 = The date corresponding to the number of days approaching the expiry date of self-prepared medicine 2 (e.g., 3 days).
[0049] Since the date the doctor's prescription is issued is a special case, this embodiment analyzes and processes the medication task and self-prepared drug inventory information on the date the doctor's prescription is issued separately.
[0050] The medication execution record module 2 is also used to generate daily medication tasks for hospitalized patients based on self-prepared medication orders on subsequent dates (excluding the date the prescription was issued). When there are any abnormalities each day, the abnormality record module is called to allow medical staff to record abnormal information. After the latest time of the hospitalized patient's last dose, the module receives confirmation from medical staff regarding whether the daily medication task for the hospitalized patient has been completed and sends it to the dynamic inventory monitoring module 4.
[0051] The dynamic inventory monitoring module 4 is also used to track and visualize the medication inventory information of hospitalized patients in real time, which is divided into two cases:
[0052] 1) Upon receiving confirmation (e.g., check the confirmation box), update the near-expiration date, expiration date, and actual remaining stock of each inpatient's medication inventory using the daily medication task, the actual remaining stock before the update, and considering any abnormal information: The updated actual remaining stock of self-prepared medications = the actual remaining stock before the update - the sum of single doses corresponding to the number of times a day is taken - the amount of self-prepared medication damaged; the updated expiration date of self-prepared medications = the date converted from the updated actual remaining stock of self-prepared medications / (the sum of single doses corresponding to the number of times a day is taken); the updated near-expiration date of self-prepared medications = the date corresponding to the number of days prior to the updated expiration date of self-prepared medications.
[0053] If the number of times a day is taken corresponds to the same single dose, then the actual remaining stock of the self-prepared medicine after the update = the actual remaining stock before the update - the number of times a day is taken * the single dose - the amount of self-prepared medicine damaged. The expiration date of the self-prepared medicine after the update = the date obtained by converting the actual remaining stock of the self-prepared medicine after the update / (the number of times a day is taken * the single dose).
[0054] 2) Upon receiving an incomplete confirmation operation (such as a "×" confirmation operation), update the near-expiration date, expiration date, and actual remaining stock of each inpatient's medication inventory information using the daily medication task, the actual remaining stock before the update, and abnormal information: The actual remaining stock of self-prepared medication after the update = the actual remaining stock before the update - the sum of the single doses corresponding to the number of times a day is taken + the amount of self-prepared medication refused; the expiration date of self-prepared medication after the update = the date obtained by converting the actual remaining stock of self-prepared medication after the update / (the sum of the single doses corresponding to the number of times a day is taken); the near-expiration date of self-prepared medication after the update = the date corresponding to the number of days adjacent to the expiration date of self-prepared medication after the update.
[0055] If the single dose corresponding to the number of times a day is the same, then the actual remaining stock of self-prepared medicine after the update = the actual remaining stock before the update - the number of times a day * the single dose + the number of self-prepared medicines refused. The expiration date of the self-prepared medicine after the update = the date obtained by converting the data obtained by the actual remaining stock of self-prepared medicine after the update / (number of times a day * single dose).
[0056] After the update, the system analyzes whether the inventory information of a specific self-prepared medication meets the inventory warning criteria. If so, it displays and sends a reminder message to the hospitalized patient that the self-prepared medication is running low and needs to be replenished. The inventory warning criteria are: the current date of the self-prepared medication is nearing its expiration date, or the actual remaining inventory is lower than a preset remaining inventory threshold. The reminder message when a patient's self-prepared medication is about to run out is accurately pushed to the responsible nurse, prompting them to promptly notify the doctor for assessment and contact family members to replenish the medication, preventing medication shortages.
[0057] Based on the confirmed execution results (marked with √ or ×), this embodiment automatically and in real time deducts the corresponding drug inventory quantity, ensuring dynamic and accurate inventory data, reducing manual calculation errors and lag, and forming a closed-loop management of medication administration.
[0058] In this embodiment, when a hospitalized patient is about to run out of a certain self-prepared medication, the system automatically analyzes the similarity between the estimated expiration dates of other medications (near their expiration dates) and the estimated expiration date of this self-prepared medication. If the system intelligently determines that the estimated expiration dates of other medications are very close to the estimated expiration date of this self-prepared medication (e.g., within the configurable number of days, such as 3-5 days), it proactively prompts medical staff to "coordinate and notify" the family to replenish these medications all at once. This function significantly reduces the number of frequent trips for family members due to inconsistent expiration dates of different medications, improving communication efficiency and family satisfaction. The specific implementation method is as follows: When the analysis shows that the inpatient's self-prepared medicine is insufficient and needs to be replenished, the dynamic inventory monitoring module 4 is also used to analyze whether the inpatient has other self-prepared medicines in sufficient quantity that do not need to be replenished. Otherwise, it displays and issues a reminder message that the inpatient's self-prepared medicine is insufficient and needs to be replenished. If so, it calculates the difference in days between the expiration date of the inpatient's other self-prepared medicine and the current date, and analyzes whether the difference in days is within the preset difference in days. If so, it displays and issues a reminder message that the inpatient's self-prepared medicine is insufficient and needs to be replenished, and that the other self-prepared medicines can be replenished at the same time. Otherwise, it displays and issues a reminder message that the inpatient's self-prepared medicine is insufficient and needs to be replenished.
[0059] like Figure 2 As shown in the figure, this invention also provides an intelligent management method for self-prepared medications of inpatients in specialized hospitals, including the following steps:
[0060] Step 101: The self-prepared medication registration module allows medical staff to register the hospitalization information of inpatients and their respective medication information. The self-prepared medication information includes the name of the self-prepared medication, the total dosage of the self-prepared medication, the number of times it is taken per day, the single dose, the time of single administration, the method of administration, and the time when the prescription was issued.
[0061] Step 102: The medication execution record module analyzes whether the hospitalized patient has a medication task on the day the doctor's order was issued, based on the time of the doctor's order, the number of times each patient takes the medication per day, and the time of each single dose. If yes, proceed to step 103; otherwise, proceed to step 105.
[0062] Step 103: The medication execution record module generates and displays the daily medication task prescribed by the doctor. The daily medication task includes the name of each prepared medication, the actual number of times it is taken, the single dose, the single time of administration, and the method of administration. Then, when there is an abnormality, the abnormality record module is called to allow medical staff to record abnormal information. The abnormal information includes the name of the prepared medication and the amount of medication refused, and / or the name of the prepared medication and the amount of medication damaged. Afterward, the module receives the confirmation from medical staff on whether the daily medication task prescribed by the doctor for the inpatient has been completed and sends it to the dynamic inventory monitoring module, proceeding to step 104.
[0063] Step 104: The dynamic inventory monitoring module tracks and visualizes the medication inventory information of each inpatient in real time. Upon receiving confirmation of completion, it updates the medication inventory information of each inpatient using the daily medication order, the total dosage of self-prepared medication, and takes into account any abnormal information. Upon receiving incomplete confirmation, it updates the medication inventory information of each inpatient using the daily medication order, the total dosage of self-prepared medication, and any abnormal information, and then proceeds to step 107.
[0064] Step 105: The medication execution record module displays information about no medication tasks on the day the doctor's prescription was issued and sends it to the dynamic inventory monitoring module, then proceeds to step 106.
[0065] Step 106: Upon receiving the information that there is no medication task on the day the doctor's prescription is issued, the dynamic inventory monitoring module directly uses the self-prepared medication prescription information to update the medication inventory information of each inpatient, and proceeds to step 107.
[0066] Step 107: The medication execution record module generates daily medication tasks for hospitalized patients based on self-prepared medication orders in subsequent dates. When there are any abnormalities each day, the module calls the abnormality record module for medical staff to record abnormal information. Afterward, it receives confirmation from medical staff regarding whether the daily medication tasks for hospitalized patients have been completed and sends it to the dynamic inventory monitoring module.
[0067] Step 108: The dynamic inventory monitoring module tracks and visualizes the medication inventory information of each inpatient in real time. Upon receiving confirmation of completion, it updates the medication inventory information of each inpatient using the daily medication task, the actual remaining inventory, and also considers abnormal information when it is received. Upon receiving incomplete confirmation, it updates the medication inventory information of each inpatient using the daily medication task, the actual remaining inventory, and abnormal information.
[0068] Step 109: After the update, the dynamic inventory monitoring module analyzes whether the inventory information of a certain self-prepared medicine has reached the inventory warning condition. If so, it displays and issues a reminder message to the hospitalized patient that the self-prepared medicine is insufficient and needs to be replenished.
[0069] Example 2
[0070] Based on Example 1, the intelligent management system for inpatient self-prepared medications in specialized hospitals in this example also includes a temporary change record module for medical orders 5 (see Example 1). Figure 3 The Module 5 for Recording Temporary Changes in Medical Orders is used by medical staff to record information on the suspension of self-prepared medication orders (such as the suspension of single / multiple doses due to temporary examinations or treatments) and information on temporary changes to self-prepared medication orders.
[0071] The information on the suspension of self-prepared medication orders includes the name of the self-prepared medication to be suspended, the number of times it has been suspended, and the time of each suspension, recorded under the corresponding date.
[0072] Temporary changes to self-prepared medication prescriptions include the temporarily changed name of the self-prepared medication recorded under the corresponding date, the temporarily changed number of times to take it per day and / or the temporarily changed dosage once, and the temporarily changed time of a single dose.
[0073] Medication Execution Record Module 2 is also used to call the Medical Order Temporary Change Record Module 5 at a set time point (e.g., 6:00 AM) on the same day (for the date the prescription was issued) to analyze whether there is any information on the suspension or temporary change of self-prepared medication prescriptions on that day. Otherwise, it generates and displays the inpatient's medication task for that day based on the self-prepared medication prescription information. If there is, and it is considered as self-prepared medication prescription suspension information, it generates and displays the inpatient's medication task for that day, or if the inpatient has no medication task for that day (the self-prepared medication prescription will be suspended). If the information on the suspension of self-prepared medication orders is removed from the medication order information, and the hospitalized patient's medication task for the day or the hospitalized patient has no medication task for the day is generated and displayed, then it is considered that the information on the temporary change of self-prepared medication orders is generated and displayed based on the self-prepared medication order information and at the same time taking into account the information on the temporary change of self-prepared medication orders (the information on the temporary change of self-prepared medication orders and the self-prepared medication orders that have not been changed in the self-prepared medication order information is combined to generate the information on the medication task for the day or the hospitalized patient has no medication task for the day).
[0074] After generating the daily medication task for hospitalized patients, if there is an abnormality on the same day, the abnormality recording module 3 is called to allow medical staff to record the abnormal information. After the latest time of the hospitalized patient's last dose, the system receives confirmation from medical staff regarding whether the daily medication task for the hospitalized patient has been completed and sends it to the dynamic inventory monitoring module 4. After generating a case where the hospitalized patient has no medication task for the day, the system directly sends the information about no medication task for the day to the dynamic inventory monitoring module 4.
[0075] The dynamic inventory monitoring module 4 is also used to track and visualize the medication inventory information of hospitalized patients in real time, which is divided into three cases:
[0076] 1) Upon receiving confirmation of completion, update the near-expiration date, expiration date, and actual remaining stock of each inpatient's medication inventory using the daily medication task, the actual remaining stock before the update, and considering any abnormal information. For cases where a medication is taken on a given day, the updated actual remaining stock = the actual remaining stock before the update - the sum of the single doses corresponding to the number of doses taken in the daily medication task - the amount of medication damaged. The updated expiration date = the date converted from the updated actual remaining stock / (the sum of the single doses corresponding to the number of doses taken in the daily medication task). The updated near-expiration date = the date corresponding to the number of days prior to the updated expiration date. For cases where all doses of a medication are suspended on a given day, the near-expiration date and expiration date in the medication inventory information are both postponed by one day, while the actual remaining stock remains unchanged.
[0077] If the single dose corresponding to the number of times a day is taken is the same, then the actual remaining stock of the self-prepared medicine after the update = the actual remaining stock before the update - the number of times a day is taken in the daily medication task * the single dose - the amount of self-prepared medicine damaged. The expiration date of the self-prepared medicine after the update = the date converted from the data obtained by dividing the actual remaining stock of the self-prepared medicine after the update by (number of times a day * single dose).
[0078] 2) Upon receiving an incomplete confirmation, update the near-expiration date, expiration date, and actual remaining stock in the inpatient's individual medication inventory information using the daily medication task, the actual remaining stock before the update, and abnormal information: For cases where a certain self-prepared medication has been taken a certain number of times that day, the updated actual remaining stock of that self-prepared medication = the actual remaining stock before the update - the sum of the single doses corresponding to the number of times taken in the daily medication task + the number of self-prepared medications refused; the updated expiration date of that self-prepared medication = the date converted from the updated actual remaining stock of that self-prepared medication / (the sum of the single doses corresponding to the number of times taken in the daily medication task); the updated near-expiration date of that self-prepared medication = the date corresponding to the number of days adjacent to the updated expiration date of that self-prepared medication. For cases where all doses of a certain self-prepared medication are suspended that day, the near-expiration date and expiration date in the self-prepared medication inventory information are both postponed by one day, while the actual remaining stock remains unchanged.
[0079] If the single dose corresponding to the number of times a day is taken is the same, then the actual remaining stock of the self-prepared medicine after the update = the actual remaining stock before the update - the number of times a day is taken in the daily medication task * the single dose + the number of self-prepared medicines refused. The deadline for taking the self-prepared medicine after the update = the date converted from the data obtained by dividing the actual remaining stock of the self-prepared medicine after the update by (number of times a day * single dose).
[0080] 3) Upon receiving information that there is no medication task for the day, the information on the medication inventory of each inpatient is updated directly using the information on no medication task for the day. The near expiration date and expiration date of each medication in the individual medication inventory information are both extended by one day, while the actual remaining inventory remains unchanged.
[0081] In this embodiment, for cases where a hospitalized patient's one or more self-prepared medication orders are executed based on the latest self-prepared medication order information from the effective date of the order, the self-prepared medication registration module 1 is used to allow medical staff to change and register the hospitalized patient's latest self-prepared medication order information on the date corresponding to the effective date of the order, and the change takes effect on the effective date of the order, generating the medication task for that day and thereafter based on the latest self-prepared medication order information.
[0082] In this embodiment, for the case where a hospitalized patient adds at least one self-prepared medication, the self-prepared medication registration module 1 is used for medical staff to register the self-prepared medication information of the hospitalized patient. The self-prepared medication information includes the name of the self-prepared medication, the total dosage of the self-prepared medication, the number of times it is taken per day, the single dose, the single time of administration, the method of administration, and the time when the prescription was issued.
[0083] The medication execution record module 2 is also used to analyze the prescription date, daily frequency, and single dose time of the newly added self-prepared medication to determine if the hospitalized patient has a medication task for the newly prescribed medication on the prescription date. If not, it generates a medication task for the hospitalized patient on the prescription date for the existing non-newly added self-prepared medication based on its prescription information and the relationship between the prescription date, daily frequency, and single dose time for the newly added self-prepared medication. The hospitalized patient's medication task on the prescription date equals the medication task for the prescription date corresponding to the existing non-newly added self-prepared medication and the medication task for the prescription date corresponding to the newly added self-prepared medication.
[0084] The medication execution record module 2 is also used to generate daily medication tasks for hospitalized patients based on the medication order information of each self-prepared medication in the subsequent dates of the prescription date of the newly added self-prepared medication.
[0085] This invention provides an intelligent management system for inpatient self-prepared medications in specialized hospitals. It achieves digital integration and dynamic visualization of medication information, establishes an intelligent early warning mechanism based on configurable thresholds for deadlines and remaining stock, innovatively introduces collaborative medication consumption analysis and intelligent replenishment reminders (predicting the time it takes for multiple medications to run out and prompting for simultaneous replenishment), and constructs a complete process encompassing digital medication record traceability, structured abnormal closed-loop management, and automatic inventory deduction linked to medication execution. This systematically solves the core problems of low management efficiency, significant medication safety risks, and excessive non-core workload for nurses in specialized hospitals caused by the large quantity, variety, and diverse sources of self-prepared medications. Ultimately, it achieves the comprehensive effects of improving inpatient medication safety, optimizing medication management efficiency, significantly reducing nurses' workload, and reducing the number of repeated trips for family members.
[0086] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.
Claims
1. A smart management system for inpatient medications in a specialized hospital, characterized in that, It includes a self-prepared medicine registration module, a medication administration record module, an anomaly record module, and a dynamic inventory monitoring module; The self-prepared medication registration module is used by medical staff to register the hospitalization information of inpatients and their respective medication information. The self-prepared medication information includes the name of the self-prepared medication, the total dosage of the self-prepared medication, the number of times it is taken per day, the single dose, the single time of administration, the method of administration, and the time when the prescription was issued. The medication execution record module is used to analyze whether there is a medication task on the day the doctor's prescription is issued, based on the prescription date, the number of times each patient takes their medication, and the time of each dose. If yes, it generates and displays the medication task for the day the doctor's prescription is issued. The medication task for the day the doctor's prescription is issued includes the name of each patient's medication, the actual number of doses, the single dose, the time of each dose, and the method of administration. Subsequently, when there is an abnormality, it calls the abnormality record module for medical staff to record abnormal information. The abnormal information includes information on refusal of self-prepared medication containing the name of the self-prepared medication and the amount refused, and / or information on damage of self-prepared medication containing the name of the self-prepared medication and the amount damaged. Then, it receives confirmation from medical staff regarding whether the medication task for the day the hospitalized patient's prescription is issued has been completed and sends it to the dynamic inventory monitoring module. If no, it displays information that there is no medication task on the day the doctor's prescription is issued and sends it to the dynamic inventory monitoring module. The dynamic inventory monitoring module is used to track and visualize the medication inventory information of each inpatient in real time. When a confirmation is received, the module updates the medication inventory information of each inpatient using the daily medication task prescribed by the doctor, the total dosage of self-prepared medication, and taking into account any abnormal information. When a confirmation is not received, the module updates the medication inventory information of each inpatient using the daily medication task prescribed by the doctor, the total dosage of self-prepared medication, and any abnormal information. When a doctor's order for no medication task is received, the module directly updates the medication inventory information of each inpatient using the self-prepared medication order information. The medication execution record module is also used to generate daily medication tasks for hospitalized patients based on self-prepared medication orders in subsequent dates. When there is an abnormality each day, the abnormality record module is called to allow medical staff to record abnormal information. Afterward, the module receives confirmation from medical staff regarding whether the daily medication task for hospitalized patients has been completed and sends it to the dynamic inventory monitoring module. The dynamic inventory monitoring module is also used to track and visualize the medication inventory information of each hospitalized patient in real time. Upon receiving confirmation of completion, it updates the medication inventory information of each hospitalized patient using the daily medication task, the actual remaining inventory, and considering abnormal information when it is found. Upon receiving incomplete confirmation, it updates the medication inventory information of each hospitalized patient using the daily medication task, the actual remaining inventory, and abnormal information. After updating, it analyzes whether the inventory information of a certain self-prepared medication has reached the inventory warning condition. If so, it displays and issues a reminder message to the hospitalized patient that the self-prepared medication is insufficient and needs to be replenished.
2. The intelligent management system for inpatient medications in specialized hospitals as described in claim 1, characterized in that, The medication execution record module is used to analyze whether there is a medication task on the day the doctor's order was issued, based on the time of the doctor's order, the number of times each patient takes their own medication per day, and the time of each single dose. If not, it generates and displays the medication task for the day the doctor's order was issued: it analyzes whether there are any self-prepared medications with a single dose time later than the time the doctor's order was issued. If so, it analyzes that there is a medication task on the day the doctor's order was issued, generates and displays the medication task for the day the doctor's order was issued. In the medication task for the day the doctor's order was issued, the name of the self-prepared medication is the name of the self-prepared medication with a single dose time later than the time the doctor's order was issued, and the actual number of doses is the number of doses corresponding to the single dose time later than the time the doctor's order was issued. Otherwise, it analyzes that there is no medication task on the day the doctor's order was issued, and displays the information that there is no medication task on the day the doctor's order was issued. Self-prepared medicine inventory information includes self-prepared medicine information, near expiration date, expiration date, preset remaining inventory threshold, and actual remaining inventory; The dynamic inventory monitoring module is used to update the medication inventory information of hospitalized patients by using the daily medication task prescribed by the doctor, the total dosage of self-prepared medication, and considering abnormal information when abnormal information is found, in order to update the near expiration date, expiration date and actual remaining inventory of self-prepared medication: after the update, the actual remaining inventory of self-prepared medication = total dosage of self-prepared medication - sum of single doses corresponding to the actual number of times it is taken - amount of self-prepared medication damaged. Upon receiving an incomplete confirmation, the daily medication task prescribed by the doctor, the total dosage of self-prepared medication, and abnormal information are used to update the medication inventory information of hospitalized patients, including the near expiration date, the expiration date, and the actual remaining inventory: After the update, the actual remaining inventory of self-prepared medication = the total dosage of self-prepared medication - the sum of the single doses corresponding to the actual number of times it was taken + the amount of self-prepared medication refused. Upon receiving the information that there is no medication task on the day of the prescription, the information on the prescription for self-prepared medication is directly used to update the information on the near expiration date, expiration date and actual remaining quantity of medication for each inpatient: After the update, the actual remaining quantity of self-prepared medication = the total dosage of self-prepared medication. Among them, the expiration date of the updated self-prepared medicine is the date calculated by dividing the actual remaining stock of the updated self-prepared medicine by (the sum of the single doses corresponding to the number of times it is taken per day), and the near expiration date of the updated self-prepared medicine is the date corresponding to the number of days that the expiration date of the updated self-prepared medicine is preset in advance.
3. The intelligent management system for inpatient medications in specialized hospitals as described in claim 1, characterized in that, The dynamic inventory monitoring module is also used to update the near-expiration date, expiration date and actual remaining quantity of medications in the inpatients' individual medication inventory information by using the daily medication task, the actual remaining quantity before the update, and considering abnormal information when abnormal information is found, after receiving the confirmation operation: the actual remaining quantity of self-prepared medications after the update = the actual remaining quantity before the update - the sum of the single doses corresponding to the number of times a day is taken - the amount of self-prepared medications damaged. Upon receiving an incomplete confirmation operation, the daily medication task, the actual remaining inventory before the update, and abnormal information are used to update the medication inventory information of each inpatient inpatient, including the near expiration date, the expiration date, and the actual remaining inventory: the actual remaining inventory of self-prepared medication after the update = the actual remaining inventory before the update - the sum of the single doses corresponding to the number of times a day is taken + the amount of self-prepared medication refused. Among them, the expiration date of the updated self-prepared medicine = the date obtained by converting the actual remaining stock of the updated self-prepared medicine / (the sum of the single doses corresponding to the number of times it is taken per day) into a date, and the near expiration date of the updated self-prepared medicine = the date corresponding to the number of days close to the expiration date of the updated self-prepared medicine. Inventory warning conditions: The current date of the self-prepared medicine is close to the expiration date of the self-prepared medicine, or the actual remaining inventory of the self-prepared medicine is lower than the preset remaining inventory threshold.
4. The intelligent management system for inpatient medications in specialized hospitals as described in claim 1, characterized in that, The dynamic inventory monitoring module is also used to analyze whether the hospitalized patient has other self-prepared medications in sufficient stock and does not need to be replenished when the analysis shows that the self-prepared medication is insufficient and needs to be replenished. Otherwise, it displays and issues a reminder message that the hospitalized patient has insufficient self-prepared medication and needs to replenish the medication. If so, it calculates the difference in days between the expiration date of the other self-prepared medication and the current date, and analyzes whether the difference in days is within the preset difference in days. If so, it displays and issues a reminder message that the hospitalized patient has insufficient self-prepared medication and needs to replenish the medication, as well as that the other self-prepared medication can be replenished at the same time. Otherwise, it displays and issues a reminder message that the hospitalized patient has insufficient self-prepared medication and needs to replenish the medication.
5. The intelligent management system for inpatient medications in specialized hospitals as described in claim 1, characterized in that, The system also includes a temporary change record module for medical orders, which is used by medical staff to record information on the suspension of self-prepared medication orders and information on temporary changes to self-prepared medication orders. Information on the suspension of self-prepared medication orders includes the name of the self-prepared medication to be suspended, the number of times it has been suspended, and the time of each suspension, recorded under the corresponding date. Temporary changes to self-prepared medication prescriptions include the temporarily changed name of the self-prepared medication recorded under the corresponding date, the temporarily changed number of times to take it per day and / or the temporarily changed dosage once, and the temporarily changed time of a single dose; The medication execution record module is also used to first call the medical order temporary change record module at a set time point on the same day to analyze whether there is any information on suspension or temporary change of self-prepared medication orders on the same day. Otherwise, it generates and displays the medication task for the hospitalized patient on the same day based on the self-prepared medication order information. If it is, it is a suspension of self-prepared medication order information. It generates and displays the medication task for the hospitalized patient on the same day based on the self-prepared medication order information and at the same time considers the suspension of self-prepared medication order information. Alternatively, it can be that the hospitalized patient has no medication task on the same day. If it is, it is a temporary change of self-prepared medication order information. It generates and displays the medication task for the hospitalized patient on the same day based on the self-prepared medication order information and at the same time considers the temporary change of self-prepared medication order information. After generating the medication task for hospitalized patients for the day, if there is an abnormality on the day, the abnormality recording module is called so that medical staff can record the abnormal information. Then, the confirmation operation of medical staff on whether the daily medication task for hospitalized patients has been completed is received and sent to the dynamic inventory monitoring module. After generating no medication task for hospitalized patients for the day, the information of no medication task for the day is sent directly to the dynamic inventory monitoring module. The dynamic inventory monitoring module is also used to update the medication inventory information of each inpatient when a confirmation operation is received, using the medication task of the day, the actual remaining inventory, and considering abnormal information when there is abnormal information. If the number of times a certain self-prepared medication is taken is suspended on the same day, the near expiration date and the expiration date in the self-prepared medication inventory information of that self-prepared medication are both extended by one day, and the actual remaining inventory remains unchanged. Upon receiving an incomplete confirmation, the hospitalized patient's individual medication inventory information is updated using the daily medication task, actual remaining inventory, and abnormal information. If all doses of a particular self-prepared medication are suspended for the day, the near-expiration date and expiration date in the self-prepared medication inventory information are both extended by one day, while the actual remaining inventory remains unchanged. Upon receiving information that there is no medication task for the day, the hospitalized patient's individual medication inventory information is updated directly using the information that there is no medication task for the day. The near-expiration date and expiration date in the individual medication inventory information are both extended by one day, while the actual remaining inventory remains unchanged.
6. The intelligent management system for inpatient medications in specialized hospitals as described in claim 5, characterized in that, The medication execution record module is also used to remove the information on the suspension of self-prepared medication orders from the self-prepared medication order information and generate and display the medication task for the hospitalized patient on that day or the hospitalized patient has no medication task on that day when the self-prepared medication order is suspended. When there is a temporary change to the self-prepared medication order, the hospitalized patient's medication task for the day is generated by combining the temporary change information with the unchanged self-prepared medication order information. Alternatively, the hospitalized patient may be given no medication task for the day.
7. The intelligent management system for inpatient medications in specialized hospitals as described in claim 5, characterized in that, Self-prepared medicine inventory information includes self-prepared medicine information, near expiration date, expiration date, preset remaining inventory threshold, and actual remaining inventory; The dynamic inventory monitoring module is also used to update the near-expiration date, expiration date, and actual remaining inventory of each inpatient's medication inventory information upon receiving confirmation of completion. This update is based on the daily medication task, the actual remaining inventory before the update, and any abnormal information. For cases where a certain self-prepared medication has been taken a certain number of times that day, the updated actual remaining inventory of that self-prepared medication is calculated as follows: the updated actual remaining inventory = the actual remaining inventory before the update - the sum of the single doses corresponding to the number of times the medication was taken in the daily medication task - the amount of medication damaged. The updated expiration date of that self-prepared medication is calculated as the date obtained by converting the updated actual remaining inventory of that self-prepared medication into (the sum of the single doses corresponding to the number of times the medication was taken in the daily medication task). The updated near-expiration date of that self-prepared medication is calculated as the date corresponding to the number of days preceding the updated expiration date of that self-prepared medication. For cases where all doses of a certain self-prepared medication are suspended that day, the near-expiration date and expiration date in the self-prepared medication inventory information are both postponed by one day, while the actual remaining inventory remains unchanged. Upon receiving an incomplete confirmation, the following updates are made to the inpatient's medication inventory information: the near-expiration date, the expiration date, and the actual remaining inventory. For cases where a medication is taken a certain number of times that day, the updated actual remaining inventory = the original actual remaining inventory - the sum of single doses corresponding to the number of times the medication is taken in the daily medication task + the number of medications refused. The updated expiration date = the date calculated by dividing the updated actual remaining inventory by (the sum of single doses corresponding to the number of times the medication is taken in the daily task). The updated near-expiration date = the date corresponding to the number of days prior to the updated expiration date. For cases where all doses of a medication are suspended that day, the near-expiration date and the expiration date in the medication inventory information are both postponed by one day, while the actual remaining inventory remains unchanged.
8. The intelligent management system for inpatient medications in specialized hospitals as described in claim 1, characterized in that, For cases where a hospitalized patient's self-prepared medication order is executed based on the latest self-prepared medication order information from the effective date of the order, the self-prepared medication registration module is used by medical staff to change and register the latest self-prepared medication order information of the hospitalized patient on the date corresponding to the effective date of the order. The registration takes effect on the effective date of the order and generates the medication task for that day and thereafter based on the latest self-prepared medication order information.
9. The intelligent management system for inpatient medications in specialized hospitals as described in claim 1, characterized in that, In the case of a hospitalized patient adding at least one self-prepared medication, the self-prepared medication registration module is used by medical staff to register the self-prepared medication information of the hospitalized patient. The self-prepared medication information includes the name of the self-prepared medication, the total dosage of the self-prepared medication, the number of times to take it per day, the single dose, the single time of administration, the method of administration, and the time of prescription. The medication execution record module is also used to analyze the prescription time, number of times a day and single time of the newly added self-prepared medication for the prescription time, and whether the hospitalized patient has a medication task for the newly added self-prepared medication on the prescription date. If not, it generates a medication task for the hospitalized patient on the prescription date based on the prescription information of the original non-new self-prepared medication and the relationship between the prescription time, number of times a day and single time of the newly added self-prepared medication. The medication execution record module is also used to generate daily medication tasks for hospitalized patients based on the medication order information of each self-prepared medication on a subsequent date after the prescription date of the newly added self-prepared medication.
10. A method for intelligent management of self-prepared medications for inpatients in a specialized hospital, characterized in that, Includes the following steps: S1. The self-prepared medication registration module is used by medical staff to register the hospitalization information of inpatients and their respective medication information. The self-prepared medication information includes the name of the self-prepared medication, the total dosage of the self-prepared medication, the number of times it is taken per day, the single dose, the single time of administration, the method of administration, and the time when the prescription was issued. S2, the medication execution record module analyzes whether the hospitalized patient has a medication task on the day the doctor's order was issued, based on the time of the doctor's order, the number of times each patient takes the medication per day, and the time of each single dose. If yes, proceed to S3; otherwise, proceed to S5. S3. The medication execution record module generates and displays the daily medication task prescribed by the doctor. The daily medication task includes the name of each prepared medication, the actual number of times it is taken, the single dose, the single dose time, and the method of administration. Then, when there is an abnormality, the abnormality record module is called so that medical staff can record the abnormal information. The abnormal information includes the name of the prepared medication and the amount of medication refused, and / or the name of the prepared medication and the amount of medication damaged. After that, the module receives the confirmation operation from the medical staff on whether the daily medication task prescribed by the doctor for the inpatient has been completed and sends it to the dynamic inventory monitoring module, and then proceeds to S4. S4. The dynamic inventory monitoring module tracks and visualizes the medication inventory information of each inpatient in real time. When a confirmation is received, the module updates the medication inventory information of each inpatient in real time by using the doctor's order to issue daily medication tasks, the total dosage of self-prepared medications, and taking into account any abnormal information. When an incomplete confirmation is received, the module updates the medication inventory information of each inpatient in real time by using the doctor's order to issue daily medication tasks, the total dosage of self-prepared medications, and any abnormal information, and then proceeds to S7. S5. The medication execution record module displays information about no medication tasks on the day the doctor's prescription was issued and sends it to the dynamic inventory monitoring module, then proceeds to S6. S6. Upon receiving the information that there is no medication task on the day the doctor's prescription is issued, the dynamic inventory monitoring module directly uses the self-prepared medication prescription information to update the medication inventory information of each inpatient, and then proceeds to S7. S7. The medication execution record module generates daily medication tasks for hospitalized patients based on self-prepared medication orders in subsequent dates. When there are any abnormalities each day, it calls the abnormality record module for medical staff to record abnormal information. Afterwards, it receives confirmation from medical staff on whether the daily medication tasks for hospitalized patients have been completed and sends it to the dynamic inventory monitoring module. S8. The dynamic inventory monitoring module tracks and visualizes the medication inventory information of each inpatient in real time. When a confirmation is received, the module updates the medication inventory information of each inpatient in real time using the daily medication task, the actual remaining inventory, and also considers abnormal information when it is received. When an incomplete confirmation is received, the module updates the medication inventory information of each inpatient in real time using the daily medication task, the actual remaining inventory, and abnormal information. S9. After the update, the dynamic inventory monitoring module analyzes whether the inventory information of a certain self-prepared medicine has reached the inventory warning condition. If so, it displays and issues a reminder message to the hospitalized patient that the self-prepared medicine is insufficient and needs to be replenished.