Disease early warning system based on artificial intelligence
By processing patient medical record information through artificial intelligence, building a knowledge graph and training a graph neural network model, it solves the problem of being unable to give medication recommendations and predict disease development trends in the existing technology, and achieves accurate disease early warning and diagnosis and treatment reference.
Patent Information
- Application Number
- CN202410880066.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-02
AI Technical Summary
The existing technology cannot give medication suggestions and eliminate the causes of disease based on a patient's medical record information, nor can it predict the development trend of the disease, resulting in inaccurate early warning information.
A disease early warning system based on artificial intelligence is used to process medical record information through a natural language processing model, build a knowledge graph, and use graph neural network model training and prediction to provide medication suggestions and inducement elimination suggestions to predict disease development trends.
It is possible to provide accurate medication suggestions and inducement elimination suggestions based on patient medical record information, predict disease development trends, and improve the accuracy and effectiveness of disease diagnosis and treatment.
Smart Images

Figure CN118486453B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical data processing, and in particular to a disease early warning system based on artificial intelligence. Background Art
[0002] CN108922623A relates to a health risk assessment and disease early warning information system, belonging to the field of health management technology, the system includes an employee health management system and a personal health system; the employee health management system includes eleven modules such as employee basic information management module, employee health data collection module, employee health questionnaire management module, etc.; the personal health system consists of a general user registration submodule, a personal information management submodule, a personal health history management submodule, a daily health monitoring submodule, a medical sick leave management submodule, a health questionnaire submodule, an annual health examination submodule, a health status assessment submodule, a disease risk assessment submodule, a health promotion management submodule, and a health consultation forum submodule. The health risk assessment and disease early warning information system of this scheme forms an integrated network management mode of health management, health risk assessment and health risk intervention control.
[0003] CN109767842A relates to a disease early warning method, a disease early warning device and a computer-readable storage medium, which are applied to the field of knowledge relationship analysis, wherein the method includes: obtaining a knowledge graph and a high-incidence seasonal disease, wherein the knowledge graph stores medical data generated when multiple patients visit the doctor; extracting the onset data of the high-incidence seasonal disease in the knowledge graph, wherein the onset data includes the onset time of all patients suffering from the high-incidence seasonal disease; determining the onset time period and onset scale of the high-incidence seasonal disease according to the onset data of the high-incidence seasonal disease; and prompting disease early warning information, wherein the disease early warning information includes the onset time period and onset scale of the high-incidence seasonal disease. The scheme predicts the onset time period and onset scale of the high-incidence seasonal disease based on the knowledge graph, so as to warn the management personnel to carry out corresponding prevention and drug preparation, thereby providing a fast and efficient disease early warning method.
[0004] Based on relevant technologies, a system for managing personnel health can be built, and knowledge graphs can be used to predict high-incidence seasonal diseases. However, relevant technologies cannot give medication recommendations or suggestions for eliminating the causes of the disease based on a patient's medical records, nor can they predict the patient's disease development trend. Therefore, it is difficult to give accurate early warning information.
[0005] The information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art already known to those skilled in the art. Summary of the invention
[0006] The present invention provides an artificial intelligence-based disease early warning system, which can solve the technical problems that related technologies are unable to give medication recommendations and exclusion recommendations for the causes of the disease based on a patient's medical history information, and are unable to predict the patient's disease development trend.
[0007] According to a first aspect of the present invention, there is provided a disease early warning system based on artificial intelligence, comprising:
[0008] An information acquisition module is used to process the medical records of the i-th diagnosis and treatment through a natural language processing model after obtaining the medical records of the i-th diagnosis and treatment in the i-th diagnosis and treatment of the target subject in the current diagnosis and treatment cycle, and obtain the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during the period from the i-1-th diagnosis and treatment to the i-th diagnosis and treatment, where i>1 and i is a positive integer;
[0009] A knowledge graph acquisition module, for obtaining a knowledge graph of the i-th diagnosis and treatment of the target object according to the disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and the inducement information of the i-th diagnosis and treatment, wherein the knowledge graph of the i-th diagnosis and treatment includes a plurality of nodes, each of which corresponds to one of the disease type information, the clinical manifestation information, the relevant physiological indicator information, the historical medication information and the inducement information, and the knowledge graph of the i-th diagnosis and treatment also includes a connection relationship between the nodes, and a connection weight between nodes with a connection relationship determined by a graph neural network model of the i-1-th diagnosis and treatment;
[0010] A training module, used to train the graph neural network model of the i-1th diagnosis and treatment through the nodes of the knowledge graph after the i-th diagnosis and treatment, the connection weights determined by the graph neural network model of the i-1th diagnosis and treatment, and the connection relationships, to obtain the graph neural network model of the i-th diagnosis and treatment, and the connection weights of the i-th diagnosis and treatment;
[0011] A discrimination module, used to determine whether the graph neural network model of the i-th diagnosis and treatment is trained based on the connection weight of the i-th diagnosis and treatment, as well as the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during the period from the first diagnosis and treatment to the i-th diagnosis and treatment;
[0012] A suggestion module is used to obtain the expected medication suggestion information and inducement exclusion suggestion information for the i-th diagnosis and treatment according to the connection weights and expected physiological index information of the i-th diagnosis and treatment if the training of the graph neural network model for the i-th diagnosis and treatment is completed;
[0013] A prediction module, used to determine predicted physiological index information at the end of the current diagnosis and treatment cycle based on the expected medication recommendation information of the i-th diagnosis and treatment, the inducement elimination recommendation information, and the graph neural network model of the i-th diagnosis and treatment;
[0014] The early warning module is used to generate disease early warning information according to the predicted physiological index information and the expected physiological index information.
[0015] According to a second aspect of the present invention, there is provided a disease early warning method based on artificial intelligence, comprising:
[0016] After obtaining the medical record of the i-th diagnosis and treatment in the i-th diagnosis and treatment of the target subject in the current diagnosis and treatment cycle, the medical record of the i-th diagnosis and treatment is processed through the natural language processing model to obtain the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during the period from the i-1-th diagnosis and treatment to the i-th diagnosis and treatment, i>1, and i is a positive integer;
[0017] According to the disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and the inducement information of the i-th diagnosis and treatment, a knowledge graph of the i-th diagnosis and treatment of the target object is obtained, wherein the knowledge graph of the i-th diagnosis and treatment includes a plurality of nodes, each of which corresponds to one of the disease type information, the clinical manifestation information, the relevant physiological indicator information, the historical medication information and the inducement information, and the knowledge graph of the i-th diagnosis and treatment also includes connection relationships between the nodes, and connection weights between nodes with connection relationships determined by the graph neural network model of the i-1-th diagnosis and treatment;
[0018] The graph neural network model of the i-1th diagnosis and treatment is trained through the nodes of the knowledge graph after the i-th diagnosis and treatment, the connection weights determined by the graph neural network model of the i-1th diagnosis and treatment, and the connection relationships to obtain the graph neural network model of the i-th diagnosis and treatment, and the connection weights of the i-th diagnosis and treatment;
[0019] According to the connection weight of the i-th diagnosis and treatment, as well as the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information from the first diagnosis and treatment to the i-th diagnosis and treatment, determine whether the graph neural network model of the i-th diagnosis and treatment is trained;
[0020] If the graph neural network model training for the i-th diagnosis and treatment is completed, the expected medication recommendation information and inducement exclusion recommendation information for the i-th diagnosis and treatment are obtained according to the connection weights and expected physiological index information of the i-th diagnosis and treatment;
[0021] Determine the predicted physiological index information at the end of the current diagnosis and treatment cycle based on the expected medication recommendation information, the inducement elimination recommendation information and the graph neural network model of the i-th diagnosis and treatment;
[0022] Disease warning information is generated according to the predicted physiological index information and the expected physiological index information.
[0023] According to a third aspect of the present invention, there is provided an artificial intelligence-based disease warning device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the artificial intelligence-based disease warning method.
[0024] According to the artificial intelligence-based disease early warning system of the embodiment of the present invention, the knowledge graph of each diagnosis and treatment can be obtained by processing the medical records, so as to train the graph neural network model, and then the trained graph neural network model can be used to give medication recommendation information and inducement elimination recommendation information based on the knowledge graph, so as to give reasonable suggestions for the target object, and the trained graph neural network model can also be used to predict the development trend of the disease, so as to generate accurate early warning information and provide accurate reference for the diagnosis and treatment of the disease. When training the graph neural network model, the loss function of the graph neural network model can be determined during the training process through multiple aspects such as the relative deviation between the feature vector of the information corresponding to the node and the feature vector of the predicted information, the influence of the node on other nodes, and the depth of the node, so as to accurately and objectively express the influence of each item in the loss function on the accuracy of the graph neural network model, improve the pertinence and efficiency of the training, and improve the accuracy of the graph neural network model. When determining the training discriminant parameters, the average deviation between the feature vector of the information corresponding to each node of the knowledge graph after each diagnosis and treatment and the feature vector of the training information can be calculated, and the weight of the average deviation can be determined based on the time interval between each diagnosis and treatment and the current diagnosis and treatment, and then the training discriminant parameters can be solved, so that the training discriminant parameters can accurately and objectively reflect the importance of the prediction accuracy of the information of the nodes of each diagnosis and treatment, as well as the accuracy of the graph neural network model, to improve the accuracy of judgment. When determining the recovery index, the recovery index at the end of the current diagnosis and treatment cycle can be determined based on the weighted average of the similarities between the predicted physiological indicator information and the healthy physiological indicator information, and the weighted average of the similarities between the expected physiological indicator information and the healthy physiological indicator information, so as to accurately describe the degree of closeness between the disease recovery status of the current diagnosis and treatment cycle and the expected recovery effect, and accurately describe the development trend of the disease.
[0025] It should be understood that the above general description and the following detailed description are exemplary and explanatory only and do not limit the present invention. Other features and aspects of the present invention will become more apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] 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 description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can be obtained based on these drawings without creative work.
[0027] Figure 1 A schematic diagram of a disease early warning system based on artificial intelligence according to an embodiment of the present invention is exemplarily shown;
[0028] Figure 2 The flowchart of the disease early warning method based on artificial intelligence according to an embodiment of the present invention is exemplarily shown. DETAILED DESCRIPTION
[0029] 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 only 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.
[0030] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0031] Figure 1 A schematic diagram of a disease early warning system based on artificial intelligence according to an embodiment of the present invention is exemplarily shown, wherein the system comprises:
[0032] An information acquisition module is used to process the medical records of the i-th diagnosis and treatment through a natural language processing model after obtaining the medical records of the i-th diagnosis and treatment in the i-th diagnosis and treatment of the target subject in the current diagnosis and treatment cycle, and obtain the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during the period from the i-1-th diagnosis and treatment to the i-th diagnosis and treatment, where i>1 and i is a positive integer;
[0033] A knowledge graph acquisition module, for obtaining a knowledge graph of the i-th diagnosis and treatment of the target object according to the disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and the inducement information of the i-th diagnosis and treatment, wherein the knowledge graph of the i-th diagnosis and treatment includes a plurality of nodes, each of which corresponds to one of the disease type information, the clinical manifestation information, the relevant physiological indicator information, the historical medication information and the inducement information, and the knowledge graph of the i-th diagnosis and treatment also includes a connection relationship between the nodes, and a connection weight between nodes with a connection relationship determined by a graph neural network model of the i-1-th diagnosis and treatment;
[0034] A training module, used to train the graph neural network model of the i-1th diagnosis and treatment through the nodes of the knowledge graph after the i-th diagnosis and treatment, the connection weights determined by the graph neural network model of the i-1th diagnosis and treatment, and the connection relationships, to obtain the graph neural network model of the i-th diagnosis and treatment, and the connection weights of the i-th diagnosis and treatment;
[0035] A discrimination module, used to determine whether the graph neural network model of the i-th diagnosis and treatment is trained based on the connection weight of the i-th diagnosis and treatment, as well as the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during the period from the first diagnosis and treatment to the i-th diagnosis and treatment;
[0036] A suggestion module is used to obtain the expected medication suggestion information and inducement exclusion suggestion information for the i-th diagnosis and treatment according to the connection weights and expected physiological index information of the i-th diagnosis and treatment if the training of the graph neural network model for the i-th diagnosis and treatment is completed;
[0037] A prediction module, used to determine predicted physiological index information at the end of the current diagnosis and treatment cycle based on the expected medication recommendation information of the i-th diagnosis and treatment, the inducement elimination recommendation information, and the graph neural network model of the i-th diagnosis and treatment;
[0038] The early warning module is used to generate disease early warning information according to the predicted physiological index information and the expected physiological index information.
[0039] According to the artificial intelligence-based disease early warning system of an embodiment of the present invention, the knowledge graph of each diagnosis and treatment can be obtained by processing medical records, so as to train the graph neural network model, and then the trained graph neural network model can give medication recommendation information and inducement elimination recommendation information based on the knowledge graph, so as to give reasonable suggestions for the target object, and the trained graph neural network model can also be used to predict the development trend of the disease, so as to generate accurate early warning information and provide accurate reference for the diagnosis and treatment of the disease.
[0040] According to one embodiment of the present invention, in the information acquisition module, the target object (for example, a patient with a certain disease) can receive multiple diagnosis and treatment cycles during hospitalization. In each diagnosis and treatment cycle, multiple diagnosis and treatment can be performed (for example, one diagnosis and treatment is performed every day), and the target object's medical record can be updated after the daily diagnosis and treatment is completed, so as to record the diagnosis and treatment situation of the day in the medical record. After the first diagnosis and treatment, the initial medical record can be obtained, and after the i-th (i>1) diagnosis and treatment, the medical record is updated, and the disease type, clinical manifestations, relevant physiological indicators measured at each diagnosis and treatment, historical medication information from the last diagnosis and treatment to the current diagnosis and treatment, and possible inducements of the disease or making the disease more serious can be recorded in the medical record. For example, the disease type is heart disease, the clinical manifestations are hypertension, aortic valve stenosis, etc., the relevant physiological indicators are blood pressure, heart rate and other indicators, the historical medication information can record the type of medication and daily dosage from the last diagnosis and treatment to the current diagnosis and treatment, and the causes may include respiratory tract infection, arrhythmia, physical or psychological stress, pregnancy, increased blood volume, etc. The present invention does not limit the specific content of the above information.
[0041] According to one embodiment of the present invention, the natural language processing model can be a deep learning neural network model, for example, a recursive neural network model. The present invention does not limit the specific type of the natural language processing model. The natural language processing model can determine the semantic information of the text in the medical record and convert the above information recorded in the medical record into information in vector form, for example, disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and inducement information from the i-1th diagnosis and treatment to the i-th diagnosis and treatment.
[0042] According to one embodiment of the present invention, the knowledge graph of the i-th diagnosis and treatment of the target object can be obtained based on the disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and the inducement information obtained after the i-th diagnosis and treatment. In the knowledge graph of the i-th diagnosis and treatment, each of the above information can correspond to a node in the knowledge graph of the i-th diagnosis and treatment, that is, the node value of each node is the vector corresponding to each information, and there can be a connection relationship between the nodes. For example, the node corresponding to the disease type information can be used as the root node, that is, the first node, and the clinical manifestation information can be used as the second-level node connected to the root node. In the clinical manifestation information, there are multiple clinical manifestation information, one of which is the information on changes in physiological indicators. Therefore, the relevant physiological indicator information can be used as a third-level node connected to the clinical manifestation information. Furthermore, each physiological indicator can be used as a fourth-level node, and so on. In addition to the connection relationships between nodes of different levels mentioned above, there may also be connection relationships between nodes. For example, historical medication information and inducement information do not belong to the same parent node as the relevant physiological indicator information, but the historical medication information and inducement information may have a certain impact on the relevant physiological indicator information. Therefore, the nodes corresponding to the historical medication information and inducement information may also have a connection relationship with the nodes corresponding to the relevant physiological indicator information.
[0043] According to one embodiment of the present invention, the connection relationship of the knowledge graph can be obtained through prior knowledge, and the connection weights between the nodes with connection relationships in the knowledge graph of the first diagnosis and treatment can also be obtained based on prior knowledge, and the present invention does not impose any restrictions on this.
[0044] According to one embodiment of the present invention, the knowledge graph of the i-th diagnosis and treatment may include the connection relationship of the above nodes, and may also include the connection weights between the nodes with connection relationships determined by the graph neural network model of the i-1-th diagnosis and treatment. If i=2, the connection weights between the nodes are the connection weights between the nodes with connection relationships in the knowledge graph of the first diagnosis and treatment. After subsequent diagnosis and treatment, the connection weights are continuously updated through the training of the graph neural network model.
[0045] According to one embodiment of the present invention, after the i-th diagnosis and treatment, the above-mentioned knowledge graph is obtained, and the information in the knowledge graph can be used to train the graph neural network model for the i-1-th diagnosis and treatment. For example, the connection weights between the nodes with connection relationships determined by the graph neural network model of the i-1-th diagnosis and treatment are used to operate on the nodes after the i-th diagnosis and treatment, and the results obtained are different from the nodes after the i-th diagnosis and treatment. For example, the root node after the i-th diagnosis and treatment and the connection weights are operated to obtain the operation value of the secondary node. The operation value is compared with the actual value of the secondary node of the knowledge graph of the i-th diagnosis and treatment to determine the difference between the above-mentioned nodes, and then the difference can be used to feedback train the graph neural network model for the i-1-th diagnosis and treatment to obtain the graph neural network model for the i-th diagnosis and treatment.
[0046] According to one embodiment of the present invention, the graph neural network model for the i-1th diagnosis and treatment is trained through the nodes of the knowledge graph after the i-th diagnosis and treatment, the connection weights determined by the graph neural network model for the i-1th diagnosis and treatment, and the connection relationship is obtained to obtain the graph neural network model for the i-th diagnosis and treatment, as well as the connection weights for the i-th diagnosis and treatment, including: according to the connection relationship, obtaining a connection relationship matrix between each node, wherein the connection relationship matrix is an n×n square matrix, n is the number of nodes, and in the connection relationship matrix, the element in the i-th row and j-th column is used to indicate whether there is a connection relationship between the i-th node and the j-th node; through the i-1-th diagnosis and treatment The graph neural network model processes the connection relationship matrix, the connection weights determined by the graph neural network model of the i-1th diagnosis and treatment, and the information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment to obtain the prediction information of the nodes of the knowledge graph after the i-th diagnosis and treatment; obtains the loss function of the graph neural network model of the i-1th diagnosis and treatment based on the information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment and the prediction information; trains the graph neural network model of the i-1th diagnosis and treatment based on the loss function to obtain the graph neural network model of the i-th diagnosis and treatment, and determines the connection weights of the i-th diagnosis and treatment based on the parameters of the graph neural network model of the i-th diagnosis and treatment.
[0047] According to one embodiment of the present invention, the above-mentioned connection relationship matrix is obtained based on the connection relationship between nodes. For example, a number can be set for each node, and in the relationship matrix, if the element in the i-th row and j-th column is 1, it means that there is a connection relationship between the i-th node and the j-th node. If the element in the i-th row and j-th column is 0, it means that there is no connection relationship between the i-th node and the j-th node. The above element values are only examples and the present invention is not limited to this.
[0048] According to one embodiment of the present invention, the connection relationship matrix, the connection weights determined by the graph neural network model for the i-1th diagnosis and treatment, and the information corresponding to the nodes of the knowledge graph after the i-1th diagnosis and treatment are processed through the graph neural network model for the i-1th diagnosis and treatment. For example, through the graph neural network model for the i-1th diagnosis and treatment, through the connection relationship matrix, starting from the root node, the information of other nodes is solved based on the connection weights determined by the graph neural network model for the i-1th diagnosis and treatment. For example, the information of subsequent nodes is obtained by performing weighted summation and other processing through the above-mentioned connection weights, and this information is the predicted information of the nodes of the knowledge graph after the i-1th diagnosis and treatment.
[0049] According to one embodiment of the present invention, there may be a certain gap between the predicted information of the nodes of the knowledge graph after the i-th diagnosis and treatment and the actually obtained information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment. This gap can be used to construct a loss function, and the graph neural network model of the i-1-th diagnosis and treatment is trained to obtain the graph neural network model of the i-th diagnosis and treatment.
[0050] According to one embodiment of the present invention, according to the information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment and the predicted information, the loss function of the graph neural network model of the i-1-th diagnosis and treatment is obtained, including: according to formula (1), the loss function LOSS of the graph neural network model of the i-1-th diagnosis and treatment is obtained,
[0051] (1)
[0052] in, is the feature vector of the information corresponding to the kth node of the knowledge graph after the i-th diagnosis and treatment, is the feature vector of the prediction information of the kth node of the knowledge graph after the i-th diagnosis and treatment obtained by the graph neural network model of the i-1th diagnosis and treatment, is the number of nodes connected to the kth node, is the minimum value of the number of nodes traversed from the 1st node to the kth node determined according to the connection relationship, the 1st node is the root node, k≤n, and k and n are both positive integers.
[0053] According to one embodiment of the present invention, That is, the modulus of the difference between the feature vector (i.e., the information in the form of the vector) of the information corresponding to the kth node (the information actually obtained above) and the feature vector of the predicted information (the information obtained by the graph neural network model operation), That is, it is the relative deviation between the feature vector of the information corresponding to the kth node and the feature vector of the predicted information.
[0054] According to one embodiment of the present invention, It is the ratio of the number of nodes connected to the k-th node to the total number of nodes. The larger the ratio is, the greater the influence of other nodes and connection weights on the k-th node, or the greater the influence of the k-th node on other nodes, the higher the importance of the k-th node, and the greater the influence of the k-th node on the accuracy of the graph neural network during training. Therefore, this ratio can be used to solve the weight of the above relative deviation.
[0055] According to one embodiment of the present invention, is the ratio of the minimum number of nodes traversed from the 1st node to the kth node to the total number of nodes. Since the kth node may be connected to multiple nodes, there may be multiple paths from the root node to the kth node, not just one path from the root node to the kth node step by step. Therefore, the path from the root node to the kth node with the least number of nodes traversed can be selected. The number of nodes traversed on this path (including the root node and the kth node) is The larger the above ratio is, the farther the kth node is from the root node, that is, the closer it is to the end node. Therefore, the node is more affected by other nodes and has a greater impact on the accuracy of the graph neural network during training. Therefore, the ratio can be used to solve the weight of the above relative deviation.
[0056] According to one embodiment of the present invention, the product of the above two ratios is used as the weight of the relative deviation between the feature vector of the information corresponding to the kth node and the feature vector of the predicted information, and the relative deviation is weighted and summed using the weight to obtain the loss function of the graph neural network model for the i-1th diagnosis and treatment. The accuracy error of the graph neural network model for the i-1th diagnosis and treatment and the importance of each item to the accuracy can be accurately expressed in the loss function. The loss function is used to perform back propagation to adjust the parameters of the graph neural network. The adjusted parameters may include the connection weights of the i-th diagnosis and treatment, and may also include other operation parameters. Therefore, the connection weights of the i-th diagnosis and treatment can be determined using the parameters of the graph neural network model for the i-1th diagnosis and treatment.
[0057] In this way, during the training process, the loss function of the graph neural network model can be determined through multiple aspects such as the relative deviation between the feature vector of the information corresponding to the node and the feature vector of the predicted information, the influence of the node on other nodes, and the depth of the node, so as to accurately and objectively express the influence of each item in the loss function on the accuracy of the graph neural network model, improve the targetedness and efficiency of training, and improve the accuracy of the graph neural network model.
[0058] According to one embodiment of the present invention, after the i-th diagnosis and treatment and training of the graph neural network model, it can be determined whether the training of the graph neural network model is complete. If not, the information obtained in the subsequent diagnosis and treatment can be used to continue the training. If the training is complete, the graph neural network model of the i-th diagnosis and treatment (i.e., the trained graph neural network model) can be used to provide expected medication recommendation information and cause exclusion recommendation information, as well as predict disease trends.
[0059] According to one embodiment of the present invention, based on the connection weights of the i-th diagnosis and treatment, as well as the disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and inducement information during the period from the 1st diagnosis and treatment to the i-th diagnosis and treatment, it is judged whether the graph neural network model of the i-th diagnosis and treatment is trained, including: through the graph neural network model of the i-th diagnosis and treatment, the connection relationship matrix, the connection weights of the i-th diagnosis and treatment, and the disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and inducement information during each diagnosis and treatment are processed to obtain the training information of the nodes of the knowledge graph after each diagnosis and treatment; based on the training information of the nodes of the knowledge graph after each diagnosis and treatment, and the information corresponding to the nodes of the knowledge graph after each diagnosis and treatment, the training discrimination parameters are determined; based on the training discrimination parameters, it is judged whether the graph neural network model of the i-th diagnosis and treatment is trained.
[0060] According to one embodiment of the present invention, disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and inducement information during each diagnosis and treatment can be used as nodes of the knowledge graph after each diagnosis and treatment. The graph neural network model of the i-th diagnosis and treatment can be used to solve the training information of the nodes of the knowledge graph after each diagnosis and treatment based on the connection weights and connection relationship matrix of the i-th diagnosis and treatment. For example, starting from the root node of the knowledge graph after each diagnosis and treatment, the information of each node is weighted and summed based on the connection weights of the i-th diagnosis and treatment to obtain the information of subsequent nodes, that is, the training information, and the training discrimination parameters can be determined based on the deviation between the training information and the information corresponding to the node.
[0061] According to an embodiment of the present invention, the training discriminant parameter is determined according to the training information of the node of the knowledge graph after each diagnosis and treatment, and the information corresponding to the node of the knowledge graph after each diagnosis and treatment, including: determining the training discriminant parameter J according to formula (2),
[0062] (2)
[0063] in, is the feature vector of the information corresponding to the kth node of the knowledge graph after the tth diagnosis and treatment, is the feature vector of the training information of the kth node of the knowledge graph after the tth diagnosis and treatment, k≤n, t≤i, and k, n, t and i are all positive integers.
[0064] According to one embodiment of the present invention, is the modulus of the deviation between the feature vector of the information corresponding to the kth node of the knowledge graph after the tth diagnosis and treatment and the feature vector of the training information, is the relative deviation between the feature vector of the information corresponding to the kth node of the knowledge graph after the tth diagnosis and treatment and the feature vector of the training information, It is the average deviation between the feature vector of the information corresponding to each node of the knowledge graph after the tth diagnosis and treatment and the feature vector of the training information.
[0065] According to one embodiment of the present invention, It is the ratio of the number of t-th diagnosis and treatment to the number of the current i-th diagnosis and treatment. The larger the ratio is, the shorter the time interval between the t-th diagnosis and treatment and the current diagnosis and treatment. That is, the closer the time is to the current diagnosis and treatment time, the higher the importance of the graph neural network model's prediction accuracy for the information of the node of this diagnosis and treatment. The smaller the ratio is, the longer the time interval between the t-th diagnosis and treatment and the current diagnosis and treatment, the lower the prediction accuracy, and the lower the importance of the graph neural network model's prediction accuracy for the information of the node of this diagnosis and treatment. Therefore, the ratio can be used as the weight of the average deviation between the feature vector of the information corresponding to each node of the knowledge graph after each diagnosis and treatment and the feature vector of the training information.
[0066] According to one embodiment of the present invention, the above average deviation is weighted averaged using the above weights, that is, after weighted summation, it is multiplied by , the training discriminant parameter can be obtained, which can be used to represent the computational deviation of the graph neural network model for the nodes of the knowledge graph after each diagnosis and treatment. That is, the lower the training discriminant parameter, the smaller the computational deviation and the higher the accuracy of the graph neural network model. Conversely, the lower the accuracy of the graph neural network model.
[0067] According to one embodiment of the present invention, if the training discrimination parameter is less than or equal to the preset discrimination threshold, it can be judged that the accuracy of the graph neural network model for the i-th diagnosis and treatment has met the requirements, and it can be judged that the training of the graph neural network model for the i-th diagnosis and treatment is completed. Otherwise, the graph neural network model can continue to be trained through the knowledge graph obtained from subsequent diagnosis and treatment until its training discrimination parameter meets the above requirements.
[0068] In this way, the average deviation between the characteristic vector of the information corresponding to each node of the knowledge graph after each diagnosis and treatment and the characteristic vector of the training information can be calculated, and the weight of the average deviation can be determined based on the time interval between each diagnosis and treatment and the current diagnosis and treatment, and then the training discriminant parameters can be solved, so that the training discriminant parameters can accurately and objectively reflect the importance of the prediction accuracy of the information of the nodes of each diagnosis and treatment, as well as the accuracy of the graph neural network model, thereby improving the accuracy of judgment.
[0069] According to one embodiment of the present invention, if the graph neural network model training for the i-th diagnosis and treatment is completed, the expected medication recommendation information and inducement elimination recommendation information for the i-th diagnosis and treatment are obtained based on the connection weights and expected physiological indicator information of the i-th diagnosis and treatment. Among them, the expected physiological indicator information is the physiological indicator expected to be achieved at the end of the current diagnosis and treatment cycle, and the relevant physiological indicator information after the i-th diagnosis and treatment may still have a certain gap with the expected physiological indicator information. Therefore, it is necessary to continue medication treatment and eliminate some inducements that induce the disease. Therefore, based on the expected physiological indicator information, the expected medication recommendation information and inducement elimination recommendation information can be generated, that is, for the recommendations on medication and elimination of inducements, these recommendations can be generated in the form of nursing recommendations or diagnosis and treatment recommendations.
[0070] According to one embodiment of the present invention, expected physiological indicator information can be used to replace the relevant physiological indicator information of the mth (m is the number of treatments included in the current treatment cycle) treatment (that is, assuming that the expected medication recommendation information and inducement exclusion recommendation information are used for treatment during the i+1th to mth treatments, at the end of the current treatment cycle, all relevant physiological indicators reach the expected physiological indicator information), and the historical medication information and inducement information are used as unknown quantities. The optimal solution of the historical medication information and inducement information is solved through the above-mentioned connection relationship, the connection weight of the i-th treatment and the graph neural network model, and the optimal solution is used as the expected medication recommendation information and inducement exclusion recommendation information, respectively.
[0071] In the example, the above-mentioned connection relationship and the connection weight of the ith diagnosis and treatment can be used as the constraints of the optimization model, and the minimization of the adjustment amount of each information in the historical medication information and inducement information of the ith diagnosis and treatment is used as the objective function of the optimization model, so as to solve the optimal solution of the historical medication information and inducement information, which are used as the expected medication recommendation information and inducement exclusion recommendation information respectively. For example, the optimization model is a nonlinear programming model, a genetic algorithm model, etc., and the present invention does not limit the specific type of the optimization model. For example, the reason for the increase in blood volume in the inducement is excessive sodium salt intake. In the inducement exclusion suggestion, a recommended sodium salt intake can be given to exclude the inducement of excessive intake, and the gap between the recommended intake and the previous actual sodium salt intake should not be too large.
[0072] According to one embodiment of the present invention, after obtaining the expected medication recommendation information and the cause elimination recommendation information, it can be determined whether these recommendation information can be fully realized. If they cannot be fully realized, then at the end of the current diagnosis and treatment cycle, the predicted physiological indicator information obtained through the graph neural network model of the i-th diagnosis and treatment will have a certain gap with the above-mentioned expected physiological indicator information.
[0073] According to one embodiment of the present invention, based on the expected medication recommendation information, the inducement exclusion recommendation information of the i-th diagnosis and treatment, and the graph neural network model of the i-th diagnosis and treatment, the predicted physiological index information at the end of the current diagnosis and treatment cycle is determined, including: determining the daily maximum dosage information of each type of drug; comparing the expected medication recommendation information with the daily maximum dosage information, if the expected medication recommendation information is less than or equal to the daily maximum dosage information, then using the expected medication recommendation information as the daily medication dosage, otherwise, using the daily maximum dosage information as the daily medication dosage; determining the inducement category involved in the inducement exclusion recommendation information; and comparing the inducement category involved in the inducement exclusion recommendation information with the daily maximum dosage information. and determine the target predisposing category that can be excluded from the predisposing category; input the daily dosage of each type of medicine, the predisposing information after excluding the predisposing factors of the target predisposing category, as well as the disease type information, the clinical manifestation information and the relevant physiological indicator information after the i-th diagnosis and treatment, into the graph neural network model of the i-th diagnosis and treatment, and obtain the predicted physiological indicator information after the i+1-th diagnosis and treatment; iteratively execute the step of obtaining the predicted physiological indicator information after the i+1-th diagnosis and treatment, and when i+1=m, obtain the predicted physiological indicator information at the end of the current diagnosis and treatment cycle, wherein m is the number of diagnosis and treatments included in the current diagnosis and treatment cycle, i≤m, and i and m are both positive integers.
[0074] According to one embodiment of the present invention, if the dosage recommended by the expected medication recommendation information exceeds the maximum daily dosage information, the maximum daily dosage information is used as the daily dosage for subsequent prediction operations. In addition, among the inducement categories involved in the inducement exclusion recommendation information, there may also be inducements that are difficult to exclude, such as factors such as pregnancy, while inducements that are easy to exclude can be determined as target inducement categories that can be excluded, such as reducing sodium salt intake. Further, the graph neural network model of the i-th diagnosis and treatment can be input based on the daily dosage and the inducement information after excluding the inducements of the target inducement category, as well as the disease type information, the clinical manifestation information and the relevant physiological indicator information after the i-th diagnosis and treatment. The graph neural network model of the i-th diagnosis and treatment can calculate the adjustment amount of the relevant physiological indicator information after the i-th diagnosis and treatment, thereby obtaining the predicted physiological indicator information after the i+1th diagnosis and treatment based on the adjustment amount. The above prediction process can be performed iteratively, and when i+1=m, the predicted physiological indicator information at the end of the current diagnosis and treatment cycle can be obtained.
[0075] According to one embodiment of the present invention, disease warning information is generated based on the predicted physiological indicator information and the expected physiological indicator information, including: acquiring healthy physiological indicator information; determining a recovery index at the end of the current diagnosis and treatment cycle based on the healthy physiological indicator information, the predicted physiological indicator information and the expected physiological indicator information; and generating disease warning information based on the recovery index.
[0076] According to an embodiment of the present invention, the healthy physiological index information can be used to represent the standard values of multiple physiological indexes involved in the predicted physiological index information under a healthy condition, which can be obtained based on prior knowledge. According to the healthy physiological index information, the predicted physiological index information and the expected physiological index information, the recovery index at the end of the current diagnosis and treatment cycle is determined, including: determining the recovery index R at the end of the current diagnosis and treatment cycle according to formula (3),
[0077] (3)
[0078] in, is the sth type of predicted physiological index information, is the sth kind of health physiological indicator information, is the sth expected physiological index information, is the weight of the sth type of health physiological indicator information, M is the number of types of health physiological indicator information, s≤M, and s and M are both positive integers.
[0079] According to one embodiment of the present invention, is the relative gap between the sth predicted physiological index information and the sth healthy physiological index information. Therefore, That is, the similarity between the s-th predicted physiological index information and the s-th healthy physiological index information. Similarly, is the similarity between the s-th expected physiological indicator information and the s-th healthy physiological indicator information.
[0080] According to one embodiment of the present invention, is the weighted average of the similarities between each predicted physiological index information and the healthy physiological index information. It is the weighted average of the similarities between the expected physiological index information and the healthy physiological index information. The ratio of the two is the recovery index at the end of the current diagnosis and treatment cycle. The higher the recovery index, the closer the target object's disease recovery status in the current diagnosis and treatment cycle is to the expected recovery effect, that is, the more obvious the trend of disease improvement is. Otherwise, it means that there is a gap between the target object's disease recovery status in the current diagnosis and treatment cycle and the expected recovery effect, and the trend of disease improvement is not obvious. Therefore, disease warning information can be generated based on the recovery index to indicate the development trend of the disease.
[0081] In this way, the recovery index at the end of the current treatment cycle can be determined based on the weighted average of the similarities between each predicted physiological indicator information and the healthy physiological indicator information, and the weighted average of the similarities between each expected physiological indicator information and the healthy physiological indicator information, thereby accurately describing the degree of closeness between the disease recovery status of the current treatment cycle and the expected recovery effect, and accurately describing the development trend of the disease.
[0082] According to one embodiment of the present invention, during the above training and prediction process, the artificial intelligence-based disease warning system can also record relevant physiological indicator information at the end of each diagnosis and treatment and generate a line graph. It can also generate a line graph using the predicted physiological indicator information of each diagnosis and treatment, thereby helping staff to observe the changing trend of physiological indicators. Moreover, after the training of the graph neural network model is completed, after each diagnosis and treatment, the recovery index at the end of the current diagnosis and treatment cycle can be calculated, thereby generating a line graph of the recovery index corresponding to each diagnosis and treatment, which can accurately depict the development trend of the disease.
[0083] According to the artificial intelligence-based disease early warning system of the embodiment of the present invention, the knowledge graph of each diagnosis and treatment can be obtained by processing the medical records, so as to train the graph neural network model, and then the trained graph neural network model can be used to give medication recommendation information and inducement elimination recommendation information based on the knowledge graph, so as to give reasonable suggestions for the target object, and the trained graph neural network model can also be used to predict the development trend of the disease, so as to generate accurate early warning information and provide accurate reference for the diagnosis and treatment of the disease. When training the graph neural network model, the loss function of the graph neural network model can be determined during the training process through multiple aspects such as the relative deviation between the feature vector of the information corresponding to the node and the feature vector of the predicted information, the influence of the node on other nodes, and the depth of the node, so as to accurately and objectively express the influence of each item in the loss function on the accuracy of the graph neural network model, improve the pertinence and efficiency of the training, and improve the accuracy of the graph neural network model. When determining the training discriminant parameters, the average deviation between the feature vector of the information corresponding to each node of the knowledge graph after each diagnosis and treatment and the feature vector of the training information can be calculated, and the weight of the average deviation can be determined based on the time interval between each diagnosis and treatment and the current diagnosis and treatment, and then the training discriminant parameters can be solved, so that the training discriminant parameters can accurately and objectively reflect the importance of the prediction accuracy of the information of the nodes of each diagnosis and treatment, as well as the accuracy of the graph neural network model, to improve the accuracy of judgment. When determining the recovery index, the recovery index at the end of the current diagnosis and treatment cycle can be determined based on the weighted average of the similarities between the predicted physiological indicator information and the healthy physiological indicator information, and the weighted average of the similarities between the expected physiological indicator information and the healthy physiological indicator information, so as to accurately describe the degree of closeness between the disease recovery status of the current diagnosis and treatment cycle and the expected recovery effect, and accurately describe the development trend of the disease.
[0084] Figure 2 A flowchart of a disease early warning method based on artificial intelligence according to an embodiment of the present invention is exemplarily shown, the method comprising:
[0085] Step S101, after obtaining the medical record of the i-th diagnosis and treatment in the i-th diagnosis and treatment of the current diagnosis and treatment cycle of the target subject, the medical record of the i-th diagnosis and treatment is processed through a natural language processing model to obtain the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during the period from the i-1-th diagnosis and treatment to the i-th diagnosis and treatment, i>1, and i is a positive integer;
[0086] Step S102, obtaining a knowledge graph of the i-th diagnosis and treatment of the target object according to the disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and the inducement information of the i-th diagnosis and treatment, wherein the knowledge graph of the i-th diagnosis and treatment includes a plurality of nodes, each of which corresponds to one of the disease type information, the clinical manifestation information, the relevant physiological indicator information, the historical medication information and the inducement information, and the knowledge graph of the i-th diagnosis and treatment also includes a connection relationship between the nodes, and a connection weight between nodes with a connection relationship determined by a graph neural network model of the i-1-th diagnosis and treatment;
[0087] Step S103, training the graph neural network model of the i-1th diagnosis and treatment through the nodes of the knowledge graph after the i-th diagnosis and treatment, the connection weights determined by the graph neural network model of the i-1th diagnosis and treatment, and the connection relationships, to obtain the graph neural network model of the i-th diagnosis and treatment, and the connection weights of the i-th diagnosis and treatment;
[0088] Step S104, judging whether the graph neural network model for the i-th diagnosis and treatment is trained based on the connection weight of the i-th diagnosis and treatment, as well as the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information from the first diagnosis and treatment to the i-th diagnosis and treatment;
[0089] Step S105: if the graph neural network model training for the i-th diagnosis and treatment is completed, then the expected medication recommendation information and inducement elimination recommendation information for the i-th diagnosis and treatment are obtained according to the connection weights and expected physiological index information for the i-th diagnosis and treatment;
[0090] Step S106, determining predicted physiological index information at the end of the current diagnosis and treatment cycle based on the expected medication recommendation information, the inducement elimination recommendation information of the i-th diagnosis and treatment, and the graph neural network model of the i-th diagnosis and treatment;
[0091] Step S107, generating disease warning information according to the predicted physiological index information and the expected physiological index information.
[0092] According to one embodiment of the present invention, there is provided an artificial intelligence-based disease warning device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to call the instructions stored in the memory to execute the artificial intelligence-based disease warning method.
[0093] According to one embodiment of the present invention, there is provided a computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the artificial intelligence-based disease early warning method.
[0094] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.
[0095] It should be understood by those skilled in the art that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The purpose of the present invention has been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments, and the embodiments of the present invention may be deformed or modified in any way without departing from the principles.
[0096] Finally, it should be noted that 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 replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A disease early warning system based on artificial intelligence, characterized in that: include: An information acquisition module is used to process the medical records of the i-th diagnosis and treatment through a natural language processing model after obtaining the medical records of the i-th diagnosis and treatment in the i-th diagnosis and treatment of the target subject in the current diagnosis and treatment cycle, and obtain the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during the period from the i-1-th diagnosis and treatment to the i-th diagnosis and treatment, where i>1 and i is a positive integer; a knowledge graph acquisition module, for obtaining a knowledge graph of the i-th diagnosis and treatment of the target object according to the disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and the inducement information of the i-th diagnosis and treatment, wherein the knowledge graph of the i-th diagnosis and treatment includes a plurality of nodes, each of which corresponds to one of the disease type information, the clinical manifestation information, the relevant physiological indicator information, the historical medication information and the inducement information, and the knowledge graph of the i-th diagnosis and treatment also includes a connection relationship between the nodes, and a connection weight between nodes with a connection relationship determined by a graph neural network model of the i-1-th diagnosis and treatment; A training module, used to train the graph neural network model of the i-1th diagnosis and treatment through the nodes of the knowledge graph after the i-th diagnosis and treatment, the connection weights determined by the graph neural network model of the i-1th diagnosis and treatment, and the connection relationships, to obtain the graph neural network model of the i-th diagnosis and treatment, and the connection weights of the i-th diagnosis and treatment; A discrimination module, used to determine whether the graph neural network model of the i-th diagnosis and treatment is trained based on the connection weight of the i-th diagnosis and treatment, as well as the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during the period from the first diagnosis and treatment to the i-th diagnosis and treatment; A suggestion module is used to obtain the expected medication suggestion information and inducement exclusion suggestion information for the i-th diagnosis and treatment according to the connection weights and expected physiological index information of the i-th diagnosis and treatment if the training of the graph neural network model for the i-th diagnosis and treatment is completed; A prediction module, used to determine predicted physiological index information at the end of the current diagnosis and treatment cycle based on the expected medication recommendation information of the i-th diagnosis and treatment, the inducement elimination recommendation information, and the graph neural network model of the i-th diagnosis and treatment; An early warning module, used for generating disease early warning information according to the predicted physiological index information and the expected physiological index information; The graph neural network model for the i-1th diagnosis and treatment is trained through the nodes of the knowledge graph after the i-th diagnosis and treatment, the connection weights determined by the graph neural network model for the i-1th diagnosis and treatment, and the connection relationship to obtain the graph neural network model for the i-th diagnosis and treatment, as well as the connection weights for the i-th diagnosis and treatment, including: According to the connection relationship, a connection relationship matrix between each node is obtained, wherein the connection relationship matrix is an n×n square matrix, n is the number of nodes, and in the connection relationship matrix, the element in the i-th row and the j-th column is used to indicate whether there is a connection relationship between the i-th node and the j-th node; The connection relationship matrix, the connection weights determined by the graph neural network model of the i-1th diagnosis and treatment, and the information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment are processed through the graph neural network model of the i-1th diagnosis and treatment to obtain the prediction information of the nodes of the knowledge graph after the i-th diagnosis and treatment; According to the information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment and the predicted information, the loss function of the graph neural network model for the i-1-th diagnosis and treatment is obtained; According to the loss function, the graph neural network model of the i-1th diagnosis and treatment is trained to obtain the graph neural network model of the i-th diagnosis and treatment, and the connection weight of the i-th diagnosis and treatment is determined according to the parameters of the graph neural network model of the i-th diagnosis and treatment; According to the information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment and the predicted information, the loss function of the graph neural network model for the i-1-th diagnosis and treatment is obtained, including: According to the formula Get the loss function LOSS of the graph neural network model for the i-1th diagnosis and treatment, where P k,i is the feature vector of the information corresponding to the kth node of the knowledge graph after the i-th diagnosis and treatment, P k,i,p is the feature vector of the prediction information of the kth node of the knowledge graph after the i-th diagnosis and treatment obtained by the graph neural network model of the i-1th diagnosis and treatment, N k is the number of nodes connected to the kth node, N (1)-(k),min is the minimum value of the number of nodes from the first node to the kth node determined according to the connection relationship, the first node is the root node, k≤n, and k and n are both positive integers; According to the connection weight of the i-th diagnosis and treatment, as well as the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information from the first diagnosis and treatment to the i-th diagnosis and treatment, it is judged whether the graph neural network model of the i-th diagnosis and treatment is trained, including: Through the graph neural network model of the i-th diagnosis and treatment, the connection relationship matrix, the connection weight of the i-th diagnosis and treatment, and the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during each diagnosis and treatment are processed to obtain the training information of the nodes of the knowledge graph after each diagnosis and treatment; Determine the training discrimination parameters according to the training information of the nodes of the knowledge graph after each diagnosis and treatment, and the information corresponding to the nodes of the knowledge graph after each diagnosis and treatment; According to the training discrimination parameter, determining whether the graph neural network model for the i-th diagnosis and treatment has been trained; According to the training information of the nodes of the knowledge graph after each diagnosis and treatment, and the information corresponding to the nodes of the knowledge graph after each diagnosis and treatment, the training discrimination parameters are determined, including: According to the formula Determine the training discriminant parameter J, where P k,t is the feature vector of the information corresponding to the kth node of the knowledge graph after the tth diagnosis and treatment, P k,t,T is the feature vector of the training information of the kth node of the knowledge graph after the tth diagnosis and treatment, k≤n, t≤i, and k, n, t and i are all positive integers.
2. The disease early warning system based on artificial intelligence according to claim 1, characterized in that: According to the expected medication recommendation information of the i-th diagnosis and treatment, the inducement elimination recommendation information and the graph neural network model of the i-th diagnosis and treatment, the predicted physiological index information at the end of the current diagnosis and treatment cycle is determined, including: Determine the maximum daily dosage information for each type of drug; Compare the expected medication suggestion information with the daily maximum dosage information, and if the expected medication suggestion information is less than or equal to the daily maximum dosage information, use the expected medication suggestion information as the daily medication dosage; otherwise, use the daily maximum dosage information as the daily medication dosage; Identify the categories of triggers involved in the trigger elimination advice information; Determine the target inducement categories that can be eliminated from the inducement categories involved in the inducement elimination recommendation information; The daily dosage of each type of drug, the inducement information after excluding the inducement of the target inducement category, the disease type information, the clinical manifestation information and the relevant physiological index information after the i-th diagnosis and treatment are input into the graph neural network model of the i-th diagnosis and treatment to obtain the predicted physiological index information after the i+1-th diagnosis and treatment; Iterate the step of obtaining the predicted physiological indicator information after the i+1th diagnosis and treatment, and when i+1=m, obtain the predicted physiological indicator information at the end of the current diagnosis and treatment cycle, where m is the number of diagnosis and treatments included in the current diagnosis and treatment cycle, i≤m, and i and m are both positive integers.
3. The disease early warning system based on artificial intelligence according to claim 1, characterized in that: Generating disease warning information according to the predicted physiological index information and the expected physiological index information, including: Obtain information on health and physiological indicators; Determine a recovery index at the end of a current diagnosis and treatment cycle according to the healthy physiological index information, the predicted physiological index information and the expected physiological index information; Disease warning information is generated according to the recovery index.
4. The disease early warning system based on artificial intelligence according to claim 3 is characterized in that: Determining a recovery index at the end of a current diagnosis and treatment cycle according to the healthy physiological index information, the predicted physiological index information, and the expected physiological index information, including: According to the formula Determine the recovery index R at the end of the current treatment cycle, where I s,p is the sth type of predicted physiological index information, I s,h is the sth type of health physiological index information, I s,d is the sth expected physiological index information, α s is the weight of the sth type of health physiological indicator information, M is the number of types of health physiological indicator information, s≤M, and s and M are both positive integers.
5. A disease early warning method based on artificial intelligence, characterized in that: include: After obtaining the medical record of the i-th diagnosis and treatment in the i-th diagnosis and treatment of the target subject in the current diagnosis and treatment cycle, the medical record of the i-th diagnosis and treatment is processed through the natural language processing model to obtain the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during the period from the i-1-th diagnosis and treatment to the i-th diagnosis and treatment, i>1, and i is a positive integer; According to the disease type information, clinical manifestation information, relevant physiological indicator information, historical medication information and the inducement information of the i-th diagnosis and treatment, a knowledge graph of the i-th diagnosis and treatment of the target object is obtained, wherein the knowledge graph of the i-th diagnosis and treatment includes a plurality of nodes, each of which corresponds to one of the disease type information, the clinical manifestation information, the relevant physiological indicator information, the historical medication information and the inducement information, and the knowledge graph of the i-th diagnosis and treatment also includes a connection relationship between the nodes, and a connection weight between nodes with a connection relationship determined by a graph neural network model of the i-1-th diagnosis and treatment; The graph neural network model of the i-1th diagnosis and treatment is trained through the nodes of the knowledge graph after the i-th diagnosis and treatment, the connection weights determined by the graph neural network model of the i-1th diagnosis and treatment, and the connection relationships to obtain the graph neural network model of the i-th diagnosis and treatment, and the connection weights of the i-th diagnosis and treatment; According to the connection weight of the i-th diagnosis and treatment, as well as the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information from the first diagnosis and treatment to the i-th diagnosis and treatment, determine whether the graph neural network model of the i-th diagnosis and treatment is trained; If the graph neural network model training for the i-th diagnosis and treatment is completed, the expected medication recommendation information and inducement exclusion recommendation information for the i-th diagnosis and treatment are obtained according to the connection weights and expected physiological index information of the i-th diagnosis and treatment; Determine the predicted physiological index information at the end of the current diagnosis and treatment cycle based on the expected medication recommendation information, the inducement elimination recommendation information and the graph neural network model of the i-th diagnosis and treatment; generating disease warning information according to the predicted physiological index information and the expected physiological index information; The graph neural network model for the i-1th diagnosis and treatment is trained through the nodes of the knowledge graph after the i-th diagnosis and treatment, the connection weights determined by the graph neural network model for the i-1th diagnosis and treatment, and the connection relationship to obtain the graph neural network model for the i-th diagnosis and treatment, as well as the connection weights for the i-th diagnosis and treatment, including: According to the connection relationship, a connection relationship matrix between each node is obtained, wherein the connection relationship matrix is an n×n square matrix, n is the number of nodes, and in the connection relationship matrix, the element in the i-th row and the j-th column is used to indicate whether there is a connection relationship between the i-th node and the j-th node; The connection relationship matrix, the connection weights determined by the graph neural network model of the i-1th diagnosis and treatment, and the information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment are processed through the graph neural network model of the i-1th diagnosis and treatment to obtain the prediction information of the nodes of the knowledge graph after the i-th diagnosis and treatment; According to the information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment and the predicted information, the loss function of the graph neural network model for the i-1-th diagnosis and treatment is obtained; According to the loss function, the graph neural network model of the i-1th diagnosis and treatment is trained to obtain the graph neural network model of the i-th diagnosis and treatment, and the connection weight of the i-th diagnosis and treatment is determined according to the parameters of the graph neural network model of the i-th diagnosis and treatment; According to the information corresponding to the nodes of the knowledge graph after the i-th diagnosis and treatment and the predicted information, the loss function of the graph neural network model for the i-1-th diagnosis and treatment is obtained, including: According to the formula Get the loss function LOSS of the graph neural network model for the i-1th diagnosis and treatment, where P k,i is the feature vector of the information corresponding to the kth node of the knowledge graph after the i-th diagnosis and treatment, P k,i,p is the feature vector of the prediction information of the kth node of the knowledge graph after the i-th diagnosis and treatment obtained by the graph neural network model of the i-1th diagnosis and treatment, N k is the number of nodes connected to the kth node, N (1)-(k),min is the minimum value of the number of nodes from the first node to the kth node determined according to the connection relationship, the first node is the root node, k≤n, and k and n are both positive integers; According to the connection weight of the i-th diagnosis and treatment, as well as the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information from the first diagnosis and treatment to the i-th diagnosis and treatment, it is judged whether the graph neural network model of the i-th diagnosis and treatment is trained, including: Through the graph neural network model of the i-th diagnosis and treatment, the connection relationship matrix, the connection weight of the i-th diagnosis and treatment, and the disease type information, clinical manifestation information, relevant physiological index information, historical medication information and inducement information during each diagnosis and treatment are processed to obtain the training information of the nodes of the knowledge graph after each diagnosis and treatment; Determine the training discrimination parameters according to the training information of the nodes of the knowledge graph after each diagnosis and treatment, and the information corresponding to the nodes of the knowledge graph after each diagnosis and treatment; According to the training discrimination parameter, determining whether the graph neural network model for the i-th diagnosis and treatment has been trained; According to the training information of the nodes of the knowledge graph after each diagnosis and treatment, and the information corresponding to the nodes of the knowledge graph after each diagnosis and treatment, the training discrimination parameters are determined, including: According to the formula Determine the training discriminant parameter J, where P k,t is the feature vector of the information corresponding to the kth node of the knowledge graph after the tth diagnosis and treatment, P k,t,T is the feature vector of the training information of the kth node of the knowledge graph after the tth diagnosis and treatment, k≤n, t≤i, and k, n, t and i are all positive integers.
6. A disease early warning device based on artificial intelligence, characterized in that: include: processor; A memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the method according to claim 5.
