Abdominal pain inquiry department recommendation method, storage medium and equipment
By acquiring and analyzing a variety of patient data, the preset abdominal pain characteristic prediction model is used to recommend consultation departments, which solves the problem of abdominal pain patients being unable to seek medical treatment in time, achieves fast and accurate department recommendations, and avoids delays in treatment time.
Patent Information
- Application Number
- CN202410789941.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-10
AI Technical Summary
During consultation, patients with abdominal pain cannot quickly determine the consultation department or the determined consultation department is inaccurate, resulting in failure to seek timely treatment and delaying the optimal treatment time.
By obtaining the patient's medical record text data, voice data, abdominal ultrasound images and abdominal CT images, the baseline feature vector, abdominal pain feature vector, tissue structure abnormality probability value and organic abnormality probability value are extracted and input into the preset abdominal pain feature prediction model. Recommend the most suitable consultation department.
It is possible to quickly and accurately determine the consultation department for patients with abdominal pain, avoiding delays in the best treatment time due to delayed treatment.
Smart Images

Figure CN118629606A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical technology, and in particular to a method, storage medium and device for recommending a consultation department for abdominal pain. Background Art
[0002] Abdominal pain is a very common symptom in clinical practice. Diseases caused by abdominal pain are mostly acute, develop very quickly, and can bring very serious consequences; for example, long-term abdominal pain can cause patients to be nervous, have bad moods, have hyperactivity of endocrine, and have autonomic nervous system dysfunction, etc. It can also cause the vascular activity center to switch from excitement to high inhibition, and even cause shock.
[0003] At present, when patients with abdominal pain seek medical advice, they may not be able to quickly determine the consultation department, or the determined consultation department is inaccurate, etc., resulting in patients with abdominal pain not being able to receive timely treatment, thereby delaying the optimal treatment time for patients with abdominal pain. Summary of the invention
[0004] Based on this, it is necessary to propose a method, storage medium and equipment for recommending consultation departments for abdominal pain in response to the above problems, so as to quickly and accurately determine the consultation department for patients with abdominal pain, avoid abdominal pain patients not being able to seek medical treatment in time, and delay the best treatment time for patients with abdominal pain.
[0005] To achieve the above object, the present invention provides, in a first aspect, a method for recommending a consultation department for abdominal pain, the method comprising:
[0006] Obtain the patient's medical record text data, voice data, abdominal ultrasound images, and abdominal CT images;
[0007] Determine a baseline feature vector according to the medical record text data, determine an abdominal pain feature vector according to the voice data, determine a tissue structure abnormality probability value according to the abdominal ultrasound image, and determine an organic abnormality probability value according to the abdominal CT image;
[0008] The baseline feature vector, the abdominal pain feature vector, the tissue structure abnormality probability value and the organic abnormality probability value are input into a preset abdominal pain feature prediction model to obtain the abdominal pain feature probability value of each consultation department to recommend the consultation department.
[0009] Optionally, the abdominal pain feature vector includes an abdominal pain manifestation feature vector, an abdominal pain property feature vector and an abdominal pain location feature vector, and the preset abdominal pain feature prediction model outputs a prediction formula for an abdominal pain feature probability value as follows:
[0010]
[0011] Among them, P(qx) is the characteristic probability value of abdominal pain in the qth consultation department, K is the total number of consultation departments, ωb,k is the weight of the kth consultation department corresponding to the baseline feature vector, σ b is the baseline eigenvector, ω m,k is the weight of the kth consultation department corresponding to the abdominal pain manifestation feature vector, σ m is the abdominal pain characteristic vector, ω n,k is the weight of the kth consultation department corresponding to the abdominal pain characteristic vector, σ n is the abdominal pain characteristic vector, ω p,k is the weight of the kth consultation department corresponding to the abdominal pain location feature vector, σ p is the abdominal pain location feature vector, ω i,k is the weight of the kth consultation department corresponding to the probability value of the abnormal organizational structure, σ i is the probability value of abnormal tissue structure, ω j,k is the weight of the kth consultation department corresponding to the probability value of organic abnormality, σ j is the probability value of the organic abnormality.
[0012] Optionally, determining a baseline feature vector according to the medical record text data includes:
[0013] A plurality of baseline information is extracted according to the medical record text data, and the plurality of baseline information is combined into the baseline feature vector.
[0014] Optionally, the abdominal pain feature vector includes an abdominal pain manifestation feature vector, an abdominal pain property feature vector and an abdominal pain location feature vector, and determining the abdominal pain feature vector according to the voice data includes:
[0015] Preprocessing the speech data to obtain a target character string;
[0016] The target character string is input into a preset abdominal pain feature extraction model to obtain the abdominal pain manifestation feature vector, the abdominal pain property feature vector and the abdominal pain location feature vector.
[0017] Optionally, the preprocessing the voice data to obtain a target character string includes:
[0018] Performing frame processing on the speech data to obtain an acoustic feature vector;
[0019] The acoustic feature vector is input into a preset speech recognition model to obtain the target character string.
[0020] Optionally, determining the probability value of tissue structure abnormality according to the abdominal ultrasound image includes:
[0021] The abdominal ultrasound image is input into a preset abdominal tissue structure abnormality prediction model to obtain the tissue structure abnormality probability value.
[0022] Optionally, determining the probability value of organic abnormality according to the abdominal CT image includes:
[0023] Preprocessing the abdominal CT image to obtain a binary image of abdominal organs;
[0024] The binary image of the abdominal organs is input into a preset abdominal organic abnormality prediction model to obtain the organic abnormality probability value.
[0025] Optionally, the preprocessing of the abdominal CT image to obtain a binary image of abdominal organs includes:
[0026] The abdominal CT image is input into a preset abdominal organ binarization model to obtain the abdominal organ binary image.
[0027] To achieve the above object, the present invention provides, in a second aspect, a device for recommending consultation departments for abdominal pain, the device comprising:
[0028] An acquisition module is used to acquire the patient's medical record text data, voice data, abdominal ultrasound images and abdominal CT images;
[0029] a determination module, configured to determine a baseline feature vector according to the medical record text data, determine an abdominal pain feature vector according to the voice data, determine a tissue structure abnormality probability value according to the abdominal ultrasound image, and determine an organic abnormality probability value according to the abdominal CT image;
[0030] The prediction and recommendation module is used to input the baseline feature vector, the abdominal pain feature vector, the tissue structure abnormality probability value and the organic abnormality probability value into a preset abdominal pain feature prediction model to obtain the abdominal pain feature probability value of each consultation department to recommend the consultation department.
[0031] To achieve the above-mentioned object, the present invention provides in a third aspect a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the method as described in any one of the first aspects.
[0032] To achieve the above-mentioned purpose, the present invention provides a computer device in a fourth aspect, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method as described in any one of the first aspects.
[0033] The embodiment of the present invention has the following beneficial effects: the above method pre-trains an abdominal pain feature prediction model for predicting and outputting the abdominal pain feature probability value of each consultation department based on the input baseline feature vector, abdominal pain feature vector, tissue structure abnormality probability value and organic abnormality probability value, then obtains the patient's medical record text data, voice data, abdominal ultrasound image and abdominal CT image, and then determines the baseline feature vector according to the medical record text data, determines the abdominal pain feature vector according to the voice data, determines the tissue structure abnormality probability value according to the abdominal ultrasound image, and determines the organic abnormality probability value according to the abdominal CT image, and finally inputs the baseline feature vector, abdominal pain feature vector, tissue structure abnormality probability value and organic abnormality probability value into the preset abdominal pain feature prediction model to obtain the abdominal pain feature probability value of each consultation department to recommend the consultation department, thereby realizing rapid and accurate determination of the consultation department of the abdominal pain patient, avoiding the abdominal pain patient from failing to seek medical treatment in time and delaying the optimal treatment time for the abdominal pain patient. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] in:
[0036] Figure 1 A schematic diagram of a method for recommending a consultation department for abdominal pain in an embodiment of the present application;
[0037] Figure 2 This is a schematic diagram of a device for recommending a consultation department for abdominal pain in an embodiment of the present application;
[0038] Figure 3 1 is a diagram of the internal structure of a computer device in some embodiments. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] Abdominal pain is a very common symptom in clinical practice. Diseases caused by abdominal pain are mostly acute, develop very quickly, and can bring very serious consequences; for example, long-term abdominal pain can cause patients to be nervous, have bad moods, have hyperactivity of endocrine, and have autonomic nervous system dysfunction, etc. It can also cause the vascular activity center to switch from excitement to high inhibition, and even cause shock.
[0041] At present, when patients with abdominal pain seek medical advice, they may not be able to quickly determine the consultation department, or the determined consultation department is inaccurate, etc., resulting in patients with abdominal pain not being able to receive timely treatment, thereby delaying the optimal treatment time for patients with abdominal pain.
[0042] In response to the above problems, the present application proposes a method, storage medium and device for recommending consultation departments for abdominal pain, which can quickly and accurately determine the consultation department for patients with abdominal pain, avoid abdominal pain patients' failure to seek medical treatment in time, and delay the optimal treatment time for patients with abdominal pain. The specific implementation principle will be described in detail in the following embodiments.
[0043] See also Figure 1 , is a schematic diagram of a method for recommending a consultation department for abdominal pain in an embodiment of the present application, the method comprising:
[0044] Step 110: Acquire the patient's medical record text data, voice data, abdominal ultrasound image and abdominal CT image.
[0045] The patients here refer to those with abdominal pain who need to determine the department for consultation.
[0046] As for the method of acquiring the patient's medical record text data, voice data, abdominal ultrasound image and abdominal CT image, in some embodiments, the patient's medical record text data can be acquired through an information management system, the patient's voice data can be acquired through a voice interaction device, the patient's abdominal ultrasound image can be acquired through an ultrasonic diagnostic and treatment device, and the patient's abdominal CT image can be acquired through a CT scanner device.
[0047] Step 120: Determine a baseline feature vector based on the medical record text data, determine an abdominal pain feature vector based on the voice data, determine a tissue structure abnormality probability value based on the abdominal ultrasound image, and determine an organic abnormality probability value based on the abdominal CT image.
[0048] Among them, the baseline feature vector refers to a series of basic information and medical history information of abdominal pain patients extracted from medical record text data; the abdominal pain feature vector refers to the feature information related to abdominal pain extracted from voice data; the tissue structure abnormality probability value refers to the possibility of evaluating whether there is an abnormality in the abdominal tissue structure of patients with abdominal pain by analyzing abdominal ultrasound images; the organic abnormality probability value refers to the possibility of evaluating whether there is an organic lesion in the abdomen of patients with abdominal pain by analyzing abdominal CT images.
[0049] In some embodiments, the baseline feature vector includes but is not limited to age, gender, medical history, etc.; the abdominal pain feature vector includes an abdominal pain manifestation feature vector, an abdominal pain property feature vector and an abdominal pain location feature vector. The abdominal pain manifestation feature vector includes but is not limited to colic, diarrhea, bloating and vomiting, etc., the abdominal pain property feature vector includes but is not limited to sudden onset, paroxysmal, persistent and radioactive, etc., the abdominal pain location feature vector includes but is not limited to the upper left, lower left, middle, upper right and lower right, etc.; the tissue structure abnormality probability value includes 0 for the normal tissue structure value and 1 for the abnormal tissue structure value; the organic abnormality probability value includes 0 for the normal organic value and 1 for the organic abnormality value.
[0050] Step 130: Input the baseline feature vector, the abdominal pain feature vector, the probability value of tissue structure abnormality and the probability value of organic abnormality into the preset abdominal pain feature prediction model to obtain the abdominal pain feature probability value of each consultation department to recommend the consultation department.
[0051] Among them, the preset abdominal pain feature prediction model here is a pre-trained abdominal pain feature prediction model that is used to predict and output the abdominal pain feature probability value of each consultation department based on the input baseline feature vector, abdominal pain feature vector, tissue structure abnormality probability value and organic abnormality probability value.
[0052] As for the method of obtaining the preset abdominal pain feature prediction model, in some embodiments, a large amount of historical medical record text data, historical voice data, historical abdominal ultrasound images, historical abdominal CT images and the corresponding abdominal pain feature probability values of each historical consultation department can be collected to obtain a large amount of historical baseline feature vectors, historical abdominal pain feature vectors, historical tissue structure abnormality probability values and historical organic abnormality probability values, and then each historical baseline feature vector, each historical abdominal pain feature vector, each historical tissue structure abnormality probability value, each historical organic abnormality probability value and each corresponding abdominal pain feature probability value of each historical consultation department are sequentially input into the initial abdominal pain feature prediction model for training, and after training to a certain extent, a trained preset abdominal pain feature prediction model is obtained; wherein, the corresponding abdominal pain feature probability values of each historical consultation department can be used as the true value of the initial abdominal pain feature prediction model, that is, by comparing the true value with the corresponding abdominal pain feature probability values of each consultation department output during the training process, it can be determined whether the initial abdominal pain feature prediction model is well trained and has met the expected requirements.
[0053] Furthermore, the initial abdominal pain feature prediction model can preferably adopt the Gradient Boosting Decision Tree (GBDT) model. The GBDT model is a decision tree model based on the idea of ensemble learning. Through multiple rounds of iterations, each round of iteration generates a weak classifier (decision tree), and then these weak classifiers are combined to form a strong classifier. That is, each round of iteration is based on the residual of the previous round of classifiers. The accuracy of the final classifier can be improved by continuously reducing the deviation, and no special preprocessing of the data (such as normalization, etc.) is required, and the fault tolerance ability for abnormal data is strong.
[0054] Of course, the above embodiment is only one of the embodiments provided by the present application. In other embodiments, any model that can predict and output the abdominal pain feature probability value of each consultation department based on the input baseline feature vector, abdominal pain feature vector, tissue structure abnormality probability value and organic abnormality probability value can be used as the preset abdominal pain feature prediction model of the present application, and the present application does not impose any restrictions on this.
[0055] It should be noted that after obtaining the abdominal pain feature probability values of each consultation department output by the preset abdominal pain feature prediction model, the consultation department corresponding to the largest abdominal pain feature probability value can be used as the recommended consultation department. For example, the recommended consultation department corresponding to [1,0,0,0,...,0] is gastroenterology, the recommended consultation department corresponding to [0,1,0,0,...,0] is gynecology, and the recommended consultation department corresponding to [0,0,1,0,...,0] is general surgery, etc.
[0056] In an embodiment of the present application, an abdominal pain feature prediction model is pre-trained to predict and output the abdominal pain feature probability value of each consultation department based on the input baseline feature vector, abdominal pain feature vector, tissue structure abnormality probability value and organic abnormality probability value, and then the patient's medical record text data, voice data, abdominal ultrasound image and abdominal CT image are obtained, and then the baseline feature vector is determined according to the medical record text data, the abdominal pain feature vector is determined according to the voice data, the tissue structure abnormality probability value is determined according to the abdominal ultrasound image, and the organic abnormality probability value is determined according to the abdominal CT image. Finally, the baseline feature vector, abdominal pain feature vector, tissue structure abnormality probability value and organic abnormality probability value are input into the preset abdominal pain feature prediction model to obtain the abdominal pain feature probability value of each consultation department to recommend the consultation department, thereby achieving rapid and accurate determination of the consultation department of patients with abdominal pain, avoiding abdominal pain patients from not being able to seek medical treatment in time and delaying the optimal treatment time for patients with abdominal pain.
[0057] In a feasible implementation, the abdominal pain feature vector in the above embodiment includes an abdominal pain manifestation feature vector, an abdominal pain property feature vector and an abdominal pain location feature vector.
[0058] The prediction formula for outputting the abdominal pain feature probability value by the preset abdominal pain feature prediction model in the above embodiment is:
[0059]
[0060] Among them, P(qx) is the characteristic probability value of abdominal pain in the qth consultation department, K is the total number of consultation departments, ω b,k is the weight of the kth consultation department corresponding to the baseline feature vector, σ b is the baseline eigenvector, ω m,k is the weight of the kth consultation department corresponding to the abdominal pain eigenvector, σ m is the abdominal pain eigenvector, ω n,k is the weight of the kth consultation department corresponding to the abdominal pain characteristic vector, σ n is the abdominal pain characteristic vector, ω p,k is the weight of the kth consultation department corresponding to the abdominal pain location feature vector, σ p is the abdominal pain location feature vector, ω i,k is the weight of the kth consultation department corresponding to the probability value of organizational structure abnormality, σ i is the probability value of organizational structure abnormality, ω j,k is the weight of the kth consultation department corresponding to the probability value of organic abnormality, σ j is the probability value of organic abnormality.
[0061] For the explanation of the abdominal pain manifestation feature vector, the abdominal pain nature feature vector and the abdominal pain location feature vector, please refer to the relevant content in the above embodiments. The value of each weight can be determined during the training of the abdominal pain feature prediction model, which will not be repeated here.
[0062] In the embodiments of the present application, a rigorous prediction formula for the characteristic probability value of abdominal pain is provided from a mathematical perspective. The accuracy of the calculated characteristic probability value of abdominal pain can be ensured from the rigor of mathematical logic, and the above prediction formula is preferably shown to provide reference and understanding for technical personnel. In addition, by adopting the above prediction formula to predict the characteristic probability value of abdominal pain, it is possible to quickly and accurately determine the consultation department for patients with abdominal pain, thereby avoiding abdominal pain patients from failing to seek medical treatment in time and delaying the optimal treatment time for patients with abdominal pain.
[0063] In a feasible implementation, step 120 in the above embodiment, determining the baseline feature vector according to the medical record text data, includes: extracting a plurality of baseline information according to the medical record text data, and composing the plurality of baseline information into a baseline feature vector.
[0064] Among them, baseline information refers to the basic information and medical history information of abdominal pain patients extracted from medical record text data, such as age, gender, medical history, etc.
[0065] In some embodiments, the re library provided by Python can be used to extract multiple baseline information of abdominal pain patients from medical record text data, and then the multiple baseline information are combined into a baseline feature vector.
[0066] In an embodiment of the present application, by extracting multiple baseline information based on medical record text data and combining the multiple baseline information into a baseline feature vector, the key features of patients with abdominal pain can be effectively extracted to obtain a baseline feature vector, which is then used to predict the recommended consultation department, thereby achieving rapid and accurate determination of the consultation department for patients with abdominal pain, avoiding abdominal pain patients from being unable to seek medical treatment in time, and delaying the optimal treatment time for patients with abdominal pain.
[0067] In a feasible implementation, the abdominal pain feature vector in the above embodiment includes an abdominal pain manifestation feature vector, an abdominal pain property feature vector and an abdominal pain location feature vector.
[0068] Then step 120 in the above embodiment, determining the abdominal pain feature vector based on the voice data, includes: preprocessing the voice data to obtain a target character string; inputting the target character string into a preset abdominal pain feature extraction model to obtain an abdominal pain manifestation feature vector, an abdominal pain nature feature vector and an abdominal pain location feature vector.
[0069] Among them, the target character string refers to the most likely character string recognized based on the voice data; the preset abdominal pain feature extraction model here is a pre-trained abdominal pain feature extraction model that is used to extract and output abdominal pain manifestation feature vectors, abdominal pain nature feature vectors and abdominal pain location feature vectors based on the input target character string.
[0070] For the explanation of the abdominal pain manifestation feature vector, the abdominal pain nature feature vector and the abdominal pain location feature vector, please refer to the relevant content in the above embodiments, which will not be repeated here.
[0071] As for the method of obtaining the preset abdominal pain feature extraction model, in some embodiments, a large amount of historical voice data, corresponding historical abdominal pain manifestation feature vectors, corresponding historical abdominal pain property feature vectors and corresponding historical abdominal pain position feature vectors can be collected to obtain a large number of historical target character strings, and then each historical target character string and each corresponding historical abdominal pain manifestation feature vector, each corresponding historical abdominal pain property feature vector and each corresponding historical abdominal pain position feature vector are sequentially input into the initial abdominal pain feature extraction model for training. After training to a certain extent, a trained preset abdominal pain feature extraction model is obtained; wherein, the corresponding historical abdominal pain manifestation feature vector, the corresponding historical abdominal pain property feature vector and the corresponding historical abdominal pain position feature vector can be used as the true value of the initial abdominal pain feature extraction model, that is, by comparing the true value with the corresponding abdominal pain manifestation feature vector, the corresponding abdominal pain property feature vector and the corresponding abdominal pain position feature vector output during the training process, it can be determined whether the initial abdominal pain feature extraction model is well trained and has met the expected requirements.
[0072] Furthermore, the initial abdominal pain feature extraction model can preferably adopt a representation learning model, such as a convolutional neural network (CNN) model. The CNN model is a deep supervised learning model. Through structures such as convolutional layers and pooling layers, it can learn the hierarchical feature representation of the input data to extract useful information of the input data, so that the model can be better generalized to unseen data, thereby improving the performance of the model and reducing the dependence on data annotation.
[0073] Of course, the above embodiment is only one of the embodiments provided by the present application. In other embodiments, as long as the model can extract and output the abdominal pain manifestation feature vector, the abdominal pain nature feature vector and the abdominal pain location feature vector according to the input target character string, it can be used as the preset abdominal pain feature extraction model of the present application, and the present application does not impose any restrictions on this.
[0074] In an embodiment of the present application, by preprocessing the voice data to obtain a target character string, and inputting the target character string into a preset abdominal pain feature extraction model, an abdominal pain manifestation feature vector, an abdominal pain nature feature vector, and an abdominal pain location feature vector are obtained, so that the abdominal pain information of the patient with abdominal pain can be quickly collected and then used to predict the recommended consultation department, thereby achieving rapid and accurate determination of the consultation department for the patient with abdominal pain, avoiding the patient with abdominal pain from being unable to seek medical treatment in time, and delaying the optimal treatment time for the patient with abdominal pain.
[0075] In a feasible implementation, the preprocessing of speech data to obtain the target character string in the above embodiment includes: performing frame processing on the speech data to obtain an acoustic feature vector; and inputting the acoustic feature vector into a preset speech recognition model to obtain the target character string.
[0076] The acoustic feature vector refers to a vector composed of multiple time frame speech signals after the waveform file obtained by speech data is framed; the preset speech recognition model here is a pre-trained speech recognition model for recognizing the target character string according to the input acoustic feature vector.
[0077] As for the method of obtaining the preset speech recognition model, in some embodiments, a large number of historical acoustic feature vectors and corresponding historical target character strings can be collected, and then each historical acoustic feature vector and each corresponding historical target character string are input into the initial speech recognition model in turn for training. After training to a certain extent, a trained preset speech recognition model is obtained; wherein, the corresponding historical target character string can be used as the true value of the initial speech recognition model, that is, by comparing the true value with the corresponding target character string output during the training process, it can be determined whether the initial speech recognition model is well trained and has met the expected requirements.
[0078] Of course, the above embodiment is only one of the embodiments provided by the present application. In other embodiments, as long as the model can recognize the target character string based on the input acoustic feature vector, it can be used as the preset speech recognition model of the present application, and the present application does not impose any restrictions on this.
[0079] In an embodiment of the present application, an acoustic feature vector is obtained by performing frame processing on the speech data, and the acoustic feature vector is input into a preset speech recognition model to obtain a target character string. That is, by performing frame processing on the speech data, a continuous speech signal can be divided into several shorter time frames, so that the speech content in each frame is relatively stable, which helps to reduce the recognition difficulty caused by the rapid changes in the speech signal, thereby improving the accuracy of the preset speech recognition model.
[0080] In addition, the extracted target character string is not only the direct result of speech recognition, but also the basis for performing higher-level analysis tasks. In the abdominal pain feature extraction application in the above embodiment, the target character string provides input data for the subsequent abdominal pain feature extraction model, enabling further analysis of the manifestation, nature and location of abdominal pain.
[0081] In a feasible implementation, step 120 in the above embodiment, determining the probability value of tissue structure abnormality based on the abdominal ultrasound image, includes: inputting the abdominal ultrasound image into a preset abdominal tissue structure abnormality prediction model to obtain the probability value of tissue structure abnormality.
[0082] The preset abdominal tissue structure abnormality prediction model is a pre-trained abdominal tissue structure abnormality prediction model for predicting an output tissue structure abnormality probability value based on an input abdominal ultrasound image.
[0083] As for the method of obtaining the preset abdominal tissue structure abnormality prediction model, in some embodiments, a large number of historical abdominal ultrasound images and corresponding historical tissue structure abnormality probability values can be collected, and then each historical abdominal ultrasound image and each corresponding historical tissue structure abnormality probability value are sequentially input into the initial abdominal tissue structure abnormality prediction model for training. After training to a certain extent, a trained preset abdominal tissue structure abnormality prediction model is obtained; wherein, the corresponding historical tissue structure abnormality probability value can be used as the true value of the initial abdominal tissue structure abnormality prediction model, that is, by comparing the true value with the corresponding tissue structure abnormality probability value output during the training process, it can be determined whether the initial abdominal tissue structure abnormality prediction model is well trained and has met the expected requirements.
[0084] Furthermore, the initial abdominal tissue structure abnormality prediction model can preferably adopt the ResNet-50 model. The ResNet-50 model is a deep residual network model that can learn more complex and abstract feature representations. It is suitable for medical image analysis tasks such as abdominal pain that require fine feature extraction, and can effectively extract key features related to abdominal pain, such as lesion areas, tissue abnormalities, etc.
[0085] Of course, the above embodiment is only one of the embodiments provided by the present application. In other embodiments, any model that can predict the output probability value of tissue structure abnormality based on the input abdominal ultrasound image can be used as the preset abdominal tissue structure abnormality prediction model of the present application, and the present application does not impose any restrictions on this.
[0086] In an embodiment of the present application, by inputting the abdominal ultrasound image into a preset abdominal tissue structure abnormality prediction model to obtain the tissue structure abnormality probability value, the tissue structure abnormality probability value can be quickly and objectively predicted, and then used to predict the recommended consultation department, thereby achieving rapid and accurate determination of the consultation department for patients with abdominal pain, avoiding abdominal pain patients from being unable to seek medical treatment in time, and delaying the optimal treatment time for patients with abdominal pain.
[0087] In a feasible implementation, step 120 in the above embodiment, determining the probability value of organic abnormality based on the abdominal CT image, includes: preprocessing the abdominal CT image to obtain a binary image of the abdominal organs; inputting the binary image of the abdominal organs into a preset abdominal organic abnormality prediction model to obtain the probability value of organic abnormality.
[0088] Among them, the binary image of the abdominal organs refers to the binary images of various organs converted according to the segmentation of the abdominal CT image, such as the binary images of the liver, pancreas, spleen, kidneys and other organs; the preset abdominal organic abnormality prediction model here is a pre-trained abdominal organic abnormality prediction model for predicting the output organic abnormality probability value based on the input binary image of the abdominal organs.
[0089] As for the method of obtaining the preset abdominal organic abnormality prediction model, in some embodiments, a large number of historical abdominal CT images and corresponding historical organic abnormality probability values can be collected to obtain a large number of historical abdominal organ binary images, and then each historical abdominal organ binary image and each corresponding historical organic abnormality probability value are sequentially input into the initial abdominal organic abnormality prediction model for training. After training to a certain extent, a trained preset abdominal organic abnormality prediction model is obtained; wherein, the corresponding historical organic abnormality probability value can be used as the true value of the initial abdominal organic abnormality prediction model, that is, by comparing the true value with the corresponding organic abnormality probability value output during the training process, it can be determined whether the initial abdominal organic abnormality prediction model is well trained and has met the expected requirements.
[0090] Furthermore, the initial abdominal organic abnormality prediction model can preferably adopt a three-dimensional convolutional neural network (3D CNN) model. The 3D CNN model is a classification model based on a three-dimensional convolutional neural network. By using a three-dimensional convolution kernel to perform a convolution operation in a three-dimensional space, it can capture spatial and temporal features at the same time, that is, it can make full use of the spatial information and temporal information of the binary image of the abdominal organs, capture various subtle features of the abdominal organic abnormalities, and thus more accurately predict the abdominal organic abnormalities.
[0091] Of course, the above embodiment is only one of the embodiments provided by the present application. In other embodiments, any model that can predict and output the probability value of organic abnormalities based on the input binary image of abdominal organs can be used as the preset abdominal organic abnormality prediction model of the present application, and the present application does not impose any restrictions on this.
[0092] In an embodiment of the present application, a binary image of the abdominal organs is obtained by preprocessing the abdominal CT image, and the binary image of the abdominal organs is input into a preset abdominal organic abnormality prediction model to obtain an organic abnormality probability value. The organic abnormality probability value can be quickly and objectively predicted, and then used to predict the recommended consultation department, thereby achieving rapid and accurate determination of the consultation department for patients with abdominal pain, avoiding abdominal pain patients from being unable to seek medical treatment in time, and delaying the optimal treatment time for patients with abdominal pain.
[0093] In a feasible implementation, the preprocessing of the abdominal CT image to obtain the abdominal organ binary image in the above embodiment includes: inputting the abdominal CT image into a preset abdominal organ binary model to obtain the abdominal organ binary image.
[0094] The preset abdominal organ binarization model is a pre-trained abdominal organ binarization model for segmenting, transforming and outputting an abdominal organ binary image according to an input abdominal CT image.
[0095] As for the method of obtaining the preset abdominal organ binary model, in some embodiments, a large number of historical abdominal CT images and corresponding historical abdominal organ binary images can be collected, and then each historical abdominal CT image and each corresponding historical abdominal organ binary image are sequentially input into the initial abdominal organ binary model for training. After training to a certain extent, a trained preset abdominal organ binary model is obtained; wherein, the corresponding historical organic abnormality probability value can be used as the true value of the initial abdominal organ binary model, that is, by comparing the true value with the corresponding organic abnormality probability value output during the training process, it can be determined whether the initial abdominal organ binary model is well trained and has met the expected requirements.
[0096] Furthermore, the initial abdominal organ binarization model can preferably adopt a three-dimensional convolutional segmentation network model (3D Convolutional Segmentation Network, 3D CSN) model. The 3D CSN model is a segmentation model based on a three-dimensional convolutional neural network. By using a three-dimensional convolutional layer to replace the traditional two-dimensional convolutional layer, it can directly process three-dimensional image data and fully capture the spatial information and contextual relationship in the abdominal CT images. That is, by stacking multiple three-dimensional convolutional layers and other types of layers (such as pooling layers, activation layers, etc.), it can fully capture the spatial information and time information in the abdominal CT images, thereby achieving more accurate segmentation of abdominal organs.
[0097] Of course, the above embodiment is only one of the embodiments provided by the present application. In other embodiments, any model that can segment, transform and output a binary image of the abdominal organs based on the input abdominal CT image can be used as the preset abdominal organ binarization model of the present application, and the present application does not impose any restrictions on this.
[0098] In an embodiment of the present application, a binary image of the abdominal organs is obtained by inputting the abdominal CT image into a preset abdominal organ binarization model, that is, a binary image of each abdominal organ is obtained by preprocessing the abdominal CT image. This can more clearly highlight the structure and morphology of the abdominal organs, help reduce noise and interference in the image, and provide input data for a subsequent abdominal organic abnormality prediction model, so that various subtle features of the abdominal organic abnormalities can be further analyzed and captured, thereby more accurately predicting the abdominal organic abnormalities.
[0099] It should be particularly noted that, for the corresponding abdominal pain feature probability values of each historical consultation department, the corresponding historical abdominal pain manifestation feature vectors, the corresponding historical abdominal pain nature feature vectors, the corresponding historical abdominal pain location feature vectors, the corresponding historical target character strings, the corresponding historical tissue structure abnormality probability values, the corresponding historical organic abnormality probability values and the corresponding historical abdominal organ binary images in the above embodiments, the method of obtaining the true values during the model training process can, in some embodiments, be pre-labeled and determined by multiple doctors with rich experience, so as to obtain the corresponding true values during the model training process.
[0100] In some embodiments, the present application also provides a device for recommending consultation departments for abdominal pain.
[0101] See also Figure 2 , is a schematic diagram of a device for recommending a consultation department for abdominal pain in an embodiment of the present application, the device 210 includes:
[0102] An acquisition module 211 is used to acquire the patient's medical record text data, voice data, abdominal ultrasound image and abdominal CT image;
[0103] A determination module 212, for determining a baseline feature vector according to the medical record text data, determining an abdominal pain feature vector according to the voice data, determining a tissue structure abnormality probability value according to the abdominal ultrasound image, and determining an organic abnormality probability value according to the abdominal CT image;
[0104] The prediction and recommendation module 213 is used to input the baseline feature vector, the abdominal pain feature vector, the probability value of tissue structure abnormality and the probability value of organic abnormality into the preset abdominal pain feature prediction model to obtain the abdominal pain feature probability value of each consultation department to recommend the consultation department.
[0105] In the embodiment of the present application, the relevant contents of the acquisition module 211, the determination module 212 and the prediction and recommendation module 213 can be found in Figure 1 The contents in the illustrated embodiment will not be described in detail here.
[0106] It should be noted that the device 210 of the present application also includes some other modules. It can be understood that the method of the present application and the device 210 have a one-to-one correspondence. Therefore, some other modules of the device 210 of the present application are the contents corresponding to the method of the present application in the above-mentioned embodiment.
[0107] In an embodiment of the present application, an abdominal pain feature prediction model is pre-trained to predict and output the abdominal pain feature probability value of each consultation department based on the input baseline feature vector, abdominal pain feature vector, tissue structure abnormality probability value and organic abnormality probability value, and then the patient's medical record text data, voice data, abdominal ultrasound image and abdominal CT image are obtained, and then the baseline feature vector is determined according to the medical record text data, the abdominal pain feature vector is determined according to the voice data, the tissue structure abnormality probability value is determined according to the abdominal ultrasound image, and the organic abnormality probability value is determined according to the abdominal CT image. Finally, the baseline feature vector, abdominal pain feature vector, tissue structure abnormality probability value and organic abnormality probability value are input into the preset abdominal pain feature prediction model to obtain the abdominal pain feature probability value of each consultation department to recommend the consultation department, thereby achieving rapid and accurate determination of the consultation department of patients with abdominal pain, avoiding abdominal pain patients from not being able to seek medical treatment in time and delaying the optimal treatment time for patients with abdominal pain.
[0108] In some embodiments, the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes a method for recommending a consultation department for abdominal pain in the above method embodiment.
[0109] In some embodiments, the present application also provides a computer device including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes a method for recommending a consultation department for abdominal pain in the above method embodiment.
[0110] Figure 3 The internal structure diagram of a computer device in some embodiments is shown. The computer device may be a terminal, a server, or a gateway. Figure 3 As shown, the computer device includes a processor, a memory and a network interface connected through a system bus.
[0111] The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement each step in the above method embodiment. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement each step in the above method embodiment. Those skilled in the art can understand that Figure 3The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0112] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods.
[0113] Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synch li nk) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0114] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0115] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for recommending a consultation department for abdominal pain, characterized in that: The method comprises: Obtain the patient's medical record text data, voice data, abdominal ultrasound images, and abdominal CT images; Determine a baseline feature vector according to the medical record text data, determine an abdominal pain feature vector according to the voice data, determine a tissue structure abnormality probability value according to the abdominal ultrasound image, and determine an organic abnormality probability value according to the abdominal CT image; The baseline feature vector, the abdominal pain feature vector, the tissue structure abnormality probability value and the organic abnormality probability value are input into a preset abdominal pain feature prediction model to obtain the abdominal pain feature probability value of each consultation department to recommend the consultation department.
2. The method for recommending a consultation department for abdominal pain according to claim 1, characterized in that: The abdominal pain feature vector includes an abdominal pain manifestation feature vector, an abdominal pain property feature vector and an abdominal pain location feature vector. The prediction formula for outputting the abdominal pain feature probability value by the preset abdominal pain feature prediction model is: Among them, P(qx) is the characteristic probability value of abdominal pain in the qth consultation department, K is the total number of consultation departments, ω b,k is the weight of the kth consultation department corresponding to the baseline feature vector, σ b is the baseline eigenvector, ω m,k is the weight of the kth consultation department corresponding to the abdominal pain manifestation feature vector, σ m is the abdominal pain characteristic vector, ω n,k is the weight of the kth consultation department corresponding to the abdominal pain characteristic vector, σ n is the abdominal pain characteristic vector, ω p,k is the weight of the kth consultation department corresponding to the abdominal pain location feature vector, σ p is the abdominal pain location feature vector, ω i,k is the weight of the kth consultation department corresponding to the probability value of the abnormal organizational structure, σ i is the probability value of abnormal tissue structure, ω j,k is the weight of the kth consultation department corresponding to the probability value of organic abnormality, σ j is the probability value of the organic abnormality.
3. The method for recommending a consultation department for abdominal pain according to claim 1, characterized in that: The step of determining a baseline feature vector according to the medical record text data includes: A plurality of baseline information is extracted according to the medical record text data, and the plurality of baseline information is combined into the baseline feature vector.
4. The method for recommending a consultation department for abdominal pain according to claim 1, characterized in that: The abdominal pain feature vector includes an abdominal pain manifestation feature vector, an abdominal pain property feature vector and an abdominal pain location feature vector, and determining the abdominal pain feature vector according to the voice data includes: Preprocessing the speech data to obtain a target character string; The target character string is input into a preset abdominal pain feature extraction model to obtain the abdominal pain manifestation feature vector, the abdominal pain property feature vector and the abdominal pain location feature vector.
5. The method for recommending a consultation department for abdominal pain according to claim 3, characterized in that: The preprocessing of the speech data to obtain a target character string includes: Performing frame processing on the speech data to obtain an acoustic feature vector; The acoustic feature vector is input into a preset speech recognition model to obtain the target character string.
6. The method for recommending a consultation department for abdominal pain according to claim 1, characterized in that: Determining the probability value of abnormal tissue structure according to the abdominal ultrasound image includes: The abdominal ultrasound image is input into a preset abdominal tissue structure abnormality prediction model to obtain the tissue structure abnormality probability value.
7. The method for recommending a consultation department for abdominal pain according to claim 1, characterized in that: Determining the probability value of organic abnormality according to the abdominal CT image includes: Preprocessing the abdominal CT image to obtain a binary image of abdominal organs; The binary image of the abdominal organs is input into a preset abdominal organic abnormality prediction model to obtain the organic abnormality probability value.
8. The method for recommending consultation departments for abdominal pain according to claim 7, characterized in that: The preprocessing of the abdominal CT image to obtain a binary image of the abdominal organs includes: The abdominal CT image is input into a preset abdominal organ binarization model to obtain the abdominal organ binary image.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 8.
10. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 8.
Citation Information
Cited By
Method and system for identifying abdominal pain caused by non-intra-abdominal organs
CN120319498A
A method and system for identifying abdominal pain caused by non-abdominal organs
CN120319498B
