System and method for hospital whole-process medical quality management and control

By building an AI-based medical data platform and using spatiotemporal graph neural networks and deep transfer learning algorithms, the problem of medical data islands and manual management limitations has been solved, real-time monitoring and optimization of medical processes has been achieved, and diagnosis and treatment efficiency and resource utilization have been improved. , significantly improving medical quality and safety.

CN118798748AInactive Publication Date: 2024-10-18SHANDONG JINGHUI MEDICAL VALLEY INFORMATION TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411287738.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing medical quality control system has data silos, manual management limitations, the inability to monitor and optimize medical processes in real time, reliance on doctor experience, resulting in low diagnosis and treatment efficiency, static resource scheduling that cannot be dynamically adjusted, and low abnormality detection efficiency, resulting in insufficient medical quality and safety. .

Method used

Using artificial intelligence technology, spatiotemporal graph neural network, variational autoencoder and deep transfer learning algorithm to build a unified medical data platform to achieve data sharing, real-time monitoring, personalized treatment plan optimization, intelligent resource allocation and abnormal detection, combined with physical Networking and natural language processing dynamically optimize medical processes.

Benefits of technology

It improves the integrity and utilization of medical data, enhances the accuracy and timeliness of disease prediction, the effectiveness of personalized treatment plans, reduces medical risks and waste of resources, and improves the efficiency and safety of medical processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798748A_ABST
    Figure CN118798748A_ABST
Patent Text Reader

Abstract

The invention discloses a hospital whole-process medical quality management and control system and method. The method comprises the following steps: S1, establishing a unified data platform; s2, constructing a data set; s3, carrying out pretreatment; s4, constructing a space-time diagram neural network and a variational auto-encoder model, and obtaining a disease prediction result and risk assessment information; s5, monitoring the change of the condition of the patient in real time through a deep transfer learning algorithm based on a mixed attention mechanism, and automatically generating a risk early warning signal; s6, generating and optimizing a personalized treatment scheme through knowledge graph and hierarchical comparative learning; s7, detecting an abnormal condition deviating from the standard by monitoring key nodes in the medical process; s8, performing dynamic optimization of the medical process through a near-end strategy optimization algorithm based on distributed dual-priority experience playback, and adjusting resource allocation; and S9, generating an automatic quality report. The invention relates to the technical field of medical information, and the whole medical process is monitored, predicted and optimized in real time by integrating the AI technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical information technology, and in particular to a system and method for controlling the medical quality of a hospital throughout its entire process. Background Art

[0002] With the rapid development of medical technology and information technology, the level of hospital informatization continues to improve. More and more hospitals are introducing multiple information systems, such as electronic medical record systems, laboratory information systems, and imaging information systems, to improve the efficiency of medical services. However, while these systems can effectively collect and store patient medical data, significant barriers remain to interoperability, preventing the formation of a unified, complete medical data platform. This has led to the phenomenon of medical data silos, poor information flow, and the inability to fully utilize existing data resources for accurate diagnosis, treatment, and quality control. Furthermore, faced with complex medical processes and diverse patient needs, traditional manual management methods struggle to accurately monitor and dynamically optimize the entire process in real time. This often results in irrational allocation of medical resources and inefficient processes, which in turn impacts medical quality and patient safety.

[0003] Existing medical quality control methods are mostly manual and rely on the experience and judgment of medical staff. This traditional control model has obvious limitations. First, medical staff need to process a large amount of information, and manual review and monitoring are prone to omissions and errors, especially in the face of emergencies, and cannot respond in a timely and accurate manner. Second, traditional methods have difficulty processing large amounts of medical data, especially unstructured data. This data is often not fully utilized, limiting the comprehensive understanding of the patient's condition and improving the diagnosis and treatment effect. In addition, existing medical processes are usually based on static management strategies and cannot be dynamically adjusted according to real-time data, resulting in waste of resources and difficulty in promptly resolving bottlenecks in the medical process.

[0004] Existing disease prediction and treatment plans primarily rely on doctors' personal experience and hospitals' historical case databases. While this approach can yield positive results in some simple cases, it often struggles to quickly and accurately determine complex cases, particularly those requiring the integration of multi-dimensional data. This reliance on human experience results in inefficient generation of personalized treatment plans and a failure to fully account for individual patient differences. Furthermore, existing treatment plans, often based on standardized treatment pathways, lack specificity and fail to dynamically optimize treatment plans based on a patient's real-time condition, historical data, and treatment feedback. This impacts patient recovery outcomes and the quality of medical care.

[0005] Although artificial intelligence technology has achieved remarkable results in areas such as medical image analysis and disease risk prediction, many existing systems still struggle to apply these technologies to the entire medical quality control process within hospitals. While some medical institutions have introduced AI-based diagnostic assistance systems, these systems are often limited to a specific link, lacking integrity and connectivity, and fail to fully cover all key aspects of the medical process. Furthermore, existing AI systems are inefficient when processing large amounts of unstructured data, such as handwritten medical records and physician diagnosis notes. Furthermore, the application of existing natural language processing technology in medical scenarios is still immature, resulting in inefficient data processing. Many existing systems still rely on physicians' judgment and experience when addressing complex medical conditions, failing to fully leverage the advantages of AI technology.

[0006] When it comes to medical resource management, existing management systems are mostly based on static scheduling models, unable to dynamically optimize resources based on the hospital's resource usage in real time. For example, when scheduling operating rooms, wards, and medical staff, traditional static scheduling methods can easily lead to idle or insufficient resources, making them ineffective in responding to emergencies or drastic fluctuations in patient flow. This inflexible scheduling approach not only increases hospital operating costs but also reduces the efficiency of medical processes, impacting the quality of medical services and the patient experience.

[0007] Furthermore, existing medical anomaly detection systems primarily rely on rule-based systems or manual monitoring, failing to effectively process complex, multi-dimensional medical data. This results in many potential medical safety risks not being promptly identified and addressed. For example, when implementing certain treatment plans, doctors may deviate from standard procedures or use medications improperly, and these anomalies are often difficult to detect using traditional rule-based monitoring. Even when an anomaly is detected, existing systems lack effective early warning and response mechanisms, preventing them from promptly notifying relevant medical staff to take action, increasing the risk of medical accidents.

