An Internet medical diagnosis method based on retrieval generation of large models

Through the Internet medical diagnosis method based on retrieval and generation of large models, disease characteristics are extracted and risk indexes are constructed, which solves the problem of being unable to predict patients with related diseases in the existing technology and achieves pre-diagnosis and risk reduction of diseases in cities.

CN118609844BActive Publication Date: 2024-10-11YUANYUE INFORMATION TECH (JINAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411076125.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-11
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

In the existing technology, the recognition model cannot effectively predict the disease patients associated with it after diagnosing the disease, making it difficult to reduce hidden disease risks in the city.

Method used

Adopt an Internet medical diagnosis method based on retrieval to generate a large model. By acquiring and labeling medical case data, disease features are extracted and input into the BERT model. Multi-layer perceptron MLP is used to predict the disease, determine whether it is a risk disease, obtain associated risk features, and construct risk Index, identify groups of affected people, and output medical information to reduce disease risks.

Benefits of technology

It achieves pre-diagnosis of diseases in cities, improves disease risk prevention and control, reduces misjudgment rates, and improves the accuracy of diagnosis of people suspected of target diseases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609844B_ABST
    Figure CN118609844B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of medical data analysis technology, and in particular to an Internet medical diagnosis method based on retrieval and generation of a large model. A target disease is predicted by a multi-layer perceptron MLP, and risk analysis is introduced into the target disease to obtain the associated risk characteristics caused by the target disease, and by determining various parameters and risk indexes of patient information corresponding to the target disease in the associated risk characteristics, after constructing an associated population group, the target disease object associated with the target disease can be determined in the associated population group to form a pre-diagnosis of the disease in the city, so as to output medical information and dietary recommendations to the target disease object, thereby improving the prevention and control of disease risks in the city.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical data analysis, and in particular to an Internet medical diagnosis method based on retrieval to generate a large model. Background Art

[0002] By training a disease recognition model based on electronic medical record data through machine learning models, the corresponding disease name can be output based on the symptom information input by the user, making it convenient to analyze, diagnose and predict symptoms.

[0003] However, when analyzing and diagnosing the disease corresponding to the symptom through the recognition model, if the disease poses a greater risk in the city, then how to use the disease diagnosed by the recognition model to identify other patients with related diseases in the city, and form a preliminary diagnosis for patients who have not submitted disease symptom information, so as to predict the disease for the patient and reduce the risk of disease in the city are all problems that need to be solved at present. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides an Internet medical diagnosis method based on retrieval and generation of a large model, which can effectively solve the problem that after the recognition model in the prior art diagnoses the disease, it is unable to make a predictive diagnosis on the people corresponding to the disease associated with it in the city, thereby reducing the risk of disease.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0006] The present invention provides an Internet medical diagnosis method based on retrieval and generation of a large model, comprising the following steps:

[0007] Obtain medical case data and annotate them with BIO tags to obtain medical features;

[0008] Extract disease features from medical features and concatenate them with disease names to form a text sequence. Input the text sequence into the BERT model to obtain a vector representation. Use the multi-layer perceptron MLP to predict the disease and mark it as the target disease, thereby constructing case information.

[0009] Clarify whether the target disease is a risk disease, including:

[0010] If it is a risk disease, then the electronic medical record data matching the risk disease is obtained from the medical database, and it is determined whether the electronic medical record data has associated risk characteristics with the risk disease;

[0011] Here, the identification party and the measurement party are marked by the electronic medical record data and the symptom occurrence time of the target disease, and the identification party and the measurement party are used to determine one feature and two features, thereby obtaining the associated risk feature;

[0012] When generating the associated risk features, the patient information corresponding to the target disease is obtained based on the two features, the various parameters of the patient information are determined, and the associated screening parameters are constructed based on the various physical parameters. , build a group of associated persons based on the identification party , based on the associated filter parameters In the group of connected persons to reconstruct the associated group ;

[0013] The risk index is constructed by identification and measurement, and the risk index and various parameters are used to identify and measure the risk of the affected group. The target disease object is determined in order to output medical information to the target disease object.

[0014] The method for determining the associated risk characteristics is as follows:

