WO2021114624A1 - Artificial intelligence-based medication recommendation method, apparatus, device, and storage medium - Google Patents

Artificial intelligence-based medication recommendation method, apparatus, device, and storage medium Download PDF

Info

Publication number
WO2021114624A1
WO2021114624A1 PCT/CN2020/099255 CN2020099255W WO2021114624A1 WO 2021114624 A1 WO2021114624 A1 WO 2021114624A1 CN 2020099255 W CN2020099255 W CN 2020099255W WO 2021114624 A1 WO2021114624 A1 WO 2021114624A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
medication
term
recommendation
target
Prior art date
Application number
PCT/CN2020/099255
Other languages
French (fr)
Chinese (zh)
Inventor
赵惟
徐卓扬
左磊
孙行智
刘卓
赵婷婷
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021114624A1 publication Critical patent/WO2021114624A1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/20ICT specially adapted for the handling or processing of patient-related medical or healthcare data for electronic clinical trials or questionnaires
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H70/00ICT specially adapted for the handling or processing of medical references
    • G16H70/40ICT specially adapted for the handling or processing of medical references relating to drugs, e.g. their side effects or intended usage

Definitions

  • This application relates to the field of artificial intelligence technology, and in particular to an artificial intelligence-based medication recommendation method, device, equipment, and storage medium.
  • CDSS system Clinical Decision Support System
  • This system makes full use of available and appropriate computer technology to target semi-structured or unstructured It is a system to improve and improve the efficiency of decision-making through human-computer interaction.
  • the CDSS system is an important means to improve the quality of medical care, that is, through the in-depth analysis of medical records through the CDSS system, so as to make the most appropriate diagnosis and treatment decisions. Its fundamental purpose is to evaluate and improve medical quality, reduce medical errors, and control medical expenses. .
  • the medication recommendation model integrated in the current CDSS system is a model used to recommend medication by analyzing disease data. It is mainly divided into two types: knowledge-driven medication recommendation model and data-driven medication recommendation model.
  • the knowledge-driven medication recommendation model is a medication recommendation model based on various medical guidelines and expert consensus.
  • the data-driven medication recommendation model is a medication recommendation model formed by integrating various artificial intelligence technologies such as machine learning and deep learning. The inventor realizes that the current evaluation of the quality of the medication recommendation model is mainly based on judging whether the recommended medication matches the clinically prescribed medication as the standard.
  • the medication recommendation model determined according to this standard is used for medication recommendation, due to the uneven clinical level Inconsistent, clinically prescribed medications have poor therapeutic efficacy, which will reduce the accuracy of the recommendation model of medication recommendation, that is, the effectiveness of the obtained recommended medication is not high, and affect the promotion of the medication recommendation model.
  • the embodiments of the present application provide an artificial intelligence-based medication recommendation method, device, equipment, and storage medium to solve the problem of low recommendation accuracy when the current medication recommendation model performs medication recommendation.
  • An artificial intelligence-based medication recommendation method including:
  • the medication recommendation request including disease type, current disease data, and user profile data
  • the recommended evaluation values of at least two of the original recommended medications are obtained, and the original recommended medication with the largest recommended evaluation value is determined Recommend medication for the target.
  • An artificial intelligence-based medication recommendation device including:
  • a recommendation request acquisition module for acquiring a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data;
  • the recommendation model determination module is configured to obtain at least two target drug recommendation models with good target analysis results according to the target analysis result of the original drug recommendation model corresponding to the disease type;
  • the original recommended medication acquisition module is used to analyze and process the current disease data by using at least two of the target medication recommendation models to obtain at least two original recommended medications;
  • the characteristic analysis value acquisition module is configured to perform characteristic analysis on the original recommended medication, and acquire characteristic analysis values corresponding to at least two characteristics to be analyzed;
  • the feature weight obtaining module is configured to determine a recommendation tendency type based on the user portrait data, and obtain the feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type;
  • the target recommended medication acquisition module is configured to acquire at least two recommended evaluation values of the original recommended medications based on the feature analysis values corresponding to the at least two features to be analyzed and the feature weights, and compare the recommended evaluation values The largest of the original recommended medication is determined to be the target recommended medication.
  • a computer device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the aforementioned artificial intelligence-based medication recommendation method when the processor executes the computer program, For example, implement the following steps:
  • the medication recommendation request including disease type, current disease data, and user profile data
  • the recommended evaluation values of at least two of the original recommended medications are obtained, and the original recommended medication with the largest recommended evaluation value is determined Recommend medication for the target.
  • a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned artificial intelligence-based medication recommendation method is implemented, for example, the following steps are implemented:
  • the medication recommendation request including disease type, current disease data, and user profile data
  • the recommended evaluation values of at least two of the original recommended medications are obtained, and the original recommended medication with the largest recommended evaluation value is determined Recommend medication for the target.
  • the aforementioned artificial intelligence-based medication recommendation method, device, equipment, and storage medium can improve the effectiveness and pertinence of intelligent medication recommendation.
  • FIG. 1 is a schematic diagram of an application environment of an artificial intelligence-based medication recommendation method in an embodiment of the present application
  • FIG. 2 is a flowchart of a medication recommendation method based on artificial intelligence in an embodiment of the present application
  • FIG. 3 is another flowchart of a method for recommending medication based on artificial intelligence in an embodiment of the present application
  • FIG. 4 is another flowchart of a method for recommending medication based on artificial intelligence in an embodiment of the present application
  • FIG. 5 is another flowchart of a method for recommending medication based on artificial intelligence in an embodiment of the present application
  • FIG. 6 is another flowchart of a method for recommending medication based on artificial intelligence in an embodiment of the present application
  • FIG. 7 is another flowchart of the artificial intelligence-based medication recommendation method in an embodiment of the present application.
  • FIG. 8 is another flowchart of a method for recommending medications based on artificial intelligence in an embodiment of the present application.
  • Fig. 9 is a schematic diagram of an artificial intelligence-based medication recommendation device in an embodiment of the present application.
  • Fig. 10 is a schematic diagram of a computer device in an embodiment of the present application.
  • the technical solution of this application can be applied to the field of artificial intelligence and/or blockchain technology, and the data involved, such as disease type, disease data, user profile data, etc., can be stored in blockchain nodes, such as distributed storage through blockchain , Etc., this application is not limited.
  • the artificial intelligence-based medication recommendation method can be applied to the application environment as shown in FIG. 1.
  • the artificial intelligence-based medication recommendation method is applied in a CDSS system, which includes a client and a server as shown in FIG. 1, and the client and the server communicate through a network to implement medication triggered by the client Recommendation request, intelligent analysis of the current disease data and user profile data, so that the obtained target recommends the medication to ensure the accuracy, efficiency and pertinence of the recommended medication.
  • the client is also called the client, which refers to the program that corresponds to the server and provides local services to the client.
  • the client can be installed on, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the server can be implemented as an independent server or a server cluster composed of multiple servers.
  • a method for recommending medication based on artificial intelligence is provided. Taking the method applied to the server in FIG. 1 as an example for description, the method includes the following steps:
  • the medication recommendation request includes disease type, current disease data, and user profile data.
  • the medication recommendation request is a request for triggering the execution of the medication recommendation service.
  • the server of the CDSS system may receive a medication recommendation request triggered by the user through the client, and obtain the disease type, current illness data, and user profile data in the medication recommendation request.
  • the disease type is used to reflect the corresponding type of the patient's disease.
  • the types of conditions include, but are not limited to, diabetes, hypertension, and chronic kidney disease. Understandably, the determination of the type of disease can help determine a more accurate medication recommendation model for medication recommendation, and improve the accuracy of medication recommendation.
  • the current disease data is data corresponding to the current physical state of the patient.
  • the current disease data refers to the data corresponding to the detection index corresponding to the disease type detected in real time by the patient in the medical facility.
  • the current disease data For example, for diabetes, it is necessary to collect real-time measured data corresponding to indicators such as blood glucose, glycosylated hemoglobin, glycosylated serum protein, and antibodies.
  • the user portrait data is the portrait data used to reflect patient-related information.
  • These user portrait data may include data that affects the diagnosis of the disease, such as age, gender, and other data, and may also include data that affects medication recommendations, for example, in patients When income is low, it may be more inclined to use low-cost medication.
  • the original medication recommendation model is a medication recommendation model corresponding to the disease type pre-stored in the CDSS system, and is a model that can output medication recommendations based on the disease data. That is, for each disease type, the CDSS system is connected to at least one original medication recommendation model corresponding to the disease type, so that the CDSS system can perform the current disease data corresponding to the disease type based on the pre-accessed original medication recommendation model. Intelligent analysis improves the pertinence and effectiveness of the recommended medications obtained from the analysis.
  • different original drug recommendation models corresponding to the same disease type may be data obtained by model training on clinical medical data (including clinical disease data and corresponding clinical drug data) using different neural network models, so that each original The medication recommendation model is based on clinical medicine guidelines to avoid clinical mistakes in the recommended medications. It also needs to use medical big data to achieve personalized medication recommendations and learn medication plans for similar patients to ensure the effectiveness of medication recommendations.
  • the CDSS system needs to comprehensively evaluate each original drug recommendation model in advance, that is, comprehensively evaluate the original drug recommendation model based on clinical medical data of similar patients to obtain the target analysis result, and store the target analysis result on the CDSS system , So that the CDSS system can quickly query the target analysis results of the original drug recommendation model according to the type of disease during the drug recommendation process, and sort all the original drug recommendation models in descending order based on the target analysis results, and select at least two of the first target analysis results
  • the original medication recommendation model determines the target medication recommendation model adopted for this medication recommendation.
  • the number of target medication recommendation models can be set independently according to actual needs, and at least two original medication recommendation models in the descending order of the target analysis results are determined as target medication recommendation models, so that intelligence is based on the target medication recommendation model.
  • the medication is recommended, it helps to ensure the validity of the results of the medication recommendation.
  • S203 Analyze and process current disease data using at least two target medication recommendation models to obtain at least two original recommended medications.
  • the original recommended medication is the output result of the target medication recommendation model after analyzing and processing the current disease data.
  • the CDSS system uses at least two target medication recommendation models to analyze and process current disease data in parallel to obtain the original recommended medication output from the at least two target medication recommendation models.
  • S204 Perform feature analysis on the original recommended medication, and obtain feature analysis values corresponding to at least two features to be analyzed.
  • the feature to be analyzed is a pre-configured feature that needs to be analyzed and processed, and the feature to be analyzed can be understood as a feature used to evaluate the quality of a medication recommendation.
  • the features to be analyzed include but are not limited to features such as medication cost, curative effect time, and side effects.
  • the CDSS system uses a preset feature analysis strategy to perform feature analysis on the original recommended medications to obtain feature analysis values corresponding to the at least two features to be analyzed.
  • the CDSS system adopts a preset feature analysis strategy to perform feature analysis on the original recommended medication. This may include: First, query the system database or related database based on the original recommended medication, and obtain the original feature of the original recommended medication that corresponds to the feature to be analyzed. Data, for example, to obtain the actual cost corresponding to the feature to be analyzed, the cost of medication, that is, the cost of medication required for a course of treatment. Then, normalize the feature raw data corresponding to all the features to be analyzed to convert the feature raw data corresponding to all the features to be analyzed into non-dimensional quantities to ensure the feasibility of the subsequent calculation of recommended evaluation values.
  • S205 Determine a recommendation tendency type based on the user portrait data, and obtain feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type.
  • the recommendation tendency type is a medication recommendation type that is analyzed according to the patient's user profile data and used to reflect the patient's preference.
  • the medication recommendation type includes, but is not limited to, a low-cost recommendation type with a large cost weight, a high-efficiency recommendation type with a large curative effect time weight, and a low-risk recommendation type with a large side effect weight.
  • at least two feature weights corresponding to the features to be analyzed are pre-configured for each medication recommendation type, and the corresponding feature weights are stored in the system database.
  • the CDSS system uses a preset recommendation tendency analysis strategy to intelligently analyze the user portrait data to determine the recommendation tendency type corresponding to the user portrait data; then according to the recommendation tendency type, obtain the recommendation tendency type and query the system database to obtain Pre-configured feature weight corresponding to each feature to be analyzed.
  • S206 Obtain recommended evaluation values of at least two original recommended medications based on the feature analysis values and feature weights corresponding to the at least two features to be analyzed, and determine the original recommended medication with the largest recommended evaluation value as the target recommended medication.
  • the target recommended medication is a recommended medication plan that is screened from at least two original recommended medications that best matches the user profile data.
  • the CDSS system uses a weighting algorithm to perform a weighting operation on the feature analysis value and feature weight corresponding to the at least two features to be analyzed to obtain at least The recommended evaluation value of two original recommended medications; then at least two recommended evaluation values are compared to determine the maximum recommended evaluation value, and the original recommended medication corresponding to the maximum recommended evaluation value is determined as the target recommended medication.
  • the recommended evaluation value is a value obtained by weighting the feature analysis values and feature weights corresponding to at least two features to be analyzed, which can reflect the degree of fit with the patient’s user profile data. The higher the recommended evaluation value, the original The recommended medication is more suitable for the actual needs of patients, and the pertinence and effectiveness of medication recommendations will be improved.
  • the recommended evaluation values the acquisition process is simple and convenient calculation; where, P is the recommendation evaluation value, S i is the i-th feature analysis value corresponding to the feature to be analyzed, W i is the i-th feature to be analyzed corresponding feature weights.
  • the target analysis result of the original medication recommendation model is converted into model weights, and then the model weights, feature analysis values and feature weights are used to determine the recommended evaluation value, so that the recommended evaluation value can effectively reflect the effectiveness of the medication recommendation and
  • the fit of user profile data improves the effectiveness and pertinence of intelligent drug recommendation.
  • the target medication recommendation model is used Analyze and process the current disease data to obtain the original recommended medication, which can ensure the effectiveness and pertinence of the original recommended medication; then perform feature analysis on the original recommended medication to determine the feature analysis value corresponding to the feature to be analyzed, and proceed according to the user profile data Analyze the determined recommendation tendency type, determine the feature weight corresponding to the feature to be analyzed, and perform a weighting operation based on the feature analysis value corresponding to the feature to be analyzed and the corresponding feature weight to determine the recommended evaluation value, so that the recommended evaluation value can effectively reflect the medication recommendation
  • the effectiveness and the degree of fit with user profile data improve the effectiveness and pertinence of intelligent drug recommendation.
  • the artificial intelligence-based medication recommendation method before obtaining the medication recommendation request, further includes the following steps:
  • S301 Obtain retrospective data corresponding to the disease type, and the retrospective data includes historical disease data and actual medication data.
  • retrospective data refers to the data used to evaluate the quality of the original drug recommendation model to determine the target analysis result.
  • the retrospective data can be obtained from the hospital information system or the system database of the CDSS system, or can be some public medical data sets, which are specific structured data.
  • the retrospective data is a visit record, that is, the data determined by the patient at the clinic one time, specifically including historical disease data and actual medication data.
  • the historical disease data refers to the data related to the disease recorded when the patient visits a doctor, including symptoms and test results information.
  • the actual medication data refers to the medication data given by the doctor when visiting a doctor, which specifically includes data such as disease diagnosis results, prescription medication and treatment time. Understandably, since the comprehensive evaluation process of the original medication recommendation model requires the analysis of the treatment effect of the disease symptoms corresponding to the historical disease data in combination with the actual medication data, the retrospective data also includes short-term effect data and long-term effect data .
  • the short-term effect data refers to the data on the compliance of the inspection index in a short period of time after the current visit.
  • the data on whether the glycosylated hemoglobin meets the standard about 3 months after treatment can be determined as the short-term effect data.
  • Long-term effect data refers to data on whether there are complications or adverse events for a long period of time after this visit. The proportion can be determined based on the follow-up outpatient or inpatient diagnosis results. Understandably, the time limit of short-term effect data and long-term effect data can be determined based on historical experience.
  • the CDSS system can query the hospital information system or the system database of the CDSS system or crawl the hospital data set according to the type of disease, and obtain all the historical medical records corresponding to the disease type; then check all the historical medical records to determine Whether the historical medical records include necessary data such as historical disease data, actual medication data, short-term effect data, and long-term effect data; if the historical medical records contain all necessary data, the historical medical records are determined to be used to evaluate the original drug recommendation model Retrospective data to ensure the feasibility of the follow-up evaluation of the original drug recommendation model.
  • necessary data such as historical disease data, actual medication data, short-term effect data, and long-term effect data
  • S302 Use the original medication recommendation model corresponding to the type of illness to analyze and process historical illness data, obtain historical recommended medication data, match historical recommended medication data with actual medication data, and obtain matching results, which will be retrospectively based on the matching results
  • the data is divided into a first data set that meets the model recommendation and a second data set that does not meet the model recommendation.
  • the CDSS system can use the original medication recommendation model to analyze and process historical disease data to obtain historical recommended medication data. That is, the historical recommended medication data refers to the medication data output by analyzing and processing historical disease data using the original medication recommendation model.
  • the CDSS system can match the historical recommended medication data with the actual medication data to determine whether the historical recommended medication data matches the actual medication data, so as to divide the retrospective data into conformance according to the matching results.
  • the first data set recommended by the model and the second data set that do not meet the model recommendation that is, if the historical recommended medication data matches the actual medication data, the retrospective data is classified into the first data set that meets the model recommendation; If the recommended medication data does not match the actual medication data, the retrospective data is classified into the second data set that does not meet the model recommendation.
  • S303 Based on the retrospective data in the first data set and the second data set, respectively calculate the short-term effectiveness index compliance rate and the long-term complication rate, and perform a significance check to obtain an effect analysis result.
  • the short-term effectiveness index compliance rate is used to evaluate the impact of the short-term effectiveness indicators on whether the short-term effectiveness indicators meet the standards based on retrospective data.
  • the long-term complication rate is used to evaluate whether the model recommendation from the visit level or the patient level is consistent with the impact on the occurrence of long-term complications based on retrospective data.
  • the visit level refers to the record of a patient's visit, which is mainly used to assess whether the short-term effectiveness index meets the standard, such as whether the short-term effectiveness index meets the standard within a short time after each visit.
  • This patient level refers to all medical records of the same patient, and is mainly used to assess whether long-term complications have occurred.
  • the recommendation compliance rate between the actual medication data and the historical recommended medication data can be determined, and then the patient-level recommendation compliance rate and the long-term complication rate can be further analyzed based on the recommendation compliance rate. relationship. For example, if there are 10 visits for the same patient, there are 10 visit records, among which 6 actual medication data are consistent with historical recommended medication data, that is, the recommendation compliance rate is 60%, and then the recommendation rate is based on the compliance model. Significance check, so as to obtain the results of the effect analysis reflecting the relationship between the model recommendation rate and the long-term complication rate.
  • Significance test is to make a hypothesis on the parameters of the population (random variable) or the distribution form of the population in advance, and then use the sample information to judge whether the hypothesis (alternative hypothesis) is reasonable, that is, to judge the true situation and the original situation of the population. Assume whether there is a significant difference.
  • the CDSS system separately counts the corresponding short-term effectiveness index compliance rate and long-term complication rate, so as to base the statistics on the short-term effectiveness indicator compliance rate Perform a significant check with the incidence of long-term complications to obtain the results of the effect analysis.
  • the results of the effect analysis can effectively reflect the relationship between the short-term effectiveness index compliance rate and the long-term complication rate and the model compliance rate for subsequent synthesis Evaluation.
  • the preset analysis conditions are pre-set conditions that require subsequent difference analysis.
  • the preset analysis result can be set to be less than the preset value, such as less than 0.05.
  • the retrospective data in the first data set and the second data set have differences in the short-term effectiveness index compliance rate and the long-term complication rate, it may be caused by therapeutic factors, or it may be caused by non-therapeutic factors. Factors are related to medication, and non-therapeutic factors are not related to medication. In order to avoid non-therapeutic factors from affecting the effectiveness of the model’s recommended medications, it is necessary to perform a differential analysis on the retrospective data in the first data set and the second data set to obtain Target short-term confounding factors and target long-term confounding factors.
  • Confounding factors can be understood as non-therapeutic factors; target short-term confounding factors refer to the top non-therapeutic factors that have the greatest or greater impact on the short-term effectiveness index compliance rate; target long-term confounding factors refer to the impact on the incidence of long-term complications The first few non-therapeutic factors that have the greatest or greater impact.
  • the retrospective data includes N confounding factors such as F1, F2, F3...Fn.
  • N confounding factors such as F1, F2, F3...Fn.
  • S305 Based on the target short-term confounding factor and the target short-term confounding factor, perform a tendency analysis on the retrospective data in the first data set and the second data set, and obtain and store the target analysis result of the original medication recommendation model.
  • a tendency analysis is performed on the retrospective data in the first data set and the second data set to weaken the confounding factors’ impact on the short-term effectiveness index compliance rate and The impact of the long-term complication rate makes the target analysis results obtained reasonable.
  • the CDSS system after the CDSS system obtains the target analysis result of the original medication recommendation model, it needs to store the target analysis result in the system database so that the CDSS system can call the target analysis result of the original medication recommendation model after obtaining the medication recommendation request. Quickly determine at least two target medication recommendation models with good target analysis results, so as to ensure that the effectiveness of the target medication recommendation model that has been clinically verified and learned from similar patient medication regimens can be selected.
  • matching the historical recommended medication data with the actual medication data in step S302 to obtain the matching result specifically includes the following steps:
  • S401 Acquire at least one recommended medication category based on historical recommended medication data, and acquire at least one actual medication category based on actual medication data.
  • diabetes medications can be divided into medication categories such as biguanides, sulfonylureas, etc. If the actual medication used by the patient contains metformin, it is considered to use biguanide medications. Understandably, the actual medication data can be defined as a combination of multiple medication categories, such as biguanides + sulfonylureas, that is, drugs of a single medication category can be used or drugs of multiple medication categories can be used at the same time.
  • the match between the historical recommended medication data and the doctor's actual medication data means that they are completely consistent in the combination of medication categories. If there is a difference in the number of medication categories or the name of the medication category, it is considered a mismatch.
  • the historical recommended medication data can be determined based on whether the medication categories match. Whether the actual medication data matches or not can help simplify the calculation amount of the matching process and improve the processing efficiency.
  • the retrospective data further includes short-term effect data and long-term effect data.
  • the retrospective data in the first data set and the second data set in step S303 are respectively counted on the short-term effectiveness index compliance rate and the long-term complication rate, and the significance check is performed to obtain the effect analysis As a result, it specifically includes the following steps:
  • S502 Obtain the second short-term effectiveness index compliance rate and the second long-term complication rate based on the retrospective data in the second data set.
  • S503 Perform a significant check on the first short-term effectiveness index compliance rate, the first long-term complication rate, the second short-term effectiveness indicator compliance rate, and the second long-term complication rate to obtain the effect analysis results.
  • the short-term effectiveness index compliance rate refers to the ratio of the number of samples that meet the short-term effectiveness indicators to the total number of all samples.
  • the incidence of long-term complications refers to the ratio of the number of samples with long-term complications to the total number of all samples.
  • the CDSS system can divide the first data set and the second data set according to the matching result of the historical recommended medication data and the actual medication data, Suppose the number of retrospective data in the first data set is A1, and the number of retrospective data in the second data set is A2.
  • the CDSS system will judge whether it has reached the standard range corresponding to the short-term effectiveness index based on the short-term effect data in the retrospective data. If the short-term effect data reaches the standard range corresponding to the short-term effectiveness index, the short-term effectiveness index will be determined Up to the standard, update the number of samples that meet the short-term effectiveness index, even if the number of samples that meet the short-term effectiveness index is increased by 1, until all retrospective data are analyzed, the number of samples that obtain the short-term effectiveness index up to the standard is B, of which, the first data The number of samples in the centralized short-term effectiveness index that meets the standard is B1, and the number of samples in the second data set that meets the short-term effectiveness index is B2.
  • the CDSS system will determine whether the long-term complication standard is met based on the long-term effect data in the retrospective data. If the long-term effect data meets the standard for long-term complication, then it will determine the occurrence of long-term complications and update the occurrence of long-term complications. Even if the number of samples with long-term complications is increased by 1, until all retrospective data is analyzed, the number of samples with long-term complications is C, and the number of samples with long-term complications in the first data set is C1 , The number of samples with long-term complications in the second data set is C2.
  • the CDSS system uses the chi-square test method to make significant results for the first short-term effectiveness index compliance rate Q1, the first long-term complication rate P1, the second short-term effectiveness indicator compliance rate Q2, and the second long-term complication rate P2 Check the performance and obtain the results of the effect analysis.
  • the P-value between the exposure variable and the outcome variable is calculated by the chi-square check method, if P-value ⁇ 0.05 indicates that there is significant between the exposure variable and the outcome variable, and the effect analysis results are obtained to achieve the purpose of analyzing whether the model recommendation is related to the short-term effectiveness index compliance rate and the long-term complication rate.
  • step S304 which is to perform difference analysis on the retrospective data in the first data set and the second data set, to obtain the target short-term confounding factor and the target long-term confounding factor, specifically includes the following steps:
  • the confounding factors to be analyzed refer to the confounding factors that need to be analyzed and processed this time.
  • the retrospective data includes N confounding factors such as F1, F2, F3...Fn, one confounding factor can be randomly selected as the confounding factor to be analyzed each time.
  • the initial glycosylated hemoglobin is determined to be a confounding factor to be analyzed.
  • the first analysis subset and the second analysis subset corresponding to the confounding factors to be analyzed are selected from the retrospective data in the first data set and the second data set.
  • the CDSS system can divide the confounding factors to be analyzed into multiple first analysis subsets corresponding to the classification criteria according to the preset classification criteria, and divide the second data set into the classification criteria.
  • S603 Based on the retrospective data in the first analysis subset and the second analysis subset, respectively calculate the short-term effectiveness index compliance rate and the long-term complication rate, and perform a significance check, and determine the obtained effect analysis result as pending Analyze the results of the confounding analysis corresponding to the confounding factors.
  • step S603 and S303 are basically the same.
  • steps S501-S503 please refer to steps S501-S503.
  • the difference is that the data sets are different. To avoid repetition, we will not repeat them here.
  • S604 Obtain the target short-term confounding factor and the target long-term confounding factor according to the confounding analysis result corresponding to the confounding factor to be analyzed.
  • the corresponding effect analysis results are determined For the confounding analysis results corresponding to the confounding factors to be analyzed, based on the results of the confounding analysis, the top confounding factors that have the greatest or greater impact on the short-term effectiveness index compliance rate are identified as the target short-term confounding factors, which will affect long-term complications. The top confounding factors that have the greatest or greater impact on the incidence rate are determined as the target short-term confounding factors.
  • the initial glycosylated hemoglobin is the biggest confounding factor, therefore, it is determined as the target short-term confounding factor; for the complication rate, the initial concomitant risk is the biggest confounding factor, therefore, Identify it as a target long-term confounding factor.
  • step S305 based on the target short-term confounding factor and the target short-term confounding factor, perform a tendency analysis on the retrospective data in the first data set and the second data set, and obtain and store the original
  • the target analysis result of the medication recommendation model includes the following steps:
  • S701 Based on the target short-term confounding factor and the target short-term confounding factor, stratify the first data set and the second data set to obtain a stratified data set.
  • S702 Perform a tendency analysis on the retrospective data in the hierarchical data set, and obtain a tendency result corresponding to each hierarchical data set.
  • the hierarchical data set is a hierarchical data set formed by dividing the first data set and the second data set according to the target short-term confounding factors and the target long-term confounding factors.
  • the initial glycosylated hemoglobin when the initial glycosylated hemoglobin is the target short-term confounding factor, the initial glycosylated hemoglobin can be divided into three hierarchical data sets: initial compliance, initial excess, and severe excess, and each hierarchical data set meets the model recommendation and non-compliant
  • the model recommends that the short-term effectiveness index compliance rate of the two situations is compared, that is, the treatment group (treat group) and the control group (ie control group) are compared, and other confounding factors are controlled by the propensity score matching method, and each Propensity results in hierarchical data sets.
  • the initial concurrency risk when the initial concurrency risk is the target long-term confounding factor, the initial concurrency risk can be divided into three hierarchical data sets, low-risk, medium-risk, and high-risk. Comparing the long-term complication rate of the two cases recommended by the model, that is, as the treatment group (treat group) and the control group (ie control group) for comparison, other confounding factors are controlled by propensity score matching method, and each score is obtained Tendency results in layered data sets.
  • the CDSS system After the CDSS system obtains the tendency result in each hierarchical data set, it compares the tendency result with the pre-set eligibility evaluation threshold for judging whether the result is qualified, thereby determining the corresponding hierarchical data set Whether it is qualified; then, the ratio of the qualified quantity corresponding to the stratified data set to the total quantity is counted, and the target analysis result is obtained to realize the curative effect of the original drug recommendation model based on the objectively existing short-term effect data and long-term effect data in the retrospective data Effectiveness conducts objective analysis to ensure the objectivity of target analysis results.
  • step S205 that is, determining the recommendation tendency type based on user portrait data, specifically includes the following steps:
  • the existing tendency type refers to the tendency type explicitly indicated in the user portrait data.
  • the input interface of the CDSS system is configured with existing trend types for users to choose, so that the user can configure the corresponding trend types through the input interface.
  • the CDSS system uses character matching algorithms or other algorithms to analyze user portrait data to determine whether the user portrait data includes an existing tendency type. If the user portrait data contains an existing tendency type, the existing tendency type is directly added Determined as the recommended tendency type, based on the recommended tendency type to determine the feature weight corresponding to each feature to be analyzed in the original recommended medication, so that the target recommended medication determined based on the final recommended evaluation value is more matched with the user profile data, which helps to improve the target The pertinence and effectiveness of the recommended medication.
  • the CDSS system uses character matching algorithms or other algorithms to analyze user portrait data to determine whether the user portrait data includes existing tendency types. If the user portrait data does not contain existing tendency types, it is determined based on the user portrait data
  • the common tendency type corresponding to the similar group is determined as the recommended tendency type.
  • the similar group is the group closest to or most similar to the user profile data of the patient, and the similar group specifically refers to the group that is the closest or most similar to the user profile data corresponding to the disease corresponding to the disease type.
  • the similar group includes a plurality of similar users who are closest or most similar to the patient's user profile data, and each similar user corresponds to a medication tendency type, and the medication tendency type refers to a certain tendency type of similar users.
  • the common propensity type corresponding to similar groups of people refers to the medication propensity type with the largest proportion determined by the statistics of the medication propensity types of all similar users in all similar groups.
  • user portrait data includes but is not limited to gender, age, address, address, occupation, consumption habits, and sports data.
  • the CDSS system determines similar groups based on the user profile data, and the process of determining the common tendency type corresponding to the similar group as the recommended tendency type includes: (1) Using the distance algorithm to measure the patient's user profile data and any existing user stored in the system database The distance calculation is performed on the user portrait data of, and the similar distance corresponding to the two user portrait data is obtained. (2) Determine existing users whose similar distances reach a preset distance threshold as similar users, and form similar groups of people based on all similar users.
  • the distance algorithm includes but is not limited to the Euclidean distance algorithm. Understandably, since the user portrait data of similar people are the closest or most similar to the user portrait data corresponding to the patient, the tendency types are also relatively similar. Therefore, the common tendency type of the similar groups can be determined as the recommended tendency type of the patient.
  • the CDSS system uses character matching algorithms or other algorithms to analyze user portrait data to determine whether the user portrait data includes an existing tendency type. If the user portrait data does not include an existing tendency type, it will be obtained based on the user portrait data Associate webpage data, perform statistics on the feature tags of the associated webpage data, and obtain the type of recommendation tendency.
  • the associated webpage data refers to the content data in the associated webpage related to disease treatment corresponding to the disease type.
  • the feature tags of the associated webpage data refer to tags that are pre-configured for the content data in each associated webpage and related to the features to be analyzed, for example, tags such as low cost, short curative effect time, and few side effects.
  • the process of obtaining the recommendation tendency type includes: (1) Obtain the ID card based on the ID number and/or mobile phone number in the user profile data All historical webpage data visited by the patient corresponding to the phone number and/or mobile phone number. (2) Determine the historical webpage data related to the disease type in the user portrait data among all the historical webpage data as the associated webpage data. (3) Count the number of feature tags in all associated webpage data, and determine the recommendation tendency type according to the number.
  • the feature tags in each associated webpage data can be obtained using the Jieba word segmentation tool and the TF-IDF algorithm, that is, the Jieba word segmentation tool can be used to scan, segment, and part-of-speech tagging the text information in the associated webpage data to obtain Word segmentation results; then use the TF-IDF algorithm to extract keywords from the word segmentation results to obtain the feature tags corresponding to the associated webpage data.
  • the Jieba word segmentation tool can be used to scan, segment, and part-of-speech tagging the text information in the associated webpage data to obtain Word segmentation results; then use the TF-IDF algorithm to extract keywords from the word segmentation results to obtain the feature tags corresponding to the associated webpage data.
  • an artificial intelligence-based medication recommendation device corresponds to the artificial intelligence-based medication recommendation method in the foregoing embodiment in a one-to-one correspondence.
  • the artificial intelligence-based medication recommendation device includes a recommendation request acquisition module 901, a recommendation model determination module 902, an original recommended medication acquisition module 903, a feature analysis value acquisition module 904, a feature weight acquisition module 905, and a target recommended medication Obtaining module 906.
  • the detailed description of each functional module is as follows:
  • the recommendation request acquisition module 901 is configured to acquire a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data.
  • the recommendation model determination module 902 is configured to obtain at least two target medication recommendation models with good target analysis results according to the target analysis result of the original medication recommendation model corresponding to the disease type.
  • the original recommended medication acquisition module 903 is configured to analyze and process current disease data using at least two target medication recommendation models to obtain at least two original recommended medications.
  • the characteristic analysis value acquisition module 904 is configured to perform characteristic analysis on the original recommended medication, and acquire characteristic analysis values corresponding to at least two features to be analyzed.
  • the feature weight obtaining module 905 is configured to determine the recommendation tendency type based on the user portrait data, and obtain the feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type.
  • the target recommended medication acquisition module 906 is configured to obtain recommended evaluation values of at least two original recommended medications based on the feature analysis values and feature weights corresponding to the at least two features to be analyzed, and determine the original recommended medication with the largest recommended evaluation value as the target recommendation Medication.
  • the artificial intelligence-based medication recommendation device further includes a retrospective data acquisition module, a data division module, an effect analysis result acquisition module, a confounding factor determination module, and a target analysis result acquisition module.
  • the retrospective data acquisition module is used to acquire retrospective data corresponding to the disease type.
  • the retrospective data includes historical disease data and actual medication data.
  • the data division module is used to analyze and process historical disease data using the original medication recommendation model corresponding to the disease type, obtain historical recommended medication data, match historical recommended medication data with actual medication data, and obtain matching results, based on matching
  • the result divides the retrospective data into the first data set that meets the model recommendation and the second data set that does not meet the model recommendation.
  • the effect analysis result acquisition module is used to calculate the short-term effectiveness index compliance rate and the long-term complication rate of the retrospective data in the first data set and the second data set, and perform a significance check to obtain the effect analysis results.
  • the confounding factor determination module is used to perform difference analysis on the retrospective data in the first data set and the second data set if the result of the effect analysis meets the preset analysis conditions to obtain the target short-term confounding factors and the target long-term confounding factors.
  • the target analysis result acquisition module is used to perform tendency analysis on the retrospective data in the first data set and the second data set based on the target short-term confounding factors and the target short-term confounding factors, and obtain and store the target analysis results of the original medication recommendation model.
  • the data division module includes a medication category acquisition unit, a first matching result acquisition unit, and a second matching result acquisition unit.
  • the medication category obtaining unit is configured to obtain at least one recommended medication category based on historical recommended medication data, and obtain at least one actual medication category based on actual medication data.
  • the first matching result obtaining unit is used for if all recommended medication categories match all actual medication categories, then the matching result is in compliance with the model recommendation.
  • the second matching result obtaining unit is configured to, if at least one recommended medication category does not match the actual medication category, the matching result is not in compliance with the model recommendation.
  • the retrospective data also includes short-term effect data and long-term effect data.
  • the effect analysis result acquisition module includes a first index acquisition unit, a second index acquisition unit, and a significance verification unit.
  • the first indicator obtaining unit is configured to obtain the first short-term effectiveness indicator compliance rate and the first long-term complication rate based on the retrospective data in the first data set.
  • the second index acquisition unit is used to acquire the second short-term effectiveness index compliance rate and the second long-term complication rate based on the retrospective data in the second data set.
  • Significance verification unit used to perform significant verification on the first short-term effectiveness index compliance rate, the first long-term complication rate, the second short-term effectiveness indicator compliance rate, and the second long-term complication rate to obtain the effect Analyze the results.
  • the confounding factor determination module includes a factor to be analyzed determining unit, an analysis subset dividing unit, a confounding analysis result obtaining unit, and a target confounding factor obtaining unit.
  • the factor to be analyzed determination unit is used to determine the confounding factor to be analyzed.
  • the analysis subset dividing unit is used to filter out the first analysis subset and the second analysis sub-set corresponding to the confounding factors to be analyzed from the retrospective data in the first data set and the second data set based on the confounding factors to be analyzed set.
  • the confounding analysis result acquisition unit is used to calculate the short-term effectiveness index compliance rate and the long-term complication rate of the retrospective data in the first analysis subset and the second analysis subset, and perform a significance check.
  • the result of the effect analysis is determined as the result of the confounding analysis corresponding to the confounding factor to be analyzed.
  • the target confounding factor obtaining unit is used to obtain the target short-term confounding factor and the target long-term confounding factor according to the confounding analysis result corresponding to the confounding factor to be analyzed.
  • the target analysis result acquisition module includes a hierarchical data set acquisition unit, a tendency result acquisition unit, and a target analysis result acquisition unit.
  • the hierarchical data set acquisition unit is used to layer the first data set and the second data set based on the target short-term confounding factor and the target short-term confounding factor to obtain a hierarchical data set.
  • the tendency result obtaining unit is used to perform tendency analysis on the retrospective data in the hierarchical data set, and obtain the tendency result corresponding to each hierarchical data set.
  • the target analysis result obtaining unit is used to obtain and store the target analysis result corresponding to the original medication recommendation model based on the tendency result corresponding to the hierarchical data set.
  • the feature weight acquisition module 905 includes an existing tendency judgment unit, a first tendency type determination unit, and a second tendency type determination unit.
  • the existing tendency judging unit is used to judge whether the user portrait data contains the existing tendency type.
  • the first tendency type determining unit is configured to determine the existing tendency type as the recommended tendency type if the user portrait data includes the existing tendency type.
  • the second tendency type determining unit is used to determine similar groups based on the user portrait data if the user portrait data does not include the existing tendency types, and determine the common tendency type corresponding to the similar groups as the recommended tendency type; or, obtain based on the user portrait data Associate webpage data, perform statistics on the feature tags of the associated webpage data, and obtain the type of recommendation tendency.
  • Each module in the above artificial intelligence-based medication recommendation device can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 10.
  • the computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, a computer program and a database.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the database of the computer equipment is used to store the data adopted or generated during the execution of the artificial intelligence-based medication recommendation method.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to realize an artificial intelligence-based medication recommendation method.
  • a computer device including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the computer program, the artificial intelligence-based medication in the above embodiment is implemented. Recommended methods, such as S201-S206 shown in Figure 2, or shown in Figures 3 to 8, are not repeated here to avoid repetition.
  • the processor executes the computer program, the function of each module/unit in this embodiment of the artificial intelligence-based medication recommendation device is realized, such as the function of each module/unit shown in FIG. 9. To avoid repetition, it will not be repeated here. .
  • a computer-readable storage medium is provided, and a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the artificial intelligence-based medication recommendation method in the above embodiment is implemented, as shown in FIG. 2 As shown in S201-S206, or shown in Figs. 3 to 8, in order to avoid repetition, details are not repeated here.
  • the computer program is executed by the processor, the function of each module/unit in the embodiment of the above-mentioned artificial intelligence-based medication recommendation device, such as the function of each module/unit shown in FIG. 9, is implemented. To avoid repetition, here No longer.
  • the foregoing storage medium such as a computer-readable storage medium, may be non-volatile or volatile.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Abstract