[0008] Therefore, how to provide a system and method for controlling the quality of medical care throughout the entire hospital process is an urgent problem that needs to be solved by those skilled in the art. Summary of the Invention

[0009] One objective of the present invention is to propose a system and method for managing the quality of medical care throughout a hospital's entire medical process. By integrating artificial intelligence technology, spatiotemporal graph neural networks, variational autoencoders, and deep transfer learning algorithms, the present invention constructs a unified medical data platform, enabling real-time monitoring of patient conditions, disease prediction, and optimization of personalized treatment plans. The system also intelligently allocates hospital resources, dynamically optimizes medical processes, and features anomaly detection and automatic early warning capabilities, significantly improving the accuracy, resource utilization efficiency, and safety of the medical process, providing an intelligent solution for managing the quality of medical care throughout the hospital's entire medical process.

[0010] A method for controlling the quality of medical care throughout a hospital's entire process according to an embodiment of the present invention includes the following steps: S1. Establish a unified data platform to integrate hospital information systems and share patients' structured and unstructured data in real time; S2. Utilize IoT devices and hospital information systems to collect patient vital signs, test results, medical images, and doctor's handwritten medical records, and perform preliminary storage and management. Use natural language processing technology to structure unstructured data and construct a data set. S3. Preprocess the structured data set, including data cleaning, standardization, and format conversion; S4. Based on the preprocessed dataset, a spatiotemporal graph neural network and variational autoencoder model are constructed to predict the patient's disease development trend and obtain disease prediction results and risk assessment information; S5. Based on the acquired disease prediction results and risk assessment information, combined with the patient's vital signs data, the system uses a deep transfer learning algorithm based on a hybrid attention mechanism to monitor the patient's condition in real time, predict acute disease deterioration in advance, and automatically generate risk warning signals; S6. Based on real-time risk warning signals and disease prediction results, combined with individual patient characteristics, medical history, and feedback data from the medical process, we generate and optimize personalized treatment plans through knowledge graphs and hierarchical comparative learning. S7. Input personalized treatment plans and real-time medical data into the autoencoder, which monitors key nodes in the medical process to detect abnormalities that deviate from the standard and automatically issues warnings when abnormalities occur. S8, using real-time monitoring and anomaly detection results as input, dynamically optimizes medical processes through a proximal strategy optimization algorithm based on distributed dual-priority experience replay. The system automatically adjusts resource allocation among operating rooms, wards, and medical staff. S9. Input the data analysis results, anomaly detection results and optimization plans in the medical process into the big data visualization tool to generate automated quality reports and provide real-time early warning and monitoring panels.

[0011] Optionally, the S4 specifically includes: S41. Segment the preprocessed data set and extract the patient's time series data and spatial correlation data respectively. The time series data includes the patient's vital signs continuous monitoring results, and the spatial correlation data includes the patient's medical history records, laboratory test results, and medical imaging data. S42. Use spatiotemporal graph neural network to process the patient's time series data and spatial correlation data, construct a time series graph for the time series data, use the patient's vital signs at each time node as node features, establish directed edges between time steps to represent the relationship between different time steps, and record the time series graph as ,in Represents the time step The node set of represents the set of directed edges between time steps; S43. Construct a spatial graph for spatially related data. Use the co-occurrence relationship between patient medical history records, laboratory test results, and medical imaging data to establish nodes and edges of the spatial graph. The spatial graph is denoted as ,in A set of nodes representing spatial data, Represents the associated edge set in spatial data; S44. Use spatiotemporal graph neural network model to and Perform joint learning, extract features from each node through graph convolutional networks, and combine attention mechanisms to calculate the importance of each node in the neighborhood to generate spatiotemporal feature representations ; S45. Using variational autoencoders to represent spatiotemporal features Encoding and decoding are performed, the encoding process is: ; in, Representation of spatiotemporal features Sublatent features The distribution of represents the mean of the latent feature space, represents the variance of the latent feature space; The decoding process is: ; in, Representing potential characteristics Spatiotemporal feature representation The reconstructed distribution of and Represents the parameters generated by the decoder, used to reconstruct the spatiotemporal feature representation The mean and variance of By minimizing the joint optimization objective function Implement model training: ; in, represents the difference between the original input features and the reconstructed features, represents the weight coefficient, Represents latent variables The prior distribution of represents the KL divergence, represents the regularization coefficient, Represents the time step and nodes Importance in feature representation, represents the number of nodes in the spatial association graph, represents the total number of time steps in the time series; S46. Generate disease prediction results and risk assessment information for patients by jointly training the spatiotemporal graph neural network and the variational autoencoder model.

[0012] Optionally, the S5 specifically includes: S51. Based on the patient's disease prediction results and risk assessment information, similar medical record data is extracted from the historical patient dataset, and the features of the similar medical record data are transferred to the feature space of the current patient through the transfer learning model, and a cross-domain feature mapping is preliminarily established; S52. Build a deep transfer learning model ,in Represents the input data of the current patient, Represents model parameters, transfer learning is achieved by optimizing the objective function After completing the model training, the objective function is: ; in, represents the loss function of the source neighborhood, represents the distribution difference between the source and target domains, The weight coefficient that represents the adaptability between the source domain and the target domain; S53. Based on the transfer learning model, a hybrid attention mechanism is introduced to weight the time series data through the multi-head self-attention mechanism: ; ; in, Represents the time step No. The weight of the attention head, represents the corresponding weight matrix, represents the temporal feature representation before multi-head attention fusion, represents the temporal feature representation after multi-head attention fusion, represents the number of attention heads, represents the total number of time steps; S54. Apply a hierarchical cross-attention mechanism to the spatial features, perform weighted calculations at the feature level, and then normalize at the global level: ; ; in, Representation characteristics At the level The attention weight, Representation level The weight matrix, represents the spatial feature representation after the hierarchical cross attention mechanism processing, Indicates the number of levels, Represents the spatial feature representation before processing by the hierarchical cross-attention mechanism; S55. Combine the time and space attention weights to generate the final comprehensive weighted feature representation : S56, based on the generated comprehensive weighted feature representation , through deep learning models, real-time monitoring of patient condition changes, and combining prediction results with risk assessment scores, automatically generating risk warning signals when predicting acute deterioration of the patient's condition.

