Disclosure of Invention
In order to better solve the above problems, the present invention provides a post-operative pulmonary complication risk prediction and decision-aiding system, the system comprising:
The data acquisition module is used for acquiring admission information of a patient when the patient is admitted, acquiring preoperative information of the patient in a first preset time period before the patient performs an operation, and acquiring postoperative information of the patient in a second preset time period after the patient performs the operation;
The model training module is used for creating and training an admission prediction model, a preoperative prediction model and a postoperative prediction model, and acquiring a first correlation factor, a second correlation factor and a third correlation factor based on the trained admission prediction model, the trained preoperative prediction model and the trained postoperative prediction model;
the feature processing module is used for extracting a first feature, a second feature and a third feature from the admission information, the preoperative information and the postoperative information respectively according to the first related factor, the second related factor and the third related factor respectively, and preprocessing the first feature, the second feature and the third feature;
The risk prediction module is used for inputting the first feature, the second feature and the third feature into the admission prediction model, the preoperative prediction model and the postoperative prediction model respectively, and obtaining a first output result, a second output result, a third output result, a first risk factor, a second risk factor and a third risk factor;
The intervention means recommending module is used for acquiring each predicted pulmonary complication and corresponding preoperative intervention measures, intraoperative dry pre-measures and postoperative intervention measures based on the first risk factor, the second risk factor, the third risk factor, the first output result, the second output result and the third output result.
As a preferable technical scheme, the system further comprises a result feedback module, wherein the result feedback module is used for sending each predicted lung complication and the predicted lung complication corresponding to the prediction score, the preoperative intervention measure, the intraoperative dry pre-measure and the postoperative intervention measure to a medical care terminal as output results.
The patient admission information comprises patient basic information, main complaints, prior medical history, personal medical history, complications and admission diagnosis information, the pre-operation information comprises examination information of the patient and the patient admission information obtained in the first preset time period before operation, and the post-operation information comprises operation time, blood loss and anesthesia medication information obtained in the second preset time period after operation.
The model training module is configured to train the admission prediction model, the preoperative prediction model and the postoperative prediction model based on the historical admission information, the historical preoperative information, the historical postoperative information and the corresponding multiple historical pulmonary complications and corresponding scores of other patients in chest surgery stored in the storage unit, take the historical admission information, each of the historical pulmonary complications and corresponding scores as the first training data, take the historical preoperative information, each of the historical pulmonary complications and corresponding scores as the second training data, take the historical postoperative information, each of the historical pulmonary complications and corresponding scores as the third training data, train the admission prediction model, the preoperative prediction model and the postoperative prediction model based on the first training data, the second training data and the third training data respectively, take the historical admission prediction model, each of the historical pulmonary complications and the corresponding scores as the second training data, take the historical admission prediction model, each of the historical pulmonary complications and the corresponding scores as the third training data, and take the historical admission prediction model, each of the historical pulmonary complications and corresponding scores as the third training data, set the third correlation factor and the third correlation factor from the trained admission prediction model, the output of the first correlation factor, the third correlation factor and the third correlation factor.
As a preferred solution, the risk prediction module is configured to:
Inputting the first features into the hospital admission prediction model, and acquiring a first output result, wherein the first output result comprises N1 first lung complications and first scores of each first lung complication, and further acquiring a contribution value of each first score corresponding to each feature in the first features, and taking N features which have the largest contribution value and can be intervened as first risk factors corresponding to the first lung complications, and similarly, acquiring the first risk factors of each first lung complication, wherein the value range of N and N1 is a positive integer greater than or equal to 1;
the intervention means recommending module is used for acquiring the preoperative intervention means based on the first causal relationship and the first score corresponding to the first lung complications by analyzing the first causal relationship between each first lung complication and the corresponding first risk factor.
The risk prediction module is further configured to input the second features into the pre-operation prediction model and obtain a second output result within the first preset time period before the chest surgery after the pre-operation intervention measure is implemented, wherein the second output result comprises N2 second lung complications and corresponding second scores, and the second risk factors corresponding to each second lung complication are obtained according to the contribution value of each feature in each second feature to each second score;
The intervention means recommending module is configured to obtain a first score and a second score of each first target complication by analyzing a second causal relationship between each second lung complication and the corresponding second risk factor, taking the first lung complication and the corresponding same condition as a first target complication when the first lung complication and the second lung complication correspond to the same condition, calculating a first difference value between the first score and the second score, weighting the first score and the second score to obtain a first target score, and obtaining an intra-operative dry pre-measure based on the second causal relationship and the first target score corresponding to each first target complication, wherein the weight of the first score is smaller than the weight of the second score, the greater the first difference value is, the smaller the weight of the first score is, and N2 of the first lung complications are included in N1.
As a preferred technical solution, the intervention means recommendation module is configured to input the third feature into the post-operation prediction model in the second preset time period after the operation, and obtain the third output result, where the third output result includes N3 third lung complications and corresponding third scores, and obtain a third risk factor corresponding to each third lung complication according to a contribution value of each feature in the third features to each third score, where N3 is less than or equal to N2;
The intervention means recommending module is configured to obtain a second target score corresponding to the second target complication by analyzing a third causal relationship between each third lung complication and the third risk factor, and obtaining the postoperative intervention measure based on the third causal relationship, and taking the third lung complication as a second target complication, where the first target complication includes the second target complication, calculate a second difference value between the first target score and the third score corresponding to each second target complication, set a weight of the first target score according to the second difference value, weight the first target score and the third score to obtain a second target score corresponding to the second target complication, and take the second target complication as the predicted lung complication, and take the second target score as the predicted score of the predicted lung complication, where the weight of the third score is greater than the weight of the first target score, and the second difference value is smaller than the first target score.
As a preferred embodiment, the first feature, the second feature, and the third feature each include a plurality of features and corresponding feature values.
The invention also provides a postoperative pulmonary complication risk prediction and auxiliary decision making method, which is realized based on the system, and comprises the following steps:
Step S1, creating and training an admission prediction model, a preoperative prediction model and a postoperative prediction model through a model training module, and acquiring a first correlation factor, a second correlation factor and a third correlation factor based on the trained admission prediction model, the trained preoperative prediction model and the trained postoperative prediction model;
S2, acquiring admission information of a patient during admission by a data acquisition module, acquiring first characteristics from the admission information according to the first related factors, inputting the first characteristics into the admission prediction model, acquiring a first output result, acquiring a first risk factor based on the first output result, and acquiring preoperative intervention measures of each first lung complication in the first output result based on the first risk factor and the first output result;
Step S3, acquiring preoperative information of a patient when the patient is admitted by a data acquisition module, acquiring a second characteristic from the preoperative information according to the second related factors, inputting the second characteristic into the preoperative prediction model, acquiring a second output result, acquiring a second risk factor based on the second output result, and acquiring preoperative intervention measures of each second pulmonary complications in the second output result based on the second risk factor, the second output result and the first output result;
And S4, acquiring postoperative information of a patient when the patient is admitted by a data acquisition module, acquiring a third characteristic from the preoperative information according to the third related factor, inputting the third characteristic into the preoperative prediction model, acquiring a third output result, acquiring a third risk factor based on the third output result, and acquiring postoperative intervention measures of each third pulmonary complication in the third output result based on the third risk factor, the second output result and the third output result, wherein the third pulmonary complication is the predicted pulmonary complication.
The invention also provides a computer storage medium, wherein the storage medium stores program instructions, and the program instructions control a device where the storage medium is located to execute the method when running.
Compared with the prior art, the invention has the following beneficial effects:
The invention acquires the admission information, preoperative information and postoperative information of the patient at the time of admission, and based on the first correlation factor, the second correlation factor and the third correlation factor extracted from the admission model, the preoperative model and the postoperative model after training, respectively extracts the first feature, the second feature and the third feature from the admission information, the preoperative information and the postoperative information, wherein the first correlation factor, the second correlation factor and the third correlation factor are the features with larger weights in the admission model, the preoperative model and the postoperative model output layer respectively, thereby laying a foundation for acquiring the first feature, the second feature and the third feature with higher accuracy, further acquiring the lung complications with higher accuracy, and inputting the first feature into the admission prediction model, and obtaining a first output result, obtaining the first risk factors according to each first lung complication and corresponding first score in the first output result, obtaining the preoperative intervention measures and corresponding intervention degrees based on each first lung complication and corresponding first risk factor and first score, inputting the second characteristic into the preoperative prediction model, obtaining a second output result and the second risk factors, obtaining the intraoperative intervention measures and corresponding intervention degrees through the first output result, the second output result and the second risk factors, and similarly obtaining the postoperative intervention measures and corresponding intervention degrees, fully considering the effect of each stage of intervention measures and recalculating the lung complications and corresponding scores of different stages through the mutual cooperation of the technical schemes, not only can the final postoperative multiple pulmonary complications and the score of each pulmonary complication be predicted more accurately, but also corresponding intervention measures can be given more pertinently, so that the occurrence of the pulmonary complications is reduced or lightened.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention provides a postoperative pulmonary complication risk prediction and auxiliary decision making system, as shown in fig. 1, comprising:
The data acquisition module is used for acquiring admission information of a patient when the patient is admitted, acquiring preoperative information of the patient in a first preset time period before the patient performs an operation, and acquiring postoperative information of the patient in a second preset time period after the patient performs the operation;
The model training module is used for creating and training an admission prediction model, a preoperative prediction model and a postoperative prediction model, and acquiring a first correlation factor, a second correlation factor and a third correlation factor based on the trained admission prediction model, the trained preoperative prediction model and the trained postoperative prediction model;
the feature processing module is used for extracting a first feature, a second feature and a third feature from the admission information, the preoperative information and the postoperative information respectively according to the first related factor, the second related factor and the third related factor respectively, and preprocessing the first feature, the second feature and the third feature;
The risk prediction module is used for inputting the first feature, the second feature and the third feature into the admission prediction model, the preoperative prediction model and the postoperative prediction model respectively, and obtaining a first output result, a second output result, a third output result, a first risk factor, a second risk factor and a third risk factor;
The intervention means recommending module is used for acquiring each predicted pulmonary complication and corresponding preoperative intervention measures, intraoperative dry pre-measures and postoperative intervention measures based on the first risk factor, the second risk factor, the third risk factor, the first output result, the second output result and the third output result.
Specifically, the first, second and third characteristics are extracted from the admission information, the preoperative information and the postoperative information respectively based on the first, second and third correlation factors extracted from the admission model, the preoperative model and the postoperative model after training, wherein the first, second and third correlation factors are the characteristics with larger weights in the admission model, the preoperative model and the postoperative model output layer respectively, so as to lay a foundation for obtaining the more accurate first, second and third characteristics, further obtain more accurate predicted pulmonary complications, and input the first characteristics into the admission prediction model, and obtaining a first output result, obtaining the first risk factors according to each first lung complication and corresponding first score in the first output result, obtaining the preoperative intervention measures and corresponding intervention degrees based on each first lung complication and corresponding first risk factor and corresponding first score, inputting the second characteristic into the preoperative prediction model, obtaining a second output result and the second risk factors, obtaining the intraoperative intervention measures and corresponding intervention degrees through the first output result, the second output result and the second risk factors, and obtaining the postoperative intervention measures and corresponding intervention degrees through the mutual cooperation of the technical proposal, fully considering the effect of the intervention measures of each stage and recalculating the predicted lung complications and corresponding prediction scores of different stages of the patient, not only can the final postoperative multiple pulmonary complications and the score of each pulmonary complication be predicted more accurately, but also corresponding intervention measures can be given more pertinently, so that the occurrence of the pulmonary complications is reduced or lightened.
Further, the system also comprises a result feedback module, which is used for sending each predicted lung complication and the predicted lung complication corresponding to the predicted score, the preoperative intervention measure, the intraoperative dry pre-measure and the postoperative intervention measure to a medical care terminal as output results.
Specifically, by sending each predicted pulmonary complication and a corresponding predicted score to the medical care terminal, medical care personnel can know the predicted pulmonary complications and the corresponding predicted scores, wherein the predicted pulmonary complications comprise a first pulmonary complication, a second pulmonary complication and a third pulmonary complication, and the preoperative intervention measure, the intraoperative dry pre-measure and the postoperative intervention measure corresponding to each predicted pulmonary complication are also sent to the medical care terminal as output results, so that the medical care personnel can refer to the predicted pulmonary complications conveniently, and the occurrence of the pulmonary complications is reduced or lightened.
Further, the admission information of the patient comprises patient basic information, main complaints, past medical history, personal medical history, complications and admission diagnosis information, the pre-operation information comprises examination information of the patient and the admission information of the patient obtained in the first preset time period before operation, and the post-operation information comprises operation time length, blood loss and anesthesia medication information obtained in the second preset time period after operation.
Further, the model training module is configured to train the admission prediction model, the preoperative prediction model and the postoperative prediction model based on historical admission information, historical preoperative information, historical postoperative information and corresponding multiple historical lung complications and corresponding scores of other patients of chest surgery stored in a storage unit, and take the historical admission information, each of the historical lung complications and corresponding scores as the first training data, the historical preoperative information, each of the historical lung complications and corresponding scores as the second training data, the historical postoperative information, each of the historical lung complications and corresponding scores as the third training data, and train the admission prediction model, the preoperative prediction model and the postoperative prediction model based on the first training data, the second training data and the third training data respectively, wherein the admission prediction model, the preoperative prediction model and the postoperative prediction model are neural network models; and extracting the first correlation factor, the second correlation factor and the third correlation factor with weights greater than a set threshold from the trained output layers of the admission prediction model, the preoperative prediction model and the postoperative prediction model, wherein each of the first correlation factor, the second correlation factor and the third correlation factor respectively comprises a plurality of factors.
Specifically, the history admission information, the history preoperative information, and the history postoperative information of the other patient in the chest surgery stored in the storage unit are identical to the contents of the admission information, preoperative information, and postoperative information of the patient for whom post-operative pulmonary complications are to be predicted, and the history admission information and each of the history pulmonary complications and the corresponding scores are used as the first training data, and the admission prediction model is trained using the first training data, since the admission prediction model is a neural network model, and since the history admission information includes patient basic information, a main complaint, a history, a personal history, complications, and admission diagnostic information, but not the contents of each of the history admission information are related to the history pulmonary complications, extracting key information with weight greater than the set threshold value from an output layer of the admission prediction model, namely, key information in the admission information related to each of the historical pulmonary complications, taking the key information as the first related factor, taking the historical preoperative information and each of the historical complications and corresponding scores as the second training data, taking the historical postoperative information and each of the historical complications and corresponding scores as the third training data, respectively training the preoperative prediction model and the postoperative prediction model by using the second training data and the third training data, and acquiring the second related factor and the third related factor by adopting an acquisition mode same as the first related factor, the preoperative prediction model and the postoperative prediction model lay a foundation for obtaining accurate postoperative pulmonary complications.
Further, the risk prediction module is configured to:
Inputting the first features into the hospital admission prediction model, and acquiring a first output result, wherein the first output result comprises N1 first lung complications and first scores of each first lung complication, and further acquiring a contribution value of each first score corresponding to each feature in the first features, and taking N features which have the largest contribution value and can be intervened as first risk factors corresponding to the first lung complications, and similarly, acquiring the first risk factors of each first lung complication, wherein the value range of N and N1 is a positive integer greater than or equal to 1;
the intervention means recommending module is used for acquiring the preoperative intervention means based on the first causal relationship and the first score corresponding to the first lung complications by analyzing the first causal relationship between each first lung complication and the corresponding first risk factor.
Specifically, since the first feature is feature information related to the first pulmonary complications extracted from the admission prediction model based on the first related factor, and the first output result is obtained by inputting the first feature into the admission prediction model, the first output result includes N1 different types of the first pulmonary complications and a first score of each of the first pulmonary complications, and the higher the first score, the higher the occurrence probability and the greater the severity of the first pulmonary complications, in order to maximally reduce the occurrence of the first pulmonary complications by means of an accurate pre-operative intervention measure before performing the first intervention, the first pulmonary complications can be obtained by means of a first pre-operative intervention factor based on a first risk-based on a first aspect of the first intervention, and therefore, when the first output result is outputted by means of the admission prediction model, the first feature is required to be able to intervene, for example, age, history, although the first pulmonary complications related to the first pulmonary complications can not be acquired by means of an accurate pre-operative intervention measure before performing the first intervention, the first pulmonary complications can be obtained by means of an accurate pre-operative intervention factor, the first pulmonary intervention factor can be obtained by means of an accurate pre-operative intervention factor, and the first pulmonary intervention factor can be obtained by means of an accurate pre-operative intervention factor according to a first aspect of the first intervention factor before performing the first intervention factor, the first pulmonary intervention factor can be obtained by means of the first pre-operative intervention factor according to the first aspect of the first intervention factor before performing the first intervention factor, and the first aspect of the first intervention factor can be obtained by means of the first feature before the first feature factors by means of the first feature before the first intervention factor, and the first factors can be obtained by the first factors, as an intervention factor, and can factors, though factors, and can, thereby reducing the occurrence probability of the first pulmonary complications.
Further, the risk prediction module is further configured to input the second features into the pre-operation prediction model and obtain a second output result within the first preset time period before the chest surgery after the pre-operation intervention measure is implemented, wherein the second output result comprises N2 second lung complications and corresponding second scores, and the second risk factors corresponding to each second lung complication are obtained according to the contribution value of each feature in each second feature to each second score;
The intervention means recommending module is configured to obtain a first score and a second score of each first target complication by analyzing a second causal relationship between each second lung complication and the corresponding second risk factor, taking the first lung complication and the corresponding same condition as a first target complication when the first lung complication and the second lung complication correspond to the same condition, calculating a first difference value between the first score and the second score, weighting the first score and the second score to obtain a first target score, and obtaining an intra-operative dry pre-measure based on the second causal relationship and the first target score corresponding to each first target complication, wherein the weight of the first score is smaller than the weight of the second score, the greater the first difference value is, the smaller the weight of the first score is, and N2 of the first lung complications are included in N1.
Specifically, before the chest surgery, the second feature is input into the pre-surgery prediction model and the second output result is obtained, wherein the second output result includes a plurality of different types of the second pulmonary complications and corresponding second scores, and the second risk factor corresponding to each of the second pulmonary complications is obtained based on the contribution value of each feature in the second feature to the second scores, wherein the second risk factor is obtained in the same manner as the first risk factor, and because the pre-surgery prediction model can predict the occurrence of the first pulmonary complications relatively accurately and intervenes through the relatively accurate pre-surgery, the occurrence of the first pulmonary complications or the score decrease, i.e., N1 of the first pulmonary complications includes N2 of the second pulmonary complications, is avoided, and the first score is set according to the first score, the better the first score indicates the better the first pulmonary complications than the second risk factors, i.e., the better the first score indicates the better the first pulmonary complications, and the better the first score indicates the better the first pulmonary complications, therefore, the second lung complication is more accurate and smaller than the first score, so that the weight of the second score is greater than that of the first score, the first target score is obtained by weighting the first score and the second score, the first target score reflects the occurrence probability of the first target complication, the intervention degree of the intraoperative dry pre-measure corresponding to the first target complication is set through the first target score, for example, when the medicine intervention is needed, the medicine dosage is adjusted within a proper range through the intervention degree, the score of each first target complication can be accurately obtained through the technical scheme, and the accurate intraoperative dry pre-measure can be obtained for each first target complication.
Further, the intervention means recommending module is configured to input the third feature into the post-operation prediction model in the second preset time period after the operation, and obtain the third output result, where the third output result includes N3 third lung complications and corresponding third scores, and obtain a third risk factor corresponding to each third lung complication according to a contribution value of each feature in the third feature to each third score, where N3 is less than or equal to N2;
The intervention means recommending module is configured to obtain the post-operative intervention measure based on a third causal relationship between each third lung complication and the third risk factor, and use the third lung complication as a second target complication, where the first target complication includes the second target complication, calculate a second difference value between the first target score and the third score corresponding to each second target complication, set a weight of the first target score according to the second difference value, and weight the first target score and the third score to obtain a second target score corresponding to the second target complication, where the weight of the third score is greater than the weight of the first target score, and the second difference value is greater the weight of the first target score is, the smaller the second difference value is, and the weight of the first target score is greater the weight of the first target score is.
Specifically, the third feature is input into the post-operation prediction model in the second preset time period after operation, the third output result is obtained, according to the contribution value of each feature in the third feature to each third lung complication corresponding to the third score in the third output result, the third lung complication corresponding to the third risk factor is obtained according to the method of obtaining the first risk factor, and the third weight is obtained by analyzing the third causal relation between each third lung complication and the third risk factor, and based on the third causal relation, the post-operation intervention measure is obtained, and the third score can more accurately reflect the occurrence probability and the severity of each second target complication because the first target score of the second target complication is the lung complication condition after the post-operation pre-measurement is adopted, the weight of the second target complication is more accurately compared with the weight of the patient, and the second target score can not be accurately obtained by the method of the second target score, and the second target score can be accurately obtained.
The invention also provides a postoperative pulmonary complication risk prediction and auxiliary decision making method, which is realized based on the system, as shown in fig. 2, and comprises the following steps:
Step S1, creating and training an admission prediction model, a preoperative prediction model and a postoperative prediction model through a model training module, and acquiring a first correlation factor, a second correlation factor and a third correlation factor based on the trained admission prediction model, the trained preoperative prediction model and the trained postoperative prediction model;
S2, acquiring admission information of a patient during admission by a data acquisition module, acquiring first characteristics from the admission information according to the first related factors, inputting the first characteristics into the admission prediction model, acquiring a first output result, acquiring a first risk factor based on the first output result, and acquiring preoperative intervention measures of each first lung complication in the first output result based on the first risk factor and the first output result;
Step S3, acquiring preoperative information of a patient when the patient is admitted by a data acquisition module, acquiring a second characteristic from the preoperative information according to the second related factors, inputting the second characteristic into the preoperative prediction model, acquiring a second output result, acquiring a second risk factor based on the second output result, and acquiring preoperative intervention measures of each second pulmonary complications in the second output result based on the second risk factor, the second output result and the first output result;
And S4, acquiring postoperative information of a patient when the patient is admitted by a data acquisition module, acquiring a third characteristic from the preoperative information according to the third related factor, inputting the third characteristic into the preoperative prediction model, acquiring a third output result, acquiring a third risk factor based on the third output result, and acquiring postoperative intervention measures of each third pulmonary complication in the third output result based on the third risk factor, the second output result and the third output result, wherein the third pulmonary complication is the predicted pulmonary complication.
The invention also provides a computer storage medium, wherein the storage medium stores program instructions, and the program instructions control a device where the storage medium is located to execute the method when running.
In summary, the present invention establishes a basis for obtaining accurate first, second and third features to obtain accurate predicted pulmonary complications based on the first, second and third correlation factors extracted from the trained admission model, the preoperative model and the postoperative model, and the first, second and third correlation factors extracted from the admission information, preoperative information and postoperative information, respectively, by inputting the first feature into the admission prediction model, obtaining a first output result, and obtaining the first risk factor according to each first pulmonary complication and a corresponding first score in the first output result, and based on each of the first pulmonary complications and the corresponding first risk factors and first scores, the preoperative intervention measures and corresponding scores are obtained, the second characteristics are input into the preoperative prediction model, the second output results and the second risk factors are obtained, the intraoperative dry pre-measure and corresponding scores are obtained through the first output results, the second output results and the second risk factors, the intraoperative intervention measures and corresponding scores are obtained, the intraoperative intervention measures and corresponding scores are also obtained through the mutual coordination of the technical proposal, the effect of each stage of intervention measures is fully considered, the pulmonary complications and corresponding scores of different stages of the patient are recalculated, the scores of a plurality of pulmonary complications and each pulmonary complication after the final operation can be more accurately predicted, the corresponding intervention measures can be given out more pertinently, thereby reducing or alleviating the occurrence of pulmonary complications.
The technical features of the above embodiments may be arbitrarily combined, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, however, they should be considered as the scope of the description of the present specification as long as there is no contradiction between the combinations of the technical features.
The foregoing examples have been presented to illustrate only a few embodiments of the invention and are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.