Provided are an artificial intelligence-based medication recommendation method, apparatus, device, and storage medium. The method comprises: obtaining a medication recommendation request, the medication recommendation request comprising disease type, current disease data, and user profile data (S201); according to the target analysis results of the original drug recommendation model corresponding to the type of disease, obtaining a target medication recommendation model (S202); using the target medication recommendation model to analyze and process current disease data to obtain an original recommended medication (S203); performing feature analysis on the original recommended medication to obtain a feature analysis value corresponding to a feature to be analyzed (S204); determining the type of recommendation tendency on the basis of user profile data, and according to the recommended tendency type, obtaining a feature weight corresponding to the feature to be analyzed (S205); on the basis of the feature analysis value and the feature weight corresponding to the feature to be analyzed, obtaining a recommended evaluation value of the original recommended medication, and determining the original recommended medication having the largest recommended evaluation value to be the target recommended medication (S206). The method can effectively improve the effectiveness and pertinence of smart drug recommendation.

Description

基于人工智能的用药推荐方法、装置、设备及存储介质Artificial intelligence-based medication recommendation method, device, equipment and storage medium
本申请要求于2020年5月29日提交中国专利局、申请号为202010475961.3,发明名称为“基于人工智能的用药推荐方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 29, 2020, the application number is 202010475961.3, and the invention title is "artificial intelligence-based drug recommendation methods, devices, equipment, and storage media", and its entire content Incorporated in this application by reference.
技术领域Technical field
本申请涉及人工智能技术领域,尤其涉及一种基于人工智能的用药推荐方法、装置、设备及存储介质。This application relates to the field of artificial intelligence technology, and in particular to an artificial intelligence-based medication recommendation method, device, equipment, and storage medium.
背景技术Background technique
临床决策支持系统(Clinical Decision Support System,以下简称CDSS系统),一般指凡能对临床决策提供支持的计算机系统,这个系统充分运用可供利用的、合适的计算机技术,针对半结构化或非结构化医学问题,通过人机交互方式改善和提高决策效率的系统。CDSS系统是提升医疗质量的重要手段,即通过CDSS系统来深入分析病历资料,从而做出最为恰当的诊疗决策,其根本目的是为了评估和提高医疗质量,减少医疗差错,从而控制医疗费用的支出。Clinical Decision Support System (Clinical Decision Support System, hereinafter referred to as CDSS system), generally refers to any computer system that can provide support for clinical decision-making. This system makes full use of available and appropriate computer technology to target semi-structured or unstructured It is a system to improve and improve the efficiency of decision-making through human-computer interaction. The CDSS system is an important means to improve the quality of medical care, that is, through the in-depth analysis of medical records through the CDSS system, so as to make the most appropriate diagnosis and treatment decisions. Its fundamental purpose is to evaluate and improve medical quality, reduce medical errors, and control medical expenses. .
当前CDSS系统上集成的用药推荐模型是用于通过分析病症数据,以推荐用药的模型,主要分为基于知识驱动的用药推荐模型和基于数据驱动的用药推荐模型两种类型。基于知识驱动的用药推荐模型是基于各种医学指南和专家共识形成的用药推荐模型。基于数据驱动的用药推荐模型是集成各种机器学习和深度学习等人工智能技术所形成的用药推荐模型。发明人意识到,当前评估用药推荐模型的好坏主要通过判断推荐用药与临床实际所开的处方用药是否匹配为标准,根据这种标准确定的用药推荐模型进行用药推荐,由于临床实际的水平参差不齐,临床实际所开的处方用药的治疗疗效不佳,会降低用药推荐模型的推荐精确度,即导致所获取的推荐用药的疗效有效性不高,影响用药推荐模型的推广。The medication recommendation model integrated in the current CDSS system is a model used to recommend medication by analyzing disease data. It is mainly divided into two types: knowledge-driven medication recommendation model and data-driven medication recommendation model. The knowledge-driven medication recommendation model is a medication recommendation model based on various medical guidelines and expert consensus. The data-driven medication recommendation model is a medication recommendation model formed by integrating various artificial intelligence technologies such as machine learning and deep learning. The inventor realizes that the current evaluation of the quality of the medication recommendation model is mainly based on judging whether the recommended medication matches the clinically prescribed medication as the standard. The medication recommendation model determined according to this standard is used for medication recommendation, due to the uneven clinical level Inconsistent, clinically prescribed medications have poor therapeutic efficacy, which will reduce the accuracy of the recommendation model of medication recommendation, that is, the effectiveness of the obtained recommended medication is not high, and affect the promotion of the medication recommendation model.
发明内容Summary of the invention
本申请实施例提供一种基于人工智能的用药推荐方法、装置、设备及存储介质,以解决当前用药推荐模型进行用药推荐时存在的推荐精确度不高的问题。The embodiments of the present application provide an artificial intelligence-based medication recommendation method, device, equipment, and storage medium to solve the problem of low recommendation accuracy when the current medication recommendation model performs medication recommendation.
一种基于人工智能的用药推荐方法,包括:An artificial intelligence-based medication recommendation method, including:
获取用药推荐请求,所述用药推荐请求包括病症类型、当前病症数据和用户画像数据;Obtain a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data;
根据所述病症类型对应的原始用药推荐模型的目标分析结果,获取所述目标分析结果较好的至少两个目标用药推荐模型;Obtaining at least two target drug recommendation models with good target analysis results according to the target analysis result of the original medication recommendation model corresponding to the disease type;
采用至少两个所述目标用药推荐模型对所述当前病症数据进行分析处理,获取至少两个原始推荐用药;Using at least two of the target medication recommendation models to analyze and process the current disease data to obtain at least two original recommended medications;
对所述原始推荐用药进行特征分析,获取至少两个待分析特征对应的特征分析值;Perform feature analysis on the original recommended medication, and obtain feature analysis values corresponding to at least two features to be analyzed;
基于所述用户画像数据确定推荐倾向类型,根据所述推荐倾向类型,获取至少两个待分析特征对应的特征权重;Determining a recommendation tendency type based on the user portrait data, and obtaining feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type;
基于至少两个所述待分析特征对应的所述特征分析值和所述特征权重,获取至少两个所述原始推荐用药的推荐评估值,将所述推荐评估值最大的所述原始推荐用药确定为目标推荐用药。Based on the characteristic analysis values and the characteristic weights corresponding to at least two of the characteristics to be analyzed, the recommended evaluation values of at least two of the original recommended medications are obtained, and the original recommended medication with the largest recommended evaluation value is determined Recommend medication for the target.
一种基于人工智能的用药推荐装置,包括:An artificial intelligence-based medication recommendation device, including:
推荐请求获取模块,用于获取用药推荐请求,所述用药推荐请求包括病症类型、当前病症数据和用户画像数据;A recommendation request acquisition module for acquiring a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data;
推荐模型确定模块,用于根据所述病症类型对应的原始用药推荐模型的目标分析结果,获取所述目标分析结果较好的至少两个目标用药推荐模型;The recommendation model determination module is configured to obtain at least two target drug recommendation models with good target analysis results according to the target analysis result of the original drug recommendation model corresponding to the disease type;
原始推荐用药获取模块,用于采用至少两个所述目标用药推荐模型对所述当前病症数据进行分析处理,获取至少两个原始推荐用药;The original recommended medication acquisition module is used to analyze and process the current disease data by using at least two of the target medication recommendation models to obtain at least two original recommended medications;
特征分析值获取模块,用于对所述原始推荐用药进行特征分析,获取至少两个待分析特征对应的特征分析值;The characteristic analysis value acquisition module is configured to perform characteristic analysis on the original recommended medication, and acquire characteristic analysis values corresponding to at least two characteristics to be analyzed;
特征权重获取模块,用于基于所述用户画像数据确定推荐倾向类型,根据所述推荐倾向类型,获取至少两个待分析特征对应的特征权重;The feature weight obtaining module is configured to determine a recommendation tendency type based on the user portrait data, and obtain the feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type;
目标推荐用药获取模块,用于基于至少两个所述待分析特征对应的所述特征分析值和所述特征权重,获取至少两个所述原始推荐用药的推荐评估值,将所述推荐评估值最大的所述原始推荐用药确定为目标推荐用药。The target recommended medication acquisition module is configured to acquire at least two recommended evaluation values of the original recommended medications based on the feature analysis values corresponding to the at least two features to be analyzed and the feature weights, and compare the recommended evaluation values The largest of the original recommended medication is determined to be the target recommended medication.
一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述基于人工智能的用药推荐方法,例如,实现以下步骤:A computer device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the aforementioned artificial intelligence-based medication recommendation method when the processor executes the computer program, For example, implement the following steps:
获取用药推荐请求,所述用药推荐请求包括病症类型、当前病症数据和用户画像数据;Obtain a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data;
根据所述病症类型对应的原始用药推荐模型的目标分析结果,获取所述目标分析结果较好的至少两个目标用药推荐模型;Obtaining at least two target drug recommendation models with good target analysis results according to the target analysis result of the original medication recommendation model corresponding to the disease type;
采用至少两个所述目标用药推荐模型对所述当前病症数据进行分析处理,获取至少两个原始推荐用药;Using at least two of the target medication recommendation models to analyze and process the current disease data to obtain at least two original recommended medications;
对所述原始推荐用药进行特征分析,获取至少两个待分析特征对应的特征分析值;Perform feature analysis on the original recommended medication, and obtain feature analysis values corresponding to at least two features to be analyzed;
基于所述用户画像数据确定推荐倾向类型,根据所述推荐倾向类型,获取至少两个待分析特征对应的特征权重;Determining a recommendation tendency type based on the user portrait data, and obtaining feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type;
基于至少两个所述待分析特征对应的所述特征分析值和所述特征权重,获取至少两个所述原始推荐用药的推荐评估值,将所述推荐评估值最大的所述原始推荐用药确定为目标推荐用药。Based on the characteristic analysis values and the characteristic weights corresponding to at least two of the characteristics to be analyzed, the recommended evaluation values of at least two of the original recommended medications are obtained, and the original recommended medication with the largest recommended evaluation value is determined Recommend medication for the target.
一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述基于人工智能的用药推荐方法,例如,实现以下步骤:A computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned artificial intelligence-based medication recommendation method is implemented, for example, the following steps are implemented:
获取用药推荐请求,所述用药推荐请求包括病症类型、当前病症数据和用户画像数据;Obtain a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data;
根据所述病症类型对应的原始用药推荐模型的目标分析结果,获取所述目标分析结果较好的至少两个目标用药推荐模型;Obtaining at least two target drug recommendation models with good target analysis results according to the target analysis result of the original medication recommendation model corresponding to the disease type;
采用至少两个所述目标用药推荐模型对所述当前病症数据进行分析处理,获取至少两个原始推荐用药;Using at least two of the target medication recommendation models to analyze and process the current disease data to obtain at least two original recommended medications;
对所述原始推荐用药进行特征分析,获取至少两个待分析特征对应的特征分析值;Perform feature analysis on the original recommended medication, and obtain feature analysis values corresponding to at least two features to be analyzed;
基于所述用户画像数据确定推荐倾向类型,根据所述推荐倾向类型,获取至少两个待分析特征对应的特征权重;Determining a recommendation tendency type based on the user portrait data, and obtaining feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type;
基于至少两个所述待分析特征对应的所述特征分析值和所述特征权重,获取至少两个所述原始推荐用药的推荐评估值,将所述推荐评估值最大的所述原始推荐用药确定为目标推荐用药。Based on the characteristic analysis values and the characteristic weights corresponding to at least two of the characteristics to be analyzed, the recommended evaluation values of at least two of the original recommended medications are obtained, and the original recommended medication with the largest recommended evaluation value is determined Recommend medication for the target.
上述基于人工智能的用药推荐方法、装置、设备及存储介质,能够提高智能用药推荐的有效性和针对性。The aforementioned artificial intelligence-based medication recommendation method, device, equipment, and storage medium can improve the effectiveness and pertinence of intelligent medication recommendation.
附图说明Description of the drawings
图1是本申请一实施例中基于人工智能的用药推荐方法的一应用环境示意图;FIG. 1 is a schematic diagram of an application environment of an artificial intelligence-based medication recommendation method in an embodiment of the present application;
图2是本申请一实施例中基于人工智能的用药推荐方法的一流程图;FIG. 2 is a flowchart of a medication recommendation method based on artificial intelligence in an embodiment of the present application;
图3是本申请一实施例中基于人工智能的用药推荐方法的另一流程图;FIG. 3 is another flowchart of a method for recommending medication based on artificial intelligence in an embodiment of the present application;
图4是本申请一实施例中基于人工智能的用药推荐方法的另一流程图;FIG. 4 is another flowchart of a method for recommending medication based on artificial intelligence in an embodiment of the present application;
图5是本申请一实施例中基于人工智能的用药推荐方法的另一流程图;FIG. 5 is another flowchart of a method for recommending medication based on artificial intelligence in an embodiment of the present application;
图6是本申请一实施例中基于人工智能的用药推荐方法的另一流程图;FIG. 6 is another flowchart of a method for recommending medication based on artificial intelligence in an embodiment of the present application;
图7是本申请一实施例中基于人工智能的用药推荐方法的另一流程图;FIG. 7 is another flowchart of the artificial intelligence-based medication recommendation method in an embodiment of the present application;
图8是本申请一实施例中基于人工智能的用药推荐方法的另一流程图;FIG. 8 is another flowchart of a method for recommending medications based on artificial intelligence in an embodiment of the present application;
图9是本申请一实施例中基于人工智能的用药推荐装置的一示意图;Fig. 9 is a schematic diagram of an artificial intelligence-based medication recommendation device in an embodiment of the present application;
图10是本申请一实施例中计算机设备的一示意图。Fig. 10 is a schematic diagram of a computer device in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
本申请的技术方案可应用于人工智能和/或区块链技术领域,涉及的数据如病症类型、病症数据、用户画像数据等可以存储于区块链节点中,如通过区块链分布式存储,等等,本申请不做限定。The technical solution of this application can be applied to the field of artificial intelligence and/or blockchain technology, and the data involved, such as disease type, disease data, user profile data, etc., can be stored in blockchain nodes, such as distributed storage through blockchain , Etc., this application is not limited.
本申请实施例提供的基于人工智能的用药推荐方法,该基于人工智能的用药推荐方法可应用如图1所示的应用环境中。具体地,该基于人工智能的用药推荐方法应用在CDSS系统中,该CDSS系统包括如图1所示的客户端和服务器,客户端与服务器通过网络进行通信,用于实现根据客户端触发的用药推荐请求,对当前病症数据和用户画像数据进行智能分析,以使获取到的目标推荐用药,以保证推荐用药的准确性、效率性和针对性。其中,客户端又称为用户端,是指与服务器相对应,为客户提供本地服务的程序。客户端可安装在但不限于各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备上。服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。According to the artificial intelligence-based medication recommendation method provided by the embodiments of the present application, the artificial intelligence-based medication recommendation method can be applied to the application environment as shown in FIG. 1. Specifically, the artificial intelligence-based medication recommendation method is applied in a CDSS system, which includes a client and a server as shown in FIG. 1, and the client and the server communicate through a network to implement medication triggered by the client Recommendation request, intelligent analysis of the current disease data and user profile data, so that the obtained target recommends the medication to ensure the accuracy, efficiency and pertinence of the recommended medication. Among them, the client is also called the client, which refers to the program that corresponds to the server and provides local services to the client. The client can be installed on, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server can be implemented as an independent server or a server cluster composed of multiple servers.
在一实施例中,如图2所示,提供一种基于人工智能的用药推荐方法,以该方法应用在图1中的服务器为例进行说明,包括如下步骤:In one embodiment, as shown in FIG. 2, a method for recommending medication based on artificial intelligence is provided. Taking the method applied to the server in FIG. 1 as an example for description, the method includes the following steps:
S201:获取用药推荐请求,用药推荐请求包括病症类型、当前病症数据和用户画像数据。S201: Obtain a medication recommendation request. The medication recommendation request includes disease type, current disease data, and user profile data.
其中,用药推荐请求是用于触发执行用药推荐服务的请求。作为一示例,CDSS系统的服务器可以接收用户通过客户端触发的用药推荐请求,获取该用药推荐请求中的病症类型、当前病症数据和用户画像数据。Among them, the medication recommendation request is a request for triggering the execution of the medication recommendation service. As an example, the server of the CDSS system may receive a medication recommendation request triggered by the user through the client, and obtain the disease type, current illness data, and user profile data in the medication recommendation request.
其中,病症类型是用于反映患者所患疾病对应的类型。作为一示例,病症类型包括但不限于糖尿病、高血压和慢性肾病。可以理解地,病症类型的确定,有助于确定更准确的用药推荐模型进行用药推荐,提高用药推荐的准确性。Among them, the disease type is used to reflect the corresponding type of the patient's disease. As an example, the types of conditions include, but are not limited to, diabetes, hypertension, and chronic kidney disease. Understandably, the determination of the type of disease can help determine a more accurate medication recommendation model for medication recommendation, and improve the accuracy of medication recommendation.
其中,当前病症数据是用于反映患者当前身体状态对应的数据。该当前病症数据是指患者在医疗场所实时检测到的与病症类型相对应的检测指标对应的数据。例如,针对糖尿病这一病症类型,需实时采集血糖、糖化血红蛋白、糖化血清蛋白和抗体等指标对应的实测数据。Among them, the current disease data is data corresponding to the current physical state of the patient. The current disease data refers to the data corresponding to the detection index corresponding to the disease type detected in real time by the patient in the medical facility. For example, for diabetes, it is necessary to collect real-time measured data corresponding to indicators such as blood glucose, glycosylated hemoglobin, glycosylated serum protein, and antibodies.
其中,用户画像数据是用于反映患者相关信息的画像数据,这些用户画像数据可以包括影响疾病诊断效果的数据,如年龄、性别和其他数据,也可以包括影响用药推荐的数据,例如,在患者收入偏低时,可能更偏向于采用低成本的用药。Among them, the user portrait data is the portrait data used to reflect patient-related information. These user portrait data may include data that affects the diagnosis of the disease, such as age, gender, and other data, and may also include data that affects medication recommendations, for example, in patients When income is low, it may be more inclined to use low-cost medication.
S202:根据病症类型对应的原始用药推荐模型的目标分析结果,获取目标分析结果较好的至少两个目标用药推荐模型。S202: According to the target analysis result of the original medication recommendation model corresponding to the disease type, obtain at least two target medication recommendation models with better target analysis results.
其中,原始用药推荐模型是预先存储在CDSS系统中的与病症类型相对应的用药推荐模型,是可以根据病症数据输出用药推荐的模型。即针对每一种病症类型,CDSS系统均接入与该病症类型相对应的至少一个原始用药推荐模型,以便CDSS系统可以基于预先接入的原始用药推荐模型对病症类型相对应的当前病症数据进行智能分析,提高分析所得的推荐用药的针对性和有效性。可以理解地,同一病症类型对应的不同原始用药推荐模型可以是采用不同神经网络模型对临床医疗数据(包括临床病症数据和对应的临床用药数据)进行模型训练所获取的数据,以使每一原始用药推荐模型以临床医学指南作为基础,以避免所推荐用药犯临床错误,又要利用医疗大数据实现个性化用药推荐,学习相似患者的用药方案,以保证用药推荐的有效性。Among them, the original medication recommendation model is a medication recommendation model corresponding to the disease type pre-stored in the CDSS system, and is a model that can output medication recommendations based on the disease data. That is, for each disease type, the CDSS system is connected to at least one original medication recommendation model corresponding to the disease type, so that the CDSS system can perform the current disease data corresponding to the disease type based on the pre-accessed original medication recommendation model. Intelligent analysis improves the pertinence and effectiveness of the recommended medications obtained from the analysis. Understandably, different original drug recommendation models corresponding to the same disease type may be data obtained by model training on clinical medical data (including clinical disease data and corresponding clinical drug data) using different neural network models, so that each original The medication recommendation model is based on clinical medicine guidelines to avoid clinical mistakes in the recommended medications. It also needs to use medical big data to achieve personalized medication recommendations and learn medication plans for similar patients to ensure the effectiveness of medication recommendations.
由于不同原始用药推荐模型所采用的神经网络模型不同,其训练过程不同,使得其训练得到的原始用药推荐模型对同一当前病症数据进行智能用药推荐时,可能存在不同用药推荐结果。因此,CDSS系统需预先对每一原始用药推荐模型进行综合评估,即基于相似患者的临床医疗数据对原始用药推荐模型进行综合评估,以获取目标分析结果,并将目标分析结果存储在CDSS系统上,以使CDSS系统在用药推荐过程中,可以根据病症类型快速查询到原始用药推荐模型的目标分析结果,依据目标分析结果对所有原始用药推荐模型进行降序,选取目标分析结果在前的至少两个原始用药推荐模型确定为本次用药推荐所采用的目标用药推荐模型。可以理解地,目标用药推荐模型的数量可以根据实际需求自主设置,将降序排列的目标分析结果中在前的至少两个原始用药推荐模型确定为目标用药推荐模型,使得基于目标用药推荐模型进行智能用药推荐时,有助于保障其用药推荐结果的有效性。Since the neural network models used by different original medication recommendation models are different, and their training processes are different, when the original medication recommendation model obtained by its training performs intelligent medication recommendation on the same current disease data, there may be different medication recommendation results. Therefore, the CDSS system needs to comprehensively evaluate each original drug recommendation model in advance, that is, comprehensively evaluate the original drug recommendation model based on clinical medical data of similar patients to obtain the target analysis result, and store the target analysis result on the CDSS system , So that the CDSS system can quickly query the target analysis results of the original drug recommendation model according to the type of disease during the drug recommendation process, and sort all the original drug recommendation models in descending order based on the target analysis results, and select at least two of the first target analysis results The original medication recommendation model determines the target medication recommendation model adopted for this medication recommendation. Understandably, the number of target medication recommendation models can be set independently according to actual needs, and at least two original medication recommendation models in the descending order of the target analysis results are determined as target medication recommendation models, so that intelligence is based on the target medication recommendation model. When the medication is recommended, it helps to ensure the validity of the results of the medication recommendation.
S203:采用至少两个目标用药推荐模型对当前病症数据进行分析处理,获取至少两个原始推荐用药。S203: Analyze and process current disease data using at least two target medication recommendation models to obtain at least two original recommended medications.
其中,原始推荐用药是目标用药推荐模型对当前病症数据进行分析处理后的输出结果。作为一示例,CDSS系统在获取至少两个目标用药推荐模型之后,并行采用至少两个目标用药推荐模型对当前病症数据进行分析处理,以获取至少两个目标用药推荐模型输出的原始推荐用药。Among them, the original recommended medication is the output result of the target medication recommendation model after analyzing and processing the current disease data. As an example, after acquiring at least two target medication recommendation models, the CDSS system uses at least two target medication recommendation models to analyze and process current disease data in parallel to obtain the original recommended medication output from the at least two target medication recommendation models.
S204:对原始推荐用药进行特征分析,获取至少两个待分析特征对应的特征分析值。S204: Perform feature analysis on the original recommended medication, and obtain feature analysis values corresponding to at least two features to be analyzed.
其中,待分析特征是预先配置的需要进行分析处理的特征,该待分析特征可以理解为用于评估用药推荐好坏的特征。本示例中,待分析特征包括但不限于用药成本、疗效时间和副作用等特征。Among them, the feature to be analyzed is a pre-configured feature that needs to be analyzed and processed, and the feature to be analyzed can be understood as a feature used to evaluate the quality of a medication recommendation. In this example, the features to be analyzed include but are not limited to features such as medication cost, curative effect time, and side effects.
作为一示例,CDSS系统在获取到至少两个原始推荐用药后,采用预先设置的特征分析策略对原始推荐用药进行特征分析,以获取至少两个待分析特征对应的特征分析值。本示例中,CDSS系统采用预先设置的特征分析策略对原始推荐用药进行特征分析可以包括:首先,基于原始推荐用药查询系统数据库或者关联数据库,获取与原始推荐用药中与待分析特征对应的特征原始数据,例如,获取用药成本这一待分析特征对应的实际成本,即一个疗程所需用药的成本。接着,对所有待分析特征对应的特征原始数据进行归一化处理,以将所有待分析特征对应的特征原始数据转换成无纲量的数量,以保证后续推荐评估值计算的可行性。As an example, after acquiring at least two original recommended medications, the CDSS system uses a preset feature analysis strategy to perform feature analysis on the original recommended medications to obtain feature analysis values corresponding to the at least two features to be analyzed. In this example, the CDSS system adopts a preset feature analysis strategy to perform feature analysis on the original recommended medication. This may include: First, query the system database or related database based on the original recommended medication, and obtain the original feature of the original recommended medication that corresponds to the feature to be analyzed. Data, for example, to obtain the actual cost corresponding to the feature to be analyzed, the cost of medication, that is, the cost of medication required for a course of treatment. Then, normalize the feature raw data corresponding to all the features to be analyzed to convert the feature raw data corresponding to all the features to be analyzed into non-dimensional quantities to ensure the feasibility of the subsequent calculation of recommended evaluation values.
S205:基于用户画像数据确定推荐倾向类型,根据推荐倾向类型,获取至少两个待分析特征对应的特征权重。S205: Determine a recommendation tendency type based on the user portrait data, and obtain feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type.
其中,推荐倾向类型是根据患者的用户画像数据分析出的用于反映患者更倾向的用药推荐类型。作为一示例,该用药推荐类型包括但不限于成本权重较大的低成本推荐类型、疗效时间权重较大的高疗效推荐类型和副作用权生较大的低风险推荐类型。本示例中,每种用药推荐类型预先配置至少两个待分析特征对应的特征权重,并将相应的特征权重存储在系统数据库中。Among them, the recommendation tendency type is a medication recommendation type that is analyzed according to the patient's user profile data and used to reflect the patient's preference. As an example, the medication recommendation type includes, but is not limited to, a low-cost recommendation type with a large cost weight, a high-efficiency recommendation type with a large curative effect time weight, and a low-risk recommendation type with a large side effect weight. In this example, at least two feature weights corresponding to the features to be analyzed are pre-configured for each medication recommendation type, and the corresponding feature weights are stored in the system database.
作为一示例,CDSS系统采用预先设置的推荐倾向分析策略对用户画像数据进行智能分析,以确定该用户画像数据对应的推荐倾向类型;再根据推荐倾向类型,获取该推荐倾向类型查询系统数据库,获取预先配置的各个待分析特征对应的特征权重。As an example, the CDSS system uses a preset recommendation tendency analysis strategy to intelligently analyze the user portrait data to determine the recommendation tendency type corresponding to the user portrait data; then according to the recommendation tendency type, obtain the recommendation tendency type and query the system database to obtain Pre-configured feature weight corresponding to each feature to be analyzed.
S206:基于至少两个待分析特征对应的特征分析值和特征权重,获取至少两个原始推荐用药的推荐评估值,将推荐评估值最大的原始推荐用药确定为目标推荐用药。S206: Obtain recommended evaluation values of at least two original recommended medications based on the feature analysis values and feature weights corresponding to the at least two features to be analyzed, and determine the original recommended medication with the largest recommended evaluation value as the target recommended medication.
其中,目标推荐用药是从至少两个原始推荐用药中筛选出的与用户画像数据最匹配的一个推荐用药方案。Among them, the target recommended medication is a recommended medication plan that is screened from at least two original recommended medications that best matches the user profile data.
本实施例中,CDSS系统在基于至少两个待分析特征对应的特征分析值和特征权重之 后,采用加权算法对基于至少两个待分析特征对应的特征分析值和特征权重进行加权运算,获取至少两个原始推荐用药的推荐评估值;再对至少两个推荐评估值进行比较,确定推荐评估值的最大值,将推荐评估值的最大值对应的原始推荐用药确定为目标推荐用药。该推荐评估值为对至少两个待分析特征对应的特征分析值和特征权重进行加权运算后获取的数值,可以反映与患者的用户画像数据的贴合度,该推荐评估值越高,反映原始推荐用药越贴合患者的实际需求,提高用药推荐的针对性和有效性。In this embodiment, after the CDSS system is based on the feature analysis value and feature weight corresponding to the at least two features to be analyzed, it uses a weighting algorithm to perform a weighting operation on the feature analysis value and feature weight corresponding to the at least two features to be analyzed to obtain at least The recommended evaluation value of two original recommended medications; then at least two recommended evaluation values are compared to determine the maximum recommended evaluation value, and the original recommended medication corresponding to the maximum recommended evaluation value is determined as the target recommended medication. The recommended evaluation value is a value obtained by weighting the feature analysis values and feature weights corresponding to at least two features to be analyzed, which can reflect the degree of fit with the patient’s user profile data. The higher the recommended evaluation value, the original The recommended medication is more suitable for the actual needs of patients, and the pertinence and effectiveness of medication recommendations will be improved.
作为一示例,CDSS系统可以采用P=∑S iW i对至少两个待分析特征对应的特征分析值和特征权重进行加权运算,获取至少两个原始推荐用药的推荐评估值,该推荐评估值的获取过程计算简单方便;其中,P为推荐评估值,S i为第i个待分析特征对应的特征分析值,W i为第i个待分析特征对应的特征权重。 As an example, the CDSS system may use P=∑S i W i to perform a weighted operation on the feature analysis values and feature weights corresponding to at least two features to be analyzed to obtain the recommended evaluation values of at least two original recommended medications. The recommended evaluation values the acquisition process is simple and convenient calculation; where, P is the recommendation evaluation value, S i is the i-th feature analysis value corresponding to the feature to be analyzed, W i is the i-th feature to be analyzed corresponding feature weights.
作为另一示例,在步骤S202中获取每一原始用药推荐模型的目标分析结果之后,还可以采用模型权重转换策略对目标分析结果进行处理,获取每一目标分析结果对应的模型权重;则CDSS系统可以采用P=Q∑S iW i对至少两个待分析特征对应的特征分析值和特征权重进行加权运算,获取至少两个原始推荐用药的推荐评估值,其中,Q为原始用药推荐模型对应的模型权重,P为推荐评估值,S i为第i个待分析特征对应的特征分析值,W i为第i个待分析特征对应的特征权重。可以理解地,将原始用药推荐模型的目标分析结果转换成模型权重,再利用模型权重与特征分析值和特征权重,确定推荐评估值,使得该推荐评估值可以有效反映用药推荐的有效性和与用户画像数据的贴合度,提高智能用药推荐的有效性和针对性。 As another example, after obtaining the target analysis result of each original medication recommendation model in step S202, a model weight conversion strategy may be used to process the target analysis result to obtain the model weight corresponding to each target analysis result; then the CDSS system P=Q∑S i W i can be used to perform a weighted calculation on the characteristic analysis values and characteristic weights corresponding to at least two features to be analyzed to obtain the recommended evaluation values of at least two original recommended medications, where Q is the corresponding model of the original medication recommendation model weight, P is the recommended evaluation value, S i is the i-th feature analysis value corresponding to the feature to be analyzed, W i is the i-th feature to be analyzed corresponding feature weights. Understandably, the target analysis result of the original medication recommendation model is converted into model weights, and then the model weights, feature analysis values and feature weights are used to determine the recommended evaluation value, so that the recommended evaluation value can effectively reflect the effectiveness of the medication recommendation and The fit of user profile data improves the effectiveness and pertinence of intelligent drug recommendation.
本实施例所提供的基于人工智能的用药推荐方法中,根据病症类型对应的原始用药推荐模型的目标分析结果,获取目标分析结果较好的至少两个目标用药推荐模型,再利用目标用药推荐模型对当前病症数据进行分析处理,以获取原始推荐用药,可以保证原始推荐用药的有效性和针对性;再对原始推荐用药进行特征分析,确定待分析特征对应的特征分析值,根据用户画像数据进行分析确定的推荐倾向类型,确定待分析特征对应的特征权重,基于待分析特征对应的特征分析值和对应的特征权重进行加权运算,以确定推荐评估值,使得该推荐评估值可以有效反映用药推荐的有效性和与用户画像数据的贴合度,提高智能用药推荐的有效性和针对性。In the artificial intelligence-based medication recommendation method provided in this embodiment, according to the target analysis result of the original medication recommendation model corresponding to the disease type, at least two target medication recommendation models with better target analysis results are obtained, and then the target medication recommendation model is used Analyze and process the current disease data to obtain the original recommended medication, which can ensure the effectiveness and pertinence of the original recommended medication; then perform feature analysis on the original recommended medication to determine the feature analysis value corresponding to the feature to be analyzed, and proceed according to the user profile data Analyze the determined recommendation tendency type, determine the feature weight corresponding to the feature to be analyzed, and perform a weighting operation based on the feature analysis value corresponding to the feature to be analyzed and the corresponding feature weight to determine the recommended evaluation value, so that the recommended evaluation value can effectively reflect the medication recommendation The effectiveness and the degree of fit with user profile data improve the effectiveness and pertinence of intelligent drug recommendation.
在一实施例中,如图3所示,在获取用药推荐请求之前,基于人工智能的用药推荐方法还包括如下步骤:In one embodiment, as shown in FIG. 3, before obtaining the medication recommendation request, the artificial intelligence-based medication recommendation method further includes the following steps:
S301:获取与病症类型相对应的回顾性数据,回顾性数据包括历史病症数据和实际用药数据。S301: Obtain retrospective data corresponding to the disease type, and the retrospective data includes historical disease data and actual medication data.
其中,回顾性数据是指用于评估原始用药推荐模型好坏,以确定目标分析结果的数据。作为一示例,该回顾性数据可以从医院信息系统或CDSS系统的系统数据库中获取,也可以是一些公开的医疗数据集,是具体的结构化数据。Among them, retrospective data refers to the data used to evaluate the quality of the original drug recommendation model to determine the target analysis result. As an example, the retrospective data can be obtained from the hospital information system or the system database of the CDSS system, or can be some public medical data sets, which are specific structured data.
本示例中,回顾性数据为一次访视记录,即患者一次就诊所确定的数据,具体包括历史病症数据和实际用药数据。历史病症数据是指患者就诊时所记录的与病症相关的数据,包括症状和检验检查结果信息。实际用药数据是指医生在就诊时所给出的用药数据,具体包括疾病诊断结果、处方用药和疗程时间等数据。可以理解地,由于对原始用药推荐模型 进行综合评价过程中,需结合实际用药数据对历史病症数据对应的疾病症状的治疗效果进行分析,因此,该回顾性数据还包括短期效果数据和长期效果数据。其中,短期效果数据是指本次就诊后较短的一段时间检验检查指标达标情况的数据,例如,可以将糖化血红蛋白在治疗后3个月左右是否达标的数据确定为短期效果数据。长期效果数据是指本次就诊后较长一段时间是否有并发症或者不良事件的发生的数据,比例,可以根据后续门诊或住院诊断结果确定长期效果数据。可以理解地,短期效果数据和长期效果数据的时间界限可以根据历史经验确定。In this example, the retrospective data is a visit record, that is, the data determined by the patient at the clinic one time, specifically including historical disease data and actual medication data. The historical disease data refers to the data related to the disease recorded when the patient visits a doctor, including symptoms and test results information. The actual medication data refers to the medication data given by the doctor when visiting a doctor, which specifically includes data such as disease diagnosis results, prescription medication and treatment time. Understandably, since the comprehensive evaluation process of the original medication recommendation model requires the analysis of the treatment effect of the disease symptoms corresponding to the historical disease data in combination with the actual medication data, the retrospective data also includes short-term effect data and long-term effect data . Among them, the short-term effect data refers to the data on the compliance of the inspection index in a short period of time after the current visit. For example, the data on whether the glycosylated hemoglobin meets the standard about 3 months after treatment can be determined as the short-term effect data. Long-term effect data refers to data on whether there are complications or adverse events for a long period of time after this visit. The proportion can be determined based on the follow-up outpatient or inpatient diagnosis results. Understandably, the time limit of short-term effect data and long-term effect data can be determined based on historical experience.
作为一示例,CDSS系统可以根据病症类型查询医院信息系统或者CDSS系统的系统数据库或者爬取医院数据集,获取与病症类型相对应的所有历史就诊记录;再对所有历史就诊记录进行校验,判断历史就诊记录中是否包括历史病症数据、实际用药数据、短期效果数据和长期效果数据等必要数据;若历史就诊记录包含所有必要数据,则将该历史就诊记录确定为可以用于评估原始用药推荐模型的回顾性数据,以保证后续原始用药推荐模型评估的可行性。As an example, the CDSS system can query the hospital information system or the system database of the CDSS system or crawl the hospital data set according to the type of disease, and obtain all the historical medical records corresponding to the disease type; then check all the historical medical records to determine Whether the historical medical records include necessary data such as historical disease data, actual medication data, short-term effect data, and long-term effect data; if the historical medical records contain all necessary data, the historical medical records are determined to be used to evaluate the original drug recommendation model Retrospective data to ensure the feasibility of the follow-up evaluation of the original drug recommendation model.
S302:采用与病症类型相对应的原始用药推荐模型对历史病症数据进行分析处理,获取历史推荐用药数据,对历史推荐用药数据与实际用药数据进行匹配处理,获取匹配结果,基于匹配结果将回顾性数据划分为符合模型推荐的第一数据集和不符合模型推荐的第二数据集。S302: Use the original medication recommendation model corresponding to the type of illness to analyze and process historical illness data, obtain historical recommended medication data, match historical recommended medication data with actual medication data, and obtain matching results, which will be retrospectively based on the matching results The data is divided into a first data set that meets the model recommendation and a second data set that does not meet the model recommendation.
由于原始用药推荐模型是可以根据病症数据输出用药推荐的模型,因此,CDSS系统可以采用原始用药推荐模型对历史病症数据进行分析处理,以获取历史推荐用药数据。即该历史推荐用药数据是指采用原始用药推荐模型对历史病症数据进行分析处理所输出的用药数据。Since the original medication recommendation model is a model that can output medication recommendations based on disease data, the CDSS system can use the original medication recommendation model to analyze and process historical disease data to obtain historical recommended medication data. That is, the historical recommended medication data refers to the medication data output by analyzing and processing historical disease data using the original medication recommendation model.
CDSS系统在获取历史推荐用药数据之后,可以对历史推荐用药数据和实际用药数据进行匹配处理,以确定历史推荐用药数据是否与实际用药数据相匹配,以根据匹配结果将回顾性数据分别划分为符合模型推荐的第一数据集和不符合模型推荐的第二数据集,即若历史推荐用药数据与实际用药数据相匹配,则将回顾性数据归类到符合模型推荐的第一数据集中;若历史推荐用药数据与实际用药数据不匹配,则将回顾性数据归类到不符合模型推荐的第二数据集中。After obtaining the historical recommended medication data, the CDSS system can match the historical recommended medication data with the actual medication data to determine whether the historical recommended medication data matches the actual medication data, so as to divide the retrospective data into conformance according to the matching results. The first data set recommended by the model and the second data set that do not meet the model recommendation, that is, if the historical recommended medication data matches the actual medication data, the retrospective data is classified into the first data set that meets the model recommendation; If the recommended medication data does not match the actual medication data, the retrospective data is classified into the second data set that does not meet the model recommendation.
S303:对第一数据集和第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,获取效果分析结果。S303: Based on the retrospective data in the first data set and the second data set, respectively calculate the short-term effectiveness index compliance rate and the long-term complication rate, and perform a significance check to obtain an effect analysis result.
其中,短期有效性指标达标率是用于根据回顾性数据,从访视级别或患者级别评估模型推荐是否符合对短期有效性指标是否达标的影响。长期并发症发生率是用于根据回顾性数据,从访视级别或患者级别评估模型推荐是否符合对长期并发症是否发生的影响。该访视级别是指患者一次就诊记录,主要适用于评估短期有效性指标是否达标,如每次就诊后较短时间内其短期有效性指标是否达标。该患者级别是指针对同一患者的所有就诊记录,主要适用于评估长期并发症是否发生。作为一示例,可以根据同一患者多次就诊记录,确定其实际用药数据与历史推荐用药数据的推荐符合率,再根据推荐符合率进一步分析患者级别的推荐符合率与长期并发症发生率之间的关系。例如,若同一患者共有10次访视,即形成有10个访视记录,其中6次实际用药数据与历史推荐用药数据相符合,即推荐符合率为60%,再根据该符合模型推荐率进行显著性校验,从而获取反映符合模型推荐率与长期并发症发生率之间关系的效果分析结果。显著性检验(significance test)就是事先对总体(随机变量)的参数或总体分布形式做出一个假设,然后利用样本信息来判断这个假设(备择假设)是否合理,即判断总体的真实情况与原假设是否有显著性差异。Among them, the short-term effectiveness index compliance rate is used to evaluate the impact of the short-term effectiveness indicators on whether the short-term effectiveness indicators meet the standards based on retrospective data. The long-term complication rate is used to evaluate whether the model recommendation from the visit level or the patient level is consistent with the impact on the occurrence of long-term complications based on retrospective data. The visit level refers to the record of a patient's visit, which is mainly used to assess whether the short-term effectiveness index meets the standard, such as whether the short-term effectiveness index meets the standard within a short time after each visit. This patient level refers to all medical records of the same patient, and is mainly used to assess whether long-term complications have occurred. As an example, according to the same patient’s multiple visit records, the recommendation compliance rate between the actual medication data and the historical recommended medication data can be determined, and then the patient-level recommendation compliance rate and the long-term complication rate can be further analyzed based on the recommendation compliance rate. relationship. For example, if there are 10 visits for the same patient, there are 10 visit records, among which 6 actual medication data are consistent with historical recommended medication data, that is, the recommendation compliance rate is 60%, and then the recommendation rate is based on the compliance model. Significance check, so as to obtain the results of the effect analysis reflecting the relationship between the model recommendation rate and the long-term complication rate. Significance test is to make a hypothesis on the parameters of the population (random variable) or the distribution form of the population in advance, and then use the sample information to judge whether the hypothesis (alternative hypothesis) is reasonable, that is, to judge the true situation and the original situation of the population. Assume whether there is a significant difference.
作为一示例,CDSS系统根据第一数据集和第二数据集中的回顾性数据,分别统计其对应的短期有效性指标达标率和长期并发症发生率,以便基于统计出的短期有效性指标达 标率和长期并发症发生率进行显著性校验,从而获取效果分析结果,该效果分析结果可以有效反映短期有效性指标达标率和长期并发症发生率与模型符合率之间的关系,以便进行后续综合评估。As an example, based on the retrospective data in the first data set and the second data set, the CDSS system separately counts the corresponding short-term effectiveness index compliance rate and long-term complication rate, so as to base the statistics on the short-term effectiveness indicator compliance rate Perform a significant check with the incidence of long-term complications to obtain the results of the effect analysis. The results of the effect analysis can effectively reflect the relationship between the short-term effectiveness index compliance rate and the long-term complication rate and the model compliance rate for subsequent synthesis Evaluation.
S304:若效果分析结果满足预设分析条件,则对第一数据集和第二数据集中的回顾性数据进行差异分析,获取目标短期混杂因素和目标长期混杂因素。S304: If the result of the effect analysis meets the preset analysis condition, perform a difference analysis on the retrospective data in the first data set and the second data set to obtain the target short-term confounding factors and the target long-term confounding factors.
其中,预设分析条件是预先设置的需要进行后续差异分析的条件。作为一示例,在效果分析结果为显著性校验所获取的P-value时,可以将预设分析结果设置为小于预设数值,如小于0.05。Among them, the preset analysis conditions are pre-set conditions that require subsequent difference analysis. As an example, when the effect analysis result is the P-value obtained by the significance check, the preset analysis result can be set to be less than the preset value, such as less than 0.05.
由于第一数据集和第二数据集中的回顾性数据在短期有效性指标达标率和长期并发症发生率上存在差异可能是由于治疗因素造成的,也有可能是由于非治疗因素造成的,而治疗因素与用药相关,而非治疗因素与用药无关,为了避免非治疗因素对模型推荐用药的有效性造成影响,因此,需要对第一数据集和第二数据集中的回顾性数据进行差异分析,获取目标短期混杂因素和目标长期混杂因素。混杂因素可以理解为非治疗因素;目标短期混杂因素是指对短期有效性指标达标率影响最大或影响较大的前几位的非治疗因素;目标长期混杂因素是指对长期并发症发生率影响最大或影响较大的前几位的非治疗因素。Because the retrospective data in the first data set and the second data set have differences in the short-term effectiveness index compliance rate and the long-term complication rate, it may be caused by therapeutic factors, or it may be caused by non-therapeutic factors. Factors are related to medication, and non-therapeutic factors are not related to medication. In order to avoid non-therapeutic factors from affecting the effectiveness of the model’s recommended medications, it is necessary to perform a differential analysis on the retrospective data in the first data set and the second data set to obtain Target short-term confounding factors and target long-term confounding factors. Confounding factors can be understood as non-therapeutic factors; target short-term confounding factors refer to the top non-therapeutic factors that have the greatest or greater impact on the short-term effectiveness index compliance rate; target long-term confounding factors refer to the impact on the incidence of long-term complications The first few non-therapeutic factors that have the greatest or greater impact.
例如,回顾性数据中包括F1、F2、F3……Fn等N个混杂因素,在对第一数据集和第二数据集中的回顾性数据进行差异分析时,对于任一混杂因素进行分析时,分别统计其对应的短期有效性指标达标率和长期并发症发生率,以获取该混杂因素对应的效果分析结果;再根据效果分析结果,将对短期有效性指标达标率影响最大或影响较大的前几位的混杂因素确定为目标短期混杂因素,将对长期并发症发生率影响最大或影响较大的前几位的混杂因素确定为目标短期混杂因素。For example, the retrospective data includes N confounding factors such as F1, F2, F3...Fn. When the difference analysis is performed on the retrospective data in the first data set and the second data set, when analyzing any confounding factor, Calculate the corresponding short-term effectiveness index compliance rate and long-term complication rate respectively to obtain the effect analysis results corresponding to the confounding factors; then according to the effect analysis results, the short-term effectiveness indicator compliance rate will have the greatest or greater impact The top confounding factors are determined as the target short-term confounding factors, and the top confounding factors that have the greatest or greater impact on the incidence of long-term complications are determined as the target short-term confounding factors.
S305:基于目标短期混杂因素和目标短期混杂因素,对第一数据集和第二数据集中的回顾性数据进行倾向性分析,获取并存储原始用药推荐模型的目标分析结果。S305: Based on the target short-term confounding factor and the target short-term confounding factor, perform a tendency analysis on the retrospective data in the first data set and the second data set, and obtain and store the target analysis result of the original medication recommendation model.
本示例中,基于分析确定的目标短期混杂因素和目标长期混杂因素,对第一数据集和第二数据集中的回顾性数据进行倾向性分析,用于削弱混杂因素对短期有效性指标达标率和长期并发症发生率的影响,使得获取到的目标分析结果具有合理性。本示例中,CDSS系统在获取原始用药推荐模型的目标分析结果之后,需要将目标分析结果存储在系统数据库中,以便CDSS系统在获取用药推荐请求之后,可以调用原始用药推荐模型的目标分析结果,快速确定目标分析结果较好的至少两个目标用药推荐模型,从而保证可以选取经过临床验证且学习相似患者的用药方案的目标用药推荐模型的有效性。In this example, based on the target short-term confounding factors and target long-term confounding factors determined by analysis, a tendency analysis is performed on the retrospective data in the first data set and the second data set to weaken the confounding factors’ impact on the short-term effectiveness index compliance rate and The impact of the long-term complication rate makes the target analysis results obtained reasonable. In this example, after the CDSS system obtains the target analysis result of the original medication recommendation model, it needs to store the target analysis result in the system database so that the CDSS system can call the target analysis result of the original medication recommendation model after obtaining the medication recommendation request. Quickly determine at least two target medication recommendation models with good target analysis results, so as to ensure that the effectiveness of the target medication recommendation model that has been clinically verified and learned from similar patient medication regimens can be selected.
在一实施例中,如图4所示,步骤S302中的对历史推荐用药数据与实际用药数据进行匹配处理,获取匹配结果,具体包括如下步骤:In one embodiment, as shown in FIG. 4, matching the historical recommended medication data with the actual medication data in step S302 to obtain the matching result specifically includes the following steps:
S401:基于历史推荐用药数据获取至少一个推荐用药类别,并基于实际用药数据获取至少一个实际用药类别。S401: Acquire at least one recommended medication category based on historical recommended medication data, and acquire at least one actual medication category based on actual medication data.
S402:若所有推荐用药类别与所有实际用药类别均匹配,则匹配结果为符合模型推荐。S402: If all recommended medication categories match all actual medication categories, the matching result is in compliance with the model recommendation.
S403:若存在至少一个推荐用药类别与实际用药类别不匹配,则匹配结果为不符合模型推荐。S403: If there is at least one recommended medication category that does not match the actual medication category, the matching result is that it does not meet the model recommendation.
本示例中,可以根据历史推荐用药数据确定推荐用药类别,并根据实际用药数据确定实际用药类别,并比较所有推荐用药类别和所有实际用药类别是否相匹配;若所有推荐用药类别与所有实际用药类别均相匹配,即推荐用药类别的组合与实际用药类别的组合相匹配,则匹配结果为符合模型推荐;若存在至少一个推荐用药类别与实际用药类别均相匹配,即推荐用药类别的组合与实际用药类别的组合不匹配,则匹配结果为不符合模型推荐。In this example, you can determine the recommended medication category based on the historical recommended medication data, and determine the actual medication category based on the actual medication data, and compare whether all recommended medication categories match all actual medication categories; if all recommended medication categories match all actual medication categories Uniform matching, that is, the combination of recommended medication categories matches the combination of actual medication categories, the matching result is in line with the model recommendation; if there is at least one recommended medication category that matches the actual medication category, that is, the combination of recommended medication categories matches the actual medication category. If the combination of medication categories does not match, the matching result is not in compliance with the model recommendation.
例如,糖尿病用药可以分为双胍类、磺脲类等用药类别,若患者实际用药中包含二甲双胍,则认为使用双胍类药物。可以理解地,实际用药数据可以定义为多种用药类别的组 合,比如双胍类+磺脲类,即可以使用单种用药类别的药物或者同时使用多种用药类别的药物。历史推荐用药数据和医生实际用药数据相匹配是说在用药类别的组合上完全一致,如果用药类别数量上或者用药类别名称上有所区别,则认为不匹配。可以理解地,由于同一用药类别下,不同药物具有不同的药效,其药物的用量不一致,因此,无需考虑药物的用量是否匹配,因此,可以基于用药类别是否匹配,来确定历史推荐用药数据和实际用药数据是否匹配,有助简化匹配处理过程的计算量,提高处理效率。For example, diabetes medications can be divided into medication categories such as biguanides, sulfonylureas, etc. If the actual medication used by the patient contains metformin, it is considered to use biguanide medications. Understandably, the actual medication data can be defined as a combination of multiple medication categories, such as biguanides + sulfonylureas, that is, drugs of a single medication category can be used or drugs of multiple medication categories can be used at the same time. The match between the historical recommended medication data and the doctor's actual medication data means that they are completely consistent in the combination of medication categories. If there is a difference in the number of medication categories or the name of the medication category, it is considered a mismatch. Understandably, because different drugs have different effects under the same medication category, and their dosages are inconsistent, there is no need to consider whether the dosages of the medications match. Therefore, the historical recommended medication data can be determined based on whether the medication categories match. Whether the actual medication data matches or not can help simplify the calculation amount of the matching process and improve the processing efficiency.
在一实施例中,回顾性数据还包括短期效果数据和长期效果数据。如图5所示,步骤S303中的对第一数据集和第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,获取效果分析结果,具体包括如下步骤:In one embodiment, the retrospective data further includes short-term effect data and long-term effect data. As shown in Figure 5, the retrospective data in the first data set and the second data set in step S303 are respectively counted on the short-term effectiveness index compliance rate and the long-term complication rate, and the significance check is performed to obtain the effect analysis As a result, it specifically includes the following steps:
S501:基于第一数据集中的回顾性数据,获取第一短期有效性指标达标率和第一长期并发症发生率。S501: Based on the retrospective data in the first data set, obtain the first short-term effectiveness index compliance rate and the first long-term complication rate.
S502:基于第二数据集中的回顾性数据,获取第二短期有效性指标达标率和第二长期并发症发生率。S502: Obtain the second short-term effectiveness index compliance rate and the second long-term complication rate based on the retrospective data in the second data set.
S503:对第一短期有效性指标达标率、第一长期并发症发生率、第二短期有效性指标达标率和第二长期并发症发生率进行显著性校验,获取效果分析结果。S503: Perform a significant check on the first short-term effectiveness index compliance rate, the first long-term complication rate, the second short-term effectiveness indicator compliance rate, and the second long-term complication rate to obtain the effect analysis results.
其中,短期有效性指标达标率是指短期有效性指标达标的样本数量与所有样本总数的比值。长期并发症发生率是指长期并发症发生的样本数量与所有样本总数的比例。Among them, the short-term effectiveness index compliance rate refers to the ratio of the number of samples that meet the short-term effectiveness indicators to the total number of all samples. The incidence of long-term complications refers to the ratio of the number of samples with long-term complications to the total number of all samples.
作为一示例,设CDSS系统获取的与病症类型相对应的回顾性数据的数量为A,CDSS系统可根据对历史推荐用药数据和实际用药数据的匹配结果划分第一数据集和第二数据集,设第一数据集中的回顾性数据的数量为A1,第二数据集中的回顾性数据的数量为A2。As an example, suppose the number of retrospective data corresponding to the disease type acquired by the CDSS system is A, the CDSS system can divide the first data set and the second data set according to the matching result of the historical recommended medication data and the actual medication data, Suppose the number of retrospective data in the first data set is A1, and the number of retrospective data in the second data set is A2.
相应地,CDSS系统会依据回顾性数据中的短期效果数据,判断是否达到与短期有效性指标对应的标准范围,若短期效果数据达到与短期有效性指标对应的标准范围,则认定短期有效性指标达标,更新短期有效性指标达标的样本数量,即使短期有效性指标达标的样本数量加1,直至所有回顾性数据均分析完成,获取短期有效性指标达标的样本数量为B,其中,第一数据集中短期有效性指标达标的样本数量为B1,第二数据集中短期有效性指标达标的样本数量为B2。Correspondingly, the CDSS system will judge whether it has reached the standard range corresponding to the short-term effectiveness index based on the short-term effect data in the retrospective data. If the short-term effect data reaches the standard range corresponding to the short-term effectiveness index, the short-term effectiveness index will be determined Up to the standard, update the number of samples that meet the short-term effectiveness index, even if the number of samples that meet the short-term effectiveness index is increased by 1, until all retrospective data are analyzed, the number of samples that obtain the short-term effectiveness index up to the standard is B, of which, the first data The number of samples in the centralized short-term effectiveness index that meets the standard is B1, and the number of samples in the second data set that meets the short-term effectiveness index is B2.
相应地,CDSS系统会依据回顾性数据中的长期效果数据,判断是否达到认定为长期并发症标准,若长期效果数据达到认定为长期并发症标准,则认定长期并发症发生,更新长期并发症发生的样本数量,即使长期并发症发生的样本数量加1,直至所有回顾性数据均分析完成,获取长期并发症发生的样本数量为C,其中,第一数据集中长期并发症发生的样本数量为C1,第二数据集中长期并发症发生的样本数量为C2。Correspondingly, the CDSS system will determine whether the long-term complication standard is met based on the long-term effect data in the retrospective data. If the long-term effect data meets the standard for long-term complication, then it will determine the occurrence of long-term complications and update the occurrence of long-term complications. Even if the number of samples with long-term complications is increased by 1, until all retrospective data is analyzed, the number of samples with long-term complications is C, and the number of samples with long-term complications in the first data set is C1 , The number of samples with long-term complications in the second data set is C2.
本示例中,对第一数据集和第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,具体包括:(1)CDSS系统基于第一数据集中的回顾性数据,获取第一短期有效性指标达标率和第一长期并发症发生率,设第一短期有效性指标达标率为Q1,则Q1=B1/A1;设第一长期并发症发生率为P1,则P1=C1/A1。(2)CDSS系统基于第二数据集中的回顾性数据,获取第二短期有效性指标达标率和第二长期并发症发生率,设第二短期有效性指标达标率为Q2,则Q2=B2/A2;设第二长期并发症发生率为P2,则P2=C2/A2。(3)CDSS系统采用卡方检验方法对第一短期有效性指标达标率Q1、第一长期并发症发生率P1、第二短期有效性指标达标率Q2和第二长期并发症发生率P2进行显著性校验,获取效果分析结果。In this example, for the retrospective data in the first data set and the second data set, the short-term effectiveness index compliance rate and the long-term complication rate are respectively counted, and the significance check is performed, including: (1) The CDSS system is based on The retrospective data in the first data set is used to obtain the first short-term effectiveness index compliance rate and the first long-term complication rate. Set the first short-term effectiveness indicator compliance rate to Q1, then Q1=B1/A1; set the first long-term The complication rate is P1, then P1=C1/A1. (2) The CDSS system obtains the second short-term effectiveness index compliance rate and the second long-term complication rate based on the retrospective data in the second data set. Assuming the second short-term effectiveness indicator compliance rate is Q2, then Q2=B2/ A2; assuming the second long-term complication rate is P2, then P2=C2/A2. (3) The CDSS system uses the chi-square test method to make significant results for the first short-term effectiveness index compliance rate Q1, the first long-term complication rate P1, the second short-term effectiveness indicator compliance rate Q2, and the second long-term complication rate P2 Check the performance and obtain the results of the effect analysis.
如下表一所示,对于所有短期有效性指标达标的回顾性数据,若符合模型推荐则标记为“是”;若不符合模型推荐则标记为“否”,统计在第一数据集和第二数据集中的样本数量B1和B2,再基于B1和B2分别计算第一短期有效性指标达标率Q1和第二短期有效性指标达标率Q2,然后根据Q1和Q2的差值,并通过显著性校验计算出P-value1。相应地, 对于长期并发症发生的回顾性数据,若符合模型推荐则标记为“是”;若不符合模型推荐则标记为“否”,统计在第一数据集和第二数据集中的样本数量C1和C2,再基于C1和C2分别计算第一长期并发症发生率P1和第二长期并发症发生率P2,然后根据P1和P2的差值,通过显著性校验计算出P-value2。本示例中,将是否符合模型推荐作为暴露变量,是否短期有效性指标是否达标和长期并发症是否发生作为结局变量,通过卡方校验方法计算暴露变量和结局变量之间的P-value,若P-value<0.05,则表示暴露变量和结局变量之间有显著性,获取效果分析结果,以达到分析是否模型推荐与短期有效性指标达标率和长期并发症发生率之间的关系的目的。As shown in Table 1 below, for all the retrospective data that meet the short-term effectiveness indicators, if they meet the model recommendation, they will be marked as “Yes”; if they do not meet the model recommendations, they will be marked as “No”. The statistics are in the first data set and the second data set. The number of samples B1 and B2 in the data set are calculated based on B1 and B2, respectively, to calculate the first short-term effectiveness index compliance rate Q1 and the second short-term effectiveness indicator compliance rate Q2, and then according to the difference between Q1 and Q2, and pass the significance calibration Empirically calculate P-value1. Correspondingly, for retrospective data on the occurrence of long-term complications, if it meets the model recommendation, it is marked as "Yes"; if it does not meet the model recommendation, it is marked as "No", and the number of samples in the first data set and the second data set is counted C1 and C2, and then calculate the first long-term complication rate P1 and the second long-term complication rate P2 based on C1 and C2, and then calculate the P-value2 through the significance check based on the difference between P1 and P2. In this example, whether compliance with the model recommendation is used as the exposure variable, whether the short-term effectiveness index meets the standard and whether long-term complications occur as the outcome variable, the P-value between the exposure variable and the outcome variable is calculated by the chi-square check method, if P-value<0.05 indicates that there is significant between the exposure variable and the outcome variable, and the effect analysis results are obtained to achieve the purpose of analyzing whether the model recommendation is related to the short-term effectiveness index compliance rate and the long-term complication rate.
Figure PCTCN2020099255-appb-000001
Figure PCTCN2020099255-appb-000001
在一实施例中,如图6所示,步骤S304,即对第一数据集和第二数据集中的回顾性数据进行差异分析,获取目标短期混杂因素和目标长期混杂因素,具体包括如下步骤:In one embodiment, as shown in FIG. 6, step S304, which is to perform difference analysis on the retrospective data in the first data set and the second data set, to obtain the target short-term confounding factor and the target long-term confounding factor, specifically includes the following steps:
S601:确定待分析混杂因素。S601: Determine the confounding factors to be analyzed.
其中,待分析混杂因素是指本次需要分析处理的混杂因素。例如,若回顾性数据中包括F1、F2、F3……Fn等N个混杂因素,则每次可以随机选取一个混杂因素作为待分析混杂因素,例如,对于糖尿病的糖化达标率而言,可以将初始糖化血红蛋白确定为其待分析混杂因素。Among them, the confounding factors to be analyzed refer to the confounding factors that need to be analyzed and processed this time. For example, if the retrospective data includes N confounding factors such as F1, F2, F3...Fn, one confounding factor can be randomly selected as the confounding factor to be analyzed each time. The initial glycosylated hemoglobin is determined to be a confounding factor to be analyzed.
S602:基于待分析混杂因素,从第一数据集和第二数据集中的回顾性数据中,筛选出与待分析混杂因素相对应的第一分析子集和第二分析子集。S602: Based on the confounding factors to be analyzed, the first analysis subset and the second analysis subset corresponding to the confounding factors to be analyzed are selected from the retrospective data in the first data set and the second data set.
本示例中,CDSS系统可以将待分析混杂因素按照预先设置的分类标准,将第一数据集划分成与分类标准相对应的多个第一分析子集,并将第二数据集划分在与分类标准相对应的多个第二分析子集,再根据回顾性数据中与待混杂因素相对应的具体数值满足对应的分类标准,将回顾性数据划分到相应的第一分析子集和第二分析子集中。In this example, the CDSS system can divide the confounding factors to be analyzed into multiple first analysis subsets corresponding to the classification criteria according to the preset classification criteria, and divide the second data set into the classification criteria. The multiple second analysis subsets corresponding to the standard, and then according to the specific values of the retrospective data corresponding to the confounding factors that meet the corresponding classification criteria, the retrospective data is divided into the corresponding first analysis subset and the second analysis Subset.
S603:对第一分析子集和第二分析子集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,将获取的效果分析结果确定为待分析混杂因素对应的混杂分析结果。S603: Based on the retrospective data in the first analysis subset and the second analysis subset, respectively calculate the short-term effectiveness index compliance rate and the long-term complication rate, and perform a significance check, and determine the obtained effect analysis result as pending Analyze the results of the confounding analysis corresponding to the confounding factors.
可以理解地,步骤S603与S303的实际过程基本一致,详细实现方案可以参考步骤S501-S503,其区别在于数据集不同,为避免重复,此处不一一赘述。It is understandable that the actual processes of step S603 and S303 are basically the same. For detailed implementation schemes, please refer to steps S501-S503. The difference is that the data sets are different. To avoid repetition, we will not repeat them here.
S604:根据待分析混杂因素对应的混杂分析结果,获取目标短期混杂因素和目标长期混杂因素。S604: Obtain the target short-term confounding factor and the target long-term confounding factor according to the confounding analysis result corresponding to the confounding factor to be analyzed.
本示例中,在对第一分析子集和第二分析子集中的回顾性数据进行短期有效性指标达标率和长期并发症发生率统计和显著性校验后,将其对应的效果分析结果确定为待分析混杂因素对应的混杂分析结果,再根据混杂分析结果,将对短期有效性指标达标率影响最大或影响较大的前几位的混杂因素确定为目标短期混杂因素,将对长期并发症发生率影响最大或影响较大的前几位的混杂因素确定为目标短期混杂因素。例如,对糖化达标率而言, 初始糖化血红蛋白是为最大的混杂因素,因此,将其确定为目标短期混杂因素;对并发症发生率而言,其初始并发风险为最大的混杂因素,因此,将其确定为目标长期混杂因素。In this example, after the short-term effectiveness index compliance rate and long-term complication rate statistics and significance check are performed on the retrospective data in the first analysis subset and the second analysis subset, the corresponding effect analysis results are determined For the confounding analysis results corresponding to the confounding factors to be analyzed, based on the results of the confounding analysis, the top confounding factors that have the greatest or greater impact on the short-term effectiveness index compliance rate are identified as the target short-term confounding factors, which will affect long-term complications. The top confounding factors that have the greatest or greater impact on the incidence rate are determined as the target short-term confounding factors. For example, for the glycation compliance rate, the initial glycosylated hemoglobin is the biggest confounding factor, therefore, it is determined as the target short-term confounding factor; for the complication rate, the initial concomitant risk is the biggest confounding factor, therefore, Identify it as a target long-term confounding factor.
在一实施例中,如图7所示,步骤S305,即基于目标短期混杂因素和目标短期混杂因素,对第一数据集和第二数据集中的回顾性数据进行倾向性分析,获取并存储原始用药推荐模型的目标分析结果,具体包括如下步骤:In one embodiment, as shown in FIG. 7, step S305, based on the target short-term confounding factor and the target short-term confounding factor, perform a tendency analysis on the retrospective data in the first data set and the second data set, and obtain and store the original The target analysis result of the medication recommendation model includes the following steps:
S701:基于目标短期混杂因素和目标短期混杂因素,对第一数据集和第二数据集进行分层,获取分层数据集。S701: Based on the target short-term confounding factor and the target short-term confounding factor, stratify the first data set and the second data set to obtain a stratified data set.
S702:对分层数据集中的回顾性数据进行倾向性分析,获取每个分层数据集对应的倾向性结果。S702: Perform a tendency analysis on the retrospective data in the hierarchical data set, and obtain a tendency result corresponding to each hierarchical data set.
S703:基于分层数据集对应的倾向性结果,获取并存储原始用药推荐模型对应的目标分析结果。S703: Based on the tendency result corresponding to the hierarchical data set, obtain and store the target analysis result corresponding to the original medication recommendation model.
其中,分层数据集是依据目标短期混杂因素和目标长期混杂因素,对第一数据集和第二数据集进行划分所形成的分层数据集。作为一示例,在初始糖化血红蛋白为目标短期混杂因素时,可以将初始糖化血红蛋白划分为初始达标、初始超标和严重超标三个分层数据集,对每一分层数据集中符合模型推荐和不符合模型推荐两种情况的短期有效性指标达标率进行对比,即作为处理组(treat组)和对照组(即control组)进行对比,对其他混杂因素采用倾向性评分匹配方式进行控制,获取每一分层数据集中的倾向性结果。作为另一示例,在初始并发风险为目标长期混杂因素时,可以将初始并发风险划分为低风险、中风险和高风险三个分层数据集,对每一分层数据集中符合模型推荐和不符合模型推荐两种情况的长期并发症发生率对比,即作为处理组(treat组)和对照组(即control组)进行对比,对其他混杂因素采用倾向性评分匹配方式进行控制,获取每一分层数据集中的倾向性结果。Among them, the hierarchical data set is a hierarchical data set formed by dividing the first data set and the second data set according to the target short-term confounding factors and the target long-term confounding factors. As an example, when the initial glycosylated hemoglobin is the target short-term confounding factor, the initial glycosylated hemoglobin can be divided into three hierarchical data sets: initial compliance, initial excess, and severe excess, and each hierarchical data set meets the model recommendation and non-compliant The model recommends that the short-term effectiveness index compliance rate of the two situations is compared, that is, the treatment group (treat group) and the control group (ie control group) are compared, and other confounding factors are controlled by the propensity score matching method, and each Propensity results in hierarchical data sets. As another example, when the initial concurrency risk is the target long-term confounding factor, the initial concurrency risk can be divided into three hierarchical data sets, low-risk, medium-risk, and high-risk. Comparing the long-term complication rate of the two cases recommended by the model, that is, as the treatment group (treat group) and the control group (ie control group) for comparison, other confounding factors are controlled by propensity score matching method, and each score is obtained Tendency results in layered data sets.
本示例中,CDSS系统在获取每一分层数据集中的倾向性结果之后,根据该倾向性结果与预先设置的用于判断结果是否合格的合格评估阈值进行比较,从而确定相应的分层数据集是否合格;然后,统计分层数据集对应的合格数量与总数量的比例,获取目标分析结果,以实现基于回顾性数据中的客观存在的短期效果数据和长期效果数据对原始用药推荐模型的疗效有效性进行客观分析,保证目标分析结果的客观性。In this example, after the CDSS system obtains the tendency result in each hierarchical data set, it compares the tendency result with the pre-set eligibility evaluation threshold for judging whether the result is qualified, thereby determining the corresponding hierarchical data set Whether it is qualified; then, the ratio of the qualified quantity corresponding to the stratified data set to the total quantity is counted, and the target analysis result is obtained to realize the curative effect of the original drug recommendation model based on the objectively existing short-term effect data and long-term effect data in the retrospective data Effectiveness conducts objective analysis to ensure the objectivity of target analysis results.
在一实施例中,如图8所示,步骤S205,即基于用户画像数据确定推荐倾向类型,具体包括如下步骤:In one embodiment, as shown in FIG. 8, step S205, that is, determining the recommendation tendency type based on user portrait data, specifically includes the following steps:
S801:判断用户画像数据是否包含已有倾向类型。S801: Judge whether the user portrait data contains existing tendency types.
S802:若用户画像数据包含已有倾向类型,则将已有倾向类型确定为推荐倾向类型。S802: If the user portrait data includes an existing tendency type, determine the existing tendency type as the recommended tendency type.
S803:若用户画像数据没有包含已有倾向类型,则基于用户画像数据确定相似人群,将相似人群对应的共同倾向类型确定为推荐倾向类型;或者,基于用户画像数据获取关联网页数据,对关联网页数据的特征标签进行统计,获取推荐倾向类型。S803: If the user portrait data does not include the existing tendency type, determine similar groups based on the user portrait data, and determine the common tendency type corresponding to the similar groups as the recommended tendency type; or, obtain related webpage data based on the user portrait data, and compare the related webpages The feature tags of the data are counted, and the recommended tendency type is obtained.
其中,已有倾向类型是指用户画像数据中明确指示的倾向类型。例如,在CDSS系统的录入界面配置有已有倾向类型供用户选择,以使用户可以通过录入界面配置相应的倾向类型。Among them, the existing tendency type refers to the tendency type explicitly indicated in the user portrait data. For example, the input interface of the CDSS system is configured with existing trend types for users to choose, so that the user can configure the corresponding trend types through the input interface.
作为一示例,CDSS系统采用字符匹配算法或者其他算法对用户画像数据进行分析,判断用户画像数据中是否包括已有倾向类型,若用户画像数据中包含已有倾向类型,则直接将已有倾向类型确定为推荐倾向类型,基于该推荐倾向类型确定原始推荐用药中各个待分析特征对应的特征权重,使得基于最终确定的推荐评估值确定的目标推荐用药更用户画像数据更匹配,有助于提高目标推荐用药的针对性和有效性。As an example, the CDSS system uses character matching algorithms or other algorithms to analyze user portrait data to determine whether the user portrait data includes an existing tendency type. If the user portrait data contains an existing tendency type, the existing tendency type is directly added Determined as the recommended tendency type, based on the recommended tendency type to determine the feature weight corresponding to each feature to be analyzed in the original recommended medication, so that the target recommended medication determined based on the final recommended evaluation value is more matched with the user profile data, which helps to improve the target The pertinence and effectiveness of the recommended medication.
作为一示例,CDSS系统采用字符匹配算法或者其他算法对用户画像数据进行分析,判断用户画像数据中是否包括已有倾向类型,若用户画像数据中没有包含已有倾向类型,则基于用户画像数据确定相似人群,将相似人群对应的共同倾向类型确定为推荐倾向类型。 其中,相似人群是与患者的用户画像数据最接近或最相似的人群,该相似人群具体是指患有病症类型相对应的疾病对应的与用户画像数据最接近或最相似的人群。该相似人群包括多个与患者的用户画像数据最接近或最相似的相似用户,每一相似用户对应一用药倾向类型,该用药倾向类型是指相似用户已有确定的倾向类型。相似人群对应的共同倾向类型是指对所有相似人群中所有相似用户的用药倾向类型进行统计,所确定的比例最大的用药倾向类型。As an example, the CDSS system uses character matching algorithms or other algorithms to analyze user portrait data to determine whether the user portrait data includes existing tendency types. If the user portrait data does not contain existing tendency types, it is determined based on the user portrait data For similar groups, the common tendency type corresponding to the similar group is determined as the recommended tendency type. Among them, the similar group is the group closest to or most similar to the user profile data of the patient, and the similar group specifically refers to the group that is the closest or most similar to the user profile data corresponding to the disease corresponding to the disease type. The similar group includes a plurality of similar users who are closest or most similar to the patient's user profile data, and each similar user corresponds to a medication tendency type, and the medication tendency type refers to a certain tendency type of similar users. The common propensity type corresponding to similar groups of people refers to the medication propensity type with the largest proportion determined by the statistics of the medication propensity types of all similar users in all similar groups.
例如,用户画像数据包括但不限于性别、年龄、地址、住址、职业、消费习惯和运动数据等。CDSS系统基于用户画像数据确定相似人群,将相似人群对应的共同倾向类型确定为推荐倾向类型的过程包括:(1)采用距离算法对患者的用户画像数据和系统数据库中存储的任一已有用户的用户画像数据进行距离计算,获取两个用户画像数据对应的相似距离。(2)将相似距离达到预设距离阈值的已有用户确定为相似用户,基于所有相似用户形成相似人群。(3)再对相似人群中所有相似用户的用药倾向类型进行统计分析,确定比例最大的用药倾向类型为共同倾向类型,将该共同倾向类型确定为患者的推荐倾向类型。该距离算法包括但不限于欧式距离算法。可以理解地,由于相似人群的用户画像数据与患者对应的用户画像数据最接近或最相似,使得其倾向类型也较相似,因此,可以将相似人群的共同倾向类型确定为患者的推荐倾向类型。For example, user portrait data includes but is not limited to gender, age, address, address, occupation, consumption habits, and sports data. The CDSS system determines similar groups based on the user profile data, and the process of determining the common tendency type corresponding to the similar group as the recommended tendency type includes: (1) Using the distance algorithm to measure the patient's user profile data and any existing user stored in the system database The distance calculation is performed on the user portrait data of, and the similar distance corresponding to the two user portrait data is obtained. (2) Determine existing users whose similar distances reach a preset distance threshold as similar users, and form similar groups of people based on all similar users. (3) Perform statistical analysis on the medication propensity types of all similar users in the similar population, determine the medication propensity type with the largest proportion as the common propensity type, and determine the common propensity type as the patient's recommended propensity type. The distance algorithm includes but is not limited to the Euclidean distance algorithm. Understandably, since the user portrait data of similar people are the closest or most similar to the user portrait data corresponding to the patient, the tendency types are also relatively similar. Therefore, the common tendency type of the similar groups can be determined as the recommended tendency type of the patient.
作为一示例,CDSS系统采用字符匹配算法或者其他算法对用户画像数据进行分析,判断用户画像数据中是否包括已有倾向类型,若用户画像数据中没有包含已有倾向类型,则基于用户画像数据获取关联网页数据,对关联网页数据的特征标签进行统计,获取推荐倾向类型。其中,关联网页数据是指与病症类型对应的疾病治疗相关的关联网页中的内容数据。关联网页数据的特征标签是指预先给每一关联网页中的内容数据配置的与待分析特征相关的标签,例如,成本低、疗效时间短和副作用少等标签。As an example, the CDSS system uses character matching algorithms or other algorithms to analyze user portrait data to determine whether the user portrait data includes an existing tendency type. If the user portrait data does not include an existing tendency type, it will be obtained based on the user portrait data Associate webpage data, perform statistics on the feature tags of the associated webpage data, and obtain the type of recommendation tendency. Among them, the associated webpage data refers to the content data in the associated webpage related to disease treatment corresponding to the disease type. The feature tags of the associated webpage data refer to tags that are pre-configured for the content data in each associated webpage and related to the features to be analyzed, for example, tags such as low cost, short curative effect time, and few side effects.
例如,基于用户画像数据获取关联网页数据,对关联网页数据的特征标签进行统计,获取推荐倾向类型的过程包括:(1)基于用户画像数据中的身份证号和/或手机号,获取身份证号和/或手机号对应的患者访问过的所有历史网页数据。(2)将所有历史网页数据中与用户画像数据中的病症类型相关的历史网页数据确定为关联网页数据。(3)对所有关联网页数据中的特征标签的数量进行统计,根据数量的多少确定推荐倾向类型。可以理解地,每一关联网页数据中的特征标签可以采用Jieba分词工具和TF-IDF算法获取,即可以先采用Jieba分词工具对关联网页数据中的文字信息进行扫描、切分和词性标注,获取分词结果;再采用TF-IDF算法对分词结果进行关键词提取,获取关联网页数据对应的特征标签。For example, based on the user profile data to obtain the associated web page data, the feature tags of the associated web data are counted, and the process of obtaining the recommendation tendency type includes: (1) Obtain the ID card based on the ID number and/or mobile phone number in the user profile data All historical webpage data visited by the patient corresponding to the phone number and/or mobile phone number. (2) Determine the historical webpage data related to the disease type in the user portrait data among all the historical webpage data as the associated webpage data. (3) Count the number of feature tags in all associated webpage data, and determine the recommendation tendency type according to the number. Understandably, the feature tags in each associated webpage data can be obtained using the Jieba word segmentation tool and the TF-IDF algorithm, that is, the Jieba word segmentation tool can be used to scan, segment, and part-of-speech tagging the text information in the associated webpage data to obtain Word segmentation results; then use the TF-IDF algorithm to extract keywords from the word segmentation results to obtain the feature tags corresponding to the associated webpage data.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
在一实施例中,提供一种基于人工智能的用药推荐装置,该基于人工智能的用药推荐装置与上述实施例中基于人工智能的用药推荐方法一一对应。如图9所示,该基于人工智能的用药推荐装置包括推荐请求获取模块901、推荐模型确定模块902、原始推荐用药获取模块903、特征分析值获取模块904、特征权重获取模块905和目标推荐用药获取模块906。各功能模块详细说明如下:In an embodiment, an artificial intelligence-based medication recommendation device is provided, and the artificial intelligence-based medication recommendation device corresponds to the artificial intelligence-based medication recommendation method in the foregoing embodiment in a one-to-one correspondence. As shown in FIG. 9, the artificial intelligence-based medication recommendation device includes a recommendation request acquisition module 901, a recommendation model determination module 902, an original recommended medication acquisition module 903, a feature analysis value acquisition module 904, a feature weight acquisition module 905, and a target recommended medication Obtaining module 906. The detailed description of each functional module is as follows:
推荐请求获取模块901,用于获取用药推荐请求,用药推荐请求包括病症类型、当前病症数据和用户画像数据。The recommendation request acquisition module 901 is configured to acquire a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data.
推荐模型确定模块902,用于根据病症类型对应的原始用药推荐模型的目标分析结果,获取目标分析结果较好的至少两个目标用药推荐模型。The recommendation model determination module 902 is configured to obtain at least two target medication recommendation models with good target analysis results according to the target analysis result of the original medication recommendation model corresponding to the disease type.
原始推荐用药获取模块903,用于采用至少两个目标用药推荐模型对当前病症数据进行分析处理,获取至少两个原始推荐用药。The original recommended medication acquisition module 903 is configured to analyze and process current disease data using at least two target medication recommendation models to obtain at least two original recommended medications.
特征分析值获取模块904,用于对原始推荐用药进行特征分析,获取至少两个待分析 特征对应的特征分析值。The characteristic analysis value acquisition module 904 is configured to perform characteristic analysis on the original recommended medication, and acquire characteristic analysis values corresponding to at least two features to be analyzed.
特征权重获取模块905,用于基于用户画像数据确定推荐倾向类型,根据推荐倾向类型,获取至少两个待分析特征对应的特征权重。The feature weight obtaining module 905 is configured to determine the recommendation tendency type based on the user portrait data, and obtain the feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type.
目标推荐用药获取模块906,用于基于至少两个待分析特征对应的特征分析值和特征权重,获取至少两个原始推荐用药的推荐评估值,将推荐评估值最大的原始推荐用药确定为目标推荐用药。The target recommended medication acquisition module 906 is configured to obtain recommended evaluation values of at least two original recommended medications based on the feature analysis values and feature weights corresponding to the at least two features to be analyzed, and determine the original recommended medication with the largest recommended evaluation value as the target recommendation Medication.
优选地,基于人工智能的用药推荐装置还包括回顾性数据获取模块、数据划分模块、效果分析结果获取模块、混杂因素确定模块和目标分析结果获取模块。Preferably, the artificial intelligence-based medication recommendation device further includes a retrospective data acquisition module, a data division module, an effect analysis result acquisition module, a confounding factor determination module, and a target analysis result acquisition module.
回顾性数据获取模块,用于获取与病症类型相对应的回顾性数据,回顾性数据包括历史病症数据和实际用药数据。The retrospective data acquisition module is used to acquire retrospective data corresponding to the disease type. The retrospective data includes historical disease data and actual medication data.
数据划分模块,用于采用与病症类型相对应的原始用药推荐模型对历史病症数据进行分析处理,获取历史推荐用药数据,对历史推荐用药数据与实际用药数据进行匹配处理,获取匹配结果,基于匹配结果将回顾性数据划分为符合模型推荐的第一数据集和不符合模型推荐的第二数据集。The data division module is used to analyze and process historical disease data using the original medication recommendation model corresponding to the disease type, obtain historical recommended medication data, match historical recommended medication data with actual medication data, and obtain matching results, based on matching The result divides the retrospective data into the first data set that meets the model recommendation and the second data set that does not meet the model recommendation.
效果分析结果获取模块,用于对第一数据集和第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,获取效果分析结果。The effect analysis result acquisition module is used to calculate the short-term effectiveness index compliance rate and the long-term complication rate of the retrospective data in the first data set and the second data set, and perform a significance check to obtain the effect analysis results.
混杂因素确定模块,用于若效果分析结果满足预设分析条件,则对第一数据集和第二数据集中的回顾性数据进行差异分析,获取目标短期混杂因素和目标长期混杂因素。The confounding factor determination module is used to perform difference analysis on the retrospective data in the first data set and the second data set if the result of the effect analysis meets the preset analysis conditions to obtain the target short-term confounding factors and the target long-term confounding factors.
目标分析结果获取模块,用于基于目标短期混杂因素和目标短期混杂因素,对第一数据集和第二数据集中的回顾性数据进行倾向性分析,获取并存储原始用药推荐模型的目标分析结果。The target analysis result acquisition module is used to perform tendency analysis on the retrospective data in the first data set and the second data set based on the target short-term confounding factors and the target short-term confounding factors, and obtain and store the target analysis results of the original medication recommendation model.
优选地,数据划分模块,包括用药类别获取单元、第一匹配结果获取单元和第二匹配结果获取单元。Preferably, the data division module includes a medication category acquisition unit, a first matching result acquisition unit, and a second matching result acquisition unit.
用药类别获取单元,用于基于历史推荐用药数据获取至少一个推荐用药类别,并基于实际用药数据获取至少一个实际用药类别。The medication category obtaining unit is configured to obtain at least one recommended medication category based on historical recommended medication data, and obtain at least one actual medication category based on actual medication data.
第一匹配结果获取单元,用于若所有推荐用药类别与所有实际用药类别均匹配,则匹配结果为符合模型推荐。The first matching result obtaining unit is used for if all recommended medication categories match all actual medication categories, then the matching result is in compliance with the model recommendation.
第二匹配结果获取单元,用于若存在至少一个推荐用药类别与实际用药类别不匹配,则匹配结果为不符合模型推荐。The second matching result obtaining unit is configured to, if at least one recommended medication category does not match the actual medication category, the matching result is not in compliance with the model recommendation.
优选地,回顾性数据还包括短期效果数据和长期效果数据。Preferably, the retrospective data also includes short-term effect data and long-term effect data.
效果分析结果获取模块,包括第一指标获取单元、第二指标获取单元和显著性校验单元。The effect analysis result acquisition module includes a first index acquisition unit, a second index acquisition unit, and a significance verification unit.
第一指标获取单元,用于基于第一数据集中的回顾性数据,获取第一短期有效性指标达标率和第一长期并发症发生率。The first indicator obtaining unit is configured to obtain the first short-term effectiveness indicator compliance rate and the first long-term complication rate based on the retrospective data in the first data set.
第二指标获取单元,用于基于第二数据集中的回顾性数据,获取第二短期有效性指标达标率和第二长期并发症发生率。The second index acquisition unit is used to acquire the second short-term effectiveness index compliance rate and the second long-term complication rate based on the retrospective data in the second data set.
显著性校验单元,用于对第一短期有效性指标达标率、第一长期并发症发生率、第二短期有效性指标达标率和第二长期并发症发生率进行显著性校验,获取效果分析结果。Significance verification unit, used to perform significant verification on the first short-term effectiveness index compliance rate, the first long-term complication rate, the second short-term effectiveness indicator compliance rate, and the second long-term complication rate to obtain the effect Analyze the results.
优选地,混杂因素确定模块,包括待分析因素确定单元、分析子集划分单元、混杂分析结果获取单元和目标混杂因素获取单元。Preferably, the confounding factor determination module includes a factor to be analyzed determining unit, an analysis subset dividing unit, a confounding analysis result obtaining unit, and a target confounding factor obtaining unit.
待分析因素确定单元,用于确定待分析混杂因素。The factor to be analyzed determination unit is used to determine the confounding factor to be analyzed.
分析子集划分单元,用于基于待分析混杂因素,从第一数据集和第二数据集中的回顾性数据中,筛选出与待分析混杂因素相对应的第一分析子集和第二分析子集。The analysis subset dividing unit is used to filter out the first analysis subset and the second analysis sub-set corresponding to the confounding factors to be analyzed from the retrospective data in the first data set and the second data set based on the confounding factors to be analyzed set.
混杂分析结果获取单元,用于对第一分析子集和第二分析子集中的回顾性数据,分别 统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,将获取的效果分析结果确定为待分析混杂因素对应的混杂分析结果。The confounding analysis result acquisition unit is used to calculate the short-term effectiveness index compliance rate and the long-term complication rate of the retrospective data in the first analysis subset and the second analysis subset, and perform a significance check. The result of the effect analysis is determined as the result of the confounding analysis corresponding to the confounding factor to be analyzed.
目标混杂因素获取单元,用于根据待分析混杂因素对应的混杂分析结果,获取目标短期混杂因素和目标长期混杂因素。The target confounding factor obtaining unit is used to obtain the target short-term confounding factor and the target long-term confounding factor according to the confounding analysis result corresponding to the confounding factor to be analyzed.
优选地,目标分析结果获取模块,包括分层数据集获取单元、倾向性结果获取单元和目标分析结果获取单元。Preferably, the target analysis result acquisition module includes a hierarchical data set acquisition unit, a tendency result acquisition unit, and a target analysis result acquisition unit.
分层数据集获取单元,用于基于目标短期混杂因素和目标短期混杂因素,对第一数据集和第二数据集进行分层,获取分层数据集。The hierarchical data set acquisition unit is used to layer the first data set and the second data set based on the target short-term confounding factor and the target short-term confounding factor to obtain a hierarchical data set.
倾向性结果获取单元,用于对分层数据集中的回顾性数据进行倾向性分析,获取每个分层数据集对应的倾向性结果。The tendency result obtaining unit is used to perform tendency analysis on the retrospective data in the hierarchical data set, and obtain the tendency result corresponding to each hierarchical data set.
目标分析结果获取单元,用于基于分层数据集对应的倾向性结果,获取并存储原始用药推荐模型对应的目标分析结果。The target analysis result obtaining unit is used to obtain and store the target analysis result corresponding to the original medication recommendation model based on the tendency result corresponding to the hierarchical data set.
优选地,特征权重获取模块905,包括已有倾向判断单元、第一倾向类型确定单元和第二倾向类型确定单元。Preferably, the feature weight acquisition module 905 includes an existing tendency judgment unit, a first tendency type determination unit, and a second tendency type determination unit.
已有倾向判断单元,用于判断用户画像数据是否包含已有倾向类型。The existing tendency judging unit is used to judge whether the user portrait data contains the existing tendency type.
第一倾向类型确定单元,用于若用户画像数据包含已有倾向类型,则将已有倾向类型确定为推荐倾向类型。The first tendency type determining unit is configured to determine the existing tendency type as the recommended tendency type if the user portrait data includes the existing tendency type.
第二倾向类型确定单元,用于若用户画像数据没有包含已有倾向类型,则基于用户画像数据确定相似人群,将相似人群对应的共同倾向类型确定为推荐倾向类型;或者,基于用户画像数据获取关联网页数据,对关联网页数据的特征标签进行统计,获取推荐倾向类型。The second tendency type determining unit is used to determine similar groups based on the user portrait data if the user portrait data does not include the existing tendency types, and determine the common tendency type corresponding to the similar groups as the recommended tendency type; or, obtain based on the user portrait data Associate webpage data, perform statistics on the feature tags of the associated webpage data, and obtain the type of recommendation tendency.
关于基于人工智能的用药推荐装置的具体限定可以参见上文中对于基于人工智能的用药推荐方法的限定,在此不再赘述。上述基于人工智能的用药推荐装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Regarding the specific limitations of the artificial intelligence-based medication recommendation device, please refer to the above limitations on the artificial intelligence-based medication recommendation method, which will not be repeated here. Each module in the above artificial intelligence-based medication recommendation device can be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图10所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储执行基于人工智能的用药推荐方法过程中采用或生成的数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种基于人工智能的用药推荐方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 10. The computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used to store the data adopted or generated during the execution of the artificial intelligence-based medication recommendation method. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to realize an artificial intelligence-based medication recommendation method.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述实施例中基于人工智能的用药推荐方法,例如图2所示S201-S206,或者图3至图8中所示,为避免重复,这里不再赘述。或者,处理器执行计算机程序时实现基于人工智能的用药推荐装置这一实施例中的各模块/单元的功能,例如图9所示的各模块/单元的功能,为避免重复,这里不再赘述。In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, the artificial intelligence-based medication in the above embodiment is implemented. Recommended methods, such as S201-S206 shown in Figure 2, or shown in Figures 3 to 8, are not repeated here to avoid repetition. Or, when the processor executes the computer program, the function of each module/unit in this embodiment of the artificial intelligence-based medication recommendation device is realized, such as the function of each module/unit shown in FIG. 9. To avoid repetition, it will not be repeated here. .
在一实施例中,提供一计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中基于人工智能的用药推荐方法,例如图2所示S201-S206,或者图3至图8中所示,为避免重复,这里不再赘述。或者,该计算机程序被处理器执行时实现上述基于人工智能的用药推荐装置这一实施例中的各模块/单元的功能,例如图9所示的各模块/单元的功能,为避免重复,这里不再赘述。In one embodiment, a computer-readable storage medium is provided, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the artificial intelligence-based medication recommendation method in the above embodiment is implemented, as shown in FIG. 2 As shown in S201-S206, or shown in Figs. 3 to 8, in order to avoid repetition, details are not repeated here. Or, when the computer program is executed by the processor, the function of each module/unit in the embodiment of the above-mentioned artificial intelligence-based medication recommendation device, such as the function of each module/unit shown in FIG. 9, is implemented. To avoid repetition, here No longer.
可选的,上述存储介质如计算机可读存储介质可以是非易失性的,也可以是易失性的。Optionally, the foregoing storage medium, such as a computer-readable storage medium, may be non-volatile or volatile.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage. In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database, or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the division of the above functional units and modules is used as an example. In practical applications, the above functions can be allocated to different functional units and modules as needed. Module completion, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种基于人工智能的用药推荐方法,其中,包括:An artificial intelligence-based medication recommendation method, which includes:
    获取用药推荐请求,所述用药推荐请求包括病症类型、当前病症数据和用户画像数据;Obtain a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data;
    根据所述病症类型对应的原始用药推荐模型的目标分析结果,获取所述目标分析结果较好的至少两个目标用药推荐模型;Obtaining at least two target drug recommendation models with good target analysis results according to the target analysis result of the original medication recommendation model corresponding to the disease type;
    采用至少两个所述目标用药推荐模型对所述当前病症数据进行分析处理,获取至少两个原始推荐用药;Using at least two of the target medication recommendation models to analyze and process the current disease data to obtain at least two original recommended medications;
    对所述原始推荐用药进行特征分析,获取至少两个待分析特征对应的特征分析值;Perform feature analysis on the original recommended medication, and obtain feature analysis values corresponding to at least two features to be analyzed;
    基于所述用户画像数据确定推荐倾向类型,根据所述推荐倾向类型,获取至少两个待分析特征对应的特征权重;Determining a recommendation tendency type based on the user portrait data, and obtaining feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type;
    基于至少两个所述待分析特征对应的所述特征分析值和所述特征权重,获取至少两个所述原始推荐用药的推荐评估值,将所述推荐评估值最大的所述原始推荐用药确定为目标推荐用药。Based on the characteristic analysis values and the characteristic weights corresponding to at least two of the characteristics to be analyzed, the recommended evaluation values of at least two of the original recommended medications are obtained, and the original recommended medication with the largest recommended evaluation value is determined Recommend medication for the target.
  2. 如权利要求1所述的基于人工智能的用药推荐方法,其中,在所述获取用药推荐请求之前,所述基于人工智能的用药推荐方法还包括:The artificial intelligence-based medication recommendation method according to claim 1, wherein, before the obtaining the medication recommendation request, the artificial intelligence-based medication recommendation method further comprises:
    获取与所述病症类型相对应的回顾性数据,所述回顾性数据包括历史病症数据和实际用药数据;Obtaining retrospective data corresponding to the disease type, the retrospective data including historical disease data and actual medication data;
    采用与所述病症类型相对应的原始用药推荐模型对所述历史病症数据进行分析处理,获取历史推荐用药数据,对所述历史推荐用药数据与所述实际用药数据进行匹配处理,获取匹配结果,基于所述匹配结果将所述回顾性数据划分为符合模型推荐的第一数据集和不符合模型推荐的第二数据集;The original medication recommendation model corresponding to the disease type is used to analyze and process the historical illness data, obtain historical recommended medication data, match the historical recommended medication data with the actual medication data, and obtain a matching result, Dividing the retrospective data into a first data set that meets the model recommendation and a second data set that does not meet the model recommendation based on the matching result;
    对所述第一数据集和所述第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,获取效果分析结果;For the retrospective data in the first data set and the second data set, respectively calculate the short-term effectiveness index compliance rate and the long-term complication rate, and perform a significance check to obtain the effect analysis result;
    若所述效果分析结果满足预设分析条件,则对所述第一数据集和所述第二数据集中的回顾性数据进行差异分析,获取目标短期混杂因素和目标长期混杂因素;If the result of the effect analysis meets the preset analysis condition, perform a difference analysis on the retrospective data in the first data set and the second data set to obtain target short-term confounding factors and target long-term confounding factors;
    基于所述目标短期混杂因素和所述目标短期混杂因素,对所述第一数据集和所述第二数据集中的回顾性数据进行倾向性分析,获取并存储所述原始用药推荐模型的目标分析结果。Based on the target short-term confounding factor and the target short-term confounding factor, perform a tendency analysis on the retrospective data in the first data set and the second data set, and obtain and store the target analysis of the original medication recommendation model result.
  3. 如权利要求2所述的基于人工智能的用药推荐方法,其中,所述对所述历史推荐用药数据与所述实际用药数据进行匹配处理,获取匹配结果,包括:The artificial intelligence-based medication recommendation method according to claim 2, wherein said matching the historical recommended medication data with the actual medication data to obtain a matching result comprises:
    基于所述历史推荐用药数据获取至少一个推荐用药类别,并基于所述实际用药数据获取至少一个实际用药类别;Acquiring at least one recommended medication category based on the historical recommended medication data, and acquiring at least one actual medication category based on the actual medication data;
    若所有所述推荐用药类别与所有所述实际用药类别均匹配,则所述匹配结果为符合模型推荐;If all the recommended medication categories match all the actual medication categories, the matching result is in compliance with the model recommendation;
    若存在至少一个所述推荐用药类别与所述实际用药类别不匹配,则所述匹配结果为不符合模型推荐。If there is at least one mismatch between the recommended medication category and the actual medication category, the matching result is that it does not meet the model recommendation.
  4. 如权利要求2所述的基于人工智能的用药推荐方法,其中,所述回顾性数据还包括短期效果数据和长期效果数据;The artificial intelligence-based medication recommendation method according to claim 2, wherein the retrospective data further includes short-term effect data and long-term effect data;
    所述对所述第一数据集和所述第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,获取效果分析结果,包括:According to the retrospective data in the first data set and the second data set, the short-term effectiveness index compliance rate and the long-term complication rate are respectively counted, and the significance check is performed to obtain the effect analysis result, including:
    基于所述第一数据集中的回顾性数据,获取第一短期有效性指标达标率和第一长期并发症发生率;Based on the retrospective data in the first data set, obtaining the first short-term effectiveness index compliance rate and the first long-term complication rate;
    基于所述第二数据集中的回顾性数据,获取第二短期有效性指标达标率和第二长期并发症发生率;Based on the retrospective data in the second data set, obtaining the second short-term effectiveness index compliance rate and the second long-term complication rate;
    对所述第一短期有效性指标达标率、所述第一长期并发症发生率、所述第二短期有效性指标达标率和所述第二长期并发症发生率进行显著性校验,获取效果分析结果。Perform a significant check on the first short-term effectiveness index compliance rate, the first long-term complication rate, the second short-term effectiveness indicator compliance rate, and the second long-term complication rate to obtain the effect Analyze the results.
  5. 如权利要求2所述的基于人工智能的用药推荐方法,其中,所述对所述第一数据集和所述第二数据集中的回顾性数据进行差异分析,获取目标短期混杂因素和目标长期混杂因素,包括:The artificial intelligence-based medication recommendation method according to claim 2, wherein the difference analysis is performed on the retrospective data in the first data set and the second data set to obtain target short-term confounding factors and target long-term confounding Factors include:
    确定待分析混杂因素;Determine the confounding factors to be analyzed;
    基于所述待分析混杂因素,从所述第一数据集和所述第二数据集中的回顾性数据中,筛选出与所述待分析混杂因素相对应的第一分析子集和第二分析子集;Based on the confounding factors to be analyzed, from the retrospective data in the first data set and the second data set, the first analysis subset and the second analysis sub-set corresponding to the confounding factors to be analyzed are filtered out set;
    对所述第一分析子集和所述第二分析子集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,将获取的效果分析结果确定为所述待分析混杂因素对应的混杂分析结果;For the retrospective data in the first analysis subset and the second analysis subset, the short-term effectiveness index compliance rate and the long-term complication rate are respectively counted, and the significance check is performed, and the obtained effect analysis results are determined Is the confounding analysis result corresponding to the confounding factor to be analyzed;
    根据所述待分析混杂因素对应的混杂分析结果,获取目标短期混杂因素和目标长期混杂因素。According to the confounding analysis result corresponding to the confounding factor to be analyzed, the target short-term confounding factor and the target long-term confounding factor are obtained.
  6. 如权利要求2所述的基于人工智能的用药推荐方法,其中,所述基于所述目标短期混杂因素和所述目标短期混杂因素,对所述第一数据集和所述第二数据集中的回顾性数据进行倾向性分析,获取并存储所述原始用药推荐模型的目标分析结果,包括:The artificial intelligence-based medication recommendation method according to claim 2, wherein the review of the first data set and the second data set is based on the target short-term confounding factor and the target short-term confounding factor Propensity analysis is performed on sexual data, and the target analysis results of the original drug recommendation model are obtained and stored, including:
    基于所述目标短期混杂因素和所述目标短期混杂因素,对所述第一数据集和所述第二数据集进行分层,获取分层数据集;Stratifying the first data set and the second data set based on the target short-term confounding factor and the target short-term confounding factor to obtain a hierarchical data set;
    对所述分层数据集中的回顾性数据进行倾向性分析,获取每个所述分层数据集对应的倾向性结果;Performing a tendency analysis on the retrospective data in the hierarchical data set, and obtaining a tendency result corresponding to each of the hierarchical data sets;
    基于所述分层数据集对应的倾向性结果,获取并存储所述原始用药推荐模型对应的目标分析结果。Based on the tendency result corresponding to the hierarchical data set, the target analysis result corresponding to the original medication recommendation model is acquired and stored.
  7. 如权利要求1所述的基于人工智能的用药推荐方法,其中,所述基于所述用户画像数据确定推荐倾向类型,包括:The artificial intelligence-based medication recommendation method according to claim 1, wherein the determining the recommendation tendency type based on the user portrait data comprises:
    判断所述用户画像数据是否包含已有倾向类型;Judging whether the user portrait data includes an existing tendency type;
    若所述用户画像数据包含已有倾向类型,则将所述已有倾向类型确定为推荐倾向类型;If the user portrait data includes an existing tendency type, the existing tendency type is determined as the recommended tendency type;
    若所述用户画像数据没有包含已有倾向类型,则基于所述用户画像数据确定相似人群,将所述相似人群对应的共同倾向类型确定为推荐倾向类型;或者,基于所述用户画像数据获取关联网页数据,对所述关联网页数据的特征标签进行统计,获取推荐倾向类型。If the user portrait data does not contain the existing tendency type, determine similar groups based on the user portrait data, and determine the common tendency type corresponding to the similar group as the recommended tendency type; or, obtain the association based on the user portrait data The webpage data is to perform statistics on the feature tags of the associated webpage data to obtain the recommendation tendency type.
  8. 一种基于人工智能的用药推荐装置,其中,包括:An artificial intelligence-based medication recommendation device, which includes:
    推荐请求获取模块,用于获取用药推荐请求,所述用药推荐请求包括病症类型、当前病症数据和用户画像数据;A recommendation request acquisition module for acquiring a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data;
    推荐模型确定模块,用于根据所述病症类型对应的原始用药推荐模型的目标分析结果,获取所述目标分析结果较好的至少两个目标用药推荐模型;The recommendation model determination module is configured to obtain at least two target drug recommendation models with good target analysis results according to the target analysis result of the original drug recommendation model corresponding to the disease type;
    原始推荐用药获取模块,用于采用至少两个所述目标用药推荐模型对所述当前病症数据进行分析处理,获取至少两个原始推荐用药;The original recommended medication acquisition module is used to analyze and process the current disease data by using at least two of the target medication recommendation models to obtain at least two original recommended medications;
    特征分析值获取模块,用于对所述原始推荐用药进行特征分析,获取至少两个待分析特征对应的特征分析值;The characteristic analysis value acquisition module is configured to perform characteristic analysis on the original recommended medication, and acquire characteristic analysis values corresponding to at least two characteristics to be analyzed;
    特征权重获取模块,用于基于所述用户画像数据确定推荐倾向类型,根据所述推荐倾向类型,获取至少两个待分析特征对应的特征权重;The feature weight obtaining module is configured to determine a recommendation tendency type based on the user portrait data, and obtain the feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type;
    目标推荐用药获取模块,用于基于至少两个所述待分析特征对应的所述特征分析值和所述特征权重,获取至少两个所述原始推荐用药的推荐评估值,将所述推荐评估值最大的所述原始推荐用药确定为目标推荐用药。The target recommended medication acquisition module is configured to acquire at least two recommended evaluation values of the original recommended medications based on the feature analysis values corresponding to the at least two features to be analyzed and the feature weights, and compare the recommended evaluation values The largest of the original recommended medication is determined to be the target recommended medication.
  9. 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器 上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:A computer device includes a memory, a processor, and a computer program that is stored in the memory and can run on the processor, wherein the processor implements the following steps when the processor executes the computer program:
    获取用药推荐请求,所述用药推荐请求包括病症类型、当前病症数据和用户画像数据;Obtain a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data;
    根据所述病症类型对应的原始用药推荐模型的目标分析结果,获取所述目标分析结果较好的至少两个目标用药推荐模型;Obtaining at least two target drug recommendation models with good target analysis results according to the target analysis result of the original medication recommendation model corresponding to the disease type;
    采用至少两个所述目标用药推荐模型对所述当前病症数据进行分析处理,获取至少两个原始推荐用药;Using at least two of the target medication recommendation models to analyze and process the current disease data to obtain at least two original recommended medications;
    对所述原始推荐用药进行特征分析,获取至少两个待分析特征对应的特征分析值;Perform feature analysis on the original recommended medication, and obtain feature analysis values corresponding to at least two features to be analyzed;
    基于所述用户画像数据确定推荐倾向类型,根据所述推荐倾向类型,获取至少两个待分析特征对应的特征权重;Determining a recommendation tendency type based on the user portrait data, and obtaining feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type;
    基于至少两个所述待分析特征对应的所述特征分析值和所述特征权重,获取至少两个所述原始推荐用药的推荐评估值,将所述推荐评估值最大的所述原始推荐用药确定为目标推荐用药。Based on the characteristic analysis values and the characteristic weights corresponding to at least two of the characteristics to be analyzed, the recommended evaluation values of at least two of the original recommended medications are obtained, and the original recommended medication with the largest recommended evaluation value is determined Recommend medication for the target.
  10. 如权利要求9所述的计算机设备,其中,在所述获取用药推荐请求之前,所述处理器执行所述计算机程序时还实现以下步骤:The computer device according to claim 9, wherein, before the obtaining the medication recommendation request, the processor further implements the following steps when executing the computer program:
    获取与所述病症类型相对应的回顾性数据,所述回顾性数据包括历史病症数据和实际用药数据;Obtaining retrospective data corresponding to the disease type, the retrospective data including historical disease data and actual medication data;
    采用与所述病症类型相对应的原始用药推荐模型对所述历史病症数据进行分析处理,获取历史推荐用药数据,对所述历史推荐用药数据与所述实际用药数据进行匹配处理,获取匹配结果,基于所述匹配结果将所述回顾性数据划分为符合模型推荐的第一数据集和不符合模型推荐的第二数据集;The original medication recommendation model corresponding to the disease type is used to analyze and process the historical illness data, obtain historical recommended medication data, match the historical recommended medication data with the actual medication data, and obtain a matching result, Dividing the retrospective data into a first data set that meets the model recommendation and a second data set that does not meet the model recommendation based on the matching result;
    对所述第一数据集和所述第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,获取效果分析结果;For the retrospective data in the first data set and the second data set, respectively calculate the short-term effectiveness index compliance rate and the long-term complication rate, and perform a significance check to obtain the effect analysis result;
    若所述效果分析结果满足预设分析条件,则对所述第一数据集和所述第二数据集中的回顾性数据进行差异分析,获取目标短期混杂因素和目标长期混杂因素;If the result of the effect analysis meets the preset analysis condition, perform a difference analysis on the retrospective data in the first data set and the second data set to obtain target short-term confounding factors and target long-term confounding factors;
    基于所述目标短期混杂因素和所述目标短期混杂因素,对所述第一数据集和所述第二数据集中的回顾性数据进行倾向性分析,获取并存储所述原始用药推荐模型的目标分析结果。Based on the target short-term confounding factor and the target short-term confounding factor, perform a tendency analysis on the retrospective data in the first data set and the second data set, and obtain and store the target analysis of the original medication recommendation model result.
  11. 如权利要求10所述的计算机设备,其中,所述对所述历史推荐用药数据与所述实际用药数据进行匹配处理,获取匹配结果时,具体实现以下步骤:10. The computer device according to claim 10, wherein the matching process is performed on the historical recommended medication data and the actual medication data, and when the matching result is obtained, the following steps are specifically implemented:
    基于所述历史推荐用药数据获取至少一个推荐用药类别,并基于所述实际用药数据获取至少一个实际用药类别;Acquiring at least one recommended medication category based on the historical recommended medication data, and acquiring at least one actual medication category based on the actual medication data;
    若所有所述推荐用药类别与所有所述实际用药类别均匹配,则所述匹配结果为符合模型推荐;If all the recommended medication categories match all the actual medication categories, the matching result is in compliance with the model recommendation;
    若存在至少一个所述推荐用药类别与所述实际用药类别不匹配,则所述匹配结果为不符合模型推荐。If there is at least one mismatch between the recommended medication category and the actual medication category, the matching result is that it does not meet the model recommendation.
  12. 如权利要求10所述的计算机设备,其中,所述回顾性数据还包括短期效果数据和长期效果数据;10. The computer device of claim 10, wherein the retrospective data further includes short-term effect data and long-term effect data;
    所述对所述第一数据集和所述第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,获取效果分析结果时,具体实现以下步骤:According to the retrospective data in the first data set and the second data set, the short-term effectiveness index compliance rate and the long-term complication rate are respectively counted, and the significance check is performed. When the effect analysis result is obtained, the specific Implement the following steps:
    基于所述第一数据集中的回顾性数据,获取第一短期有效性指标达标率和第一长期并发症发生率;Based on the retrospective data in the first data set, obtaining the first short-term effectiveness index compliance rate and the first long-term complication rate;
    基于所述第二数据集中的回顾性数据,获取第二短期有效性指标达标率和第二长期并发症发生率;Based on the retrospective data in the second data set, obtaining the second short-term effectiveness index compliance rate and the second long-term complication rate;
    对所述第一短期有效性指标达标率、所述第一长期并发症发生率、所述第二短期有效性指标达标率和所述第二长期并发症发生率进行显著性校验,获取效果分析结果。Perform a significant check on the first short-term effectiveness index compliance rate, the first long-term complication rate, the second short-term effectiveness indicator compliance rate, and the second long-term complication rate to obtain the effect Analyze the results.
  13. 如权利要求10所述的计算机设备,其中,所述对所述第一数据集和所述第二数据集中的回顾性数据进行差异分析,获取目标短期混杂因素和目标长期混杂因素时,具体实现以下步骤:The computer device according to claim 10, wherein when the difference analysis is performed on the retrospective data in the first data set and the second data set to obtain the target short-term confounding factors and the target long-term confounding factors, the specific realization The following steps:
    确定待分析混杂因素;Determine the confounding factors to be analyzed;
    基于所述待分析混杂因素,从所述第一数据集和所述第二数据集中的回顾性数据中,筛选出与所述待分析混杂因素相对应的第一分析子集和第二分析子集;Based on the confounding factors to be analyzed, from the retrospective data in the first data set and the second data set, the first analysis subset and the second analysis sub-set corresponding to the confounding factors to be analyzed are filtered out set;
    对所述第一分析子集和所述第二分析子集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,将获取的效果分析结果确定为所述待分析混杂因素对应的混杂分析结果;For the retrospective data in the first analysis subset and the second analysis subset, the short-term effectiveness index compliance rate and the long-term complication rate are respectively counted, and the significance check is performed, and the obtained effect analysis results are determined Is the confounding analysis result corresponding to the confounding factor to be analyzed;
    根据所述待分析混杂因素对应的混杂分析结果,获取目标短期混杂因素和目标长期混杂因素。According to the confounding analysis result corresponding to the confounding factor to be analyzed, the target short-term confounding factor and the target long-term confounding factor are obtained.
  14. 如权利要求10所述的计算机设备,其中,所述基于所述目标短期混杂因素和所述目标短期混杂因素,对所述第一数据集和所述第二数据集中的回顾性数据进行倾向性分析,获取并存储所述原始用药推荐模型的目标分析结果时,具体实现以下步骤:The computer device according to claim 10, wherein the retrospective data in the first data set and the second data set are biased based on the target short-term confounding factor and the target short-term confounding factor When analyzing, acquiring and storing the target analysis result of the original medication recommendation model, the following steps are specifically implemented:
    基于所述目标短期混杂因素和所述目标短期混杂因素,对所述第一数据集和所述第二数据集进行分层,获取分层数据集;Stratifying the first data set and the second data set based on the target short-term confounding factor and the target short-term confounding factor to obtain a hierarchical data set;
    对所述分层数据集中的回顾性数据进行倾向性分析,获取每个所述分层数据集对应的倾向性结果;Performing a tendency analysis on the retrospective data in the hierarchical data set, and obtaining a tendency result corresponding to each of the hierarchical data sets;
    基于所述分层数据集对应的倾向性结果,获取并存储所述原始用药推荐模型对应的目标分析结果。Based on the tendency result corresponding to the hierarchical data set, the target analysis result corresponding to the original medication recommendation model is acquired and stored.
  15. 如权利要求9所述的计算机设备,其中,所述基于所述用户画像数据确定推荐倾向类型时,具体实现以下步骤:9. The computer device according to claim 9, wherein when the recommendation tendency type is determined based on the user portrait data, the following steps are specifically implemented:
    判断所述用户画像数据是否包含已有倾向类型;Judging whether the user portrait data includes an existing tendency type;
    若所述用户画像数据包含已有倾向类型,则将所述已有倾向类型确定为推荐倾向类型;If the user portrait data includes an existing tendency type, the existing tendency type is determined as the recommended tendency type;
    若所述用户画像数据没有包含已有倾向类型,则基于所述用户画像数据确定相似人群,将所述相似人群对应的共同倾向类型确定为推荐倾向类型;或者,基于所述用户画像数据获取关联网页数据,对所述关联网页数据的特征标签进行统计,获取推荐倾向类型。If the user portrait data does not contain the existing tendency type, determine similar groups based on the user portrait data, and determine the common tendency type corresponding to the similar group as the recommended tendency type; or, obtain the association based on the user portrait data The webpage data is to perform statistics on the feature tags of the associated webpage data to obtain the recommendation tendency type.
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其中,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the following steps:
    获取用药推荐请求,所述用药推荐请求包括病症类型、当前病症数据和用户画像数据;Obtain a medication recommendation request, the medication recommendation request including disease type, current disease data, and user profile data;
    根据所述病症类型对应的原始用药推荐模型的目标分析结果,获取所述目标分析结果较好的至少两个目标用药推荐模型;Obtaining at least two target drug recommendation models with good target analysis results according to the target analysis result of the original medication recommendation model corresponding to the disease type;
    采用至少两个所述目标用药推荐模型对所述当前病症数据进行分析处理,获取至少两个原始推荐用药;Using at least two of the target medication recommendation models to analyze and process the current disease data to obtain at least two original recommended medications;
    对所述原始推荐用药进行特征分析,获取至少两个待分析特征对应的特征分析值;Perform feature analysis on the original recommended medication, and obtain feature analysis values corresponding to at least two features to be analyzed;
    基于所述用户画像数据确定推荐倾向类型,根据所述推荐倾向类型,获取至少两个待分析特征对应的特征权重;Determining a recommendation tendency type based on the user portrait data, and obtaining feature weights corresponding to at least two features to be analyzed according to the recommendation tendency type;
    基于至少两个所述待分析特征对应的所述特征分析值和所述特征权重,获取至少两个所述原始推荐用药的推荐评估值,将所述推荐评估值最大的所述原始推荐用药确定为目标推荐用药。Based on the characteristic analysis values and the characteristic weights corresponding to at least two of the characteristics to be analyzed, the recommended evaluation values of at least two of the original recommended medications are obtained, and the original recommended medication with the largest recommended evaluation value is determined Recommend medication for the target.
  17. 如权利要求16所述的计算机可读存储介质,其中,在所述获取用药推荐请求之前,所述计算机程序被处理器执行时还实现以下步骤:15. The computer-readable storage medium of claim 16, wherein, before the obtaining the medication recommendation request, the computer program further implements the following steps when being executed by the processor:
    获取与所述病症类型相对应的回顾性数据,所述回顾性数据包括历史病症数据和实际用药数据;Obtaining retrospective data corresponding to the disease type, the retrospective data including historical disease data and actual medication data;
    采用与所述病症类型相对应的原始用药推荐模型对所述历史病症数据进行分析处理,获取历史推荐用药数据,对所述历史推荐用药数据与所述实际用药数据进行匹配处理,获取匹配结果,基于所述匹配结果将所述回顾性数据划分为符合模型推荐的第一数据集和不符合模型推荐的第二数据集;The original medication recommendation model corresponding to the disease type is used to analyze and process the historical illness data, obtain historical recommended medication data, match the historical recommended medication data with the actual medication data, and obtain a matching result, Dividing the retrospective data into a first data set that meets the model recommendation and a second data set that does not meet the model recommendation based on the matching result;
    对所述第一数据集和所述第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,获取效果分析结果;For the retrospective data in the first data set and the second data set, respectively calculate the short-term effectiveness index compliance rate and the long-term complication rate, and perform a significance check to obtain the effect analysis result;
    若所述效果分析结果满足预设分析条件,则对所述第一数据集和所述第二数据集中的回顾性数据进行差异分析,获取目标短期混杂因素和目标长期混杂因素;If the result of the effect analysis meets the preset analysis condition, perform a difference analysis on the retrospective data in the first data set and the second data set to obtain target short-term confounding factors and target long-term confounding factors;
    基于所述目标短期混杂因素和所述目标短期混杂因素,对所述第一数据集和所述第二数据集中的回顾性数据进行倾向性分析,获取并存储所述原始用药推荐模型的目标分析结果。Based on the target short-term confounding factor and the target short-term confounding factor, perform a tendency analysis on the retrospective data in the first data set and the second data set, and obtain and store the target analysis of the original medication recommendation model result.
  18. 如权利要求17所述的计算机可读存储介质,其中,所述回顾性数据还包括短期效果数据和长期效果数据;17. The computer-readable storage medium of claim 17, wherein the retrospective data further includes short-term effect data and long-term effect data;
    所述对所述第一数据集和所述第二数据集中的回顾性数据,分别统计短期有效性指标达标率和长期并发症发生率,并进行显著性校验,获取效果分析结果时,具体实现以下步骤:According to the retrospective data in the first data set and the second data set, the short-term effectiveness index compliance rate and the long-term complication rate are respectively counted, and the significance check is performed. When the effect analysis result is obtained, the specific Implement the following steps:
    基于所述第一数据集中的回顾性数据,获取第一短期有效性指标达标率和第一长期并发症发生率;Based on the retrospective data in the first data set, obtaining the first short-term effectiveness index compliance rate and the first long-term complication rate;
    基于所述第二数据集中的回顾性数据,获取第二短期有效性指标达标率和第二长期并发症发生率;Based on the retrospective data in the second data set, obtaining the second short-term effectiveness index compliance rate and the second long-term complication rate;
    对所述第一短期有效性指标达标率、所述第一长期并发症发生率、所述第二短期有效性指标达标率和所述第二长期并发症发生率进行显著性校验,获取效果分析结果。Perform a significant check on the first short-term effectiveness index compliance rate, the first long-term complication rate, the second short-term effectiveness indicator compliance rate, and the second long-term complication rate to obtain the effect Analyze the results.
  19. 如权利要求17所述的计算机可读存储介质,其中,所述基于所述目标短期混杂因素和所述目标短期混杂因素,对所述第一数据集和所述第二数据集中的回顾性数据进行倾向性分析,获取并存储所述原始用药推荐模型的目标分析结果时,具体实现以下步骤:17. The computer-readable storage medium of claim 17, wherein the retrospective data in the first data set and the second data set are analyzed based on the target short-term confounding factor and the target short-term confounding factor. When performing propensity analysis and obtaining and storing the target analysis result of the original drug recommendation model, the following steps are specifically implemented:
    基于所述目标短期混杂因素和所述目标短期混杂因素,对所述第一数据集和所述第二数据集进行分层,获取分层数据集;Stratifying the first data set and the second data set based on the target short-term confounding factor and the target short-term confounding factor to obtain a hierarchical data set;
    对所述分层数据集中的回顾性数据进行倾向性分析,获取每个所述分层数据集对应的倾向性结果;Performing a tendency analysis on the retrospective data in the hierarchical data set, and obtaining a tendency result corresponding to each of the hierarchical data sets;
    基于所述分层数据集对应的倾向性结果,获取并存储所述原始用药推荐模型对应的目标分析结果。Based on the tendency result corresponding to the hierarchical data set, the target analysis result corresponding to the original medication recommendation model is acquired and stored.
  20. 如权利要求16所述的计算机可读存储介质,其中,所述基于所述用户画像数据确定推荐倾向类型时,具体实现以下步骤:16. The computer-readable storage medium according to claim 16, wherein when the recommendation tendency type is determined based on the user portrait data, the following steps are specifically implemented:
    判断所述用户画像数据是否包含已有倾向类型;Judging whether the user portrait data includes an existing tendency type;
    若所述用户画像数据包含已有倾向类型,则将所述已有倾向类型确定为推荐倾向类型;If the user portrait data includes an existing tendency type, the existing tendency type is determined as the recommended tendency type;
    若所述用户画像数据没有包含已有倾向类型,则基于所述用户画像数据确定相似人群,将所述相似人群对应的共同倾向类型确定为推荐倾向类型;或者,基于所述用户画像数据获取关联网页数据,对所述关联网页数据的特征标签进行统计,获取推荐倾向类型。If the user portrait data does not contain the existing tendency type, determine similar groups based on the user portrait data, and determine the common tendency type corresponding to the similar group as the recommended tendency type; or, obtain the association based on the user portrait data The webpage data is to perform statistics on the feature tags of the associated webpage data to obtain the recommendation tendency type.