[0015] Obtain the symptom occurrence time corresponding to the electronic medical record data and the target disease, mark the party with the earlier symptom occurrence time as the identified party, and thereby obtain the maximum duration interval of the identified party , marking the non-identified party as the measuring party;

[0016] Determine whether the symptom duration of the test subject is within the maximum duration interval , if in, then the risk disease is marked as a feature;

[0017] When a feature is present:

[0018] Obtain the location information of the identified party from the time of symptom onset to the current time and record it as the first location information , obtain the location information of the measured party from the time of symptom onset to the current time and record it as the second location information , the first location information and the second location information are combined with the risk location threshold corresponding to the risk disease, thereby determining whether there is first location information that meets the infection threshold and second location information , if it exists, the target case is marked as a binomial feature, and the presence of associated risk features is determined based on the one feature and the binomial features.

[0019] The parameters include height, weight, past medical history, medication history, family genetic history and current diseases.

[0020] The associated group The construction method is:

[0021] Constructing related screening parameters based on various body parameters ;

[0022] Determine the first location information traversed by the identification party , and obtain the first location information People with risk location thresholds and building groups of connected people ;

[0023] Filter parameters by association In the group of connected persons Match in to group the associated people In line with the associated screening parameters Determine the personnel who meet any of the parameters and rebuild the associated group .

[0024] The risk index is obtained according to the following method:

[0025] If the first location information and second location information If the risk location threshold is met, the distance parameter is obtained. , associated time , Mouth movement duration and mouth opening area ;

[0026] By setting the distance parameter , associated time , Mouth movement duration and mouth opening area Normalize and calculate the risk index according to the following relationship:

[0027] Where: is the risk index, is the average distance between the first location information and the second location information at the risk location threshold, is the average duration between the first location information and the second location information being below the risk location threshold, is the average mouth movement duration of the recognizer corresponding to the first position information, is the average mouth opening area of ​​the identification party corresponding to the first position information, is the number of items, is the number of times the first location information and the second location information are at the risk location threshold, is the weight coefficient, is the constant correction factor;

[0028] Determine the associated group The parameters corresponding to the personnel in the company are calculated, and each parameter is assigned a value and a corresponding weight coefficient. The actual value is obtained by weighted summation based on the value and weight coefficient of each parameter. Combined with the risk index .

[0029] The risk index When determining, set the level risk range, including:

[0030] The first-level risk area, the second-level risk area and the third-level risk area will be located between the first-level risk areas. Restructured group of contacts The people in the group are listed as target disease subjects and medical information is output.

[0031] If the identity information of the target disease subject has corresponding electronic medical record data in the medical platform and the symptom occurrence time recorded in the electronic medical record data is within hour:

[0032] Then obtain the parameters corresponding to the identity information to re-determine the associated person group And get the actual value, the actual value is the same as Combined to get back , to re-determine the target disease subjects;

[0033] Obtain the location information coordinates of the target disease object from the time of symptom onset to the current time, and connect multiple location information coordinates to construct urban risk areas and avoid them.

[0034] Compared with the known prior art, the technical solution provided by the present invention has the following beneficial effects:

[0035] The target disease is predicted by a multi-layer perceptron (MLP), and risk analysis is introduced into the target disease to obtain the associated risk characteristics caused by the target disease. By determining the various parameters and risk index of the patient information corresponding to the target disease in the associated risk characteristics, after constructing the associated population group, the target disease objects associated with the target disease can be determined in the associated population group to form a preliminary diagnosis of the disease in the city, so as to output medical information and dietary recommendations to the target disease objects, thereby improving the prevention and control of disease risks in the city. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 It is a schematic diagram of the overall method of the present invention. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] The present invention will be further described below in conjunction with the embodiments.

[0040] Example 1 (see Figure 1 ): An Internet medical diagnosis method based on retrieval and generation of a large model, comprising the following steps:

[0041] S100, obtaining a large amount of medical case data in the online medical platform, and annotating the medical case data with BIO tags, thereby obtaining medical features of different parts;

[0042] Among them, medical case data includes information such as symptoms, examination results, medical history, and corresponding disease diagnosis results;