[0013] Optionally, the S6 specifically includes: S61. Input the patient's real-time risk warning signals, disease prediction results, personality characteristics and historical data into the knowledge graph model. Contains multiple nodes and the edge , where nodes represent medical entities and edges represent the associations between different entities; S62. Generate a personalized pathology path for a patient in the knowledge graph using the patient's individual characteristics and medical history data through a knowledge graph query algorithm based on relational reasoning : ; in, Represents the individual characteristics of the patient, Represents the patient's medical history data, represents the total number of steps in the path, Represents an edge The association weight of Representation node Importance rating; S63. Combined with personalized pathological pathways , match the patient's condition with similar historical cases, use hierarchical contrastive learning technology to compare the patient's characteristics with those of similar cases, and optimize the feature space: ; in, represents the loss function of hierarchical contrastive learning, represents the total number of samples, represents the indicator function, Indicates the patient's characteristics Mapping to high-dimensional feature space, Indicates the patient's characteristics Mapping to high-dimensional feature space, Represents the boundary threshold in contrastive learning; S64. Generate personalized treatment plans for patients through optimized comparative learning models : ; in, represents the total number of steps in the treatment plan, Indicates individual patient characteristics and treatment options The matching weight of Represents each step in the treatment plan, Represents the pathological pathway, Represents each step in the treatment plan and pathological pathways degree of matching; S65. Generate personalized treatment plan , which is input into the feedback mechanism module. By real-time monitoring of the patient's treatment effect, the system dynamically adjusts the treatment plan based on the feedback.

[0014] Optionally, the S7 specifically includes: S71, the personalized treatment plan generated in step S64 and patients’ real-time medical data are fed into the autoencoder; S72. Use an autoencoder to encode the input data. The autoencoder consists of an encoder and a decoder. The encoder encodes the input data. Mapping to low-dimensional latent space representation : ; in, represents the weight matrix of the encoder, Represents the bias term of the encoder; The decoder represents the latent space Reconstructed to original input : ; in, represents the weight matrix of the decoder, represents the bias term of the decoder; S73. Calculate reconstruction error , used to measure the input data and reconstructing data The differences between: ; S74. Setting threshold , by reconstructing the error Real-time monitoring to detect abnormalities in medical processes and to reconstruct errors Exceeding the threshold When the current data deviates from the standard treatment process, it is determined that the abnormality warning mechanism is triggered; S75. Generate an abnormal warning signal through the abnormal warning mechanism. The system classifies abnormal situations into low, medium, and high risk levels according to different warning levels and automatically notifies medical staff for treatment; S76. When an abnormal warning is triggered, the system inputs the data into the feedback module and analyzes the abnormal nodes in the current medical process. , for personalized treatment plans To make real-time adjustments: ; in, Indicates the adjusted personalized treatment plan, represents the adjustment coefficient, Indicates the abnormal node in the current process. Represents a normal node in the standard treatment process.

[0015] Optionally, the S8 specifically includes: S81, based on real-time data in medical processes, including operating room utilization , ward occupancy rate and workload of medical staff , building the state space of medical resources ,in Indicates time The resource status at the moment, including the utilization of all resources and the status of the current process node; S82. Define the action space for medical process optimization , where each action Represents the allocation or adjustment of a resource, including operating room resource allocation , ward resource allocation and medical staff dispatch ; S83, use the proximal strategy optimization algorithm based on distributed dual priority experience replay to optimize the medical process, collect the experience data of each time step, and store it in the experience pool middle; S84, through the dual priority experience playback mechanism, priority from the experience pool Extract high-priority experiences for training and define strategies , the policy is updated using the proximal policy optimization algorithm, with the goal of maximizing the cumulative reward: ; in, represents the optimization objective function, represents the ratio between the new and old strategies, Indicates the advantage of an action in the current state. represents the clipping function; S85. Dynamically adjust the medical process according to the optimized strategy to obtain an optimized medical resource allocation plan; S86. Continuously update the system through feedback mechanisms, collect new data and optimize again.

[0016] A system for controlling the quality of medical care throughout a hospital's entire process according to an embodiment of the present invention includes the following modules: Data integration module, used to integrate hospital information systems and realize real-time sharing of patients' structured and unstructured data; The data collection module collects patients' vital signs, test results, medical images, and doctors' handwritten medical records through IoT devices and hospital information systems, and structures the unstructured data. Data preprocessing module, used to preprocess the collected structured data; The disease prediction and risk assessment module, based on a spatiotemporal graph neural network and a variational autoencoder model, analyzes preprocessed data to generate disease prediction results and risk assessment information for patients; The real-time condition monitoring and early warning module uses a deep transfer learning algorithm based on a hybrid attention mechanism, combined with patient vital sign data, to monitor changes in the patient's condition in real time and generate risk warning signals; The personalized treatment plan generation module combines patient characteristics and risk assessment results to generate and optimize personalized treatment plans through knowledge graphs and comparative learning; Anomaly detection module, which monitors medical processes through autoencoders, detects anomalies, and issues warnings when deviations from the norm occur; The process optimization module uses a distributed dual-priority experience replay proximal strategy optimization algorithm to dynamically optimize medical processes and adjust resource allocation; The data visualization module is used to generate quality reports and provide real-time early warning and monitoring panels through visualization tools.

[0017] The beneficial effects of the present invention are: First, this invention integrates various hospital information systems through the establishment of a unified data platform, enabling real-time sharing and efficient utilization of structured and unstructured data, resolving the "data silos" problem inherent in existing technologies. This integration enables comprehensive and systematic processing of data ranging from patients' vital signs and laboratory results to doctors' handwritten medical records and medical imaging, significantly improving data integrity and availability, and ensuring the accuracy and reliability of input data for subsequent intelligent algorithms.

[0018] Secondly, based on the introduction of spatiotemporal graph neural networks and variational autoencoder models, the present invention can accurately predict the patient's disease development trend and generate real-time risk assessment information by deeply analyzing and learning the patient's real-time data. This technical advantage greatly improves the accuracy and timeliness of disease prediction, especially for some acute conditions that deteriorate rapidly, such as sepsis or heart disease. The present invention significantly reduces the medical risks caused by delayed treatment by generating risk warning signals in advance. At the same time, through the hybrid attention mechanism and deep transfer learning algorithm, the system can monitor the patient's condition changes in real time, which not only improves the sensitivity to the condition, but also can focus on key disease points in multidimensional data, making monitoring more accurate and effective.

