Mother and fetal crowd queue data set generation method and device, terminal and storage medium
By acquiring and processing maternal and fetal health data in the pre-pregnancy, pregnancy and postpartum stages from different medical institutions, structured text and enhanced image data are generated, and merged to form a maternal-fetal population cohort data set, which solves the problems of data dispersion and insufficient diversity in the existing technology. issues, achieving comprehensive maternal and fetal health research support.
Patent Information
- Application Number
- CN202410993501.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, the data construction model for maternal and fetal health research is imperfect, resulting in scattered data and limited sample size and diversity, making it difficult to form a comprehensive data set for maternal and fetal health research.
Obtain user health data covering pre-pregnancy, pregnancy and postpartum stages from different medical institutions, including text and image data, generate structured text data through the text data cleaning model, generate enhanced image data through the image enhancement model, and merge the two to form Maternal and Fetal Population Cohort Dataset.
A relatively comprehensive data set has been formed, covering the user's own and fetal health status before, during and after pregnancy, supporting in-depth maternal and fetal health research and prediction of fetal birth defects.
Smart Images

Figure CN118538420A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical data collection, and in particular to a method, device, terminal and storage medium for generating a maternal-fetal cohort data set. Background Art
[0002] In the existing technology, the data construction model for maternal-fetal health research is still imperfect. The data of pregnant women and fetuses during the medical process are usually archived separately based on different medical institutions. This scattered data situation has led to limited sample size and diversity. In addition, the existing data system often only focuses on the health of pregnant women or fetuses in a single aspect, lacks continuous records of pregnant women and fetuses before, during and after pregnancy, and it is difficult to form a comprehensive data set for maternal-fetal health research.
[0003] Therefore, the prior art has defects and needs to be improved and developed. Summary of the invention
[0004] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a method, device, terminal and storage medium for generating a maternal-fetal population cohort data set are provided, aiming to solve the problem in the prior art that it is difficult to form a comprehensive data set for maternal-fetal health research.
[0005] The technical solution adopted by the present invention to solve the technical problem is as follows: In a first aspect, an embodiment of the present invention provides a method for generating a maternal-fetal population cohort data set, the method comprising: Acquire health data of multiple users from different medical institutions, where the health data covers the users' pre-pregnancy, pregnancy and postpartum stages, including multiple original text data and original image data representing the health status of the users themselves and / or their fetuses; Processing the original text data of all users to obtain structured text data of each user; Processing the original image data of all users to obtain enhanced image data of each user; The structured text data and the enhanced image data of each user are merged to form a maternal-fetal population cohort dataset.
[0006] In one embodiment, the original text data includes clinical text data, feature text data and intervention text data; the processing of the original text data of all users to obtain structured text data of each user includes: Inputting the clinical text data, the feature text data and the intervention text data of all users into the trained text data cleaning model; The clinical text data, the feature text data and the intervention text data of all users are processed by the text data cleaning model to obtain the physiological indicator data and clinical event description data of all users, wherein the physiological indicator data and the clinical event description data both contain user identifiers; The physiological indicator data and the clinical event description data of the same user identification are associated to obtain structured text data of each user.
[0007] In one embodiment, the clinical text data, the feature text data and the intervention text data of all users are processed by the text data cleaning model to obtain the physiological indicator data and clinical event description data of all users, including: The clinical text data, the feature text data and the intervention text data of all users are encoded by the BERT model in the text data cleaning model to obtain basic semantic information, the basic semantic information is input into the bidirectional LSTM network in the text data cleaning model, and the contextual semantic features are obtained by processing the bidirectional LSTM network; Inputting the contextual semantic features into the Transformer module in the text data cleaning model, performing self-attention calculation through the Transformer module to obtain global semantic information, inputting the global semantic information into the multi-layer perceptron in the text data cleaning model, performing digital and text distinction through the multi-layer perceptron to obtain digital information and text information; Processing the digital information using a K-means clustering algorithm to obtain physiological indicator data of all users; The text information is processed using the Transformer module and the multi-layer perceptron to obtain clinical event description data of all users.
[0008] In one implementation, the original image data is a medical image; and the processing of the original image data of all users to obtain enhanced image data of each user includes: Performing an image integrity check on each of the medical images to obtain a check result; If the examination result is passed, adjusting the size of the medical image to a preset size to obtain a second medical image; Inputting all the second medical images into a trained image enhancement model, performing image enhancement processing through the image enhancement model, and obtaining a plurality of enhanced image data; Each enhanced image data is associated with a corresponding user identifier to obtain enhanced image data of each user.
[0009] In one embodiment, performing an image integrity check on each of the medical images to obtain a check result includes: Performing image damage inspection and image content missing inspection on the medical images respectively; If the medical image passes the image damage check and the image content missing check, determining that the check result is passed; If the medical image fails any one of the image damage check or the image content missing check, the check result is determined to be failed.
[0010] In one embodiment, the step of inputting all the second medical images into a trained image enhancement model and performing image enhancement processing by the image enhancement model to obtain a plurality of enhanced image data includes: Inputting all of the second medical images into the trained image enhancement model; After extracting features from all the second medical images by the downsampling convolutional neural network module in the image enhancement model, the extracted features are input into the enhancement layer for enhancement to obtain enhanced features, and the enhanced features are input into the upsampling convolutional neural network module in the image enhancement model; The enhanced features are restored by the upsampling convolutional neural network module to generate a plurality of enhanced image data.
[0011] In one embodiment, after performing an image integrity check on each of the medical images and obtaining the check result, the method further includes: If the examination result is failed, the medical image with the failed examination result is deleted.
[0012] In a second aspect, an embodiment of the present invention further provides a device for generating a maternal-fetal population cohort data set, comprising: A data acquisition module, used to acquire health data of multiple users from different medical institutions, wherein the health data covers the users' pre-pregnancy, pregnancy and postpartum stages, including multiple original text data and original image data representing the health status of the users themselves and / or their fetuses; A text data generation module, used to process the original text data of all users to obtain structured text data of each user; An image data generating module, used for processing the original image data of all users to obtain enhanced image data of each user; The data set generation module is used to merge the structured text data and the enhanced image data of each user to form a maternal-fetal cohort data set.
[0013] In a third aspect, an embodiment of the present invention further provides a terminal, comprising: a memory, a processor, and a maternal-fetal population cohort dataset generation program stored in the memory and executable on the processor, wherein the maternal-fetal population cohort dataset generation program implements the steps of the maternal-fetal population cohort dataset generation method as described above when executed by the processor.
[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores a maternal-fetal population cohort dataset generation program, and the maternal-fetal population cohort dataset generation program can be executed to implement the steps of the maternal-fetal population cohort dataset generation method as described above.
[0015] Beneficial effects of the present invention: The embodiments of the present invention obtain health data of multiple users from different medical institutions, and the health data covers the users' pre-pregnancy, pregnancy and postpartum stages, including multiple original text data and original image data that characterize the health status of the users themselves and / or their fetuses; the original text data of all users are processed to obtain structured text data of each user; the original image data of all users are processed to obtain enhanced image data of each user; the structured text data and enhanced image data of each user are merged to form a maternal-fetal population cohort data set. The present invention can form a more comprehensive data set for maternal-fetal health research by integrating the health data of users themselves and their fetuses in the pre-pregnancy, pregnancy and postpartum stages provided by different medical institutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flowchart of a preferred embodiment of the method for generating a maternal-fetal population cohort data set in the present invention.
[0017] Figure 2 It is a schematic diagram of the process of processing original text data in the present invention.
[0018] Figure 3 It is a schematic diagram of the process of processing original image data in the present invention.
[0019] Figure 4 It is a structural schematic diagram of a preferred embodiment of the maternal-fetal population cohort data set generation device in the present invention.
[0020] Figure 5 It is a terminal principle block diagram of the present invention. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0022] In the existing technology, the data construction model for maternal-fetal health research is still imperfect. The data of pregnant women and fetuses during the medical process are usually archived separately based on different medical institutions. This scattered data situation has led to limited sample size and diversity. In addition, the existing data system often only focuses on the health of pregnant women or fetuses in a single aspect, lacks continuous records of pregnant women and fetuses before, during and after pregnancy, and it is difficult to form a comprehensive data set for maternal-fetal health research.
[0023] In view of the above-mentioned defects of the prior art, the present invention provides a method, device, terminal and storage medium for generating a maternal-fetal population cohort data set, the method comprising: obtaining health data of multiple users from different medical institutions, the health data covering the users' pre-pregnancy, pregnancy and postpartum stages, including multiple original text data and original image data characterizing the health status of the users themselves and / or their fetuses; processing the original text data of all users to obtain structured text data of each user; processing the original image data of all users to obtain enhanced image data of each user; merging the structured text data and the enhanced image data of each user to form a maternal-fetal population cohort data set. The present invention can form a more comprehensive data set for maternal-fetal health research by integrating the health data of the users themselves and their fetuses in the pre-pregnancy, pregnancy and postpartum stages provided by different medical institutions.
[0024] See also Figure 1 The method for generating a maternal-fetal population cohort data set according to an embodiment of the present invention comprises the following steps: Step S100: Acquire health data of multiple users from different medical institutions, where the health data covers the users' pre-pregnancy, pregnancy and postpartum stages, and includes multiple original text data and original image data representing the health status of the users themselves and / or their fetuses.
[0025] Specifically, user health data comes from multiple different medical institutions, covering the health data of the user and / or their fetus before, during and after pregnancy. The user's consent has been obtained before the data is obtained. The user's pre-pregnancy period specifically refers to the 12 months before pregnancy, during which the user's own health data is included in both text and image formats. Pregnancy refers to the health data of the user and the fetus. Postpartum specifically refers to the 12 months after delivery, the health data of the user and the fetus, including both text and image formats.
[0026] See also Figure 1 The method for generating a maternal-fetal population cohort data set according to an embodiment of the present invention further comprises the following steps: Step S200: Process the original text data of all users to obtain structured text data of each user.
[0027] Specifically, the original text data is data in text form that characterizes the health status of the user and / or the fetus. Since the original text data comes from different medical institutions, due to the diverse sources, there is redundant information and the format is not uniform, so it needs to be processed to generate structured text data in a unified format, so as to subsequently form a maternal-fetal population cohort dataset.
[0028] In one implementation, the original text data includes clinical text data, feature text data, and intervention text data; the processing of the original text data of all users to obtain structured text data of each user includes: Inputting the clinical text data, the feature text data and the intervention text data of all users into the trained text data cleaning model; The text data cleaning model processes all the clinical text data, the feature text data and the intervention text data to obtain physiological indicator data and clinical event description data of all users, wherein the physiological indicator data and the clinical event description data both contain user identifiers; The physiological indicator data and the clinical event description data of the same user identification are associated and stored in a preset data format to obtain structured text data of each user.
[0029] Specifically, clinical text data is clinical data in text form obtained through examination and diagnosis by medical institutions during the maternal and fetal clinical stage. Specifically, it includes medical records, diagnostic reports, treatment plans, etc. Feature text data is data reflecting the personal characteristics of the user and / or the fetus. Among them, the personal characteristics of the user include age, genetic diseases, hobbies, etc., and the personal characteristics of the fetus include heart rate, fetal length, fetal weight, fetal birth defect types and other data. Fetal birth defect types include nervous system defects, digestive system defects, circulatory system defects, urogenital system defects, etc. Intervention text data is data on drug treatment, nutritional therapy, exercise therapy and other auxiliary treatments for users and / or fetuses through medical institutions.
[0030] In one implementation, the text data cleaning model processes the clinical text data, the feature text data, and the intervention text data of all users to obtain the physiological indicator data and clinical event description data of all users, including: The clinical text data, the feature text data and the intervention text data of all users are encoded by the BERT model in the text data cleaning model to obtain basic semantic information, the basic semantic information is input into the bidirectional LSTM network in the text data cleaning model, and the contextual semantic features are obtained by processing the bidirectional LSTM network; Inputting the contextual semantic features into the Transformer module in the text data cleaning model, performing self-attention calculation through the Transformer module to obtain global semantic information, inputting the global semantic information into the multi-layer perceptron in the text data cleaning model, performing digital and text distinction through the multi-layer perceptron to obtain digital information and text information; Processing the digital information using a K-means clustering algorithm to obtain physiological indicator data of all users; The text information is processed using the Transformer module and the multi-layer perceptron to obtain clinical event description data of all users.
[0031] Specifically, the flowchart of the original text data processing in the present invention is as follows: Figure 2As shown, when the original text data is input into the text data cleaning model, the basic semantics is first extracted by the pre-trained BERT model. The BERT model (Bidirectional Encoder Representations from Transformers) is a pre-trained deep bidirectional encoder model that can better understand the semantic information in the text data. Even in the face of complex medical terms and grammatical structures, it can accurately extract key information, providing a basis for subsequent data cleaning. Then the basic semantic information is input into the bidirectional LSTM network (i.e., bidirectional long short-term memory network) in the text data cleaning model, and the bidirectional LSTM network performs semantic extraction and classification to obtain contextual semantic features. The bidirectional LSTM (Long Short-Term Memory) network can capture the contextual semantic relationship in the text data, for example, identify which words describe the same physiological indicator, thereby improving the accuracy of data extraction. The contextual semantic features are input into the Transformer module (converter module) in the text data cleaning model, and the Transformer module performs self-attention calculation to obtain global semantic information. The global semantic information is input into the multi-layer perceptron in the text data cleaning model, and the multi-layer perceptron distinguishes between numbers and text to obtain digital information and text information. Digital information is data containing numbers, and text information is data containing character strings. By processing digital information using the K-means clustering algorithm, outliers can be effectively identified and removed, for example, physiological indicator data that is obviously beyond the normal range can be identified as noise data and removed, thereby improving the reliability of the data. The physiological indicator data in the present invention include blood pressure, blood sugar, white blood cell value, etc., which come from the test results. Clinical event description data include symptom description, treatment process, diagnosis conclusion, etc. Symptom description includes the patient's self-perception, such as "dry mouth", "dizziness", etc. The diagnosis conclusion is the conclusion obtained by the doctor based on the patient's symptoms and examination results, such as "gestational hyperglycemia", "gestational hypertension", etc. After generating physiological indicator data and clinical event description data, the physiological indicator data and clinical event description data of the same user identifier are associated and stored in a preset data format to obtain structured text data for each user.
[0032] See also Figure 1 The method for generating a maternal-fetal population cohort data set according to an embodiment of the present invention further comprises the following steps: Step S300: Process the original image data of all users to obtain enhanced image data of each user.
[0033] Specifically, the original image data comes from different medical institutions, and enhancing it can effectively improve the image quality so as to subsequently form a maternal-fetal population cohort data set for fetal birth defect prediction.
[0034] In one implementation, the original image data is a medical image; and the processing of the original image data of all users to obtain enhanced image data of each user includes: Performing an image integrity check on each of the medical images to obtain a check result; If the examination result is passed, adjusting the size of the medical image to a preset size to obtain a second medical image; Inputting all the second medical images into a trained image enhancement model, performing image enhancement processing through the image enhancement model, and obtaining a plurality of enhanced image data; Each enhanced image data is associated with a corresponding user identifier to obtain enhanced image data of each user.
[0035] Specifically, medical images include CT images and B-ultrasound images. The flowchart of raw image data processing is as follows: Figure 3 As shown, after the original image data is obtained, the image integrity needs to be checked, and only the medical images that pass the image integrity check are enhanced. The image integrity check can eliminate incomplete or damaged medical images to ensure the quality of subsequent processing and analysis. When the inspection result is passed, the corresponding medical image is adjusted to a preset size to facilitate the processing efficiency of image enhancement. After adjusting the size of the medical image, it is input into the trained image enhancement model, and the image enhancement model is used to perform image enhancement processing to obtain multiple enhanced image data. Then the enhanced image of each user is associated with its user ID to facilitate data management. The user ID is a unique identification identifier for the user's identity, which can be an ID number. It can be understood that the user in the present invention refers to a pregnant woman, and the health data of the fetus of the pregnant woman also belongs to the pregnant woman. Such a setting is intended to ensure that the health information of the pregnant woman and her fetus is tracked and recorded uniformly and continuously.
[0036] In one implementation, performing an image integrity check on each of the medical images to obtain a check result includes: Performing image damage inspection and image content missing inspection on the medical images respectively; If the medical image passes the image damage check and the image content missing check, determining that the check result is passed; If the medical image fails any one of the image damage check or the image content missing check, the check result is determined to be failed.
[0037] Specifically, the image integrity check includes an image damage check and an image content missing check. The process of the image damage check specifically includes: calculating the pixel average and pixel standard deviation of the medical image; when the pixel average of the medical image exceeds the first preset value or is lower than the second preset value, confirming that the inspection result of the image damage check is failed; when the pixel standard deviation exceeds the third preset value, confirming that the inspection result of the image damage check is failed. The process of the image content missing check specifically includes: performing edge detection on the medical image to identify the pixels located at the edge of the image; calculating the proportion of non-zero pixels in the pixels at the edge of the image; if the proportion of non-zero pixels in the pixels at the edge of the image is lower than the first preset threshold, determining that the inspection result of the image content missing check is failed. Edge detection can be performed using the canny edge detection algorithm (Canny Edge Detection). The range of the first preset threshold is 5%-10%.
[0038] In one implementation, the step of inputting all the second medical images into a trained image enhancement model, performing image enhancement processing by the image enhancement model, and obtaining a plurality of enhanced image data includes: Inputting all of the second medical images into the trained image enhancement model; After extracting features from all the second medical images by the downsampling convolutional neural network module in the image enhancement model, the extracted features are input into the enhancement layer for enhancement to obtain enhanced features, and the enhanced features are input into the upsampling convolutional neural network module in the image enhancement model; The enhanced features are restored through the upsampling convolutional neural network module to generate a plurality of enhanced image data.
[0039] Specifically, the downsampling convolutional neural network module (i.e., downsampling CNN) adopts a three-layer convolutional neural network (CNN) structure, and each convolutional layer is connected to the ReLU (Rectified Linear Unit) activation function and batch normalization layer to gradually compress the image dimension and extract features. The enhancement layer contains three layers of convolutional neural network structures that do not change the spatial dimension of the image, which is used to enhance the features. The upsampling convolutional neural network module (i.e., upsampling CNN) includes three layers of deconvolutional layers, and each deconvolutional layer is connected to the ReLU activation function and batch normalization layer to gradually restore the image to the original dimension. In the upsampling process, the sampling convolutional neural network module can fuse feature information of different scales by performing residual connection with the feature map of the corresponding level in the downsampling stage, thereby generating a more refined and accurate enhanced image.
[0040] In one embodiment, after performing an image integrity check on each of the medical images and obtaining the check result, the method further includes: If the examination result is failed, the medical image with the failed examination result is deleted.
[0041] Specifically, when the examination result is failed, the corresponding medical image is deleted to improve the efficiency of data management.
[0042] See also Figure 1 The method for generating a maternal-fetal population cohort data set according to an embodiment of the present invention further comprises the following steps: Step S400: Merge the structured text data and the enhanced image data of each user to form a maternal-fetal cohort data set.
[0043] Specifically, the structured text data and the enhanced image data of each user are combined to form a maternal-fetal population cohort dataset.
[0044] In summary, the present invention proposes a new method for constructing a high-quality maternal-fetal population cohort dataset to address the problems of heterogeneity, missingness, asymmetry, and limited coverage of existing maternal-fetal health data. Considering that fetal birth defects are affected by multiple factors such as maternal diseases, genetics, nutrition, exercise, and sleep, the present invention integrates maternal and fetal health data from different medical institutions, covering the entire pre-pregnancy, pregnancy, and postpartum stages, to construct a comprehensive maternal-fetal population cohort dataset. During the construction process, the text data is cleaned, the image data is enhanced, and the text data and image data are combined to form a maternal-fetal population cohort dataset. This dataset provides strong data support for in-depth research on the causes of fetal birth defects, as well as more accurate prediction and tracing.
[0045] In one embodiment, if Figure 4 As shown, based on the above-mentioned method for generating a maternal-fetal population cohort data set, the present invention also provides a maternal-fetal population cohort data set generating device, including: The data acquisition module 100 is used to acquire health data of multiple users from different medical institutions, where the health data covers the users' pre-pregnancy, pregnancy and postpartum stages, including multiple original text data and original image data representing the health status of the users themselves and / or their fetuses; A text data generating module 200 is used to process the original text data of all users to obtain structured text data of each user; An image data generating module 300 is used to process the original image data of all users to obtain enhanced image data of each user; The data set generation module 400 is used to merge the structured text data and the enhanced image data of each user to form a maternal-fetal cohort data set.
[0046] In one implementation, the original text data includes clinical text data, feature text data and intervention text data; the text data generation module includes: A data input unit, used for inputting all of the clinical text data, the feature text data and the intervention text data into a trained text data cleaning model; A data processing unit, used for processing the clinical text data, the feature text data and the intervention text data of all users through the text data cleaning model to obtain physiological indicator data and clinical event description data of all users, wherein the physiological indicator data and the clinical event description data both contain user identifiers; The first associating unit is used to associate the physiological indicator data and the clinical event description data of the same user identification to obtain structured text data of each user.
[0047] In one implementation, the data processing unit includes: A context semantic feature generating unit is used to encode the clinical text data, the feature text data and the intervention text data of all users through the BERT model in the text data cleaning model to obtain basic semantic information, input the basic semantic information into the bidirectional LSTM network in the text data cleaning model, and obtain context semantic features through processing by the bidirectional LSTM network; A digital information and text information generating unit, used for inputting the contextual semantic features into a Transformer module in the text data cleaning model, performing self-attention calculation through the Transformer module to obtain global semantic information, inputting the global semantic information into a multi-layer perceptron in the text data cleaning model, performing digital and text distinction through the multi-layer perceptron to obtain digital information and text information; A physiological indicator data generating unit, used to process the digital information using a K-means clustering algorithm to obtain physiological indicator data of all users; The clinical event description data generating unit is used to process the text information using the Transformer module and the multi-layer perceptron to obtain the clinical event description data of all users.
[0048] In one implementation, the original image data is a medical image; the enhanced image data generating unit includes: An inspection result generating unit, used for performing an image integrity inspection on each of the medical images to obtain an inspection result; A second medical image generating unit, configured to adjust the size of the medical image to a preset size to obtain a second medical image if the examination result is passed; an enhanced image data generating unit, configured to input all the second medical images into a trained image enhancement model, perform image enhancement processing through the image enhancement model, and obtain a plurality of enhanced image data; The second associating unit is used to associate each of the enhanced image data with a corresponding user identifier to obtain enhanced image data of each user.
[0049] In one implementation, the inspection result generating unit includes: An inspection unit, used to respectively perform an image damage inspection and an image content missing inspection on the medical image; A first inspection result determination unit, configured to determine that the inspection result is passed if the medical image passes the image damage inspection and the image content missing inspection; The second inspection result determination unit is used to determine that the inspection result is failed if the medical image fails any one of the image damage inspection or the image content missing inspection.
[0050] In one implementation, the enhanced image data generating unit includes: An image input unit, used for inputting all the second medical images into a trained image enhancement model; An enhanced feature generation unit, configured to extract features from all the second medical images through the downsampling convolutional neural network module in the image enhancement model, input the extracted features into the enhancement layer for enhancement to obtain enhanced features, and input the enhanced features into the upsampling convolutional neural network module in the image enhancement model; An image enhancement unit is used to restore the image of the enhanced features through the upsampling convolutional neural network module to generate multiple enhanced image data.
[0051] In one implementation, the enhanced image data generating unit further includes: The image deleting unit is used to delete the medical image with the failed examination result if the examination result is failed.
[0052] Based on the above embodiment, the present invention further provides a terminal, whose principle block diagram can be shown as follows: Figure 5As shown. The terminal includes a processor, a memory, a network interface and a display screen connected via a system bus. The processor of the terminal is used to provide computing and control capabilities. The memory of the terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a maternal-fetal cohort dataset generation device. The internal memory provides an environment for the operation of the operating system and the maternal-fetal cohort dataset generation device in the non-volatile storage medium. The network interface of the terminal is used to communicate with an external terminal via a network connection. When the maternal-fetal cohort dataset generation device is executed by the processor, the steps of any one of the above-mentioned maternal-fetal cohort dataset generation methods are implemented. The display screen of the terminal may be a liquid crystal display screen or an electronic ink display screen.
[0053] Those skilled in the art will understand that Figure 5 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the terminal to which the scheme of the present invention is applied. The specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0054] In one embodiment, a terminal is provided, comprising a memory, a processor, and a maternal-fetal population cohort dataset generation program stored in the memory and executable on the processor, wherein the maternal-fetal population cohort dataset generation program, when executed by the processor, implements the steps of any one of the maternal-fetal population cohort dataset generation methods provided in an embodiment of the present invention.
[0055] An embodiment of the present invention also provides a computer-readable storage medium, on which a maternal-fetal population cohort dataset generation program is stored. When the maternal-fetal population cohort dataset generation program is executed by a processor, the steps of any one of the maternal-fetal population cohort dataset generation methods provided in the embodiments of the present invention are implemented.
[0056] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0057] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0058] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0059] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0060] In the embodiments provided by the present invention, it should be understood that the disclosed apparatus / terminal equipment and method can be implemented in other ways. For example, the apparatus / terminal equipment embodiments described above are only illustrative, for example, the division of the above modules or units is only a logical function division, and in actual implementation, other division methods can be used, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0061] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features therein may be replaced by equivalents. However, these modifications or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A method for generating a maternal-fetal population cohort dataset, characterized in that: The method comprises: Acquire health data of multiple users from different medical institutions, where the health data covers the users' pre-pregnancy, pregnancy and postpartum stages, including multiple original text data and original image data representing the health status of the users themselves and / or their fetuses; Processing the original text data of all users to obtain structured text data of each user; Processing the original image data of all users to obtain enhanced image data of each user; The structured text data and the enhanced image data of each user are merged to form a maternal-fetal population cohort dataset.
2. The method for generating a maternal-fetal population cohort dataset according to claim 1, characterized in that: The original text data includes clinical text data, feature text data and intervention text data; the original text data of all users is processed to obtain structured text data of each user, including: Inputting the clinical text data, the feature text data and the intervention text data of all users into the trained text data cleaning model; The clinical text data, the feature text data and the intervention text data of all users are processed by the text data cleaning model to obtain the physiological indicator data and clinical event description data of all users, wherein the physiological indicator data and the clinical event description data both contain user identifiers; The physiological indicator data and the clinical event description data of the same user identification are associated to obtain structured text data of each user.
3. The method for generating a maternal-fetal cohort dataset according to claim 2, characterized in that: The text data cleaning model processes the clinical text data, the feature text data and the intervention text data of all users to obtain the physiological indicator data and clinical event description data of all users, including: The clinical text data, the feature text data and the intervention text data of all users are encoded by the BERT model in the text data cleaning model to obtain basic semantic information, the basic semantic information is input into the bidirectional LSTM network in the text data cleaning model, and the contextual semantic features are obtained by processing the bidirectional LSTM network; Inputting the contextual semantic features into the Transformer module in the text data cleaning model, performing self-attention calculation through the Transformer module to obtain global semantic information, inputting the global semantic information into the multi-layer perceptron in the text data cleaning model, performing digital and text distinction through the multi-layer perceptron to obtain digital information and text information; Processing the digital information using a K-means clustering algorithm to obtain physiological indicator data of all users; The text information is processed using the Transformer module and the multi-layer perceptron to obtain clinical event description data of all users.
4. The method for generating a maternal-fetal population cohort dataset according to claim 1, characterized in that: The original image data is a medical image; the processing of the original image data of all users to obtain enhanced image data of each user includes: Performing an image integrity check on each of the medical images to obtain a check result; If the examination result is passed, adjusting the size of the medical image to a preset size to obtain a second medical image; Inputting all the second medical images into a trained image enhancement model, performing image enhancement processing through the image enhancement model, and obtaining a plurality of enhanced image data; Each enhanced image data is associated with a corresponding user identifier to obtain enhanced image data of each user.
5. The method for generating a maternal-fetal cohort dataset according to claim 4, characterized in that: The performing of an image integrity check on each of the medical images to obtain a check result includes: Performing image damage inspection and image content missing inspection on the medical images respectively; If the medical image passes the image damage check and the image content missing check, determining that the check result is passed; If the medical image fails any one of the image damage check or the image content missing check, the check result is determined to be failed.
6. The method for generating a maternal-fetal cohort dataset according to claim 4, characterized in that: The step of inputting all the second medical images into a trained image enhancement model and performing image enhancement processing by the image enhancement model to obtain a plurality of enhanced image data includes: Inputting all of the second medical images into the trained image enhancement model; After extracting features from all the second medical images by the downsampling convolutional neural network module in the image enhancement model, the extracted features are input into the enhancement layer for enhancement to obtain enhanced features, and the enhanced features are input into the upsampling convolutional neural network module in the image enhancement model; The enhanced features are restored through the upsampling convolutional neural network module to generate a plurality of enhanced image data.
7. The method for generating a maternal-fetal population cohort dataset according to claim 4, characterized in that: After performing an image integrity check on each of the medical images and obtaining the check result, the method further includes: If the examination result is failed, the medical image with the failed examination result is deleted.
8. A device for generating a maternal-fetal population cohort data set, characterized in that: include: A data acquisition module, used to acquire health data of multiple users from different medical institutions, wherein the health data covers the users' pre-pregnancy, pregnancy and postpartum stages, including multiple original text data and original image data representing the health status of the users themselves and / or their fetuses; A text data generation module, used to process the original text data of all users to obtain structured text data of each user; An image data generating module, used for processing the original image data of all users to obtain enhanced image data of each user; The data set generation module is used to merge the structured text data and the enhanced image data of each user to form a maternal-fetal population cohort data set.
9. A terminal, characterized in that: The terminal includes a memory, a processor, and a maternal-fetal population cohort dataset generation program stored in the memory and executable on the processor. When the processor executes the maternal-fetal population cohort dataset generation program, the steps of the maternal-fetal population cohort dataset generation method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a maternal-fetal population cohort dataset generation program, and the maternal-fetal population cohort dataset generation program can be executed to implement the steps of the maternal-fetal population cohort dataset generation method as described in any one of claims 1-7.
Citation Information
Patent Citations
Method for removing reflective and smooth images on basis of deep neural network
CN107464227A
Text classification method and device and readable storage medium
CN111597340A
Text matching method and device based on dynamic semantic coding and double attention
CN111611346A
Medical image segmentation method and device based on cyclic residual convolutional neural network
CN113393469A
Blurred image restoration method and system based on generative adversarial network
CN113628139A
Cited By
Maternal-fetal cohort dataset generation method and apparatus, terminal, and storage medium
WO2026020535A1
