A method, system and medium for processing diagnosis and treatment information for patients with dry eye
By obtaining and analyzing drug and symptom information of patients with dry eye disease and calculating pharmacological stability and similarity, the problem of low clustering accuracy in the existing technology is solved, and more accurate clustering and diagnosis and treatment information processing of patients with dry eye disease is achieved. .
Patent Information
- Application Number
- CN202411328172.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-09-24
AI Technical Summary
When existing text similarity clustering methods based on diagnosis and treatment information cluster patients with dry eye disease, the proportion of Chinese and Western medicine use and the differences in drug composition affect the clustering accuracy, resulting in poor clustering effect.
By obtaining the drug collection and symptom collection of patients, the drugs are divided into two types: Chinese medicine and Western medicine, pharmacological stability and initial pharmacological similarity, and the similarity is adjusted according to the differences in drug components, and finally the clustering is carried out based on the real pharmacological similarity and symptom differences kind.
The clustering accuracy and processing effect of diagnosis and treatment information of patients with dry eye disease is improved, and the patient is accurately divided into cluster clusters with similar diagnosis and treatment conditions.
Smart Images

Figure CN118861722B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of diagnosis and treatment information clustering processing, and in particular to a diagnosis and treatment information processing method, system and medium for dry eye patients. Background Art
[0002] Dry eye is a common ophthalmic disease, and it has different symptoms in different populations. In order to help medical staff better understand the manifestations of dry eye in different patient groups and then provide targeted management, it is necessary to cluster dry eye patients based on their diagnosis and treatment information.
[0003] In the related technology, dry eye patients are usually clustered based on the text similarity of the diagnosis and treatment information, so as to realize the processing of the diagnosis and treatment information of dry eye patients. However, dry eye patients are usually treated with a combination of Chinese and Western medicines. The proportion of Chinese and Western medicines used will affect the clustering results. At the same time, there are cases where the drug names are different but the drug ingredients and effects are the same. Therefore, clustering dry eye patients based only on the text similarity of the diagnosis and treatment information will affect the clustering accuracy and reduce the final clustering effect, resulting in poor processing of the diagnosis and treatment information of dry eye patients. Summary of the invention
[0004] In order to solve the technical problem that clustering patients with dry eye based on the text similarity of existing diagnosis and treatment information will affect the clustering accuracy and reduce the final clustering effect, the purpose of the present invention is to provide a diagnosis and treatment information processing method, system and medium for dry eye patients. The technical scheme adopted is as follows:
[0005] The present invention proposes a method for processing diagnosis and treatment information for patients with dry eye, the method comprising:
[0006] Obtain the drug set of different patients in each diagnosis and treatment process and the component set of each drug, and at the same time obtain the symptom set of each patient in the initial diagnosis and treatment process, and divide the drugs in the drug set into two types;
[0007] The pharmacological stability of each patient is obtained based on the difference in the drug set between two adjacent treatment processes and the difference in the number of drugs of the same type in the drug set; the initial pharmacological similarity between any two patients is obtained based on the difference in the number of treatment processes between any two patients, the difference in the pharmacological stability and the difference in the number of drugs of the same type in the drug set of all treatment processes;
[0008] According to the difference of the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process, the initial pharmacological similarity is adjusted to obtain the true pharmacological similarity between any two patients;
[0009] According to the differences in the symptom sets between patients and the true pharmacological similarities, all patients are clustered to obtain different clusters.
[0010] Furthermore, obtaining the pharmacological stability of each patient according to the difference in the drug set between two adjacent diagnosis and treatment processes of each patient and the difference in the quantity of the same type of drugs in the drug set includes:
[0011] Take any patient as the target patient and any of the two types of drugs as the target type;
[0012] Analyze the number of target-type drugs in the drug set of each diagnosis and treatment process of the target patient and the proportion of all drugs in the drug set of each diagnosis and treatment process to obtain the pharmacological characteristic value of the target patient in each diagnosis and treatment process;
[0013] Taking any two adjacent diagnosis and treatment processes of the target patient as adjacent diagnosis and treatment groups, and obtaining the drug type difference parameter of each adjacent diagnosis and treatment group according to the difference of the pharmacological characteristic values of the two diagnosis and treatment processes in each adjacent diagnosis and treatment group;
[0014] The intersection of the drug sets of the two diagnosis and treatment processes in each adjacent diagnosis and treatment group is used as the drug intersection of each adjacent diagnosis and treatment group; the number of drugs contained in the drug intersection of each adjacent diagnosis and treatment group is normalized to obtain the drug similarity parameter of each adjacent diagnosis and treatment group;
[0015] The pharmacological stability of the target patient is obtained based on the drug type difference parameters and the drug similarity parameters of all adjacent treatment groups of the target patient.
[0016] Furthermore, obtaining the pharmacological stability of the target patient according to the drug type difference parameters and the drug similarity parameters of all adjacent diagnosis and treatment groups of the target patient includes:
[0017] The drug type difference parameters of all adjacent diagnosis and treatment groups of the target patient are integrated and negatively correlated normalized to obtain the drug type stable parameters of the target patient;
[0018] Analyze the overall levels of similar drug parameters of all adjacent diagnosis and treatment groups of the target patient to obtain stable drug parameters of the target patient;
[0019] The drug type stability parameter and the drug stability parameter of the target patient are integrated to obtain the pharmacological stability of the target patient.
[0020] Furthermore, obtaining the initial pharmacological similarity between any two patients includes:
[0021] Analyzing the overall level of the pharmacological characteristic value of each patient during all diagnosis and treatment processes to obtain the overall pharmacological characteristic value of each patient;
[0022] The difference in the overall pharmacological characteristic value, the difference in the number of the diagnosis and treatment process and the difference in the pharmacological stability between any two patients are integrated and normalized for negative correlation to obtain the initial pharmacological similarity between any two patients.
[0023] Furthermore, the initial pharmacological similarity is adjusted according to the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process to obtain the true pharmacological similarity between any two patients, including:
[0024] Obtaining the similarity of drug components between any two patients according to the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process;
[0025] Based on the similarity of the drug ingredients between any two patients, the initial pharmacological similarity is adjusted to obtain the true pharmacological similarity between any two patients.
[0026] Furthermore, obtaining the similarity of drug components between any two patients according to the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process includes:
[0027] In the same diagnosis and treatment process of any two patients, one drug is randomly selected from two drug sets respectively, and the two selected drugs are used as the drug group in the same diagnosis and treatment process;
[0028] The Jaccard similarity coefficient between the component sets of two drugs in each drug group is taken as the component consistency of each drug group;
[0029] The consistency of the components of all drug groups of any two patients in all the same diagnosis and treatment processes is integrated and normalized to obtain the similarity of drug components between any two patients.
[0030] Furthermore, according to the difference in the symptom set between patients and the true pharmacological similarity, all patients are clustered to obtain different clusters including:
[0031] Taking the Jaccard similarity coefficient between the symptom sets of any two patients as the symptom similarity between any two patients, performing negative correlation normalization processing on the symptom similarity, and obtaining a first distance measurement between any two patients;
[0032] Clustering all patients based on the first distance metric to obtain different initial clustering clusters;
[0033] According to the true pharmacological similarity between any two patients in each initial cluster, all patients in each initial cluster are clustered to obtain different clusters.
[0034] Furthermore, according to the true pharmacological similarity between any two patients in each initial cluster, all patients in each initial cluster are clustered to obtain different clusters including:
[0035] Performing negative correlation normalization processing on the true pharmacological similarity between any two patients in each initial clustering cluster to obtain a second distance metric between any two patients in each initial clustering cluster;
[0036] Based on the second distance metric, all patients in each initial cluster are clustered to obtain different clusters.
[0037] The present invention also proposes a diagnosis and treatment information processing system for dry eye patients, the system comprising:
[0038] A data acquisition module is used to obtain the drug set and the component set of each drug for each patient in each diagnosis and treatment process, and also to obtain the symptom set of each patient in the initial diagnosis and treatment process, and to divide the drugs in the drug set into two types;
[0039] An analysis module is used to obtain the pharmacological stability of each patient based on the difference in the drug set between two adjacent treatment processes of each patient and the difference in the number of drugs of the same type in the drug set; and to obtain the initial pharmacological similarity between any two patients based on the difference in the number of treatment processes between any two patients, the difference in the pharmacological stability, and the difference in the number of drugs of the same type in the drug set of all treatment processes;
[0040] An adjustment module, for adjusting the initial pharmacological similarity according to the difference of the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process, so as to obtain the true pharmacological similarity between any two patients;
[0041] The processing module is used to cluster all patients according to the differences in the symptom sets between patients and the true pharmacological similarities to obtain different clusters.
[0042] The present invention also proposes a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements any one of the steps of a method for processing diagnosis and treatment information for dry eye patients.
[0043] The present invention has the following beneficial effects:
[0044] The present invention takes into account that in the existing clustering methods, clustering patients with dry eye disease only based on the text similarity of diagnosis and treatment information will reduce the final clustering effect, resulting in poor processing effect on the diagnosis and treatment information of dry eye disease patients. Therefore, the present invention first obtains the drug set of each patient in each diagnosis and treatment process and the component set of each drug, and at the same time obtains the symptom set of each patient in the initial diagnosis and treatment process, and divides the drugs in the drug set into two types: traditional Chinese medicine and western medicine. Considering that the differences in drugs and drug types used by the same patient in different diagnosis and treatment processes will affect the final clustering processing effect, the present invention reflects the drug use trend of the same patient in the entire diagnosis and treatment cycle through the obtained pharmacological stability, which is convenient for the subsequent correct clustering of patients based on the differences in pharmacological stability between patients. Taking into account that during the entire diagnosis and treatment process of dry eye, there are certain differences in the number of diagnosis and treatments, the proportion of drug types and the trend of medication among different patients. Therefore, the present invention obtains the initial pharmacological similarity to reflect the similarity between the number of diagnosis and treatments and medication conditions among patients. The initial pharmacological similarity can be further adjusted subsequently to achieve more accurate clustering. Considering that there are still some drugs that have different names but the same drug ingredients and therapeutic effects, the initial pharmacological similarity can be adjusted by analyzing the differences in the component sets between the drugs. Then, by obtaining the real pharmacological similarity and combining the differences in the symptom sets between patients, the patients can be clustered more accurately, thereby improving the final clustering effect and the processing effect of the diagnosis and treatment information of dry eye patients. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 A flow chart of a method for processing diagnosis and treatment information for dry eye patients provided by one embodiment of the present invention;
[0047] Figure 2 A flow chart of a method for obtaining the pharmacological stability of each patient provided by one embodiment of the present invention;
[0048] Figure 3 A flow chart of a method for obtaining the true pharmacological similarity between any two patients provided by one embodiment of the present invention;
[0049] Figure 4A flow chart of a method for obtaining different clusters provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a diagnosis and treatment information processing method, system and medium for dry eye patients proposed by the present invention, its specific implementation method, structure, characteristics and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0051] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0052] The following is a detailed description of a method, system and medium for processing diagnosis and treatment information for dry eye patients provided by the present invention in conjunction with the accompanying drawings.
[0053] See also Figure 1 , which shows a flow chart of a method for processing diagnosis and treatment information for dry eye patients provided by an embodiment of the present invention, the method comprising:
[0054] Step S1: Obtain the drug set of different patients in each diagnosis and treatment process and the component set of each drug, and at the same time obtain the symptom set of each patient in the initial diagnosis and treatment process, and divide the drugs in the drug set into two types.
[0055] Dry eye is a common ophthalmic disease, and has different symptoms in different populations, so there are differences in the treatment methods and drug usage for dry eye patients. The processing of dry eye patient diagnosis and treatment information helps medical staff to better understand the manifestations of dry eye in different patient groups, and then to manage and treat them in a targeted manner. In the related technology, dry eye patients are usually clustered based on the text similarity of the recorded diagnosis and treatment information of each patient, so as to realize the processing of dry eye patient diagnosis and treatment information. However, dry eye patients are usually treated with a combination of Chinese and Western medicines. The proportion of Chinese and Western medicines used will affect the clustering results. At the same time, there are cases where the drug names are different but the drug ingredients and therapeutic effects are the same. Therefore, clustering dry eye patients based only on the text similarity of the diagnosis and treatment information will reduce the final clustering effect, resulting in poor processing effect of dry eye patient diagnosis and treatment information. Therefore, an embodiment of the present invention proposes a diagnosis and treatment information processing method for dry eye patients to solve this problem.
[0056] When dry eye patients are diagnosed and treated, doctors will ask about their symptoms and prescribe targeted medications for treatment. At the same time, the symptom information and therapeutic drug information of the patients during each diagnosis and treatment will be recorded in a database. Therefore, the embodiment of the present invention first extracts the therapeutic drug information of each dry eye patient in each diagnosis and treatment process within a preset historical period from the medical database, as well as the symptom information of the initial diagnosis and treatment process. The preset historical period is set to 1 year. The specific value of the preset historical period can be set by the implementer according to the specific implementation scenario, and is not limited here. Since these two types of information are usually presented in the form of longer text, it is necessary to perform word segmentation preprocessing on these two types of information to obtain the drug set of the patient in each diagnosis and treatment process, as well as the symptom set of the patient in the initial diagnosis and treatment process. The word segmentation preprocessing can be performed using word segmentation tools such as Jieba or HanLP, which are not limited here. The elements in the drug set represent the names of the drugs prescribed by the doctor for the patient during each diagnosis and treatment process. The drug set can be, for example, , the elements in the symptom set represent the symptoms of the patient during the initial diagnosis and treatment process. The symptom set can be, for example, .
[0057] Taking into account the proportion of Chinese and Western medicine used by dry eye patients during the diagnosis and treatment process and the differences between the drug ingredients, which will affect the final clustering results, the embodiment of the present invention also needs to query the basic ingredients contained in each drug in the drug set in the basic drug information database, so as to obtain the component set of each drug in the drug set, and at the same time, query the type of each drug in the drug set through the basic drug information database, so as to divide the drugs in each drug set into two types: Chinese medicine and Western medicine.
[0058] At this point, the drug sets of different patients in each diagnosis and treatment process, as well as the ingredient set and type of each drug, and the symptom set of each patient in the initial diagnosis and treatment process are obtained.
[0059] Step S2: Obtain the pharmacological stability of each patient based on the difference in the drug set between two adjacent treatment processes for each patient and the difference in the number of drugs of the same type in the drug set; obtain the initial pharmacological similarity between any two patients based on the difference in the number of treatment processes between any two patients, the difference in pharmacological stability and the difference in the number of drugs of the same type in the drug set of all treatment processes.
[0060] Patients with dry eye usually receive treatment with a combination of Chinese and Western medicines. In the entire diagnosis and treatment cycle of the same patient, the specific drugs and the proportion of drug types used by the patient in each diagnosis and treatment process are not fixed, but will change with the progress of the treatment. In addition, there will be some differences in the characteristics of this change between different patients, which will affect the final clustering results. Therefore, we can first analyze the differences in the drug sets of each patient between two adjacent diagnosis and treatment processes and the differences in the number of drugs of the same type in the drug set. The pharmacological stability obtained can reflect the changes in the medication trend of the same patient throughout the diagnosis and treatment cycle, which is convenient for the subsequent evaluation of the similarity of the diagnosis and treatment conditions between patients based on the differences in pharmacological stability between patients, thereby achieving more effective clustering processing.
[0061] Preferably, in one embodiment of the present invention, the method for obtaining the pharmacological stability of each patient specifically includes:
[0062] See also Figure 2 , which shows a flow chart of a method for obtaining the pharmacological stability of each patient provided by one embodiment of the present invention.
[0063] Step S201: taking any patient as a target patient and taking any one of the two types of drugs as a target type.
[0064] In order to facilitate a clearer analysis later, firstly, any patient is taken as the target patient, and any one of the two types of drugs is taken as the target type. For example, in one embodiment of the present invention, the Chinese medicine type can be taken as the target type, and in other embodiments of the present invention, the Western medicine type can also be taken as the target type, which is not limited here.
[0065] Step S202: Analyze the number of target type drugs in the drug set of each diagnosis and treatment process of the target patient and the proportion of the number of all drugs in the drug set of each diagnosis and treatment process to obtain the pharmacological characteristic value of the target patient in each diagnosis and treatment process.
[0066] Since the proportion of target type drugs used by the target patient in each treatment process may change during the entire diagnosis and treatment cycle, and there may be some differences in the characteristics of this change between different patients, which will affect the final clustering processing results, it is necessary to analyze the number of target type drugs in the drug set of each treatment process of the target patient and the proportion of all drugs in the drug set of each treatment process. The obtained pharmacological characteristic values reflect the proportion of target type drugs used by the target patient in each treatment process. The larger the pharmacological characteristic value, the more the target patient uses the target type drug for treatment during this treatment process. Subsequently, the changes in the proportion of target type drugs used by the target patient in the entire treatment cycle can be analyzed based on the pharmacological characteristic values, thereby calculating the accurate pharmacological stability.
[0067] In one embodiment of the present invention, the number of drugs of the target type in the drug set of the target patient in each treatment process can be used as the numerator, the number of all drugs in the drug set of this treatment process can be used as the denominator, and the ratio can be used as the pharmacological characteristic value of the target patient in each treatment process.
[0068] Step S203: taking any two adjacent diagnosis and treatment processes of the target patient as adjacent diagnosis and treatment groups, and obtaining drug type difference parameters for each adjacent diagnosis and treatment group based on the difference in pharmacological characteristic values of the two diagnosis and treatment processes in each adjacent diagnosis and treatment group.
[0069] Since the proportion of target type drugs used by the target patient in the entire treatment cycle gradually changes with the progress of treatment, any two adjacent treatment processes of the target patient can be regarded as adjacent treatment groups, and then the differences in the pharmacological characteristic values of the two treatment processes in each adjacent treatment group are analyzed. The obtained drug type difference parameter reflects the degree of difference in the main drug types used in the two adjacent treatment processes. The greater the difference in drug types, the greater the difference in the main drug types used by the target patient in the two adjacent treatment processes. For example, Chinese medicine is mainly used for treatment in one time, and Western medicine is mainly used for treatment in the next time. In this case, the drug type difference parameter between the two treatment processes is relatively large. Subsequently, the drug type difference parameters of all adjacent treatment groups can be combined to analyze the changes in all drug types used by the target patient in the entire treatment cycle, so as to calculate the accurate pharmacological stability.
[0070] In the embodiment of the present invention, the absolute value of the difference between the pharmacological characteristic values of two diagnosis and treatment processes in each adjacent diagnosis and treatment group can be used as the drug type difference parameter of each adjacent diagnosis and treatment group.
[0071] In other embodiments of the present invention, the square value of the difference between the pharmacological characteristic values of two treatment processes in each adjacent treatment group may be used as the drug type difference parameter of each adjacent treatment group.
[0072] Step S204: taking the intersection of the drug sets of the two treatment processes in each adjacent treatment group as the drug intersection of each adjacent treatment group; normalizing the number of drugs contained in the drug intersection of each adjacent treatment group to obtain the drug similarity parameter of each adjacent treatment group.
[0073] During the entire diagnosis and treatment cycle, the specific drugs used by the target patient in each diagnosis and treatment process will gradually change with the progress of the diagnosis and treatment, and the change characteristics of the specific drugs used by different patients will also be different. The difference in the specific drugs used by the target patient in different diagnosis and treatment processes, if the number of the same drugs used in different diagnosis and treatment processes is large, it means that the difference is smaller. Therefore, the intersection of the drug sets of the two treatment processes in each adjacent diagnosis and treatment group can be used as the drug intersection of each adjacent diagnosis and treatment group, where the elements in the drug intersection represent the same drugs used by the target patient in two adjacent diagnosis and treatment processes. The more drugs contained in the drug intersection, the smaller the difference between the specific drugs used in the two adjacent diagnosis and treatment processes, that is, the greater the similarity. Therefore, the number of drugs contained in the drug intersection of each adjacent diagnosis and treatment group can be normalized, and the obtained drug similarity parameters can be used to reflect the similarity of the specific drugs used by the target patient in two adjacent diagnosis and treatment processes. Subsequently, the drug similarity parameters of all adjacent diagnosis and treatment groups can be combined to analyze the changes in all specific drugs used by the target patient in the entire diagnosis and treatment cycle, thereby calculating the accurate pharmacological stability.
[0074] In an embodiment of the present invention, the number of drugs contained in the intersection of drugs of each adjacent treatment group can be used as the numerator, and the number of drugs contained in the drug set of any treatment process in each adjacent treatment group can be used as the denominator, without limitation herein, thereby achieving normalization of the number of drugs contained in the intersection of drugs of each adjacent treatment group, and taking the ratio as the drug similarity parameter of each adjacent treatment group.
[0075] Step S205: Obtain the pharmacological stability of the target patient based on the drug type difference parameters and drug similarity parameters of all adjacent diagnosis and treatment groups of the target patient.
[0076] In order to evaluate the proportion of target type drugs and changes in specific drugs used by target patients throughout the entire diagnosis and treatment cycle, it is necessary to analyze the drug type difference parameters and drug similarity parameters of all adjacent treatment groups. Therefore, the pharmacological stability of the target patient can be obtained based on the drug type difference parameters and drug similarity parameters of all adjacent treatment groups of the target patient. The pharmacological stability reflects the changes in the target patient's medication trend throughout the diagnosis and treatment cycle. The greater the pharmacological stability, the smaller the degree of change in the target patient's main medication type and the specific drugs used throughout the diagnosis and treatment cycle, that is, the greater the stability of the medication situation, which facilitates the subsequent evaluation of the similarity of the diagnosis and treatment situations between patients based on the differences in pharmacological stability between patients, thereby achieving more effective clustering processing.
[0077] Preferably, in one embodiment of the present invention, the method for obtaining the pharmacological stability of a target patient further comprises:
[0078] The smaller the drug type difference parameter between adjacent treatment groups, the smaller the difference in the main drug types used between two adjacent treatment processes, which in turn indicates that the target patient's medication situation is more stable throughout the treatment cycle. Therefore, the drug type difference parameters of all adjacent treatment groups of the target patient can be combined and negatively normalized to obtain the target patient's drug type stability parameter. The larger the drug type stability parameter, the more stable the drug type mainly used by the target patient throughout the treatment cycle. For example, if the target patient mainly uses Chinese medicine or Western medicine in each treatment process, the target patient's drug type stability parameter will be larger.
[0079] In the embodiment of the present invention, the average value or cumulative value of the drug type difference parameters of all adjacent diagnosis and treatment groups of the target patient can be calculated to achieve the integration of the drug type difference parameters of all adjacent diagnosis and treatment groups, which is not limited here.
[0080] In the embodiment of the present invention, the natural constant can be used Negative exponential function with base 2 or using The normalization processing of negative correlation is realized in the form of, which is not limited here, and the normalization of negative correlation in subsequent steps can adopt this method.
[0081] The larger the drug similarity parameter of adjacent treatment groups, the more similar the specific drugs used between two adjacent treatment processes are, which further indicates that the target patient's medication situation is more stable throughout the treatment cycle. Therefore, the overall level of drug similarity parameters of all adjacent treatment groups of the target patient can be analyzed to obtain the drug stability parameter of the target patient. The larger the drug stability parameter, the more stable the specific drugs used by the target patient throughout the treatment cycle are.
[0082] In an embodiment of the present invention, the average or median of drug similarity parameters of all adjacent treatment groups of the target patient can be used as the drug stability parameter of the target patient to achieve an overall level analysis of drug similarity parameters of all adjacent treatment groups, which is not limited here.
[0083] The larger the drug type stability parameter and drug stability parameter of the target patient are, the smaller the degree of change in the target patient's medication situation during the entire diagnosis and treatment cycle is. Therefore, the drug type stability parameter and drug stability parameter of the target patient are integrated, and the obtained pharmacological stability reflects the stability of the target patient's medication situation during the entire diagnosis and treatment cycle. Subsequently, the similarity of the diagnosis and treatment situations between patients can be evaluated based on the differences in pharmacological stability between patients, thereby achieving more effective clustering processing.
[0084] In the embodiment of the present invention, the drug type stability parameter and the drug stability parameter of the target patient may be added or multiplied to achieve a combination of the two, which is not limited here.
[0085] The expression of pharmacological stability in target patients can be specifically expressed as:
[0086] ;
[0087] in, indicates pharmacological stability in target patients; and The target patients Pharmacological characteristic values of two treatment processes in adjacent treatment groups; The target patient Similar parameters of drugs in adjacent treatment groups; The target patient Drug type difference parameters between adjacent diagnosis and treatment groups; Indicates the drug type stability parameter for the target patient; Indicates drug stability parameters for target patients; represents the number of all diagnosis and treatment processes of the target patient, then represents the number of all adjacent treatment groups for the target patient. Since dry eye patients need multiple treatments, ; Indicated by natural constant An exponential function with base .
[0088] The pharmacological stability of each patient can be obtained by the same method as mentioned above. Since the differences in medical treatment between different patients are mainly reflected in the differences in the number of medical treatments, the main types of drugs used, and the differences in the stability of changes in medication trends, the differences in the number of medical treatments between any two patients, the differences in pharmacological stability, and the differences in the number of drugs of the same type in the drug set of all medical treatments can be analyzed. The initial pharmacological similarity obtained can reflect the similarity between the medical treatment conditions of any two patients, which facilitates further adjustments to the initial pharmacological similarity and achieves accurate clustering of patients.
[0089] Preferably, in one embodiment of the present invention, the method for obtaining the initial pharmacological similarity between any two patients further comprises:
[0090] Since the pharmacological characteristic values obtained above can reflect the proportion of target type drugs used by the patient in each diagnosis and treatment process, the larger the pharmacological characteristic value, the more the target patient is treated with the target type drugs during this diagnosis and treatment process. Therefore, the overall level of the pharmacological characteristic values of each patient in all diagnosis and treatment processes can be analyzed. The overall pharmacological characteristic value obtained reflects the type of drugs mainly used by each patient in the entire diagnosis and treatment cycle. The larger the overall pharmacological characteristic value, the more the patient is treated with the target type of drugs during the entire diagnosis and treatment cycle. Conversely, it means that the patient is treated with another type of drugs during the entire diagnosis and treatment cycle. Subsequently, the initial pharmacological similarity between patients can be calculated and analyzed based on the difference in the overall pharmacological characteristic values between any two patients.
[0091] In an embodiment of the present invention, the average or median of the pharmacological characteristic values of each patient in all diagnosis and treatment processes can be used as the overall pharmacological characteristic value of each patient to achieve the overall level analysis of the pharmacological characteristic values of the patient in all diagnosis and treatment processes, which is not limited here.
[0092] Since the similarity of diagnosis and treatment conditions between different patients is mainly reflected in the differences in overall pharmacological characteristic values, the number of diagnosis and treatment processes, and the pharmacological stability, the smaller the differences among the three, the greater the similarity of the diagnosis and treatment conditions between the patients, that is, the greater the initial pharmacological similarity. Therefore, the differences in overall pharmacological characteristic values, the number of diagnosis and treatment processes, and the pharmacological stability between any two patients can be combined and negatively normalized to obtain the initial pharmacological similarity between any two patients. The initial pharmacological similarity can preliminarily reflect the similarity of the diagnosis and treatment conditions between any two patients.
[0093] In one embodiment of the present invention, the expression of the initial pharmacological similarity can be specifically, for example, as follows:
[0094] ;
[0095] In other embodiments of the present invention, the expression of the initial pharmacological similarity can also be specifically, for example, as follows:
[0096] ;
[0097] in, Indicates Patients and Initial pharmacological similarity between patients; Indicates The overall pharmacological characteristics of each patient; Indicates The overall pharmacological characteristics of each patient; Indicates The number of treatment sessions for each patient; Indicates The number of treatment sessions for each patient; Indicates Pharmacological stability of each patient; Indicates Pharmacological stability of each patient; Expressed as a natural constant An exponential function with base .
[0098] At this point, the initial pharmacological similarity between any two patients is obtained, and the initial pharmacological similarity can be further adjusted subsequently to improve the effect of patient clustering.
[0099] Step S3: According to the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process, the initial pharmacological similarity is adjusted to obtain the true pharmacological similarity between any two patients.
[0100] Since some drugs have different names but the same drug ingredients and therapeutic effects, in the subsequent clustering processing, it is necessary to classify patients with high similarity in the ingredients contained in the drugs they use into the same cluster. If this factor is not considered, the final clustering effect will be reduced. Therefore, it is necessary to make further adjustments to the initial pharmacological similarity between any two patients based on the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process. The actual pharmacological similarity obtained can accurately reflect the similarity of the diagnosis and treatment conditions between any two patients, thereby improving the effect of subsequent clustering processing.
[0101] Preferably, in one embodiment of the present invention, the method for obtaining the true pharmacological similarity between any two patients specifically includes:
[0102] See also Figure 3, which shows a flow chart of a method for obtaining the true pharmacological similarity between any two patients provided by an embodiment of the present invention.
[0103] Step S301: Obtain the similarity of drug components between any two patients based on the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process.
[0104] From the above analysis, it can be seen that the differences between the ingredients contained in the drugs will also affect the final clustering effect, and each element in the component set represents the drug ingredients contained in each drug in the drug set. Therefore, the differences in the component sets of each drug between the drug sets of any two patients in the same diagnosis and treatment process can be analyzed. The obtained drug component similarity reflects the similarity between the drug ingredients used by any two patients during the diagnosis and treatment. The drug component similarity can then be used to adjust the initial pharmacological similarity to improve the accuracy of the assessment of the similarity of the diagnosis and treatment conditions between patients.
[0105] Preferably, in one embodiment of the present invention, the method for obtaining the similarity of drug ingredients between any two patients specifically includes:
[0106] During the same diagnosis and treatment of any two patients, one drug is randomly selected from the two drug sets, and the two selected drugs are used as the drug group in the same diagnosis and treatment process; the Jaccard similarity coefficient between the component sets of the two drugs in each drug group is used as the component consistency of each drug group, where the Jaccard similarity coefficient is an indicator used to measure the similarity between two sets. The larger the Jaccard similarity coefficient, the more identical elements there are in the two drug sets, that is, the more identical components there are, which further indicates that the components contained in the drugs used between patients are more similar. Subsequently, the component consistency can be used as the data basis to accurately calculate the similarity of drug components between any two patients.
[0107] The consistency of the components of all drug groups of any two patients in all the same diagnosis and treatment processes is integrated and normalized to obtain the similarity of drug components between any two patients.
[0108] In the embodiment of the present invention, the average value or cumulative value of the consistency of the components of all drug groups of any two patients in all the same diagnosis and treatment processes can be calculated to achieve integration, which is not limited here.
[0109] In one embodiment of the present invention, the normalization processing can be specifically, for example, maximum and minimum value normalization processing, and the normalization in subsequent steps can all adopt maximum and minimum value normalization processing. In other embodiments of the present invention, other normalization methods can be selected according to the specific range of numerical values, which will not be described in detail.
[0110] The expression of drug component similarity can be specifically, for example, as follows:
[0111] ;
[0112] in, Indicates Patients and Similarity of drug composition between patients; Indicates Patients and The patient in The first Consistency of ingredients across drug groups; Indicates Patients and The patient in The number of all medication groups during each visit; Indicates The number of treatment sessions for each patient; Indicates The number of treatment sessions for each patient; Represents the minimum value function, since the Patients and The number of diagnosis and treatment processes for each patient may be different, so the embodiment of the present invention only analyzes the previous Analyze the diagnosis and treatment process; Represents the normalization function.
[0113] Step S302: Based on the drug composition similarity between any two patients, the initial pharmacological similarity is adjusted to obtain the true pharmacological similarity between any two patients.
[0114] After obtaining the drug composition similarity between any two patients, the initial pharmacological similarity can be adjusted based on the drug composition similarity to obtain the true pharmacological similarity between any two patients. The true pharmacological similarity can accurately reflect the similarity of the diagnosis and treatment conditions between any two patients and improve the effect of subsequent clustering processing.
[0115] In the embodiment of the present invention, the product value or sum value of the initial pharmacological similarity and the drug ingredient similarity between any two patients can be normalized to adjust the initial pharmacological similarity and obtain the true pharmacological similarity between any two patients, which is not limited here.
[0116] At this point, the true pharmacological similarity between any two patients has been obtained. The true pharmacological similarity can evaluate the similarity of dry eye diagnosis and treatment between different patients. Subsequently, the similarity of symptoms of different dry eye patients and the true pharmacological similarity can be combined to accurately cluster dry eye patients.
[0117] Step S4: Cluster all patients according to the differences in symptom sets and true pharmacological similarities between patients to obtain different clusters.
[0118] The embodiment of the present invention needs to classify dry eye patients with similar symptoms and similar diagnosis and treatment conditions into the same cluster. Therefore, all patients can be clustered according to the differences in symptom sets and true pharmacological similarities between patients to obtain different clusters, thereby improving the final clustering effect. Each patient is connected with the corresponding symptom set and drug set, which helps medical staff to better manage and carry out targeted treatment.
[0119] Preferably, in one embodiment of the present invention, the method for obtaining different clusters specifically includes:
[0120] See also Figure 4 , which shows a flow chart of a method for obtaining different clusters provided by an embodiment of the present invention.
[0121] Step S401: taking the Jaccard similarity coefficient between the symptom sets of any two patients as the symptom similarity between any two patients, performing negative correlation normalization processing on the symptom similarity, and obtaining a first distance metric between any two patients.
[0122] Since patients with similar symptoms need to be divided into the same cluster, the Jaccard similarity coefficient between the symptom sets of any two patients can be used as the symptom similarity between any two patients. The similarity of dry eye symptoms between patients is evaluated by symptom similarity. Since the subsequent clustering algorithm is to cluster samples through the distance metric between samples, it is also necessary to perform negative correlation normalization processing on the symptom similarity to obtain the first distance metric between any two patients. The larger the first distance metric, the more dissimilar the symptom manifestations between any two patients.
[0123] Step S402: clustering all patients based on the first distance metric to obtain different initial clusters.
[0124] After obtaining the first distance metric between any two patients, the patients can be clustered based on the first distance metric, and patients with similar symptoms can be initially divided into the same cluster, thereby obtaining multiple initial clusters.
[0125] In the embodiment of the present invention, a distance-based clustering algorithm, such as k-means or DBSCAN, may be used to cluster patients to obtain multiple initial clusters, which is not limited here.
[0126] Step S403: clustering all patients in each initial cluster according to the true pharmacological similarity between any two patients in each initial cluster to obtain different clusters.
[0127] Since the above clustering only divides patients with similar symptoms into the same initial clustering cluster, the diagnosis and treatment conditions of patients in the same initial clustering cluster are quite different. Therefore, it is also necessary to cluster all patients in each initial clustering cluster according to the true pharmacological similarity between any two patients in each initial clustering cluster to obtain different clustering clusters to ensure that only patients with similar symptoms and similar diagnosis and treatment conditions exist in the same clustering cluster.
[0128] Preferably, in one embodiment of the present invention, the method for obtaining different clusters further includes:
[0129] Similarly, it is necessary to perform negative correlation normalization processing on the true pharmacological similarity between any two patients in each initial clustering cluster to obtain the second distance metric between any two patients in each initial clustering cluster. The larger the second clustering metric is, the more dissimilar the diagnosis and treatment conditions between any two patients are. Therefore, based on the second distance metric, all patients in each initial clustering cluster can be clustered again to obtain different clustering clusters. In order to ensure the final clustering effect, the second clustering uses the same clustering algorithm as the first clustering.
[0130] In other embodiments of the present invention, the first distance metric and the second distance metric obtained above may also be combined, so that the patients only need to be clustered once. For example, the square root of the sum of the squares of the first distance metric and the second distance metric may be taken to obtain the true distance metric between any two patients, and all patients are clustered based on the true distance metric, so that patients with similar symptoms and similar diagnosis and treatment conditions are divided into the same cluster cluster.
[0131] An embodiment of the present invention provides a diagnosis and treatment information processing system for dry eye patients, the system comprising:
[0132] The data acquisition module is used to obtain the drug set and the component set of each drug for each patient in each diagnosis and treatment process, and also obtain the symptom set of each patient in the initial diagnosis and treatment process, and divide the drugs in the drug set into two types.
[0133] The analysis module is used to obtain the pharmacological stability of each patient based on the difference in the drug set between two adjacent treatment processes for each patient and the difference in the number of drugs of the same type in the drug set; and to obtain the initial pharmacological similarity between any two patients based on the difference in the number of treatment processes between any two patients, the difference in pharmacological stability and the difference in the number of drugs of the same type in the drug set of all treatment processes.
[0134] The adjustment module is used to adjust the initial pharmacological similarity according to the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process, so as to obtain the true pharmacological similarity between any two patients.
[0135] The processing module is used to cluster all patients according to the differences in symptom sets and true pharmacological similarities between patients to obtain different clustering clusters.
[0136] An embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in steps S1 to S4 can be implemented.
[0137] To summarize, the embodiment of the present invention first obtains the drug set and the component set of each drug for each patient in each diagnosis and treatment process, and simultaneously obtains the symptom set of each patient in the initial diagnosis and treatment process, and divides the drugs in the drug set into two types; according to the difference in the drug set of each patient between two adjacent diagnosis and treatment processes and the difference in the number of drugs of the same type in the drug set, the pharmacological stability of each patient is obtained; according to the difference in the number of diagnosis and treatment processes between any two patients, the difference in pharmacological stability and the difference in the number of drugs of the same type in the drug set of all diagnosis and treatment processes, the initial pharmacological similarity between any two patients is obtained; according to the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process, the initial pharmacological similarity is adjusted to obtain the true pharmacological similarity between any two patients; according to the difference in symptom sets and the true pharmacological similarity between patients, all patients are clustered to obtain different clustering clusters.
[0138] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0139] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A method for processing diagnosis and treatment information for patients with dry eye, characterized in that: The method comprises: Obtain the drug set of different patients in each diagnosis and treatment process and the component set of each drug, and at the same time obtain the symptom set of each patient in the initial diagnosis and treatment process, and divide the drugs in the drug set into two types; The pharmacological stability of each patient is obtained based on the difference in the drug set between two adjacent treatment processes and the difference in the number of drugs of the same type in the drug set; the initial pharmacological similarity between any two patients is obtained based on the difference in the number of treatment processes between any two patients, the difference in the pharmacological stability and the difference in the number of drugs of the same type in the drug set of all treatment processes; According to the difference of the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process, the initial pharmacological similarity is adjusted to obtain the true pharmacological similarity between any two patients; According to the differences in the symptom sets between patients and the true pharmacological similarities, all patients are clustered to obtain different clusters.
2. A method for processing diagnosis and treatment information for dry eye patients according to claim 1, characterized in that: The method of obtaining the pharmacological stability of each patient according to the difference in the drug set between two adjacent diagnosis and treatment processes of each patient and the difference in the quantity of the same type of drugs in the drug set includes: Take any patient as the target patient and any of the two types of drugs as the target type; Analyze the number of target-type drugs in the drug set of each diagnosis and treatment process of the target patient and the proportion of all drugs in the drug set of each diagnosis and treatment process to obtain the pharmacological characteristic value of the target patient in each diagnosis and treatment process; Taking any two adjacent diagnosis and treatment processes of the target patient as adjacent diagnosis and treatment groups, and obtaining the drug type difference parameter of each adjacent diagnosis and treatment group according to the difference of the pharmacological characteristic values of the two diagnosis and treatment processes in each adjacent diagnosis and treatment group; The intersection of the drug sets of the two diagnosis and treatment processes in each adjacent diagnosis and treatment group is used as the drug intersection of each adjacent diagnosis and treatment group; the number of drugs contained in the drug intersection of each adjacent diagnosis and treatment group is normalized to obtain the drug similarity parameter of each adjacent diagnosis and treatment group; The pharmacological stability of the target patient is obtained based on the drug type difference parameters and the drug similarity parameters of all adjacent treatment groups of the target patient.
3. A method for processing diagnosis and treatment information for dry eye patients according to claim 2, characterized in that: The obtaining of the pharmacological stability of the target patient according to the drug type difference parameters and the drug similarity parameters of all adjacent diagnosis and treatment groups of the target patient comprises: The drug type difference parameters of all adjacent diagnosis and treatment groups of the target patient are integrated and negatively correlated normalized to obtain the drug type stable parameters of the target patient; Analyze the overall levels of similar drug parameters of all adjacent diagnosis and treatment groups of the target patient to obtain stable drug parameters of the target patient; The drug type stability parameter and the drug stability parameter of the target patient are integrated to obtain the pharmacological stability of the target patient.
4. A method for processing diagnosis and treatment information for dry eye patients according to claim 2, characterized in that: The obtaining of the initial pharmacological similarity between any two patients comprises: Analyzing the overall level of the pharmacological characteristic value of each patient during all diagnosis and treatment processes to obtain the overall pharmacological characteristic value of each patient; The difference in the overall pharmacological characteristic value, the difference in the number of the diagnosis and treatment process and the difference in the pharmacological stability between any two patients are integrated and normalized for negative correlation to obtain the initial pharmacological similarity between any two patients.
5. The method for processing diagnosis and treatment information for dry eye patients according to claim 1, characterized in that: The adjusting the initial pharmacological similarity according to the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process to obtain the true pharmacological similarity between any two patients includes: Obtaining the similarity of drug components between any two patients according to the difference in the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process; Based on the similarity of the drug ingredients between any two patients, the initial pharmacological similarity is adjusted to obtain the true pharmacological similarity between any two patients.
6. A method for processing diagnosis and treatment information for dry eye patients according to claim 5, characterized in that: The obtaining of the similarity of drug components between any two patients according to the difference of the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process comprises: In the same diagnosis and treatment process of any two patients, one drug is randomly selected from two drug sets respectively, and the two selected drugs are used as the drug group in the same diagnosis and treatment process; The Jaccard similarity coefficient between the component sets of two drugs in each drug group is taken as the component consistency of each drug group; The consistency of the components of all drug groups of any two patients in all the same diagnosis and treatment processes is integrated and normalized to obtain the similarity of drug components between any two patients.
7. A method for processing diagnosis and treatment information for dry eye patients according to claim 1, characterized in that: According to the difference in the symptom set between patients and the true pharmacological similarity, all patients are clustered to obtain different clusters including: Taking the Jaccard similarity coefficient between the symptom sets of any two patients as the symptom similarity between any two patients, performing negative correlation normalization processing on the symptom similarity, and obtaining a first distance measurement between any two patients; Clustering all patients based on the first distance metric to obtain different initial clustering clusters; According to the true pharmacological similarity between any two patients in each initial cluster, all patients in each initial cluster are clustered to obtain different clusters.
8. A method for processing diagnosis and treatment information for dry eye patients according to claim 7, characterized in that: According to the true pharmacological similarity between any two patients in each initial cluster, all patients in each initial cluster are clustered to obtain different clusters including: Performing negative correlation normalization processing on the true pharmacological similarity between any two patients in each initial clustering cluster to obtain a second distance metric between any two patients in each initial clustering cluster; Based on the second distance metric, all patients in each initial cluster are clustered to obtain different clusters.
9. A diagnosis and treatment information processing system for patients with dry eye, characterized in that: The system comprises: A data acquisition module is used to obtain the drug set and the component set of each drug for each patient in each diagnosis and treatment process, and also to obtain the symptom set of each patient in the initial diagnosis and treatment process, and to divide the drugs in the drug set into two types; An analysis module is used to obtain the pharmacological stability of each patient based on the difference in the drug set between two adjacent treatment processes of each patient and the difference in the number of drugs of the same type in the drug set; and to obtain the initial pharmacological similarity between any two patients based on the difference in the number of treatment processes between any two patients, the difference in the pharmacological stability, and the difference in the number of drugs of the same type in the drug set of all treatment processes; An adjustment module, for adjusting the initial pharmacological similarity according to the difference of the component set of each drug between the drug sets of any two patients in the same diagnosis and treatment process, so as to obtain the true pharmacological similarity between any two patients; The processing module is used to cluster all patients according to the differences in the symptom sets between patients and the true pharmacological similarities to obtain different clusters.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