[0019] The generation and optimization of personalized treatment plans is another highlight of the present invention. Through knowledge graphs and hierarchical comparative learning technology, the present invention can automatically infer the most suitable personalized treatment path for the patient from historical cases and medical knowledge bases. Unlike traditional decision-making methods based on physician experience, the system can dynamically integrate real-time data with medical history data to quickly generate optimized treatment plans that meet the patient's individual characteristics. This not only improves the personalization of treatment, but also ensures that the treatment plan can be continuously optimized through real-time feedback, ultimately providing patients with more accurate treatment plans and improving treatment outcomes.

[0020] Furthermore, the present invention incorporates an automatic encoder and anomaly detection mechanism, enabling real-time monitoring of key nodes in the medical process. If a medical procedure deviates from standard or an abnormality is detected, the system immediately issues an alert and notifies the relevant medical staff, ensuring the safety and compliance of the medical process. This intelligent anomaly detection and early warning mechanism not only improves the automation level of medical quality monitoring but also significantly reduces the burden of manual monitoring and mitigates the risks associated with medical procedures.

[0021] In terms of medical resource scheduling and optimization, this invention achieves dynamic and intelligent allocation of hospital resources by using a proximal strategy optimization algorithm with distributed dual-priority experience replay. The system automatically adjusts resource allocation based on real-time data, addressing the resource waste or shortage issues inherent in traditional static scheduling methods. This improves the efficiency of hospital resource utilization, optimizes medical processes, reduces patient wait times, and enhances the overall efficiency of medical services.

[0022] Finally, this invention uses big data visualization tools to generate automated quality reports and provides management with a real-time monitoring dashboard, enabling hospital managers to intuitively and promptly view key quality indicators, bottlenecks, and anomalies in each aspect of the hospital's operations. This provides strong data support for hospital management decisions, improving overall operational quality and medical service levels. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 This is a flow chart of a method for controlling the quality of medical care throughout a hospital's entire process, as proposed by the present invention; Figure 2 This is a structural diagram of a hospital full-process medical quality control system proposed by the present invention. DETAILED DESCRIPTION

[0024] The present invention will now be described in further detail with reference to the accompanying drawings, which are simplified schematic diagrams that illustrate the basic structure of the present invention in a schematic manner.

[0025] refer to Figure 1 and Figure 2 , a method for controlling the quality of medical care throughout a hospital's entire process, comprising the following steps: S1. Establish a unified data platform to integrate hospital information systems and share patients' structured and unstructured data in real time; S2. Utilize IoT devices and hospital information systems to collect patient vital signs, test results, medical images, and doctor's handwritten medical records, and perform preliminary storage and management. Use natural language processing technology to structure unstructured data and construct a data set. S3. Preprocess the structured data set, including data cleaning, standardization, and format conversion; S4. Based on the preprocessed dataset, a spatiotemporal graph neural network and variational autoencoder model are constructed to predict the patient's disease development trend and obtain disease prediction results and risk assessment information; S5. Based on the acquired disease prediction results and risk assessment information, combined with the patient's vital signs data, the system uses a deep transfer learning algorithm based on a hybrid attention mechanism to monitor the patient's condition in real time, predict acute disease deterioration in advance, and automatically generate risk warning signals; S6. Based on real-time risk warning signals and disease prediction results, combined with individual patient characteristics, medical history, and feedback data from the medical process, we generate and optimize personalized treatment plans through knowledge graphs and hierarchical comparative learning. S7. Input personalized treatment plans and real-time medical data into the autoencoder, which monitors key nodes in the medical process to detect abnormalities that deviate from the standard and automatically issues warnings when abnormalities occur. S8, using real-time monitoring and anomaly detection results as input, dynamically optimizes medical processes through a proximal strategy optimization algorithm based on distributed dual-priority experience replay. The system automatically adjusts resource allocation among operating rooms, wards, and medical staff. S9. Input the data analysis results, anomaly detection results and optimization plans in the medical process into the big data visualization tool to generate automated quality reports and provide real-time early warning and monitoring panels.

[0026] In this embodiment, the S4 specifically includes: S41. Segment the preprocessed data set and extract the patient's time series data and spatial correlation data respectively. The time series data includes the patient's vital signs continuous monitoring results, and the spatial correlation data includes the patient's medical history records, laboratory test results, and medical imaging data. S42. Use spatiotemporal graph neural network to process the patient's time series data and spatial correlation data, construct a time series graph for the time series data, use the patient's vital signs at each time node as node features, establish directed edges between time steps to represent the relationship between different time steps, and record the time series graph as ,in Represents the time step The node set of represents the set of directed edges between time steps; S43. Construct a spatial graph for spatially related data. Use the co-occurrence relationship between patient medical history records, laboratory test results, and medical imaging data to establish nodes and edges of the spatial graph. The spatial graph is denoted as ,in A set of nodes representing spatial data, Represents the associated edge set in spatial data; S44. Use spatiotemporal graph neural network model to and Perform joint learning, extract features from each node through graph convolutional networks, and combine attention mechanisms to calculate the importance of each node in the neighborhood to generate spatiotemporal feature representations ; S45. Using variational autoencoders to represent spatiotemporal features Encoding and decoding are performed, the encoding process is: ; in, Representation of spatiotemporal features Sublatent features The distribution of represents the mean of the latent feature space, represents the variance of the latent feature space; The decoding process is: ; in, Representing potential characteristics Spatiotemporal feature representation The reconstructed distribution of and Represents the parameters generated by the decoder, used to reconstruct the spatiotemporal feature representation The mean and variance of By minimizing the joint optimization objective function Implement model training: ; in, represents the difference between the original input features and the reconstructed features, represents the weight coefficient, Represents latent variables The prior distribution of represents the KL divergence, represents the regularization coefficient, Represents the time step and nodes Importance in feature representation, represents the number of nodes in the spatial association graph, represents the total number of time steps in the time series; S46. Generate disease prediction results and risk assessment information for patients by jointly training the spatiotemporal graph neural network and the variational autoencoder model.