[0043] S200, extract the disease feature F (symptom) from the medical feature, and concatenate it with the corresponding disease name N to form a text sequence, and input the text sequence into the BERT model. The BERT model can output a vector representation of the text sequence, and the vector representation is further nonlinearly transformed through the multi-layer perceptron MLP, and output as a disease score S, thereby obtaining the importance score of the disease feature F to the disease name N, and input the disease score S into the classification model. The classification model can be a logistic regression model, a decision tree model or a convolutional neural network model, which will not be described here. Therefore, the disease score S is converted into a probability value according to the softmax function of the classification model. The probability value is a value between 0 and 1 (the specific calculation formula is: , For characters The probability of being labeled with label j, The vector representation is a multi-layer perceptron MLP The output of L is the total number of labels. In this scheme, according to the BIO labeling method, it is 3. is a text sequence), thereby arranging all diseases in descending order and forming a disease prediction list. Each disease has a corresponding probability value (and has a corresponding confidence level). Therefore, the disease with the highest probability value (or confidence level) is considered to be more likely and is recorded as the target disease. The case information is output to the terminal device of the consulting patient (the electronic case template is filled in according to the judged disease characteristics and disease name, as well as the basic information such as the patient's identity). It should be noted that when outputting the case information, the dietary recommendation plan associated with the disease information can be output synchronously to indicate that the patient needs to control his diet reasonably.

[0044] In the above, the dietary recommendation plan is pushed based on the dietary recommendation plan preset based on the disease information, including but not limited to chronic diseases, infectious diseases, hereditary diseases or allergic diseases, etc., thereby enabling adaptive push with the help of disease information.

[0045] It should be noted that, the above-mentioned input of the disease score S into the classification model to obtain the disease prediction list is currently public and can be implemented in a variety of ways, and thus, it will not be described in detail here.

[0046] S300, based on the predicted target disease of the patient, determining whether it is a risk disease, wherein the risk disease refers to a disease type that is contagious, such as influenza A virus, etc.;

[0047] If it is a risk disease, then the electronic medical record data matching the risk disease is obtained from the medical database. The matching refers to the electronic medical record data corresponding to the same disease type as the risk disease, and it is determined whether the electronic medical record data has associated risk characteristics with the risk disease. The method for determining the associated risk characteristics is as follows:

[0048] S30A, obtaining the symptom occurrence time corresponding to the electronic medical record data and the target disease, marking the party with the earlier symptom occurrence time as the identified party, and thereby obtaining the maximum duration interval of the identified party (Usually a preset value, influenza viruses usually last 0-14 days, based on the historical electronic medical data collected to obtain the maximum duration, and The symptom onset time and symptom onset time of the identified party are respectively the date after the superposition of 14), and the non-identified party is marked as the measured party;

[0049] S30B, determine whether the symptom occurrence time of the measuring party is within the maximum duration interval , if in, then the risk disease is marked as a feature;

[0050] S30C, when a feature exists:

[0051] Obtain the location information of the identified party from the time of symptom onset to the current time and record it as the first location information (There are multiple locations), obtain the location information of the measured person from the time of symptom onset to the current time and record it as the second location information The first location information and the second location information are combined with the risk location threshold corresponding to the risk disease (which means that the location information is 0-5 meters apart at the same time, and is transmitted through droplets or air. Generally speaking, the closer the first location information and the second location information are, the greater the risk), thereby determining whether there is first location information that meets the infection threshold. and second location information , if it exists, the target case is marked as a binomial feature, thus determining the existence of associated risk features based on one feature and two features.

[0052] In the above, the location information of the acquisition path can be collected through the terminal device carried by the identifying party or the measuring party, or the corresponding identity information can be determined according to the identifying party or the measuring party, and the location information of the identity information can be collected with the help of monitoring equipment.

[0053] S400. Further, in this solution, when the associated risk feature is generated, the patient information corresponding to the target disease is obtained based on the two features, and various parameters of the patient information are determined, including height, weight, past medical history, medication history, family genetic history and current disease, thereby constructing the associated screening parameters with various physical parameters. , determine the first location information experienced by the identification party , and obtain the first location information People with risk location thresholds and building groups of connected people , thereby filtering parameters based on association In the group of connected persons One by one screening and matching control to group the affected people In line with the associated screening parameters Determine the personnel who meet any of the parameters and rebuild the associated group , thus the people in the associated group can be pre-diagnosed as having suspected target diseases, so that the medical platform can determine the terminal device corresponding to the person and output medical information, to indicate that the person can diagnose whether he or she has the disease through the medical platform, thereby achieving accurate positioning of risk personnel.

[0054] Furthermore, in order to improve the diagnostic accuracy of people suspected of having the target disease, the following steps are also included:

[0055] S500: Obtaining first location information and second location information The time of association under the risk position threshold. The association time refers to the first position information and second location information The time from when the risk position threshold is reached to when the risk position ends, therefore, if the first position information and second location information If the risk location threshold is met, the distance parameter is obtained. , associated time , Mouth movement duration (According to the monitoring equipment, the duration of the person's mouth speaking action is counted) and the mouth opening area , and the risk index is calculated by passing the distance parameter , associated time , Mouth movement duration and mouth opening area Normalize and calculate the risk index according to the following relationship:

[0056]

[0057] Where: is the risk index, is the average distance between the first location information and the second location information at the risk location threshold (the first location information and the second location information are at the risk location threshold multiple times), is the average duration between when the first location information and the second location information are below the risk location threshold (when the first location information and the second location information are below the risk location threshold multiple times), is the average mouth movement duration of the identifier corresponding to the first position information (the first position information and the second position information are at the risk position threshold for multiple times), is the average mouth opening area of ​​the identification party corresponding to the first position information (extract image data and calculate the degree of mouth opening), is the number of items (default is 4), is the number of times the first location information and the second location information are at the risk location threshold, is the weight coefficient, is the constant correction factor;

[0058] Then, restructure the associated groups The parameters corresponding to the personnel in the system are calculated, and each parameter is assigned a value (such as 0.1) and a corresponding weight coefficient. If a person has multiple parameters, the actual value is obtained by weighted summation based on the value and weight coefficient of each parameter. Combine (add) to get ;

[0059] Therefore, the risk interval is set, including the first-level risk interval , Secondary risk interval and level 3 risk range , and then the first-level risk areas can be Restructured group of contacts The personnel in the group are extracted to be listed as the target disease objects, that is, they are pre-diagnosed as the suspected target disease. In this way, the medical platform can determine the terminal device corresponding to the personnel and output the medical information (disease symptoms and name), thereby improving the accuracy of pre-diagnosis and reducing the misjudgment rate of suspected target disease personnel.

[0060] Embodiment 2: Different from the above embodiment, in this embodiment, if the identity information corresponding to the determined target disease subject has corresponding electronic medical record data in the medical platform, and the symptom occurrence time recorded in the electronic medical record data is within When the patient is identified, the parameters corresponding to the identity information (patient information) are obtained, and the associated person group can be re-determined according to the step S400. , and then assign a value and a corresponding weight coefficient to each parameter. If a person has multiple parameters, the actual value is obtained by weighted summation based on the value and weight coefficient of each parameter. Combined to get back , here we can base The target disease object is re-determined with the first-level risk interval. Therefore, after the target disease object is determined multiple times, the location information coordinates of the target disease object from the symptom occurrence time to the current time can be obtained, and multiple location information coordinates are connected to construct the urban risk zone for avoidance, thereby achieving the prevention and avoidance of disease risks in the city.

[0061] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements will not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present invention.

Claims

1. An Internet medical diagnosis method based on retrieval and generation of a large model, characterized in that: The steps include: S100, obtaining medical case data and annotating it with BIO tags to obtain medical characteristics; S200, extracting disease features from medical features and concatenating them with disease names to form a text sequence, inputting the text sequence into a BERT model to obtain a vector representation, predicting the disease through a multi-layer perceptron MLP and marking it as a target disease, thereby constructing case information; S300. Clarify whether the target disease is a risk disease, including: If it is a risk disease, then the electronic medical record data matching the risk disease is obtained from the medical database, and it is determined whether the electronic medical record data has associated risk characteristics with the risk disease; Risk diseases are types of diseases that are contagious; Matching refers to electronic medical record data corresponding to the same disease type as the risk disease; Here, the identification party and the measurement party are marked by the electronic medical record data and the symptom occurrence time of the target disease, and the identification party and the measurement party are used to determine one feature and two features, thereby obtaining the associated risk feature; The method for determining the associated risk characteristics is as follows: Obtain the symptom occurrence time corresponding to the electronic medical record data and the target disease, mark the party with the earlier symptom occurrence time as the identified party, and thereby obtain the maximum duration interval of the identified party , marking the non-identified party as the measuring party; Determine whether the symptom duration of the test subject is within the maximum duration interval , if in, then the risk disease is marked as a feature; When a feature is present: Obtain the location information of the identified party from the time of symptom onset to the current time and record it as the first location information , obtain the location information of the measured party from the time of symptom onset to the current time and record it as the second location information , the first location information and the second location information are combined with the risk location threshold corresponding to the risk disease, thereby determining whether there is first location information that meets the infection threshold and second location information , if it exists, the target case is marked as a binomial feature, and the presence of associated risk features is determined based on the one feature and the binomial features; and The symptom onset time of the identified party is the date obtained by adding the symptom onset time to the preset value; S400: When the associated risk feature is generated, the patient information corresponding to the target disease is obtained based on the two features, the various parameters of the patient information are determined, and the associated screening parameters are constructed based on the various physical parameters. , build a group of associated persons based on the identification party , based on the associated filter parameters In the group of connected persons to reconstruct the associated group ; S500, constructing a risk index with the identification party and the measurement party, and The target disease object is determined in order to output medical information to the target disease object.

2. The Internet medical diagnosis method based on retrieval and generation of a large model according to claim 1 is characterized in that: The parameters include height, weight, past medical history, medication history, family genetic history and current diseases.

3. The Internet medical diagnosis method based on retrieval and generation of a large model according to claim 1 is characterized in that: The group of associated persons The construction method is: Constructing related screening parameters based on various body parameters ; Determine the first location information traversed by the identification party , and obtain the first location information People with risk location thresholds and building groups of connected people ; Filter parameters by association In the group of connected persons Match in to group the associated people In line with the associated screening parameters Determine the personnel who meet any of the parameters and rebuild the associated group .

4. The Internet medical diagnosis method based on retrieval and generation of a large model according to claim 1 is characterized in that: The risk index is obtained according to the following method: If the first location information and second location information If the risk location threshold is met, the distance parameter is obtained. , associated time , Mouth movement duration and mouth opening area ; By setting the distance parameter , associated time , Mouth movement duration and mouth opening area Normalize and calculate the risk index according to the following relationship: Where: is the risk index, is the average distance between the first location information and the second location information at the risk location threshold, is the average duration between the first location information and the second location information being below the risk location threshold, is the average mouth movement duration of the recognizer corresponding to the first position information, is the average mouth opening area of ​​the identification party corresponding to the first position information, is the number of items, is the number of times the first location information and the second location information are at the risk location threshold, is the weight coefficient, is the constant correction factor; Determine the associated group The parameters corresponding to the personnel in the company are calculated, and each parameter is assigned a value and a corresponding weight coefficient. The actual value is obtained by weighted summation based on the value and weight coefficient of each parameter. Combined with the risk index .

5. The Internet medical diagnosis method based on retrieval and generation of a large model according to claim 4 is characterized in that: The risk index When determining, set the level risk range, including: The first-level risk area, the second-level risk area and the third-level risk area will be located between the first-level risk areas. Restructured group of contacts The people in the group are listed as target disease subjects and medical information is output.

6. The Internet medical diagnosis method based on retrieval and generation of a large model according to claim 5 is characterized in that: If the identity information of the target disease subject has corresponding electronic medical record data in the medical platform and the symptom occurrence time recorded in the electronic medical record data is within hour: Then obtain the parameters corresponding to the identity information to re-determine the associated person group And get the actual value, the actual value is the same as Combined to get back , to re-determine the target disease subjects; Obtain the location information coordinates of the target disease object from the time of symptom onset to the current time, and connect multiple location information coordinates to construct urban risk areas and avoid them.