PCT/CN2020/099255 2020-05-29 2020-06-30 Artificial intelligence-based medication recommendation method, apparatus, device, and storage medium WO2021114624A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010475961.3A CN111667890A (en) 2020-05-29 2020-05-29 Medication recommendation method, device, equipment and storage medium based on artificial intelligence
CN202010475961.3 2020-05-29

Publications (1)

Publication Number Publication Date
WO2021114624A1 true WO2021114624A1 (en) 2021-06-17

Family

ID=72385194

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099255 WO2021114624A1 (en) 2020-05-29 2020-06-30 Artificial intelligence-based medication recommendation method, apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN111667890A (en)
WO (1) WO2021114624A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626558A (en) * 2021-07-07 2021-11-09 厦门市美亚柏科信息股份有限公司 Intelligent recommendation-based field standardization method and system
CN117198513A (en) * 2023-11-07 2023-12-08 北京烔凡科技有限公司 Health guidance method and system for hypertension patient

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112151141A (en) * 2020-09-23 2020-12-29 康键信息技术(深圳)有限公司 Medical data processing method, device, computer equipment and storage medium
CN113241193A (en) * 2021-06-01 2021-08-10 平安科技(深圳)有限公司 Drug recommendation model training method, recommendation method, device, equipment and medium
CN113658659B (en) * 2021-08-20 2023-07-21 深圳平安智慧医健科技有限公司 Medical information processing method, medical information processing device, computer equipment and storage medium
CN113707253B (en) * 2021-08-30 2023-06-27 深圳平安智慧医健科技有限公司 Medical scheme recommendation method, device, equipment and medium
CN116344009B (en) * 2023-05-22 2023-08-15 武汉盛博汇信息技术有限公司 Online diagnosis notification method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919804A (en) * 2017-03-22 2017-07-04 李学明 Medicine based on clinical data recommends method, recommendation apparatus and server
US20180306797A1 (en) * 2017-04-24 2018-10-25 Washington University Methods of detecting ceramide
CN109801705A (en) * 2018-12-12 2019-05-24 平安科技(深圳)有限公司 Treat recommended method, system, device and storage medium
CN110070420A (en) * 2019-04-28 2019-07-30 广东技术师范大学 Recommended method, device and the computer readable storage medium of drug

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202893B (en) * 2016-06-30 2019-05-14 山东诺安诺泰信息系统有限公司 A kind of drug recommended method
CN111191020B (en) * 2019-12-27 2023-09-22 江苏省人民医院(南京医科大学第一附属医院) Prescription recommendation method and system based on machine learning and knowledge graph

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919804A (en) * 2017-03-22 2017-07-04 李学明 Medicine based on clinical data recommends method, recommendation apparatus and server
US20180306797A1 (en) * 2017-04-24 2018-10-25 Washington University Methods of detecting ceramide
CN109801705A (en) * 2018-12-12 2019-05-24 平安科技(深圳)有限公司 Treat recommended method, system, device and storage medium
CN110070420A (en) * 2019-04-28 2019-07-30 广东技术师范大学 Recommended method, device and the computer readable storage medium of drug

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626558A (en) * 2021-07-07 2021-11-09 厦门市美亚柏科信息股份有限公司 Intelligent recommendation-based field standardization method and system
CN117198513A (en) * 2023-11-07 2023-12-08 北京烔凡科技有限公司 Health guidance method and system for hypertension patient
CN117198513B (en) * 2023-11-07 2024-03-29 北京烔凡科技有限公司 Health guidance method and system for hypertension patient