[0027] In this embodiment, the S5 specifically includes: S51. Based on the patient's disease prediction results and risk assessment information, similar medical record data is extracted from the historical patient dataset, and the features of the similar medical record data are transferred to the feature space of the current patient through the transfer learning model, and a cross-domain feature mapping is preliminarily established; S52. Build a deep transfer learning model ,in Represents the input data of the current patient, Represents model parameters, transfer learning is achieved by optimizing the objective function After completing the model training, the objective function is: ; in, represents the loss function of the source neighborhood, represents the distribution difference between the source and target domains, The weight coefficient that represents the adaptability between the source domain and the target domain; S53. Based on the transfer learning model, a hybrid attention mechanism is introduced to weight the time series data through the multi-head self-attention mechanism: ; ; in, Represents the time step No. The weight of the attention head, represents the corresponding weight matrix, represents the temporal feature representation before multi-head attention fusion, represents the temporal feature representation after multi-head attention fusion, represents the number of attention heads, represents the total number of time steps; S54. Apply a hierarchical cross-attention mechanism to the spatial features, perform weighted calculations at the feature level, and then normalize at the global level: ; ; in, Representation characteristics At the level The attention weight, Representation level The weight matrix, represents the spatial feature representation after the hierarchical cross attention mechanism processing, Indicates the number of levels, Represents the spatial feature representation before processing by the hierarchical cross-attention mechanism; S55. Combine the time and space attention weights to generate the final comprehensive weighted feature representation : S56, based on the generated comprehensive weighted feature representation , through deep learning models, real-time monitoring of patient condition changes, and combining prediction results with risk assessment scores, automatically generating risk warning signals when predicting acute deterioration of the patient's condition.

[0028] In this embodiment, S6 specifically includes: S61. Input the patient's real-time risk warning signals, disease prediction results, personality characteristics and historical data into the knowledge graph model. Contains multiple nodes and the edge , where nodes represent medical entities and edges represent the associations between different entities; S62. Generate a personalized pathology path for a patient in the knowledge graph using the patient's individual characteristics and medical history data through a knowledge graph query algorithm based on relational reasoning : ; in, Represents the individual characteristics of the patient, Represents the patient's medical history data, represents the total number of steps in the path, Represents an edge The association weight of Representation node Importance rating; S63. Combined with personalized pathological pathways , match the patient's condition with similar historical cases, use hierarchical contrastive learning technology to compare the patient's characteristics with those of similar cases, and optimize the feature space: ; in, represents the loss function of hierarchical contrastive learning, represents the total number of samples, represents the indicator function, Indicates the patient's characteristics Mapping to high-dimensional feature space, Indicates the patient's characteristics Mapping to high-dimensional feature space, Represents the boundary threshold in contrastive learning; S64. Generate personalized treatment plans for patients through optimized comparative learning models : ; in, represents the total number of steps in the treatment plan, Indicates individual patient characteristics and treatment options The matching weight of Represents each step in the treatment plan, Represents the pathological pathway, Represents each step in the treatment plan and pathological pathways degree of matching; S65. Generate personalized treatment plan , which is input into the feedback mechanism module. By real-time monitoring of the patient's treatment effect, the system dynamically adjusts the treatment plan based on the feedback.

[0029] In this embodiment, the S7 specifically includes: S71, the personalized treatment plan generated in step S64 and patients’ real-time medical data are fed into the autoencoder; S72. Use an autoencoder to encode the input data. The autoencoder consists of an encoder and a decoder. The encoder encodes the input data. Mapping to low-dimensional latent space representation : ; in, represents the weight matrix of the encoder, Represents the bias term of the encoder; The decoder represents the latent space Reconstructed to original input : ; in, represents the weight matrix of the decoder, represents the bias term of the decoder; S73. Calculate reconstruction error , used to measure the input data and reconstructing data The differences between: ; S74. Setting threshold , by reconstructing the error Real-time monitoring to detect abnormalities in medical processes and to reconstruct errors Exceeding the threshold When the current data deviates from the standard treatment process, it is determined that the abnormality warning mechanism is triggered; S75. Generate an abnormal warning signal through the abnormal warning mechanism. The system classifies abnormal situations into low, medium, and high risk levels according to different warning levels and automatically notifies medical staff for treatment; S76. When an abnormal warning is triggered, the system inputs the data into the feedback module and analyzes the abnormal nodes in the current medical process. , for personalized treatment plans To make real-time adjustments: ; in, Indicates the adjusted personalized treatment plan, represents the adjustment coefficient, Indicates the abnormal node in the current process. Represents a normal node in the standard treatment process.

[0030] In this embodiment, S8 specifically includes: S81, based on real-time data in medical processes, including operating room utilization , ward occupancy rate and workload of medical staff , building the state space of medical resources ,in Indicates time The resource status at the moment, including the utilization of all resources and the status of the current process node; S82. Define the action space for medical process optimization , where each action Represents the allocation or adjustment of a resource, including operating room resource allocation , ward resource allocation and medical staff dispatch ; S83, use the proximal strategy optimization algorithm based on distributed dual priority experience replay to optimize the medical process, collect the experience data of each time step, and store it in the experience pool middle; S84, through the dual priority experience playback mechanism, priority from the experience pool Extract high-priority experiences for training and define strategies , the policy is updated using the proximal policy optimization algorithm, with the goal of maximizing the cumulative reward: ; in, represents the optimization objective function, represents the ratio between the new and old strategies, Indicates the advantage of an action in the current state. represents the clipping function; S85. Dynamically adjust the medical process according to the optimized strategy to obtain an optimized medical resource allocation plan; S86. Continuously update the system through feedback mechanisms, collect new data and optimize again.

[0031] At the same time, the present invention also proposes a full-process medical quality control system for hospitals, including the following modules: Data integration module, used to integrate hospital information systems and realize real-time sharing of patients' structured and unstructured data; The data collection module collects patients' vital signs, test results, medical images, and doctors' handwritten medical records through IoT devices and hospital information systems, and structures the unstructured data. Data preprocessing module, used to preprocess the collected structured data; The disease prediction and risk assessment module, based on a spatiotemporal graph neural network and a variational autoencoder model, analyzes preprocessed data to generate disease prediction results and risk assessment information for patients; The real-time condition monitoring and early warning module uses a deep transfer learning algorithm based on a hybrid attention mechanism, combined with patient vital sign data, to monitor changes in the patient's condition in real time and generate risk warning signals; The personalized treatment plan generation module combines patient characteristics and risk assessment results to generate and optimize personalized treatment plans through knowledge graphs and comparative learning; Anomaly detection module, which monitors medical processes through autoencoders, detects anomalies, and issues warnings when deviations from the norm occur; The process optimization module uses a distributed dual-priority experience replay proximal strategy optimization algorithm to dynamically optimize medical processes and adjust resource allocation; The data visualization module is used to generate quality reports and provide real-time early warning and monitoring panels through visualization tools.

