The invention relates to the technical field of
respiratory system risk prediction, and provides a
respiratory system risk prediction method and
system based on a graph neural network, and the method comprises the steps: collecting the multi-
modal medical data of a patient, and constructing a multilayer heterogeneous
graph based on the multi-
modal medical data; constructing a weighted
adjacency matrix and a node
feature vector through the multi-layer heterogeneous graph; matrix product operation and
convolution operation are carried out based on the weighted adjacent matrix and the node
feature vector, splicing combination with historical moment state information is carried out, graph
state representation is obtained, weighted aggregation of time dimensions is carried out, and
time sequence attention features are obtained; performing coding
processing based on the clinical examination data to obtain multi-
modal fusion features; and inputting the multi-modal fusion features into a risk classifier for classification calculation to obtain a
respiratory system risk level prediction result, generating a
risk assessment report, and outputting respiratory risk early warning information. The accuracy and clinical practicability of respiratory
system risk prediction are improved.