Also Published As

Publication number Publication date
CN111667890A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
WO2021114624A1 (en) Artificial intelligence-based medication recommendation method, apparatus, device, and storage medium
US20230142594A1 (en) Application of bayesian networks to patient screening and treatment
WO2020232877A1 (en) Question answer selection method and apparatus, computer device, and storage medium
US11232365B2 (en) Digital assistant platform
US9443002B1 (en) Dynamic data analysis and selection for determining outcomes associated with domain specific probabilistic data sets
US11526953B2 (en) Machine learning techniques for automatic evaluation of clinical trial data
WO2021151327A1 (en) Triage data processing method and apparatus, and device and medium
US10430716B2 (en) Data driven featurization and modeling
US20140122126A1 (en) Clinical information processing
Wallace et al. Variable selection for skewed model-based clustering: application to the identification of novel sleep phenotypes
WO2021139112A1 (en) Data dimensionality reduction processing method and apparatus, computer device, and storage medium
US10936962B1 (en) Methods and systems for confirming an advisory interaction with an artificial intelligence platform
Brown et al. A novel approach for propensity score matching and stratification for multiple treatments: Application to an electronic health record–derived study
Sylolypavan et al. The impact of inconsistent human annotations on AI driven clinical decision making
Markatou et al. Case-based reasoning in comparative effectiveness research
US11355222B2 (en) Analytics at the point of care
US20200051698A1 (en) Precision clinical decision support with data driven approach on multiple medical knowledge modules
Schwartzberg et al. Chemotherapy-induced nausea and vomiting and antiemetic prophylaxis with palonosetron versus other 5-HT3 receptor antagonists in patients with cancer treated with low emetogenic chemotherapy in a hospital outpatient setting in the United States
US20240087750A1 (en) Machine learning systems and methods for predicting risk of incident opioid use disorder and opioid overdose
US20220327377A1 (en) Neural signal detection
US20210319891A1 (en) Patient scheduling using predictive analytics
CN113643783A (en) Sub-health population drug recommendation method, system, equipment and storage medium
US20160063202A1 (en) Systems and methods to classify and rank health information
US20220359080A1 (en) Multi-model member outreach system
US11983099B1 (en) Graphical intervention test development system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20898390

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20898390

Country of ref document: EP

Kind code of ref document: A1