[0032] Example 1: To verify the feasibility of the present invention, it was applied to a Class A tertiary hospital. The hospital faced challenges in monitoring sudden changes in medical conditions during the medical process, inefficient resource allocation, and excessive workload for physicians. This was particularly true in the emergency room and intensive care unit, where patients' conditions were complex and rapidly changing. Real-time monitoring of patient conditions, optimizing treatment plans, and improving the utilization of medical resources became key challenges that the hospital urgently needed to address.

[0033] The hospital implemented our proposed full-process medical quality control system to address these challenges. First, the hospital integrated its existing hospital information systems through a data integration module, enabling real-time sharing of both structured patient data (such as vital signs, test results, and medical images) and unstructured data (such as handwritten medical records and diagnostic notes). This data platform enables all departments to seamlessly access the latest patient data, particularly in the ICU, where doctors can view patients' dynamic vital signs and other critical medical data in real time.

[0034] In the application, the data acquisition module collects patients' vital signs (such as heart rate, blood pressure, and blood oxygen saturation) in real time through IoT devices. It then uses natural language processing technology to structure the unstructured data in doctors' handwritten medical records, ensuring that all patient data is input into the system in a standardized manner. For example, during postoperative monitoring of a heart patient, their heart rate and blood pressure data are uploaded in real time. The system intelligently analyzes this time series data and, combined with the patient's medical history and medical imaging, uses a spatiotemporal graph neural network model to predict the patient's likely condition over the next 12 hours. This data analysis indicates that the patient is at high risk of developing arrhythmias within the next six hours. Based on this prediction, the system issues an early warning signal through the risk assessment module, prompting medical staff to closely monitor the patient and adjust treatment plans in advance, thus preventing the patient's condition from worsening.

[0035] Through the system's deep transfer learning module, the system not only utilizes the current patient's data but also extracts similar medical records from historical records, comparing their features with the current patient's physical signs and medical history. For example, the system retrieved five cases with similar medical histories to the heart disease patient. Based on the treatment outcomes of these patients with similar conditions, the system automatically generated a personalized treatment plan for the current patient and dynamically adjusted the plan based on real-time monitoring of the patient's condition. This process not only greatly improves doctors' decision-making efficiency but also avoids delays caused by sudden changes in the patient's condition.

[0036] The system has also played a significant role in resource optimization. Taking the ICU ward as an example, the system optimizes the allocation of medical resources by analyzing the real-time occupancy of each ward, the utilization rate of the operating room, and the workload of medical staff. During the peak period on a Monday morning, the ICU ward was almost full. The system automatically adjusted the allocation of ward resources based on the urgency of the patient's condition, the ward utilization rate, the workload of medical staff, and other information, and transferred some patients with more stable conditions to general wards in advance, thereby reserving beds for newly admitted critically ill patients. Through this dynamic resource optimization, the hospital's ward utilization rate increased by 15%, and the workload of medical staff was significantly alleviated.

[0037] Specific data analysis shows that the system has effectively improved the hospital's medical quality and efficiency. For example, before the system was implemented, the average warning time for acute deterioration in ICU patients was 3 hours. After the system went live, this time was reduced to 1.5 hours, increasing the early warning rate by 50%. Over the past year, the hospital's ICU utilization rate has increased by 12%, and bed turnover has increased by 8%. In the emergency department in particular, the system has significantly improved the accuracy of patient monitoring, effectively preventing 72 potential acute deterioration events in the past 6 months. Data shows that the system's warning accuracy reaches 94% within 3 hours of the onset of acute symptoms, significantly reducing mortality.

[0038] At the same time, the generation and optimization of personalized treatment plans also demonstrates the intelligence and flexibility of the system. For example, a patient who underwent a kidney transplant suddenly experienced a rise in blood pressure during postoperative recovery. The system automatically generated an adjusted medication plan based on the patient's individual characteristics, preoperative and postoperative medical history, and comparative analysis with other kidney transplant patients, and dynamically optimized the plan based on the patient's real-time feedback. Through system intervention, the patient's blood pressure returned to normal within 2 hours, avoiding further complications. This type of treatment plan based on historical medical records and individual patient characteristics not only improves the treatment effect, but also significantly reduces the workload of doctors in formulating complex treatment plans.

[0039] In terms of anomaly detection, the system uses an autoencoder to monitor every key node in the medical process in real time, automatically issuing warning signals when any deviation from the standard process is detected. For example, if a patient's postoperative recovery deviates from the standard recovery path, the system will detect that the patient's vital signs do not conform to the standard treatment process and immediately issue a medium-risk warning signal, prompting medical staff to reassess the patient's treatment plan. Data shows that the system has an anomaly detection accuracy rate of 96%, effectively helping hospitals reduce the risk of medical accidents by approximately 20% each year.

[0040] In terms of process optimization, the system dynamically adjusts resource allocation among operating rooms, wards, and medical staff through a proximal policy optimization algorithm. During a large-scale traffic accident, the emergency department received a large number of injured patients. The system quickly analyzed the available operating rooms, emergency wards, and medical staff workload, automatically reallocating resources to ensure that all patients received timely treatment in the shortest possible time. Data shows that the system's resource optimization strategy has reduced the average wait time for emergency surgery at the hospital by 30%. Table 1 below shows detailed recorded data.

[0041] Table 1 Comparison of data before and after the application of the hospital's full-process medical quality control system

[0042] This example demonstrates the application effect of the hospital's full-process medical quality control system. Through functions such as data integration, intelligent disease prediction, personalized treatment plan generation, and medical resource optimization, the system effectively improves medical quality and efficiency. Specific data show that the early warning time for acute conditions has been shortened by 1.5 hours, the ICU early warning rate has increased by 50%, the ward utilization rate has increased by 12%, and the bed turnover rate has increased by 8%. In addition, the emergency department successfully prevented 72 acute disease events, with an early warning accuracy rate of 94%, an abnormality detection accuracy rate of 96%, and an overall medical accident risk reduced by 20%. The system has significantly improved the level of medical services, optimized resource allocation, and ensured patient safety.

