Drug distribution method and device and electronic equipment
By establishing the interconnection between the elderly's medication strategy and drug lattice, the automatic distribution of drugs is achieved, and the problems of the elderly's medication complexity and dependence on caregivers are solved, and the efficiency and safety of drug distribution are improved.
Patent Information
- Application Number
- CN202411540365.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Due to the deterioration of immune system function, the elderly are prone to infection with diseases and the complexity of taking medicines is high. They are prone to taking mistakes, taking mistakes, forgetting to take medicines or repeating the medicines, which affects the treatment effect. The existing medication reminder methods rely on family members or caregivers, and there is a risk of missing or taking medicine by mistake.
By establishing an interconnection between the drugs to be taken and the Gate, receiving medication instructions and feedback information, matching medication strategies, and distributing drugs automatically and intelligently, reducing the probability of human error and ensuring that patients obtain medication in a timely manner.
It improves the efficiency and accuracy of drug distribution, reduces the probability of mis-issue or missed drugs, and enhances the safety of patients' medication.
Smart Images

Figure CN119517284A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent medical technology, and in particular to a medicine dispensing method, device and electronic equipment. Background Art
[0002] For the elderly, as they age, various body habits will become outdated, and the decline in the function of the immune system will lead to a decrease in the body's immunity, making the elderly more susceptible to infections such as bacteria and viruses, thereby causing various diseases.
[0003] When treating these diseases, the elderly may need to take multiple drugs, and the time, dosage and method of taking each drug may be different, which increases the complexity of taking drugs. In addition, due to the memory loss and slow reaction of the elderly, if they take drugs without the help of family members or others, they are prone to taking the wrong drugs, forgetting to take drugs or repeating drugs; long-term irregular medication may affect the treatment effect.
[0004] Existing medication reminder methods mainly focus on reminding the elderly to take medication on time, but in actual operation, their family members are still required to take out all the medicines they need to take for the day at once in the morning or the night before, which increases the dependence on family members or other caregivers. Once these dependencies do not exist or are neglected, it may cause the elderly to miss or take the wrong medication.
[0005] Therefore, a drug dispensing method, device and electronic device need to be proposed. Summary of the invention
[0006] The present specification provides a drug distribution method, device and electronic device, which establish an interconnection between the drugs to be taken and the slots; receive medication instructions and feedback information of the time, match the medication strategy of the time, ensure that the patient obtains the medicine in time when the medicine is needed, and avoid the situation where the treatment effect is affected by the delay of drug distribution; find the target slot according to the medication strategy of the time and the interconnection, and distribute the medicine. Through automation and intelligence, the probability of human errors such as wrong delivery and missing delivery of drugs is reduced, thereby improving the safety of patients' medication.
[0007] A drug distribution method provided in the present application adopts the following technical solution, including:
[0008] Constructing several medication strategies for the patient, wherein the medication strategies involve at least one medication to be taken;
[0009] Based on the medicine storage instruction, establish the interconnection relationship between the medicine to be taken and the slot;
[0010] Receive medication instructions and feedback information, and match medication strategies;
[0011] The target grid is searched according to the current medication strategy and the interconnected relationship to distribute the medicines.
[0012] Optionally, the construction of several medication strategies for patients includes:
[0013] Collect the patient's basic medication data and work and rest data to construct medication information for each drug to be taken;
[0014] sorting the drugs to be taken according to the conflict relationship and complementary relationship between the drugs to be taken;
[0015] Optimize the medication time information in order according to the sorting results, and update the medication information;
[0016] According to the updated medication information, all the drugs to be taken with the same taking time information are used as a medication strategy.
[0017] Optionally, the basic medication data includes: ancillary information of the medication to be taken; the ancillary information includes: medication frequency, single dose, duration of administration and period of administration; the period of administration includes behavioral restriction factors and time restriction factors;
[0018] The work and rest data include the patient's planned medication time;
[0019] The construction of medication information for each drug to be taken includes:
[0020] According to the behavior restriction factor of the medicine to be taken, the corresponding time node is retrieved from the work and rest data, and the original taking time period of the medicine to be taken is calculated by combining the retrieved time node and the time restriction factor of the medicine to be taken;
[0021] According to the original taking period and the medication frequency, confirming the default taking period;
[0022] The medication information of each of the drugs to be taken is obtained according to the patient's planned medication time, the default medication time period, the single dose and the medication duration.
[0023] Optionally, the sorting of the drugs to be taken according to the conflict relationship and the complementary relationship between the drugs to be taken includes:
[0024] According to the complementary relationship, the drugs to be taken are divided into at least one original drug group;
[0025] According to the conflict relationship, verify the original medication group;
[0026] According to the number of to-be-taken medicines contained in the original medication group, the original medication group is sorted in descending order to obtain a sorting result.
[0027] Optionally, it also includes: constructing medication reminder information in combination with the medication strategy to remind the patient to take medication;
[0028] Optionally, constructing medication reminder information in combination with the medication strategy to remind the patient to take medication includes:
[0029] Determine the reminder time of each medication strategy according to the preset reminder interval and the medication time information, and obtain medication reminder information;
[0030] Remind the patient to take medication according to the medication reminder information.
[0031] Optionally, the receiving of medication instructions and feedback information of the current time and matching of medication strategies of the current time include:
[0032] Receive the medication instruction, and search for the current medication strategy according to the receipt time of the medication instruction and the most recent reminder time;
[0033] The feedback information of the time is obtained, and the medication strategy of the time is adjusted according to the feedback information of the time, wherein the feedback information of the time includes the diet feedback of the time and the sudden medication feedback.
[0034] Optionally, searching for a target grid according to the current medication strategy and the interconnection relationship to distribute the medication includes:
[0035] The grid where the medicine to be taken corresponding to the current medication strategy is located is used as the target grid;
[0036] Laying out and arranging the medicines to be taken in the target grid;
[0037] Opening the medicine dispensing port of the target compartment; the medicine dispensing port is adapted to the specifications of the medicine to be taken;
[0038] The medicine to be taken is pushed out through the medicine taking port.
[0039] The present application provides a drug dispensing device that adopts the following technical solution, including:
[0040] A strategy building module, for a plurality of medication strategies of a patient, wherein the medication strategy involves at least one drug to be taken;
[0041] An interconnection building module, used to establish an interconnection relationship between the to-be-taken medicine and the slot based on the medicine storage instruction;
[0042] A strategy matching module is used to receive medication instructions and feedback information of the current medication and match the medication strategy of the current medication;
[0043] The distribution module is used to find the target grid according to the current medication strategy and the interconnection relationship to distribute the medicine.
[0044] Optionally, the strategy building module includes:
[0045] The medication information building submodule is used to collect the patient's basic medication data and work and rest data to build medication information for each drug to be taken;
[0046] A sorting submodule, used for sorting the drugs to be taken according to the conflict relationship and complementary relationship between the drugs to be taken;
[0047] An updating submodule, used to optimize the taking time information in sequence according to the sorting results, and update the medication information;
[0048] The summary submodule is used to treat all the to-be-taken medicines with the same taking time information as a medication strategy according to the updated medication information.
[0049] Optionally, the basic medication data includes: ancillary information of the medication to be taken; the ancillary information includes: medication frequency, single dose, duration of administration and period of administration; the period of administration includes behavioral restriction factors and time restriction factors;
[0050] The work and rest data include the patient's planned medication time;
[0051] Optionally, the medication information construction submodule includes:
[0052] a calculation unit, configured to retrieve corresponding time nodes from the work and rest data according to the behavior restriction factors of the medicine to be taken, and to calculate the original taking time period of the medicine to be taken by combining the retrieved time nodes and the time restriction factors of the medicine to be taken;
[0053] A default taking period confirmation unit, used to confirm a default taking period according to the original taking period and the medication frequency;
[0054] The medication information confirmation unit is used to obtain the medication information of each of the drugs to be taken according to the patient's planned medication time, the default medication period, the single dose and the medication duration.
[0055] Optionally, the sorting submodule includes:
[0056] A division unit, used for dividing the to-be-taken medicines into at least one original medicine group according to the complementary relationship;
[0057] A verification unit, used for verifying the original medication group according to the conflict relationship;
[0058] The sorting unit is used to sort the original medication group in descending order according to the number of the to-be-taken medicines contained in the original medication group to obtain a sorting result.
[0059] Optionally, it also includes: a reminder module, used to construct medication reminder information in combination with the medication strategy to remind the patient to take medication;
[0060] Optionally, the reminder module includes:
[0061] A medication reminder information generation submodule, for determining the reminder time of each medication strategy according to the preset reminder interval and the medication time information, and obtaining medication reminder information;
[0062] The reminder submodule is used to remind the patient to take medication according to the medication reminder information.
[0063] Optionally, the strategy matching module includes:
[0064] A search submodule, used for receiving the medication instruction, and searching for the current medication strategy according to the receiving time of the medication instruction and the most recent reminder time;
[0065] The adjustment submodule is used to obtain the feedback information of the current time and adjust the medication strategy of the current time according to the feedback information of the current time, wherein the feedback information of the current time includes the dietary feedback of the current time and the sudden medication feedback.
[0066] Optionally, the distribution module includes:
[0067] The target slot confirmation submodule is used to take the slot where the medicine to be taken corresponding to the current medication strategy is located as the target slot;
[0068] An arrangement submodule, used for arranging and laying out the medicines to be taken in the target grid;
[0069] The dispensing submodule is used to open the medicine dispensing port of the target compartment; the medicine dispensing port is adapted to the specifications of the medicine to be taken; and the medicine to be taken is pushed out through the medicine dispensing port.
[0070] This specification also provides an electronic device, wherein the electronic device includes:
[0071] processor; and,
[0072] A memory storing computer executable instructions, which when executed cause the processor to perform any of the above methods.
[0073] The present specification also provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, any of the above methods is implemented.
[0074] In the present application, several medication strategies for patients are constructed, wherein the medication strategy involves at least one drug to be taken; based on the drug storage instructions, an interconnection relationship between the drug to be taken and the grid is established to improve the efficiency and accuracy of drug distribution; the medication instruction and the current feedback information are received to match the current medication strategy; the target grid is searched according to the current medication strategy and the interconnection relationship to distribute the drug, thereby reducing the tediousness and errors of manual operation and improving the efficiency and safety of drug distribution. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] Figure 1 A schematic diagram of the principle of a drug dispensing method provided in an embodiment of this specification;
[0076] Figure 2 A schematic diagram of the structure of a medicine dispensing device provided in an embodiment of this specification;
[0077] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification;
[0078] Figure 4 A schematic diagram of a computer-readable medium provided for an embodiment of this specification. DETAILED DESCRIPTION
[0079] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.
[0080] Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in a variety of forms, and should not be construed as limiting the present invention to the embodiments set forth herein. On the contrary, providing these exemplary embodiments enables the present invention to be more comprehensive and complete, and is more convenient for fully conveying the inventive concept to those skilled in the art. The same reference numerals in the figures represent the same or similar elements, components or parts, and thus their repeated description will be omitted.
[0081] Under the premise of being consistent with the technical concept of the present invention, the features, structures, characteristics or other details described in a specific embodiment do not exclude that they can be combined in one or more other embodiments in a suitable manner.
[0082] In the description of specific embodiments, the features, structures, characteristics or other details described in the present invention are intended to enable those skilled in the art to fully understand the embodiments. However, it does not exclude that those skilled in the art can practice the technical solutions of the present invention without one or more of the specific features, structures, characteristics or other details.
[0083] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0084] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0085] The term "and / or" or "and / or" includes all combinations of any one or more of the associated listed items.
[0086] Figure 1 A schematic diagram of the principle of a drug dispensing method provided in an embodiment of this specification, the method comprising:
[0087] S1 constructs several medication strategies for the patient, wherein the medication strategies involve at least one drug to be taken;
[0088] S2 establishes an interconnection relationship between the to-be-taken medicine and the slot based on the medicine storage instruction;
[0089] S4 receives medication instructions and feedback information of the current time, and matches the medication strategy of the current time;
[0090] S5 searches for the target grid according to the current medication strategy and the interconnection relationship to distribute the medicine.
[0091] Since most elderly people are weak, many of them get sick and take many types and quantities of medicine.
[0092] The elderly have impaired memory and slow reaction. If they take medicine on their own, they may not be able to clearly check the medicine name, remember the time of taking medicine inaccurately, not follow the doctor's instructions on the dosage, and often forget whether they have taken the medicine. This affects the efficacy of the medicine and delays the patient's treatment.
[0093] Therefore, for the elderly, especially those with limited mobility or memory loss, they may not be able to independently take out and take medicines. If their family members always take out the medicines they need to take in the day in the morning or the night before, this increases their dependence on family members or other caregivers.
[0094] And even with family assistance, mistakes can happen on a busy morning or the night before: For example, a family member might forget to take out a medication or give the wrong dose to a senior.
[0095] Everyone's medication plan may be different, but existing reminder methods often cannot be customized to the individual needs of the elderly's actual schedule.
[0096] Based on this, the present invention proposes a medicine distribution method, which can assist the elderly to take out medicine when their family members are out or busy. Specifically:
[0097] S1 constructs several medication strategies for patients;
[0098] Specifically, it is first necessary to collect the patient's basic medication data and work and rest data to construct medication information for each drug to be taken.
[0099] S11 collects the patient's basic medication data, the basic medication data including: auxiliary information of the medication to be taken;
[0100] After the doctor examines the patient and issues a prescription / medication order / doctor's order, the patient or the patient's accompanying person will go to the pharmacy to pick up the medicines to be taken. After obtaining all the medicines to be taken, the user enters the basic medication data. Of course, the user can also enter the basic medication data after the patient or the patient's accompanying person purchases the relevant medicines by themselves, and can set and adjust it according to the doctor's advice. Among them, the user refers to the input person who interacts with this system. The user can be the patient, the patient's accompanying person, the person guiding the medication, or other personnel.
[0101] The basic medication data includes: the supplementary information of the medicine to be taken. In one embodiment of the present specification, the user fills in the medicine name and supplementary information of the medicine to be taken.
[0102] Considering that manual entry by users may result in input errors, in order to reduce the input risk, a drug information database is constructed, which stores the drug names, ancillary information and drug packaging pictures of all existing drugs. Drug packaging includes but is not limited to: medicine bottles and medicine boxes.
[0103] In another embodiment of the present specification, the supplementary information is matched based on the medicine name of the medicine to be taken.
[0104] Specifically, after the user manually enters the name of the medicine to be taken and submits it, the corresponding auxiliary information is searched and retrieved from the medicine information database based on the name of the medicine to be taken submitted by the user.
[0105] Of course, the user takes a photo of the outer packaging of the medicine and uploads it, and based on the received picture of the outer packaging of the medicine, searches and matches are performed in the medicine information database to determine the auxiliary information corresponding to the medicine to be taken.
[0106] Taking into account that the ancillary information of drugs with the same name may be different due to differences in manufacturers / brands / production requirements, in another embodiment of the present specification, the drug name and ancillary information of the drug are automatically obtained by scanning the barcode on the outer packaging of the drug.
[0107] In order to improve the input speed, in one embodiment of the specification, the user can upload a prescription photo, and the present invention recognizes the names of all drugs to be taken through OCR text recognition technology based on the uploaded prescription photo, and searches for the specific attached information of the drugs to be taken from the drug information database.
[0108] In one embodiment of the present specification, if a patient takes hypoglycemic drugs, when the blood sugar value is low, the patient's medication dosage should be appropriately adjusted. Severe hypoglycemia may cause irreversible damage to the patient's brain, leading to a decline in the patient's intelligence or even becoming a vegetative state. Therefore, when entering the auxiliary information, the entered auxiliary information is restricted and monitored, and the patient is reminded in advance to monitor blood sugar, blood pressure, blood drug concentration, etc.
[0109] One medicine to be taken corresponds to one piece of supplementary information. After matching the supplementary information of all the medicines to be taken, all the supplementary information is summarized to obtain the basic medication data.
[0110] In another embodiment of the present specification, the present invention is directly connected to the prescription system, retrieves the information in the prescription, and generates the patient's basic medication data.
[0111] Additional information about the medication to be taken includes: frequency of administration, single dose, duration of administration, period of administration and risk information.
[0112] In one embodiment of the present specification, the dosing frequency includes the frequency and interval of taking the drug. Common dosing frequencies are shown in Table 1:
[0113]
[0114]
[0115] (Table 1)
[0116] A single dose includes a single dose range and a preferred single dose. The single dose range refers to the dose range recommended for a single dose in a given medical recommendation or drug description to achieve a specific therapeutic purpose, which is usually determined based on multiple factors such as the patient's age, weight, condition, nature of the drug, and expected effect.
[0117] The preferred single dose is based on the single dose range. The doctor or pharmacist considers the single dose that is most suitable for the patient based on the patient's specific situation and the nature of the drug. The preferred single dose is selected based on the single dose range, aiming to provide the best treatment effect for the patient while ensuring the safe use of the drug. When deciding the preferred single dose, the doctor or pharmacist will comprehensively consider the patient's specific situation and the nature of the drug to ensure the effectiveness and safety of the drug.
[0118] The timing of taking different drugs is affected by many factors:
[0119] (1) Pharmacokinetic effects: Acarbose is usually chewed with the first bite of food. After taking it, it can inhibit the activity of a-glucosidase, prevent competition with oligosaccharides, slow down the degradation of carbohydrates, and slow down the intestinal absorption of glucose, thereby achieving the purpose of lowering blood sugar. However, it is best to avoid eating foods containing sucrose, such as sugar cane, apples, watermelons, and beets, as this can easily increase the risk of adverse drug reactions, such as diarrhea.
[0120] (2) Drug effects: For example, drugs that promote gastric motility should be taken 15 minutes to 1 hour before meals; cough syrup should be taken after meals and after taking other drugs, so that the cough syrup is evenly distributed in the throat and esophagus to achieve a cough suppressant effect. It is not advisable to drink water within half an hour after taking the medicine;
[0121] (3) The degree of drug irritation to the gastrointestinal tract: For example, for drugs such as alendronate, it is best to take them while standing. After taking the medicine, keep your upper body upright for at least 30 minutes and do not lie flat.
[0122] (4) Adverse drug reactions: If patients take nitroglycerin sublingually to relieve angina pectoris while standing, it may cause orthostatic hypotension, leading to insufficient blood supply to the head and even fainting. Therefore, the patient should take the medicine in a semi-recumbent position.
[0123] (5) Characteristics of the drug itself: Bifidobacterium triple live bacteria capsules are live bacteria preparations that need to be stored at low temperatures and taken with warm water. They should not be taken together with anti-inflammatory drugs. If they must be taken, the two should be taken at least half an hour apart to prevent the inactivation of beneficial bacteria such as bifidobacteria.
[0124] Therefore, the timing of taking each medicine needs to be set according to the doctor's instructions or instructions, and adjusted according to the patient's work and rest habits.
[0125] The timing of taking medicine mainly involves the duration of taking medicine, the time period of taking medicine, and the related effects between medicines.
[0126] The taking time refers to the duration for which the patient takes the medicine to be taken, that is, how long the user needs to take the medicine to be taken, or how many times the user needs to take the medicine to be taken, or how much content (grains / ml) of the medicine to be taken by the user.
[0127] The medication period refers to the time period when the drug is taken for its best effect. The medication period is determined based on the type of drug, treatment purpose, pharmacological effect and the physiological condition of the human body.
[0128] The time of taking medicine includes behavioral restriction factors and time restriction factors. The time of taking medicine is related to diet and sleep time. The common best time of taking medicine is shown in Table 2:
[0129]
[0130] (Table 2)
[0131] Risk information refers to the relevant interaction relationship between different drugs, including conflicting relationships and complementary relationships.
[0132] Regarding conflicting relationships:
[0133] If taking two or more drugs simultaneously or successively will cause obvious adverse reactions, increased toxicity, or reduced efficacy, it is considered that there is a conflict between the drugs. In other words, the drugs with a conflicting relationship cannot be taken at the same time.
[0134] In one embodiment of the present specification, the existence of a conflict relationship between two or more drugs indicates that there is an antagonistic effect between the corresponding drugs. Antagonistic effect means that after two or more drugs are used together, the efficacy of the drugs is reduced or eliminated due to the opposite effects of the drugs.
[0135] Specifically, some medicines have complex effects. If taken at the same time, adverse reactions may be enhanced or new adverse reactions may occur. For example, some preparations containing Chinese herbal ingredients such as Aconitum and Tripterygium wilfordii may increase liver and kidney toxicity when used in combination with certain Western medicines.
[0136] Some drugs have similar effects. If taken repeatedly, it may lead to overdose, thereby increasing unnecessary risks, such as increased toxicity. For example, nonsteroidal anti-inflammatory drugs such as ibuprofen and aspirin can inhibit platelet aggregation and reduce coagulation function. When used in combination with anticoagulants (such as warfarin), it may increase the risk of bleeding, such as gastrointestinal bleeding and cerebral hemorrhage.
[0137] Taking some drugs at the same time may reduce their absorption and efficacy, that is, these drugs cannot be taken at the same time, and there is a conflict between them. For example, when fluoroquinolone antibiotics (such as levofloxacin) are taken together with antacids or supplements such as calcium, magnesium, and aluminum, it may also affect drug absorption.
[0138] On complementary relationships:
[0139] If taking two or more drugs simultaneously or successively can reduce adverse reactions or toxic side effects, or increase drug absorption and efficacy, then it is deemed that there is a complementary relationship between the above drugs.
[0140] In one embodiment of the present specification, the existence of a complementary relationship between two or more drugs indicates that there is a synergistic effect between the corresponding drugs. Synergistic effect means that when two drugs are used together, the total effect produced is greater than that of using one of the drugs alone, and the effect of the drugs is enhanced.
[0141] Specifically, some drugs have serious toxic side effects, so they need to be used in combination with other drugs to reduce the toxic side effects of the drugs. For example, NSAIDs (such as aspirin, ibuprofen, etc.), while relieving inflammation and pain, may also cause side effects such as gastrointestinal bleeding or ulcers. In order to reduce this side effect, doctors may use PPIs, such as omeprazole, lansoprazole, etc., to inhibit gastric acid secretion, and use potassium citrate bismuth to protect the gastric mucosa.
[0142] The efficacy of some drugs cannot achieve the expected effect. Therefore, they need to be used in combination with other drugs to increase the efficacy of the drugs and achieve the treatment purpose. For example, antibiotics such as penicillins and cephalosporins sometimes become ineffective in treating bacterial infections due to the β-lactamase produced by bacteria. Based on this, these antibiotics are used in combination with β-lactamase inhibitors (such as clavulanate potassium, sulbactam, etc.). β-lactamase inhibitors can inhibit the β-lactamase produced by bacteria, thereby protecting the antibiotics from destruction and enhancing their efficacy.
[0143] S12 collects the patient's daily routine data.
[0144] Daily routine data include the patient's planned medication time, meal time, and sleep time.
[0145] The planned medication time is the specific time when the patient expects or plans to start taking the medication. Generally speaking, after the patient gets the medication, he or she should start taking it on the same day / the next day.
[0146] The time nodes of diet include the time nodes of diet start and the event nodes of diet end.
[0147] In one embodiment of the present specification, a diet time period is obtained, and based on the first and last time nodes of the diet time period, a diet start time node and a diet end time node are determined.
[0148] The eating time periods include: breakfast time period, lunch time period and dinner time period.
[0149] Of course, the user can also directly input the patient's diet start time and diet end time. This can avoid the present invention from reminding at the wrong time, for example, after the patient has eaten, the patient is reminded to take the medicine that "needs to be taken before meals".
[0150] In another embodiment of the present specification, the patient's past eating time periods and sleep data are obtained, and the patient's eating start time node, eating end time node, and sleeping time node are predicted.
[0151] S13 constructs medication information of each drug to be taken by combining the patient's basic medication data and work and rest data;
[0152] S131 retrieves the corresponding time node from the work and rest data according to the behavior restriction factor of the medicine to be taken, and calculates the original taking time period of the medicine to be taken by combining the retrieved time node and the time restriction factor of the medicine to be taken;
[0153] In one embodiment of the present specification, if the time period for taking the medicine to be taken is 30-60 minutes before a meal, the behavior restriction factor is before a meal, and the time restriction factor is 30-60 minutes. The work and rest data includes: starting eating at 8:00 and ending eating at 8:30; starting eating at 12:00 and ending eating at 12:30; starting eating at 18:00 and ending eating at 18:30.
[0154] Since the behavior restriction factor is before meals, the time nodes retrieved include: 8:00, 12:00, and 18:00.
[0155] Taking into account the time limitation factors, the original taking time periods are calculated to include: 7:00-7:30, 11:00-11:30, and 17:00-17:30.
[0156] S132 confirms a default taking period according to the original taking period and the medication frequency;
[0157] In one embodiment of the present specification, the medication frequency is twice a day, and the medication time periods are once in the morning and once in the evening. That is, the default medication time periods include: 7:00-7:30 and 17:00-17:30.
[0158] S133 obtains medication information of each of the drugs to be taken according to the patient's planned medication time, the default medication period, the single dose and the medication duration.
[0159] Based on the ratio of the duration of administration to the single dose, the total number of administrations of the drug to be administered is obtained;
[0160] Determine the taking time information of the medicine to be taken in combination with the planned taking time, taking period and total number of times of taking the medicine; the taking time information includes a taking time list;
[0161] The medication information of the medicine to be taken is generated by combining the taking time information and the single dose.
[0162] In one embodiment of the present specification, the patient's planned medication time is January 1, 2024, so the first intended medication time is 7:00 on January 1, 2024; the medication duration is 20 pills in total, and the single dose is 2 pills, so the total number of times of medication is 10. Combine the first intended medication time, the medication period, and the total number of times of medication to determine the medication time information for each time; combine the medication time information for each time and the single dose to obtain medication information; the medication information is shown in Table 3:
[0163]
[0164] (Table 3)
[0165] S14, sorting the drugs to be taken according to the conflict relationship and complementary relationship between the drugs to be taken;
[0166] S141, dividing the drugs to be taken into at least one original medication group according to the complementary relationship;
[0167] Find the drugs to be taken that have a complementary relationship and aggregate them into an original medication group;
[0168] Specifically, traverse the drugs to be taken and perform the following operations:
[0169] Find out whether the medicine to be taken has been added to the original medication group;
[0170] If the drug to be taken has been added to the original medication group, all drugs to be taken that are complementary to it are searched and used as the first drug, and the first drug is added to the same original medication group as the drug to be taken;
[0171] If the drug to be taken has not been added to the original medication group, determine whether there is a complementary relationship between the drug to be taken and other drugs to be taken; if there is a complementary relationship between the drug to be taken and other drugs to be taken, find all drugs to be taken that have a complementary relationship with it as the second drug; determine whether the second drug has been added to the original medication group, if it has been added, add the drug to be taken to the same original medication group as the second drug; if all second drugs have not been added to the original medication group, construct a new original medication group, add the drug to be taken and all second drugs to the new original medication group; if there is no complementary relationship between the drug to be taken and other drugs to be taken, create a new original medication group, and add the drug to be taken to the new original medication group.
[0172] There is a direct complementary relationship and / or an indirect complementary relationship between the drugs to be taken in the original medication group. In one embodiment of the present specification, the drugs to be taken include drug A, drug B and drug C, wherein there is a complementary relationship between drug A and drug B; there is a complementary relationship between drug A and drug C. At this time, drug A, drug B and drug C are summarized into the same original medication group.
[0173] Among them, there is a complementary relationship between drug A and drug C, and there is a direct complementary relationship between drug A and drug C. Similarly, there is a direct complementary relationship between drug A and drug B. There is no complementary relationship between drug B and drug C, but they belong to the same original medication group, so there is an indirect complementary relationship between drug B and drug C.
[0174] That is to say, if the patient has x medicines to take, the number of original medicine groups y is 1≤y≤x.
[0175] S142, verifying the original medication group according to the conflict relationship;
[0176] Determine whether there is a conflict relationship between the drugs to be taken in each original medication group; if so, find the drugs to be taken with conflict relationship as the third drugs; calculate the number of conflict relationships corresponding to each third drug, sort the third drugs in descending order according to the corresponding number of conflict relationships, and construct a list to be processed;
[0177] Create a new original medication group, put the third drug in the original medication group into the new original medication group; update the pending list; determine whether the pending list contains the third drug, if so, repeat this step. If not, it means that there is no conflict between the pending drugs in the original medication group.
[0178] The corresponding number of conflicting relationships refers to the number of pending drugs that have a conflicting relationship with the third drug;
[0179] S143, arranging the original medication group in descending order according to the number of the to-be-taken medicines contained in the original medication group, to obtain a sorting result;
[0180] S15 optimizes the taking time information in sequence according to the sorting results and updates the medication information;
[0181] Determine whether there is an overlapping period between the taking time information of the drug to be taken and the taking time information of the previous drug to be taken; if there is an overlapping period, extract the drug to be taken with the overlapping period as the drug to be compared; determine whether there is a conflict relationship between the drug to be taken and the drug to be compared, and determine whether the behavior restriction factors of the drug to be taken and the drug to be compared are the same; if there is no conflict relationship between the drug to be taken and all the drugs to be compared, and the behavior restriction factors of the drug to be taken and all the drugs to be compared are the same, then find the middle time in the overlapping period as the taking time information of the drug to be taken and the drug to be compared.
[0182] If there is no overlapping time period, find the drug to be taken that is closest to the taking time information of the drug to be taken from the taking time information of the previous drug to be taken, and use it as the drug to be compared; determine whether there is a conflict relationship between the drug to be taken and all the drugs to be compared, and determine whether the behavior restriction factors of the drug to be taken and all the drugs to be compared are the same; if there is no conflict relationship between the drug to be taken and all the drugs to be compared, and the behavior restriction factors of the drug to be taken and all the drugs to be compared are the same, calculate the median value of the taking time information of the drug to be taken and the median value of the taking time information of all the drugs to be compared, and determine whether the difference between the median value of the taking time information of the drug to be taken and the median value of the taking time information of each drug to be compared is less than a preset threshold;
[0183] If yes, the taking time information of the drugs to be taken and the drugs to be compared is adjusted to reduce the situation where the patient needs to take the drugs multiple times in a short period of time. Among them, the middle time can be selected between the middle values of the taking time information as the taking time information of the drugs to be taken and the drugs to be compared.
[0184] Verify the taking time information of the drugs to be taken in turn to determine whether it complies with the law of drug metabolism and pharmacokinetic. If so, update the medication information.
[0185] In another embodiment of the present specification, the drugs to be taken in the original medication group are displayed to the user, and the medication information is updated according to the user's medication time configuration; specifically:
[0186] Send a configuration request to the user, and based on the user's configuration confirmation, display the drugs to be taken in the original medication group in order according to the sorting results, so that the user can configure the time information for taking the drugs in order;
[0187] Combined with the medication policy, the configuration input by the user is verified to ensure that the time information configured by the user is within a reasonable range.
[0188] In principle, the drugs to be taken in the same original medication group need to be taken at the same time or successively. Therefore, the taking time information of the drugs to be taken in the same original medication group is not much different.
[0189] S16 uses all the to-be-taken medicines with the same taking time information as a medication strategy according to the updated medication information.
[0190] That is, according to the updated medication information, all the drugs to be taken under the same taking time information are summarized, and a medication strategy under the same taking time information is constructed. By constructing the above medication strategy, the number of drugs at the same time point is minimized to reduce the risk of confusion and omission.
[0191] S2 establishes an interconnection relationship between the to-be-taken medicine and the slot based on the medicine storage instruction;
[0192] The present invention also includes a storage space for medicines. The storage space for medicines includes a plurality of compartments, each of which is provided with an openable and closable cover. Each compartment can hold at most one medicine.
[0193] According to the number of types of medicines to be taken, open the lids of the corresponding number of compartments;
[0194] In one embodiment of the present specification, when storing medicine, the lid of one compartment is opened each time, and the next compartment is opened after the user finishes storing the medicine.
[0195] In another embodiment of the present specification, all the corresponding number of compartment lids are opened at one time to facilitate the user to store medicines. The compartment currently storing medicines is determined according to the closing of the compartment lids.
[0196] According to the name of the medicine to be taken selected by the user and the slot where the medicine is currently stored, an interconnection is established between the medicine to be taken and the slot.
[0197] Based on the drug specifications and weight of the drugs to be taken, the number of drugs in the compartment and the number of times / days they can be taken are estimated and submitted to the user for confirmation.
[0198] When the quantity of medicines in the compartment is insufficient, the user is reminded to replenish the medicines in time.
[0199] S3 constructs medication reminder information in combination with the medication strategy to remind the patient to take medication;
[0200] S31 determines the reminder time of each medication strategy according to the preset reminder interval and medication time information, and obtains medication reminder information;
[0201] The preset reminder interval can be adjusted according to the user's actual needs and habits to ensure that the user has enough time to prepare.
[0202] For each medication to be taken, create a clear reminder message. The content should include the name of the medication, the dose to be taken, the specific time to take it, and any relevant precautions or instructions. For example, the reminder message may be: Please take medication A at 9 am today, the dose is 2 tablets. Please make sure to take it after a meal.
[0203] In one embodiment of the present specification, the reminder method is determined according to the user's preference or system settings, such as mobile phone APP push notification, SMS, voice reminder, etc. In another embodiment of the present specification, a specific reminder method is formulated based on the actual situation of the patient. For example, for hearing-impaired patients, reminders can be made through flashing lights, physical vibrations, etc.; for visually impaired elderly patients: reminders can be made through physical vibrations, voice broadcasts, etc.
[0204] Record each medication reminder sent, including sending time, receiving status, etc., for subsequent tracking.
[0205] Of course, the reminder time of the medication reminder information can also be determined according to the taking time information and the preset reminder interval. The preset reminder interval is set according to actual needs, for example, the preset reminder interval is 30 minutes before taking the medication.
[0206] When the set reminder time and / or medication time is reached, S32 reminds the patient to take medication according to the medication reminder information.
[0207] If the system does not receive confirmation that the patient has taken the medicine within the transition period after the medication time, it will be judged that the patient has not taken the medicine on time. The transition period can be set as needed.
[0208] If the patient fails to take the medicine on time, a message will be sent to the patient's family to inform them of the failure to take the medicine, so that the patient's family can follow up in time and remind the patient to take the medicine as soon as possible through other effective means.
[0209] In one embodiment of the present specification, a learning model can also be constructed to obtain the patient's actual daily medication time and adjust the reminder time. Specifically, the patient's actual daily medication time is recorded. These data can be obtained through interactive confirmation, based on the closing time of the compartment lid, or through the sensor of the smart medicine box.
[0210] Use this data to train a learning model. The learning model can predict the user's medication habits based on machine learning algorithms (such as neural networks, decision trees, etc.).
[0211] Reminder time adjustment: Based on the predictions of the learning model, the reminder time is adjusted. For example, if the system finds that the user has taken medication within a fixed time period after the default reminder time in recent times, it may postpone the reminder time to that time period.
[0212] Continuously collect users' medication data, and constantly update and optimize the learning model to ensure the accuracy of reminder time.
[0213] The present invention realizes intelligent reminder based on the patient's personalized medication strategy, effectively avoiding the situation of forgetting to take medication or taking medication irregularly.
[0214] S4 receives medication instructions and feedback information of the current time, and matches the medication strategy of the current time;
[0215] In one embodiment of the present specification, S41 receives the medication instruction, and searches for the current medication strategy according to the receiving time of the medication instruction and the most recent reminder time;
[0216] S42 obtains the feedback information of the time, and adjusts the medication strategy of the time according to the feedback information of the time, wherein the feedback information of the time includes the diet feedback of the time and the sudden medication feedback.
[0217] S421 determines whether there are corresponding behavioral restriction factors in the current medication strategy, and if so, inquires about the patient's diet status and receives current diet feedback;
[0218] For example, if the current medication strategy has a corresponding behavioral restriction factor, and the corresponding behavioral restriction factor is before meals, ask the patient whether he is in a state of not eating; if the current medication strategy has a corresponding behavioral restriction factor, and the corresponding behavioral restriction factor is after meals, ask the patient whether he is in a state of having eaten.
[0219] S422 determines whether the current dietary feedback meets the behavioral restriction factors corresponding to the current medication strategy;
[0220] If the dietary feedback at that time does not meet the behavioral restriction factors corresponding to the medication strategy at that time, a reminder is sent to the user to determine whether to confirm taking the medication based on the user's feedback.
[0221] If the dietary feedback at that time meets the behavioral restriction factors corresponding to the medication strategy at that time, the patient will be asked whether he or she has taken other medications on that day, and the patient's sudden medication feedback will be received.
[0222] Other medication situations refer to whether the patient takes other medicines in addition to the medication strategy.
[0223] If the patient has no other medication to take on that day, an instruction to confirm medication will be automatically sent; based on the instruction to confirm medication, the medication will be distributed according to the established medication strategy for that day.
[0224] If the patient has taken other medications on the same day, the auxiliary information of the other medications taken will be searched to determine whether there is a conflict between the other medications taken and the medications to be taken in the current medication strategy. If there is no conflict, an instruction to confirm medication will be automatically sent; based on the instruction to confirm medication, medication distribution will be executed according to the established medication strategy for the current time.
[0225] If there is a conflict, a reminder is sent to the user, and based on the user's feedback, it is determined whether to execute the drug distribution according to the established medication strategy or to re-plan the medication strategy.
[0226] When the first instruction of "dispensing medicines according to the established medication strategy for the current time" is received, a medication confirmation instruction is automatically sent; based on the medication confirmation instruction, medication distribution is performed according to the established medication strategy for the current time.
[0227] When the second instruction of "re-planning the current medication strategy" is received, a new current medication strategy is generated, and drug distribution is performed according to the new current medication strategy.
[0228] In one embodiment of the present specification, when the second instruction of "re-planning the current medication strategy" is received, the user adjusts the current medication strategy autonomously. In another embodiment of the present specification, when the second instruction of "re-planning the current medication strategy" is received, the present invention adjusts the current medication strategy, wherein the drugs to be taken that have a conflicting relationship in the current medication strategy are searched as the drugs to be adjusted; and the actual taking information of other drugs that have been taken is collected, and the actual taking information includes the actual taking time and the actual taking dosage.
[0229] Combined with the drug information database, determine the specific conflict type between other drugs already taken and the drug to be adjusted;
[0230] If the conflict type between other drugs that have been taken and the drugs to be adjusted is the generation / increase of adverse reactions, then the preset medication time difference is searched to determine whether the difference between the actual medication time and the current time meets the preset medication time difference requirement. If it does, the confirmation medication instruction is automatically sent; based on the confirmation medication instruction, the drug distribution is executed according to the established medication strategy for the current time. If it does not meet the requirements, the drugs to be adjusted are deleted from the medication strategy for the current time, and a new medication strategy for the current time is generated for the user to confirm; for the drugs to be adjusted, the user confirms whether to cancel the current medication or change the medication time. Based on the user's confirmation, the confirmation medication instruction is obtained.
[0231] If the conflict type between the other drugs that have been taken and the drug to be adjusted is similar in efficacy, then the single dose range of the drug to be adjusted is searched to determine the single maximum dose; determine whether the actual dose of the other drugs that have been taken has reached the single maximum dose; if so, delete the drug to be adjusted from the current medication strategy, generate a new current medication strategy for the user to confirm; for the drug to be adjusted, the user further confirms whether to cancel the current medication; based on the user's confirmation, obtain a confirmed medication instruction;
[0232] If it is not reached, the dosage of the drug to be adjusted is determined based on the difference between the single maximum dosage and the actual dosage. The dosage of the drug to be adjusted is adjusted in the current medication strategy, and a new medication strategy is generated for the user to confirm, and a confirmed medication instruction is obtained.
[0233] S5 searches for the target grid according to the current medication strategy and the interconnection relationship to distribute the medicine.
[0234] The grid where the medicine to be taken corresponding to the current medication strategy is located is used as the target grid;
[0235] Determine whether the user has opened the target slot; if the user has not opened the target slot, give a reminder to prevent the user from taking the wrong item.
[0236] After the user opens the target slot, the single weight taken is determined based on the single dose and the weight of the medicine. The number of medicines to be taken is estimated by a gravity sensor to prevent the user from taking more or less medicine.
[0237] In order to prevent users from missing a dose, in one embodiment of the present specification, the interval time between the user opening two target slots is determined. If there is still a target slot that has not been opened, the target slot opening time is monitored. If the next target slot is not opened within the interval time, a reminder is given.
[0238] In another embodiment of the present specification, the target compartment is clearly marked, for example, a light is set on the medicine storage space to remind the user of the location of the target compartment. Of course, after the user opens the target compartment, he may not take out enough medicine; in this case, the light of the target compartment is kept on, or a different light is used to remind the user.
[0239] Considering that the patients are mainly elderly people, in order to facilitate accurate medication, in one embodiment of the specification, the lid of the target compartment is automatically opened;
[0240] In another embodiment of the present specification, if the lids of all the target grids are open, the medicines to be taken may be accidentally dropped into other target grids during the process of taking the medicines; or when the number of medicines to be taken is insufficient, the user forgets which grid the medicines were taken from before; or the user may forget which grids the medicines have been taken from and which grids the medicines have not been taken from; based on this, in order to avoid the above situation, only one target grid is opened at a time, and after the medicines in the target grid are taken, another target grid is opened.
[0241] In one embodiment of the present specification, the target grid can also be guided by light;
[0242] When the user closes the lid of the opened target slot, it is determined whether the weight of the medicine to be taken in the target slot is reduced; whether the reduced weight is consistent with the total weight to be taken; if not, it means that the medicine to be taken corresponding to the target slot is taken correctly.
[0243] If the reduced weight is consistent with the total weight to be taken, it means that there is a problem with the medicine to be taken corresponding to the target compartment, which may cause the patient to take more or less. Specifically, if the reduced weight is greater than the total weight of the medicine to be taken, it means that the user has taken more medicine than a single dose. The lid of the compartment where the medicine to be taken is popped up, and the user is reminded to conduct further inspection. If more is taken, the user is reminded to put it back in the target compartment. If the reduced weight is less than the total weight to be taken, it means that the user has taken less medicine than a single dose. At this time, the lid of the compartment where the medicine to be taken is popped up, and the user is reminded to conduct further inspection. If less is taken, the user is reminded to replenish the medicine to be taken.
[0244] In order to prevent the user from taking too much or too little, in one embodiment of the present specification, the specific medicines to be taken can be automatically screened and pushed;
[0245] Specifically:
[0246] Each opening is provided with a cover which can be opened and closed; each opening is provided with an oscillator and a medicine pusher.
[0247] The oscillator is located at the bottom of the compartment. In one embodiment of the present specification, one or more oscillators are arranged at the bottom of the medicine storage space; preferably, one oscillator is arranged at the bottom of each compartment.
[0248] The medicine pusher is located at the side of the grid opening, and the medicine pusher is parallel to the bottom. The moving direction of the medicine pusher is not parallel to the arrangement direction of the grid opening.
[0249] A movable opening and a medicine dispensing opening are arranged on the side of the compartment opening; the movable opening is opposite to the medicine dispensing opening, the movable opening is close to the bottom of the compartment opening, and the medicine pusher enters or exits the compartment opening through the movable opening. The medicine dispensing opening is close to the bottom of the compartment opening; the plane where the medicine dispensing opening is located is perpendicular to the moving direction of the medicine pusher. An adjustment plate is also arranged on the medicine dispensing opening; the adjustment plate is parallel to the medicine dispensing opening, and the adjustment plate is used to block or partially block the medicine dispensing opening and adjust the size of the medicine dispensing opening.
[0250] In one embodiment of the present specification, the medicines to be taken in the target grid are spread and arranged by an oscillator;
[0251] Determine the size of a single medicine to be taken according to the specifications of the medicine to be taken, and then determine the size of the medicine taking port;
[0252] Determine the movement distance of the medicine pusher according to the single dose;
[0253] When receiving the instruction to confirm the medicine dispensing, the medicine dispensing port of the target compartment is opened; the medicine dispensing port is adapted to the specifications of the medicine to be taken; the medicine pusher is controlled to move based on the moving distance of the medicine pusher, and the medicine to be taken is pushed out through the medicine dispensing port. The medicine to be taken leaves the target compartment.
[0254] In another embodiment of the present specification, after the medicine pusher pushes the medicine out of the compartment, the medicine falls into the summary tray at the bottom of the medicine storage space; after all the medicines to be taken are summarized, they are delivered to the user together, thereby preventing the user from missing a dose.
[0255] In this case, it is necessary to consider how to take out a sufficient amount of medicine from the medicine box. In one embodiment of the present specification, a sensor or a camera is installed in the compartment to monitor the position and movement of the medicine pusher in real time. When the medicine pusher moves to a preset position, the signal fed back by the sensor or the image processing algorithm is used to determine whether the medicine has been pushed out, and the moving distance of the medicine pusher is adjusted or stopped as needed.
[0256] The present invention automatically finds the target slot and distributes the medicine according to the medication instruction and the feedback information of the time. This automatic distribution method not only improves the efficiency of medicine distribution, but also ensures the accuracy of the medicine, and further reduces the risk of human error.
[0257] In one embodiment of the present specification, when a patient has an emergency, an emergency medicine compartment is provided in order to rescue the patient in time. The emergency medicine compartment stores temporary and emergency medicines, such as quick-acting heart-saving pills.
[0258] When it is detected that the emergency medicine compartment is opened, a call for help instruction is triggered through the mandatory execution module;
[0259] Considering that when emergency drugs are opened, it may be that the patient opened them by mistake, or the patient's discomfort is mild and does not need medical treatment. Therefore, when the emergency call command is triggered, a reminder is issued to ask the patient whether to call 120 for help, and receive emergency feedback in real time. Reminders include but are not limited to: voice inquiry, flashing of the emergency button, and sound played by the emergency button.
[0260] If a "no need to call for help" call feedback is received, the patient's family members are only reminded to pay attention to the patient's condition immediately; the "no need to call for help" instruction includes but is not limited to: obtaining response feedback related to "no need to call for help" and turning off the call for help button.
[0261] If a "need to call for help" call feedback is received, a call for help instruction will be immediately sent to the patient's family members, allowing them to call the police in time; or the 120 call for help setting will be automatically triggered, and the patient's family members will be reminded to pay attention to the patient's condition immediately. The "need to call for help" instruction includes but is not limited to: obtaining response feedback related to "need to call for help" and being unable to receive any feedback.
[0262] In order to further optimize the medication process for the elderly, warm water is automatically connected when receiving the instruction to confirm medication. Specifically, the water pump is controlled to pump drinking water from the water reservoir, and the water pumped out by the water pump is directed to the water receiving cup through the water outlet. The water reservoir is bottled water or a leak-proof container with a lid, thereby preventing the water in the water reservoir from evaporating and causing the medicine to become damp and ineffective.
[0263] The present invention can monitor the patient's medication status in real time and receive feedback information after the patient takes the medication, so that doctors or pharmacists can understand the patient's medication status in a timely manner and make more accurate adjustments to the treatment plan.
[0264] The method of the present invention can improve the patient's medication compliance and help reduce the medical expenses caused by irregular medication.
[0265] Figure 2 A schematic diagram of the structure of a medicine dispensing device provided in an embodiment of this specification, the system includes:
[0266] A strategy building module 201 is used for a plurality of medication strategies of a patient, wherein the medication strategy involves at least one medication to be taken;
[0267] An interconnection building module 202, for establishing an interconnection relationship between the to-be-taken medicine and the slot based on the medicine storage instruction;
[0268] A strategy matching module 204 is used to receive medication instructions and feedback information of the current time, and match the medication strategy of the current time;
[0269] The distribution module 205 is used to find the target slot according to the current medication strategy and the interconnection relationship to distribute the medicine.
[0270] Optionally, the strategy building module 201 includes:
[0271] The medication information building submodule is used to collect the patient's basic medication data and work and rest data to build medication information for each drug to be taken;
[0272] A sorting submodule, used for sorting the drugs to be taken according to the conflict relationship and complementary relationship between the drugs to be taken;
[0273] An updating submodule, used to optimize the taking time information in sequence according to the sorting results, and update the medication information;
[0274] The summary submodule is used to treat all the to-be-taken medicines with the same taking time information as a medication strategy according to the updated medication information.
[0275] Optionally, the basic medication data includes: ancillary information of the medication to be taken; the ancillary information includes: medication frequency, single dose, duration of administration and period of administration; the period of administration includes behavioral restriction factors and time restriction factors;
[0276] The work and rest data include the patient's planned medication time;
[0277] Optionally, the medication information construction submodule includes:
[0278] a calculation unit, configured to retrieve corresponding time nodes from the work and rest data according to the behavior restriction factors of the medicine to be taken, and to calculate the original taking time period of the medicine to be taken by combining the retrieved time nodes and the time restriction factors of the medicine to be taken;
[0279] A default taking period confirmation unit, used to confirm a default taking period according to the original taking period and the medication frequency;
[0280] The medication information confirmation unit is used to obtain the medication information of each of the drugs to be taken according to the patient's planned medication time, the default medication period, the single dose and the medication duration.
[0281] Optionally, the sorting submodule includes:
[0282] A division unit, used for dividing the to-be-taken medicines into at least one original medicine group according to the complementary relationship;
[0283] A verification unit, used for verifying the original medication group according to the conflict relationship;
[0284] The sorting unit is used to sort the original medication group in descending order according to the number of the to-be-taken medicines contained in the original medication group to obtain a sorting result.
[0285] Optionally, it also includes: a reminder module, used to construct medication reminder information in combination with the medication strategy to remind the patient to take medication;
[0286] Optionally, the reminder module includes:
[0287] A medication reminder information generation submodule, for determining the reminder time of each medication strategy according to the preset reminder interval and the medication time information, and obtaining medication reminder information;
[0288] The reminder submodule is used to remind the patient to take medication according to the medication reminder information.
[0289] Optionally, the policy matching module 204 includes:
[0290] A search submodule, used for receiving the medication instruction, and searching for the current medication strategy according to the receiving time of the medication instruction and the most recent reminder time;
[0291] The adjustment submodule is used to obtain the feedback information of the current time and adjust the medication strategy of the current time according to the feedback information of the current time, wherein the feedback information of the current time includes the dietary feedback of the current time and the sudden medication feedback.
[0292] Optionally, the distribution module 205 includes:
[0293] The target slot confirmation submodule is used to take the slot where the medicine to be taken corresponding to the current medication strategy is located as the target slot;
[0294] An arrangement submodule, used for arranging and laying out the medicines to be taken in the target grid;
[0295] The dispensing submodule is used to open the medicine dispensing port of the target compartment; the medicine dispensing port is adapted to the specifications of the medicine to be taken; and the medicine to be taken is pushed out through the medicine dispensing port.
[0296] The functions of the device in the embodiment of the present invention have been described in the above method embodiment, so for details not provided in the description of this embodiment, please refer to the relevant description in the above embodiment, and no further description will be given here.
[0297] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0298] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as a combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0299] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0300] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0301] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A drug distribution method, characterized in that: include: Constructing several medication strategies for the patient, wherein the medication strategies involve at least one medication to be taken; Based on the medicine storage instruction, establish the interconnection relationship between the medicine to be taken and the slot; Receive medication instructions and feedback information, and match medication strategies; The target grid is searched according to the current medication strategy and the interconnected relationship to distribute the medicines.
2. The drug dispensing method according to claim 1, characterized in that: The method of constructing several medication strategies for patients includes: Collect the patient's basic medication data and work and rest data to construct medication information for each drug to be taken; sorting the drugs to be taken according to the conflict relationship and complementary relationship between the drugs to be taken; Optimize the medication time information in order according to the sorting results, and update the medication information; According to the updated medication information, all the drugs to be taken with the same taking time information are used as a medication strategy.
3. The drug dispensing method according to claim 2, characterized in that: The basic medication data includes: ancillary information of the drugs to be taken; the ancillary information includes: medication frequency, single dose, duration of taking and taking period; the taking period includes behavioral restriction factors and time restriction factors; The work and rest data include the patient's planned medication time; The construction of medication information for each drug to be taken includes: According to the behavior restriction factor of the medicine to be taken, the corresponding time node is retrieved from the work and rest data, and the original taking time period of the medicine to be taken is calculated by combining the retrieved time node and the time restriction factor of the medicine to be taken; According to the original taking period and the medication frequency, confirming the default taking period; The medication information of each of the drugs to be taken is obtained according to the patient's planned medication time, the default medication time period, the single dose and the medication duration.
4. The drug dispensing method according to claim 2, characterized in that: The step of sorting the drugs to be taken according to the conflict relationship and the complementary relationship between the drugs to be taken includes: According to the complementary relationship, the drugs to be taken are divided into at least one original drug group; According to the conflict relationship, verify the original medication group; According to the number of to-be-taken medicines contained in the original medication group, the original medication group is sorted in descending order to obtain a sorting result.
5. The drug dispensing method according to claim 2, characterized in that: Also includes: Constructing medication reminder information in combination with the medication strategy to remind the patient to take medication; The step of constructing medication reminder information in combination with the medication strategy to remind the patient to take medication includes: Determine the reminder time of each medication strategy according to the preset reminder interval and the medication time information, and obtain medication reminder information; Remind the patient to take medication according to the medication reminder information.
6. The drug dispensing method according to claim 5, characterized in that: The receiving of medication instructions and feedback information of the current time and matching of medication strategies of the current time include: Receive the medication instruction, and search for the current medication strategy according to the receipt time of the medication instruction and the most recent reminder time; The feedback information of the time is obtained, and the medication strategy of the time is adjusted according to the feedback information of the time, wherein the feedback information of the time includes the diet feedback of the time and the sudden medication feedback.
7. The drug dispensing method according to claim 1, characterized in that: The method of searching the target grid according to the current medication strategy and the interconnection relationship to distribute the medicines includes: The grid where the medicine to be taken corresponding to the current medication strategy is located is used as the target grid; Laying out and arranging the medicines to be taken in the target grid; Opening the medicine dispensing port of the target compartment; the medicine dispensing port is adapted to the specifications of the medicine to be taken; The medicine to be taken is pushed out through the medicine taking port.
8. The medicine dispensing device according to claim 1, characterized in that: include: A strategy building module, for a plurality of medication strategies of a patient, wherein the medication strategy involves at least one drug to be taken; An interconnection building module, used to establish an interconnection relationship between the to-be-taken medicine and the slot based on the medicine storage instruction; A strategy matching module is used to receive medication instructions and feedback information of the current medication and match the medication strategy of the current medication; The distribution module is used to find the target grid according to the current medication strategy and the interconnection relationship to distribute the medicine.
9. An electronic device, wherein: The electronic device includes: processor; and, A memory storing computer executable instructions which, when executed, cause the processor to perform a method according to any one of claims 1-7.
10. A computer-readable storage medium, wherein: The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method of any one of claims 1 to 7 is implemented.