An online medical prescription medication intelligent inspection method and system
By acquiring and analyzing medical prescription data and patient condition data, analyzing condition similarities and treatment effects, and calculating prescription matching values for early warning, it solves the problem of insufficient prescription matching analysis in online medical care and improves the accuracy of prescription checks and patient care. Medication safety.
Patent Information
- Application Number
- CN202410493947.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-24
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-04-24
AI Technical Summary
Existing technology cannot effectively analyze the matching between medical prescriptions and patient conditions in online medical scenarios, resulting in an increased risk of wrong prescriptions and a lack of review of prescriptions by pharmacy doctors.
By obtaining medical prescription data, patient condition data and condition change data of other patients who have historically used the prescription, we can perform condition similarity analysis and treatment effect analysis, calculate prescription matching values for abnormal warning, and improve the accuracy of intelligent inspection of prescriptions.
It improves the accuracy of intelligent inspection of medical prescriptions, avoids accidents caused by wrong prescriptions, and enhances patient medication safety.
Smart Images

Figure CN118072904B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of medical care, and in particular to an online medical prescription medication intelligent inspection method and system. Background Art
[0002] When patients visit physical hospitals, doctors and patients have face-to-face consultations, so doctors have a more detailed understanding of the patient's condition and the prescriptions they prescribe are more targeted. When picking up medications, patients need to go to the hospital pharmacy to pick up medications, and the pharmacy doctors will review the prescribed medications to ensure the safety of the patients' medications. In online medical consultation scenarios, only diagnosis and prescriptions can be made, and patients have multiple options for picking up medications: they can pick up medications through Internet pharmacies, physical pharmacies, and other channels. As a result, there is a lack of prescription review by pharmacists in pharmacies, which increases the risk of medication for patients. Therefore, prescription medication checks in online medical scenarios are particularly important.
[0003] The prior art cannot analyze the matching of other patients with similar conditions to the patient's condition when conducting medication inspection, and thus cannot accurately analyze the matching degree between the medical prescription and the patient's condition, which reduces the accuracy of intelligent inspection of medical prescriptions and easily leads to the situation that the wrong prescription is prescribed, resulting in accidents to the patient. The above problems exist in the prior art (for example, in the invention patents with authorization publication numbers CN113674858A and CN111128333A);
[0004] In order to solve these problems, the present application designs an online medical prescription medication intelligent inspection method and system. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention proposes an online intelligent inspection method and system for medical prescriptions and medications, which obtain medical prescription data and patient's condition data at the same time, obtain condition change data of other patients who have historically used the prescription, obtain the patient's condition data and condition change data of other patients who have historically used the prescription to perform similarity analysis on the patient's condition, perform treatment effect analysis on the prescription based on the condition change data of other patients who have historically used the prescription, perform matching analysis between the medical prescription and the patient's condition by obtaining the condition similarity analysis results and the treatment effect analysis results, perform abnormal warning of the medical prescription based on the matching analysis results between the medical prescription and the patient's condition, analyze the matching of other patients with similar conditions and conditions to the patient, accurately analyze the matching degree between the medical prescription and the patient's condition, thereby improving the accuracy of intelligent inspection of medical prescriptions and avoiding the situation where the wrong prescription is prescribed and causes accidents to the patient.
[0006] To achieve the above object, the present invention provides the following technical solution: an online medical prescription medication intelligent inspection method, which includes the following specific steps:
[0007] Obtain medical prescription data, as well as patient condition data and condition change data of other patients who have used the prescription in the past;
[0008] Obtain the patient's condition data and the condition change data of other patients who have used the prescription in the past to conduct similarity analysis on the patient's condition;
[0009] Analyze the therapeutic effect of the prescription based on the condition change data of other patients who have used the prescription in the past;
[0010] Matching analysis between medical prescriptions and patient conditions is performed by obtaining the results of disease similarity analysis and treatment effect analysis;
[0011] Based on the matching analysis results between the medical prescription and the patient's condition, an abnormal medical prescription warning is issued.
[0012] It should be specifically explained here that the acquisition of medical prescription data, the acquisition of patient condition data, and the acquisition of condition change data of other patients who have used the prescription in the past include the following specific steps:
[0013] S11. Acquire the medical prescription data that needs to be checked, and acquire the patient's condition data at the same time, wherein the medical prescription data includes the type and content data of the medicine, wherein the patient's condition data includes the patient's affected part information and the patient's physical constitution information, and it should be noted that the physical constitution information includes the patient's blood pressure, body temperature, obesity level and heart rate information during the consultation process, and the patient's affected part information includes the location of the affected part and the symptom data of the affected part, and it should be noted that the location of the affected part here is divided according to the body structure, specifically divided into: limbs, head, five sense organs and heart, etc., and the symptom data here is the symptom area and symptom manifestation, and the symptom manifestation is, for example, ulcer, abscess and wound, etc.;
[0014] S12. At the same time, the condition change data of other patients who use the medical prescription are obtained from the historical patient medication database, wherein the patient condition change data is the physical constitution information change data of the patient after taking the quantitative medication and the condition data of other patients who use the medical prescription when the medication is prescribed.
[0015] It should be specifically explained here that the acquisition of the patient's condition data and the condition change data of other patients who have historically used the prescription to perform similarity analysis on the patient's condition includes the following specific contents:
[0016] S21, obtaining the patient's affected part information and the patient's physical constitution information, and at the same time obtaining the affected part information and physical constitution information of other patients who use the medical prescription when taking the medicine;
[0017] S22, substituting the patient's affected part information and the affected part information of other patients when the medicine is prescribed into the affected part information analysis coefficient calculation formula to calculate the affected part information analysis coefficient, wherein the affected part information analysis coefficient calculation formula of the patient and the zth other patient when the medicine is prescribed is: , where m() is the number of set elements in the brackets, and w is the set consisting of the locations of the affected parts of the patients. is the set of the locations of the affected parts of the zth other patients when the medicine was prescribed, s is the area of the corresponding affected part of the patient whose affected part is the same as that of the zth other patient, is the area of the corresponding affected part of the zth other patient whose affected part is located at the same position as the patient, is the number of symptoms that the patient has in common with the zth other patient, is the sum of the number of manifestations of the patient and the zth other patient;
[0018] S23, substituting the patient's physical constitution information and the physical constitution information of other patients using the medical prescription at the time of prescription into the physical constitution analysis coefficient calculation formula to calculate the physical constitution analysis coefficient, wherein the physical constitution analysis coefficient calculation formula of the patient and the zth other patient using the medical prescription is: , where n is the type of physical constitution information, T is the patient's consultation time, is the data of the physical constitution information of the i-th patient who uses the medical prescription at the time of consultation t. is the data of the patient's physical condition information at time t, dt is the time integral, is the maximum value of the safety range of the ith physical condition information, is the minimum value of the safety range of the ith physical fitness information, is the proportion coefficient of the i-th body constitution information;
[0019] S24, multiplying the calculated body constitution analysis coefficient by the set body constitution ratio to obtain a first product, multiplying the obtained affected part information analysis coefficient by the set affected part information ratio to obtain a second product, and adding the obtained first product to the second product to obtain a disease condition similarity analysis value;
[0020] It should be noted here that the sum of the proportion of affected area information and the proportion of physical constitution is 1.
[0021] It should be specifically explained here that the treatment effect analysis of the prescription based on the condition change data of other patients who have used the prescription in the past includes the following specific steps:
[0022] S31, obtaining the data on the condition changes of other patients after using the prescription for one cycle;
[0023] S32, substituting the acquired historical data of the condition change of other patients after using the prescription for one cycle into the condition change data analysis value calculation formula to calculate the condition change data analysis coefficient, wherein the calculation formula of the condition change data analysis coefficient of the zth other patient is: ,in, The average value of the set time length of the ith physical constitution information data before the zth patient used the prescription for one cycle in history, is the average value of the set time length of the ith physical constitution information data of the zth patient after one cycle of using the prescription. is the median of the safety range of the i-th physical fitness information data.
[0024] It should be specifically explained here that the matching analysis between the medical prescription and the patient's condition by obtaining the condition similarity analysis results and the treatment effect analysis results includes the following specific steps:
[0025] S41, obtaining other patients who have used the prescription in the past and whose condition similarity analysis values are greater than or equal to the set condition similarity analysis threshold, setting them as similar patients, and obtaining the condition similarity analysis values and condition change data analysis coefficients of the similar patients;
[0026] S42, substituting the similarity analysis value of the condition of similar patients and the condition change data analysis coefficient into the prescription matching value calculation formula to calculate the prescription matching value, wherein the prescription matching value calculation formula is: , where m is the number of similar patients, is the data analysis coefficient of the condition change of the jth other patient, is the similar analysis value of the condition of the jth other patient.
[0027] It should be specifically explained that the specific content of the abnormal warning of medical prescription based on the matching analysis result of the medical prescription and the patient's condition is as follows:
[0028] The calculated prescription matching value is compared with the set prescription matching threshold. If the obtained prescription matching value is greater than or equal to the set prescription matching threshold, it means that the medical prescription matches the patient's condition. If the obtained prescription matching value is less than the set prescription matching threshold, it means that the medical prescription does not match the patient's condition, and an early warning of the mismatch between the medical prescription and the patient's condition is issued to medical staff.
[0029] It should be noted here that the value determination method of the proportion coefficient of the i-th body constitution information, the body constitution proportion, the affected part information proportion, the condition similarity analysis threshold and the prescription matching threshold here is: obtain at least five thousand sets of medical prescription wrong and correct prescription data, the patient's condition data, and the condition change data of other patients who have used the prescription in the past, substitute the patient's condition data and the condition change data of other patients who have used the prescription in the past into the prescription matching value calculation formula to calculate the prescription matching value, import the calculated prescription matching value and the medical prescription wrong judgment result into the fitting software, and output the value of the i-th body constitution information proportion coefficient, body constitution proportion, affected part information proportion, condition similarity analysis threshold and prescription matching threshold that meet the highest judgment accuracy.
[0030] An online medical prescription medication intelligent inspection system is implemented based on the above-mentioned online medical prescription medication intelligent inspection method, which specifically includes:
[0031] The data acquisition module is used to acquire medical prescription data, as well as the patient's condition data and the condition change data of other patients who have used the prescription in the past;
[0032] The condition similarity analysis module is used to obtain the patient's condition data and the condition change data of other patients who have used the prescription in the past to conduct a similarity analysis on the patient's condition;
[0033] The treatment effect analysis module is used to analyze the treatment effect of the prescription based on the condition change data of other patients who have used the prescription in the past;
[0034] A matching analysis module is used to match the medical prescription with the patient's condition by obtaining the condition similarity analysis results and the treatment effect analysis results;
[0035] A medical prescription abnormality warning module is used to issue a medical prescription abnormality warning based on the matching analysis results of the analyzed medical prescription and the patient's condition;
[0036] The control module is used to control the operation of the data acquisition module, the disease similarity analysis module, the treatment effect analysis module, the matching analysis module and the medical prescription abnormality warning module.
[0037] An electronic device comprises: a processor and a memory, wherein the memory stores a computer program that can be called by the processor;
[0038] The processor executes the above-mentioned online medical prescription medication intelligent checking method by calling the computer program stored in the memory.
[0039] A computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned online medical prescription medication intelligent checking method.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The present invention obtains medical prescription data, and simultaneously obtains the patient's condition data, obtains the condition change data of other patients who have used the prescription in history, obtains the patient's condition data and the condition change data of other patients who have used the prescription in history to perform similarity analysis on the patient's condition, performs treatment effect analysis on the prescription based on the condition change data of other patients who have used the prescription in history, performs matching analysis on the medical prescription and the patient's condition by obtaining the condition similarity analysis results and the treatment effect analysis results, performs abnormal medical prescription warning based on the matching analysis results of the medical prescription and the patient's condition obtained by analysis, analyzes the matching of other patients with similar conditions to the patient and the condition, accurately analyzes the matching degree of the medical prescription and the patient's condition, thereby improving the accuracy of intelligent inspection of medical prescriptions and avoiding the situation where the wrong prescription is prescribed and causes accidents to the patient. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0043] Figure 1 This is a schematic diagram of the overall process of an online medical prescription medication intelligent inspection method of the present invention;
[0044] Figure 2 A schematic flow chart of the steps of obtaining the patient's condition data and the condition change data of other patients who have historically used the prescription to perform similarity analysis on the patient's condition in an online medical prescription medication intelligent inspection method of the present invention;
[0045] Figure 3 The figure is a schematic diagram of the overall framework of an online medical prescription medication intelligent inspection system of the present invention. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0047] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.
[0048] Example 1
[0049] See also Figure 1-Figure 2 , an embodiment provided by the present invention: the technical problem solved by this embodiment is: the prior art cannot analyze the matching of other patients with similar conditions to the patient's condition when conducting medication inspection, and thus cannot accurately analyze the matching degree between the medical prescription and the patient's condition, which reduces the accuracy of intelligent inspection of medical prescriptions, and is prone to wrong prescriptions leading to accidents for patients;
[0050] An online medical prescription medication intelligent checking method comprises the following specific steps:
[0051] Obtain medical prescription data, as well as patient condition data and condition change data of other patients who have used the prescription in the past;
[0052] This step is specifically described here: S11, obtaining the medical prescription data that needs to be checked, and obtaining the patient's condition data at the same time, the medical prescription data includes the type and content data of the medicine, wherein the patient's condition data is the patient's affected part information and the patient's physical constitution information, it should be noted here that the physical constitution information includes the patient's blood pressure, body temperature, obesity level and heart rate information during the consultation, the patient's affected part information includes the location of the affected part and the symptom data of the affected part, it should be noted here that the location of the affected part here is divided according to the body structure, specifically divided into: limbs, head, five sense organs and heart, etc., the symptom data here is the symptom area and symptom manifestation, the symptom manifestation is for example: ulcer, abscess and wound, etc.;
[0053] It should be noted that the patient information obtained here is only used in the hospital's internal system, and cannot be obtained by outsiders without hacking. It also does not involve any name or other information, so there is no need to consider its privacy issues.
[0054] Here is the code to implement the above steps:
[0055] # Get medical prescription data
[0056] def get_medical_prescription_data(patient_id):
[0057] # Get medical prescription data from the medical system
[0058] prescription_data = medical_system.get_prescription_data(patient_id)
[0059] return prescription_data
[0060] # Get the patient's condition data
[0061] def get_patient_health_data(patient_id):
[0062] # Get the patient's medical condition data from the health record system
[0063] health_data = health_records_system.get_health_data(patient_id)
[0064] return health_data
[0065] # Main program
[0066] if __name__ == "__main__":
[0067] patient_id = "12345"
[0068] # Get medical prescription data
[0069] prescription_data = get_medical_prescription_data(patient_id)
[0070] drugs = prescription_data.get("drugs")
[0071] # Get the patient's condition data
[0072] patient_health_data = get_patient_health_data(patient_id)
[0073] condition = patient_health_data.get("condition")
[0074] body_physique = patient_health_data.get("body_physique")
[0075] # Print the acquired data
[0076] print("Drug types and content data:", drugs)
[0077] print("Information of affected area:", condition)
[0078] print("Physical information:", body_physique)
[0079] S12. At the same time, obtaining the condition change data of other patients who use the medical prescription from the historical patient medication database, wherein the patient condition change data is the physical constitution information change data of the patient after taking the quantitative medication and the condition data of other patients who use the medical prescription when the medication is prescribed;
[0080] Obtain the patient's condition data and the condition change data of other patients who have used the prescription in the past to conduct similarity analysis on the patient's condition;
[0081] This step is specifically described here: S21, obtaining the patient's affected part information and the patient's physical constitution information, and at the same time obtaining the affected part information and physical constitution information of other patients who use the medical prescription when taking the medicine;
[0082] S22, substituting the patient's affected part information and the affected part information of other patients when the medicine is prescribed into the affected part information analysis coefficient calculation formula to calculate the affected part information analysis coefficient, wherein the affected part information analysis coefficient calculation formula of the patient and the zth other patient when the medicine is prescribed is: , where m() is the number of set elements in the brackets, and w is the set consisting of the locations of the affected parts of the patients. is the set of the locations of the affected parts of the zth other patients when the medicine was prescribed, s is the area of the corresponding affected part of the patient whose affected part is the same as that of the zth other patient, is the area of the corresponding affected part of the zth other patient whose affected part is located at the same position as the patient, is the number of symptoms that the patient has in common with the zth other patient, is the sum of the number of manifestations of the patient and the zth other patient;
[0083] S23, substituting the patient's physical constitution information and the physical constitution information of other patients using the medical prescription at the time of prescription into the physical constitution analysis coefficient calculation formula to calculate the physical constitution analysis coefficient, wherein the physical constitution analysis coefficient calculation formula of the patient and the zth other patient using the medical prescription is: , where n is the type of physical constitution information, T is the patient's consultation time, is the data of the physical constitution information of the i-th patient who uses the medical prescription at the time of consultation t. is the data of the patient's physical condition information at time t, dt is the time integral, is the maximum value of the safety range of the ith physical condition information, is the minimum value of the safety range of the ith physical fitness information, is the proportion coefficient of the i-th body constitution information;
[0084] S24, multiplying the calculated body constitution analysis coefficient by the set body constitution ratio to obtain a first product, multiplying the obtained affected part information analysis coefficient by the set affected part information ratio to obtain a second product, and adding the obtained first product to the second product to obtain a disease condition similarity analysis value;
[0085] It should be noted here that the sum of the proportion of affected area information and the proportion of body constitution is 1;
[0086] Analyze the therapeutic effect of the prescription based on the condition change data of other patients who have used the prescription in the past;
[0087] This step is specifically described here: S31, obtaining the condition change data of other patients after using the prescription for one cycle in history;
[0088] S32, substituting the acquired historical data of the condition change of other patients after using the prescription for one cycle into the condition change data analysis value calculation formula to calculate the condition change data analysis coefficient, wherein the calculation formula of the condition change data analysis coefficient of the zth other patient is: ,in, The average value of the set time length of the ith physical constitution information data before the zth patient used the prescription for one cycle in history, is the average value of the set time length of the ith physical constitution information data of the zth patient after one cycle of using the prescription. is the median value of the safety range of the ith physical fitness information data;
[0089] Matching analysis between medical prescriptions and patient conditions is performed by obtaining the results of disease similarity analysis and treatment effect analysis;
[0090] This step is specifically described here: S41, obtaining other patients whose condition similarity analysis values are greater than or equal to the set condition similarity analysis threshold and corresponding to the history of using the prescription, setting them as similar patients, and obtaining the condition similarity analysis values and condition change data analysis coefficients of the similar patients;
[0091] S42, substituting the similarity analysis value of the condition of similar patients and the condition change data analysis coefficient into the prescription matching value calculation formula to calculate the prescription matching value, wherein the prescription matching value calculation formula is: , where m is the number of similar patients, is the data analysis coefficient of the condition change of the jth other patient, is the similarity analysis value of the jth other patient;
[0092] Provide warning of abnormal medical prescriptions based on the matching analysis results between the medical prescriptions and the patient's condition;
[0093] Here is a detailed description of this step:
[0094] The calculated prescription matching value is compared with the set prescription matching threshold. If the obtained prescription matching value is greater than or equal to the set prescription matching threshold, it means that the medical prescription matches the patient's condition. If the obtained prescription matching value is less than the set prescription matching threshold, it means that the medical prescription does not match the patient's condition, and an early warning of the mismatch between the medical prescription and the patient's condition is issued to medical staff.
[0095] It should be noted here that the value determination method of the proportion coefficient of the ith physical constitution information, the physical constitution proportion, the affected part information proportion, the condition similarity analysis threshold and the prescription matching threshold here is: obtain at least five thousand sets of medical prescription wrong and correct data, the patient's condition data, and the condition change data of other patients who have used the prescription in the past, substitute the patient's condition data and the condition change data of other patients who have used the prescription in the past into the prescription matching value calculation formula to calculate the prescription matching value, import the calculated prescription matching value and the medical prescription wrong judgment result into the fitting software, and output the value of the proportion coefficient of the ith physical constitution information, the physical constitution proportion, the affected part information proportion, the condition similarity analysis threshold and the prescription matching threshold that meet the highest judgment accuracy;
[0096] It should be noted here that the technical effects achieved by this embodiment have the following advantages over the prior art: obtaining medical prescription data and simultaneously obtaining the patient's condition data, obtaining the condition change data of other patients who have historically used the prescription, obtaining the patient's condition data and the condition change data of other patients who have historically used the prescription to perform a similarity analysis of the patient's condition, performing a treatment effect analysis on the prescription based on the condition change data of other patients who have historically used the prescription, performing a matching analysis of the medical prescription and the patient's condition by obtaining the condition similarity analysis results and the treatment effect analysis results, performing a medical prescription abnormality warning based on the matching analysis results of the medical prescription and the patient's condition, analyzing the matching of other patients with similar conditions to the patient and their conditions, and accurately analyzing the matching degree of the medical prescription and the patient's condition, thereby improving the accuracy of intelligent inspection of medical prescriptions and avoiding the situation where the wrong prescription causes accidents to the patient.
[0097] Example 2
[0098] like Figure 3 As shown, an online medical prescription medication intelligent inspection system is implemented based on the above-mentioned online medical prescription medication intelligent inspection method, which specifically includes: a data acquisition module, used to obtain medical prescription data, and at the same time obtain the patient's condition data, and obtain the condition change data of other patients who have used the prescription in the past;
[0099] The condition similarity analysis module is used to obtain the patient's condition data and the condition change data of other patients who have used the prescription in the past to conduct a similarity analysis on the patient's condition;
[0100] The treatment effect analysis module is used to analyze the treatment effect of the prescription based on the condition change data of other patients who have used the prescription in the past;
[0101] A matching analysis module is used to match the medical prescription with the patient's condition by obtaining the condition similarity analysis results and the treatment effect analysis results;
[0102] A medical prescription abnormality warning module is used to issue a medical prescription abnormality warning based on the matching analysis results of the analyzed medical prescription and the patient's condition;
[0103] The control module is used to control the operation of the data acquisition module, the disease similarity analysis module, the treatment effect analysis module, the matching analysis module and the medical prescription abnormality warning module.
[0104] Example 3
[0105] This embodiment provides an electronic device, including: a processor and a memory, wherein the memory stores a computer program that can be called by the processor;
[0106] The processor executes the above-mentioned online medical prescription medication intelligent checking method by calling the computer program stored in the memory.
[0107] The electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) and one or more memories, wherein the memory stores at least one computer program, which is loaded and executed by the processor to implement an online medical prescription medication intelligent inspection method provided by the above method embodiment.
[0108] Example 4
[0109] This embodiment provides a computer-readable storage medium having a rewritable computer program stored thereon;
[0110] When the computer program runs on a computer device, the computer device executes the above-mentioned online medical prescription medication intelligent checking method.
[0111] For example, the computer readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
Claims
1. An online medical prescription medication intelligent inspection method, characterized in that: It includes the following specific steps: Obtain medical prescription data, as well as patient condition data and condition change data of other patients who have used the prescription in the past; Obtain the patient's condition data and the condition change data of other patients who have used the prescription in the past to conduct similarity analysis on the patient's condition; Analyze the therapeutic effect of the prescription based on the condition change data of other patients who have used the prescription in the past; Matching analysis between medical prescriptions and patient conditions is performed by obtaining the results of disease similarity analysis and treatment effect analysis; Provide warning of abnormal medical prescriptions based on the matching analysis results between the medical prescriptions and the patient's condition; The acquisition of the patient's condition data and the condition change data of other patients who have used the prescription in the past to perform similarity analysis on the patient's condition includes the following specific contents: S21, obtaining the patient's affected part information and the patient's physical constitution information, and at the same time obtaining the affected part information and physical constitution information of other patients who use the medical prescription when taking the medicine; S22, substituting the patient's affected part information and the affected part information of other patients when the medicine is prescribed into the affected part information analysis coefficient calculation formula to calculate the affected part information analysis coefficient, wherein the affected part information analysis coefficient calculation formula of the patient and the zth other patient when the medicine is prescribed is: , where m() is the number of set elements in the brackets, and w is the set consisting of the locations of the affected parts of the patients. is the set of the locations of the affected parts of the zth other patients when the medicine was prescribed, s is the area of the corresponding affected part of the patient whose affected part is the same as that of the zth other patient, is the area of the corresponding affected part of the zth other patient whose affected part is located at the same position as the patient, is the number of symptoms that the patient has in common with the zth other patient, is the sum of the number of manifestations of the patient and the zth other patient; S23, substituting the patient's physical constitution information and the physical constitution information of other patients using the medical prescription at the time of prescription into the physical constitution analysis coefficient calculation formula to calculate the physical constitution analysis coefficient, wherein the physical constitution analysis coefficient calculation formula of the patient and the zth other patient using the medical prescription is: , where n is the type of physical constitution information, T is the patient's consultation time, is the data of the physical constitution information of the i-th patient who uses the medical prescription at the time of consultation t. is the data of the patient's physical condition information at time t, dt is the time integral, is the maximum value of the safety range of the ith physical condition information, is the minimum value of the safety range of the ith physical fitness information, is the proportion coefficient of the i-th body constitution information; S24, multiplying the calculated body constitution analysis coefficient by the set body constitution ratio to obtain a first product, multiplying the obtained affected part information analysis coefficient by the set affected part information ratio to obtain a second product, and adding the obtained first product to the second product to obtain a disease condition similarity analysis value; The treatment effect analysis of the prescription based on the condition change data of other patients who have used the prescription in the past includes the following specific steps: S31, obtaining the data on the condition changes of other patients after using the prescription for one cycle; S32, substituting the acquired historical data of the condition change of other patients after using the prescription for one cycle into the condition change data analysis value calculation formula to calculate the condition change data analysis coefficient, wherein the calculation formula of the condition change data analysis coefficient of the zth other patient is: ,in, The average value of the set time length of the ith physical constitution information data before the zth patient used the prescription for one cycle in history, is the average value of the set time length of the ith physical constitution information data of the zth patient after one cycle of using the prescription. is the median value of the safety range of the ith physical fitness information data; The matching analysis between the medical prescription and the patient's condition by obtaining the condition similarity analysis results and the treatment effect analysis results includes the following specific steps: S41, obtaining other patients who have used the prescription in the past and whose condition similarity analysis values are greater than or equal to the set condition similarity analysis threshold, setting them as similar patients, and obtaining the condition similarity analysis values and condition change data analysis coefficients of the similar patients; S42, substituting the similarity analysis value of the condition of similar patients and the condition change data analysis coefficient into the prescription matching value calculation formula to calculate the prescription matching value, wherein the prescription matching value calculation formula is: , where m is the number of similar patients, is the data analysis coefficient of the condition change of the jth other patient, is the similar analysis value of the condition of the jth other patient.
2. The online medical prescription medication intelligent checking method according to claim 1, characterized in that: The method of obtaining medical prescription data, simultaneously obtaining patient condition data, and obtaining condition change data of other patients who have used the prescription in the past includes the following specific steps: S11, obtaining medical prescription data that needs to be checked, and obtaining the patient's condition data at the same time, wherein the medical prescription data includes drug type and content data, wherein the patient's condition data includes the patient's affected part information and the patient's physical constitution information; S12. At the same time, the condition change data of other patients who use the medical prescription are obtained from the historical patient medication database, wherein the patient condition change data is the physical constitution information change data of the patient after taking the quantitative medication and the condition data of other patients who use the medical prescription when the medication is prescribed.
3. The online medical prescription medication intelligent checking method according to claim 1, characterized in that: The specific contents of the abnormal warning of medical prescription according to the matching analysis result of the medical prescription and the patient's condition are as follows: The calculated prescription matching value is compared with the set prescription matching threshold. If the obtained prescription matching value is greater than or equal to the set prescription matching threshold, it means that the medical prescription matches the patient's condition. If the obtained prescription matching value is less than the set prescription matching threshold, it means that the medical prescription does not match the patient's condition, and an early warning of the mismatch between the medical prescription and the patient's condition is issued to medical staff.
4. An online medical prescription medication intelligent checking system, which is implemented based on the online medical prescription medication intelligent checking method according to any one of claims 1 to 3, characterized in that: Specifically include: The data acquisition module is used to acquire medical prescription data, as well as the patient's condition data and the condition change data of other patients who have used the prescription in the past; The condition similarity analysis module is used to obtain the patient's condition data and the condition change data of other patients who have used the prescription in the past to conduct a similarity analysis on the patient's condition; The treatment effect analysis module is used to analyze the treatment effect of the prescription based on the condition change data of other patients who have used the prescription in the past; A matching analysis module is used to match the medical prescription with the patient's condition by obtaining the condition similarity analysis results and the treatment effect analysis results; A medical prescription abnormality warning module is used to issue a medical prescription abnormality warning based on the matching analysis results of the analyzed medical prescription and the patient's condition; The control module is used to control the operation of the data acquisition module, the disease similarity analysis module, the treatment effect analysis module, the matching analysis module and the medical prescription abnormality warning module.
5. An electronic device comprising: A processor and a memory, wherein the memory stores a computer program that can be called by the processor; It is characterized in that the processor executes the online medical prescription medication intelligent checking method as described in any one of claims 1-3 by calling the computer program stored in the memory.
6. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer executes an online medical prescription medication intelligent checking method as described in any one of claims 1-3.