[0043] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with the technical field, within the technical scope disclosed by the present invention, who makes equivalent replacements or changes based on the technical solution and inventive concept of the present invention, should be covered by the scope of protection of the present invention.

Claims

1. A method for controlling the quality of medical care throughout the entire hospital process, characterized in that: The steps include: S1. Establish a unified data platform to integrate hospital information systems and share patients’ structured and unstructured data in real time; S2. Use IoT devices and hospital information systems to collect patients’ vital signs, test results, medical images, and doctors’ handwritten medical records, and perform preliminary storage and management. Use natural language processing technology to structure unstructured data and build a data set. S3, preprocessing the structured data set, including data cleaning, standardization and format conversion; S4. Based on the preprocessed data set, a spatiotemporal graph neural network and variational autoencoder model are constructed to predict the disease development trend of patients and obtain disease prediction results and risk assessment information; S5. Based on the acquired disease prediction results and risk assessment information, combined with the patient's vital signs data, the system monitors the patient's condition changes in real time through a deep transfer learning algorithm based on a hybrid attention mechanism, predicts acute disease deterioration in advance, and automatically generates risk warning signals; S6. Based on the risk warning signals and disease prediction results generated in real time, combined with the patient's individual characteristics, medical history, and feedback data from the medical process, through knowledge graph and hierarchical comparative learning, generate and optimize personalized treatment plans; S7, input personalized treatment plans and real-time medical data into the autoencoder, detect abnormalities that deviate from the standard by monitoring key nodes in the medical process, and automatically issue an early warning when an abnormality occurs; S8. Using real-time monitoring and anomaly detection results as input, the system dynamically optimizes the medical process through a proximal strategy optimization algorithm based on distributed dual-priority experience playback, and automatically adjusts the resource allocation of operating rooms, wards, and medical staff; S9. Input the data analysis results, anomaly detection results and optimization solutions in the medical process into the big data visualization tool to generate automated quality reports and provide real-time early warning and monitoring panels.

2. A method for controlling the quality of medical treatment throughout a hospital according to claim 1, characterized in that: The S4 specifically includes: S41, segmenting the preprocessed data set, extracting the patient's time series data and spatial correlation data respectively, the time series data including the continuous monitoring results of the patient's vital signs, and the spatial correlation data including the patient's medical history records, laboratory test results and medical imaging data; S42. Use spatiotemporal graph neural network to process the patient's time series data and spatial correlation data, construct a time series graph for the time series data, use the patient's vital signs at each time node as node features, establish directed edges between time steps to represent the relationship between different time steps, and record the time series graph as ,in Represents the time step The node set of represents the set of directed edges between time steps; S43. Construct a spatial graph for spatially related data. Use the co-occurrence relationship between patient medical history records, laboratory test results, and medical imaging data to establish nodes and edges of the spatial graph. The spatial graph is denoted as ,in A set of nodes representing spatial data, Represents the associated edge set in spatial data; S44. Use spatiotemporal graph neural network model to and Perform joint learning, extract features from each node through the graph convolutional network, and combine the attention mechanism to calculate the importance of each node in the neighborhood to generate spatiotemporal feature representation ; S45. Using variational autoencoders to represent spatiotemporal features Encoding and decoding are performed, the encoding process is: ; in, Representation of spatiotemporal features Potential Features The distribution of represents the mean of the latent feature space, represents the variance of the latent feature space; The decoding process is: ; in, Representing potential features Spatiotemporal feature representation The reconstructed distribution of and Represents the parameters generated by the decoder, used to reconstruct the spatiotemporal feature representation The mean and variance of By minimizing the joint optimization objective function Implement model training: ; in, represents the difference between the original input features and the reconstructed features, represents the weight coefficient, Represents latent variables The prior distribution of represents the KL divergence, represents the regularization coefficient, Represents the time step and nodes The importance of feature representation, represents the number of nodes in the spatial association graph, represents the total number of time steps in the time series; S46. Generate disease prediction results and risk assessment information for patients by jointly training the spatiotemporal graph neural network and the variational autoencoder model.

3. A method for controlling the quality of medical treatment throughout a hospital process according to claim 1, characterized in that: The S5 specifically includes: S51. Based on the patient's disease prediction results and risk assessment information, similar medical record data is extracted from the historical patient data set, and the features of the similar medical record data are transferred to the feature space of the current patient through the transfer learning model, and a cross-domain feature mapping is initially established; S52. Build a deep transfer learning model ,in represents the input data of the current patient, Represents model parameters, and transfer learning is achieved by optimizing the objective function After completing the model training, the objective function is: ; in, represents the loss function of the source neighborhood, represents the distribution difference between the source domain and the target domain, The weight coefficient representing the adaptability between the source domain and the target domain; S53. Based on the transfer learning model, a hybrid attention mechanism is introduced to weight the time series data through a multi-head self-attention mechanism: ; ; in, Represents the time step No. The weight of the attention head, represents the corresponding weight matrix, represents the temporal feature representation before multi-head attention fusion, represents the temporal feature representation after multi-head attention fusion, represents the number of attention heads, represents the total number of time steps; S54. Apply a hierarchical cross-attention mechanism to the spatial features, perform weighted calculations at the feature level, and then normalize at the global level: ; ; in, Representation characteristics At the level The attention weight, Representation level The weight matrix of represents the spatial feature representation after the hierarchical cross-attention mechanism processing, Indicates the number of levels, Represents the spatial feature representation before processing by the hierarchical cross-attention mechanism; S55. Combine the time and space attention weights to generate the final comprehensive weighted feature representation : S56, based on the generated comprehensive weighted feature representation , through the deep learning model, the patient's condition changes are monitored in real time, and the prediction results are combined with the risk assessment score to automatically generate a risk warning signal when the patient's acute condition deteriorates.

4. A method for controlling the quality of medical treatment throughout a hospital process according to claim 1, characterized in that: The S6 specifically includes: S61. Input the patient's real-time risk warning signals, disease prediction results, personality characteristics and historical data into the knowledge graph model. Contains multiple nodes and edge , where nodes represent medical entities and edges represent the associations between different entities; S62. Generate a personalized pathology path for a patient in the knowledge graph using the patient’s individual characteristics and medical history data through a knowledge graph query algorithm based on relational reasoning : ; in, Represents the individual characteristics of the patient, represents the patient's medical history data, represents the total number of steps in the path, Represents edge The associated weight of Representation Node Importance rating; S63. Combined with personalized pathological pathways , match the patient's condition with similar historical cases, use hierarchical contrastive learning technology to compare the patient's characteristics with those of similar cases, and optimize the feature space: ; in, represents the loss function of hierarchical contrastive learning, represents the total number of samples, represents the indicator function, Indicates the patient's characteristics Mapped to a high-dimensional feature space, Indicates the patient's characteristics Mapped to a high-dimensional feature space, represents the boundary threshold in contrastive learning; S64. Generate personalized treatment plans for patients through optimized comparative learning models : ; in, represents the total number of steps in the treatment plan, Indicates individual patient characteristics and treatment options The matching weight of Represents each step in the treatment plan, Represents the pathological path, Represents each step in the treatment plan and pathological pathways The matching degree; S65. Generate personalized treatment plan , input into the feedback mechanism module, and through real-time monitoring of the patient's treatment effect, the system dynamically adjusts the treatment plan based on the feedback.

5. A method for controlling the quality of medical treatment throughout a hospital process according to claim 1, characterized in that: The S7 specifically includes: S71: The personalized treatment plan generated in step S64 and patients’ real-time medical data are fed into the autoencoder; S72, use the automatic encoder to encode the input data, the automatic encoder consists of an encoder and a decoder, the encoder encodes the input data Mapping to a low-dimensional latent space representation : ; in, represents the weight matrix of the encoder, Represents the bias term of the encoder; The decoder represents the latent space Reconstruct to original input : ; in, represents the weight matrix of the decoder, represents the bias term of the decoder; S73. Calculate reconstruction error , used to measure the input data and reconstructing data The difference between: ; S74. Setting threshold , by reconstructing the error Real-time monitoring to detect abnormalities in medical processes and to reconstruct errors Exceeding the threshold When the current data deviates from the standard treatment process, it is determined that the abnormality warning mechanism is triggered; S75. Generate an abnormal warning signal through the abnormal warning mechanism. The system divides the abnormal situation into low, medium and high risk levels according to different warning levels, and automatically notifies medical staff to handle it; S76. When an abnormal warning is triggered, the system inputs the data into the feedback module and analyzes the abnormal nodes in the current medical process. , for personalized treatment plans To make real-time adjustments: ; in, Indicates the adjusted personalized treatment plan, represents the adjustment factor, Indicates the abnormal node in the current process. Represents a normal node in the standard treatment process.

6. A method for controlling the quality of medical treatment throughout a hospital process according to claim 1, characterized in that: The S8 specifically includes: S81, based on real-time data in medical processes, including operating room utilization , ward occupancy rate and workload of medical staff , construct the state space of medical resources ,in Indicates at time Resource status at the moment, including the utilization of all resources and the status of the current process node; S82. Define the action space for medical process optimization , where each action Represents the allocation or adjustment of a resource, including operating room resource allocation , ward resource allocation and medical staff dispatch ; S83. Use the proximal strategy optimization algorithm based on distributed dual priority experience playback to optimize the medical process, collect the experience data at each time step, and store it in the experience pool middle; S84, through the dual priority experience playback mechanism, priority from the experience pool Extract high-priority experiences for training and define strategies , the strategy is updated using the proximal policy optimization algorithm, with the goal of maximizing the cumulative reward: ; in, represents the optimization objective function, represents the ratio between the new and old strategies, Indicates the advantage of an action in the current state. represents the clipping function; S85. Dynamically adjust the medical process according to the optimized strategy to obtain an optimized medical resource allocation plan; S86. Continuously update the system through feedback mechanism, collect new data and optimize again.

7. A system for controlling the quality of medical care throughout a hospital process, which implements the method for controlling the quality of medical care throughout a hospital process as claimed in any one of claims 1 to 6, characterized in that: Includes the following modules: Data integration module, used to integrate hospital information systems and realize real-time sharing of patient structured and unstructured data; The data collection module collects patients’ vital signs, test results, medical images, and doctors’ handwritten medical records through IoT devices and hospital information systems, and structures unstructured data; A data preprocessing module is used to preprocess the collected structured data; The disease prediction and risk assessment module analyzes the preprocessed data based on the spatiotemporal graph neural network and variational autoencoder model to generate disease prediction results and risk assessment information for patients; The real-time disease monitoring and early warning module uses a deep transfer learning algorithm based on a hybrid attention mechanism and combines patient vital sign data to monitor patient disease changes in real time and generate risk early warning signals. The personalized treatment plan generation module combines patient characteristics and risk assessment results to generate and optimize personalized treatment plans through knowledge graphs and comparative learning; Anomaly detection module, which monitors medical processes through autoencoders, detects anomalies, and issues warnings when they deviate from the norm; The process optimization module uses a proximal strategy optimization algorithm with distributed dual-priority experience playback to dynamically optimize medical processes and adjust resource allocation; The data visualization module is used to generate quality reports and provide real-time warning and monitoring panels through visualization tools.

Citation Information

Patent Citations

  • Recommendation method and system based on multi-level comparative learning and multi-modal knowledge graph

    CN116091152A

  • Priority experience playback-based near-end strategy optimization overwater unmanned ship path tracking method, computer equipment and storage medium

    CN116909290A

  • Chronic disease prediction method based on low-resource medical data and knowledge mining

    CN117038096A

  • Distributed market data acquisition management system

    CN117876016A

  • Medical information processing method and device

    CN118098471A

Cited By

  • Prediction method and system for sepsis deterioration based on traditional Chinese medicine big data

    CN119541875A

  • AI evaluation-based atherosclerotic plaque reversal strategy recommendation method

    CN119624943A

  • Internet-of-things-based monitoring ward grading nursing digital management method

    CN119763828A

  • Data analysis platform management method and system

    CN119885091A

  • Cerebral stroke dysfunction refined model construction method and system based on ICF theory

    CN120089394A