Self-training method, model, processing method, device and storage medium
Through the self-training sorting model, medical features and surgical attribute information in medical texts are extracted and sorted, which solves the problem of inaccurate coding order of surgical information, improves the accuracy and efficiency of medical text processing, and improves the accuracy of medical research and diagnosis and treatment. sex.
Patent Information
- Application Number
- CN202011627993.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-12-31
AI Technical Summary
In the process of medical text processing, the coding order of surgical information is inaccurate, which affects the DRG grouping results, and clinicians often overlook the surgical order or make coding errors when writing surgeries.
A self-training method of a sorting model is used to obtain text with sorting annotations, extract medical feature information and surgical attribute information, build correlations, automatically sort surgical items, and ensure the orderliness and accuracy of surgical information.
It achieves efficient and accurate sorting of surgical information in medical texts, improves the accuracy and efficiency of medical research and medical diagnosis and treatment, and solves the problems of incomplete surgical names and incorrect coding order.
Smart Images

Figure CN112735545B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of intelligent processing of medical texts, and in particular to a self-training method of a sorting model, a sorting model, a method for processing medical texts, a device for processing medical texts, and a computer-readable storage medium. Background Art
[0002] In the process of medical text processing, there are requirements for the order of surgical coding, especially the determination of the first surgical information, which is directly related to the result of DRG grouping. Generally, clinicians do not pay attention to the order of surgery when writing the surgery, or the order of surgical coding is wrong. Summary of the invention
[0003] The present disclosure intends to provide a self-training method for a sorting model, a sorting model, a method for processing medical texts, a device for processing medical texts, and a computer-readable storage medium, which can accurately and efficiently standardize and process complete medical texts and organize orderly surgical information.
[0004] According to one of the solutions of the present disclosure, a self-training method for a ranking model is provided, comprising:
[0005] Get the text with sort annotations;
[0006] Extract medical feature information from text;
[0007] Based on the surgical information obtained from the text, attribute information representing the surgical operation is obtained;
[0008] An association relationship is established between the medical feature information and the attribute information and the sorting annotation, so that the surgical items in the text to be sorted containing the medical feature information and the attribute information can be sorted according to the sorting annotation based on the association relationship.
[0009] In some embodiments, the extracting medical feature information from the text includes:
[0010] Extract medical feature information from the text based on at least one of the following information in the text:
[0011] Diagnostic information, examination information, test information, medical course information, medication information, and medical device information.
[0012] In some embodiments, the step of obtaining attribute information characterizing the surgery based on the surgery information obtained from the text includes:
[0013] Extract the names of the surgical procedures including the surgical codes from the text;
[0014] Compare the operation attribute information table to obtain the attribute information;
[0015] in:
[0016] The operation attribute table includes:
[0017] Standard operation names, standard operation codes, and attribute information corresponding to these standard operation names and standard operation codes.
[0018] In some embodiments, the attribute information includes at least one of the following:
[0019] Information on the type of surgery;
[0020] surgical level information;
[0021] Information on surgical costs.
[0022] In some embodiments, the step of extracting the surgical name containing the surgical code from the text comprises:
[0023] Matching the original surgical information with the standard words in the standard surgical information table to obtain a matching relationship;
[0024] Based on the matching relationship, the surgical information to be processed that contains the original surgical information and the standard words is screened out;
[0025] The operation information to be processed is normalized by a classification algorithm to obtain a coded operation name.
[0026] In some embodiments, it also includes:
[0027] Training is performed iteratively based on massive amounts of sorted and annotated text.
[0028] According to one of the solutions of the present disclosure, a sorting model is provided, characterized in that the sorting model is trained according to the method as described above.
[0029] According to one of the solutions of the present disclosure, a method for processing medical text based on the above-mentioned sorting model is provided, comprising:
[0030] Get the text containing the surgical item;
[0031] Extracting medical feature information from the text;
[0032] Based on the surgery information obtained from the text, obtaining attribute information representing the surgery;
[0033] According to the medical feature information and the attribute information, the surgical items of the text are sorted according to the association relationship.
[0034] According to one of the solutions of the present disclosure, a device for processing medical texts based on the above-mentioned sorting model is provided, comprising:
[0035] A text input module configured to obtain text containing surgical items;
[0036] An extraction module configured to extract medical feature information from the text;
[0037] An acquisition module configured to acquire attribute information representing the surgery based on the surgery information acquired from the text;
[0038] A sorting module is configured to sort the surgical items in the text according to the association based on the medical feature information and the attribute information.
[0039] According to one of the solutions of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the following are implemented:
[0040] According to the self-training method of the ranking model described above; or
[0041] According to the above-mentioned method for processing medical texts.
[0042] The self-training method of the sorting model, the sorting model, the medical text processing method, the medical text processing device and the computer-readable storage medium of the various embodiments of the present disclosure are as follows: obtaining a text with sorting annotations; extracting medical feature information in the text; obtaining attribute information representing the surgery based on the surgery information obtained from the text; associating the medical feature information and the attribute information with the sorting annotations so as to be able to sort the surgery items in the text containing the medical feature information and the attribute information in the manner of the sorting annotations; and based on the above-mentioned training method, obtaining a text containing surgery items; extracting the medical feature information in the text; obtaining attribute information representing the surgery based on the surgery information obtained from the text; and sorting the surgery items of the text according to the association based on the medical feature information and the attribute information, so that the complete medical text can be processed on the basis of extracting multiple surgery information in the medical text, and the ordered surgery information can be obtained in combination with the medical feature information extracted from the medical text. Through the above processing method, the present invention not only realizes the coding of clinical diagnoses and surgical names written by clinicians into standard terms, but also can intelligently combine medical records to refine and improve surgical names that are not detailed enough, or there is no surgical sequence in the text, or the sequence of surgical codes is wrong, and output orderly major surgeries in combination with medical feature information extracted from medical texts, so as to express various medical information completely, accurately and efficiently, thereby improving the accuracy and efficiency of medical research and medical diagnosis and treatment.
[0043] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure, as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In the drawings, which are not necessarily drawn to scale, similar reference numerals in different views may represent similar components. Similar reference numerals with letter suffixes or similar reference numerals with different letter suffixes may represent different instances of similar components. The drawings generally illustrate various embodiments by way of example and not limitation, and together with the description and claims, serve to explain the disclosed embodiments.
[0045] Figure 1 A flow chart showing a self-training method of a ranking model involved in an embodiment of the present disclosure;
[0046] Figure 2 A flow chart showing a method for processing medical texts according to an embodiment of the present disclosure;
[0047] Figure 3 An architectural diagram showing a medical text processing device according to an embodiment of the present disclosure;
[0048] Figure 4 The surgical attribute information table involved in various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0050] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure shall have the common meanings understood by persons with ordinary skills in the field to which the present disclosure belongs. "Include" or "comprising" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, but do not exclude other elements or objects.
[0051] In order to keep the following description of the embodiments of the present disclosure clear and concise, the present disclosure omits detailed descriptions of well-known functions and well-known components.
[0052] The present disclosure relates to the processing of medical texts, which are used for the analysis of medical information and the sorting and organization of surgical information. In the process of processing medical texts, there are requirements for the order of surgical coding for the organization of surgical information, especially the determination of the first surgical information, which is directly related to the result of DRG grouping. Generally, clinicians do not pay attention to the surgical sequence when writing the surgery, or the sequence of surgical coding is wrong. It is necessary to consider various situations where the surgical names written by clinicians are not detailed enough, there is no surgical sequence in the data, or the sequence of surgical coding is wrong, and sort them according to the rules obtained by self-learning.
[0053] As one of the solutions, Figure 1 As shown, combined Figure 4 , an embodiment of the present disclosure provides a self-training method for a ranking model, comprising:
[0054] S101: Acquire text with sorting annotations;
[0055] S102: extracting medical feature information from the text;
[0056] S103: acquiring attribute information representing the surgery based on the surgery information acquired from the text;
[0057] S104: Establishing an association relationship between the medical feature information and attribute information and the sorting annotation, so as to be able to sort the surgical items in the text to be sorted containing the medical feature information and attribute information according to the sorting annotation based on the association relationship.
[0058] One of the inventive concepts of the present disclosure is to be able to train a sorting model through a self-training method, master the sorting ability through a large amount of training, and self-learn the sorting order under different medical records.
[0059] The various embodiments of the present disclosure can be applied to a data processing scenario of a medical text, where the medical text contains surgical items and records surgical information such as the name of the surgery.
[0060] In some embodiments, the sorting and annotation process can be performed manually by professionals, for example, after a doctor parses the medical record, he or she can make sorting annotations for the medical record, for example, annotating the surgical items in the medical record with sequential features "A1, A2, A3..." Preferably, in order to achieve a large number of self-training samples, a large number of training samples with sorting annotations can be made for the massive medical record text.
[0061] The basis for marking is not limited to specific rules and factors. This is because if there are some problems based on specific rules and specific sorting factors, the rules may not be able to be processed or the processing results may be incorrect. For example, for the same operation, the sorting process based on specific rules in certain existing technologies often defines a fixed surgical fee for the surgical item. However, in fact, the prices of some surgeries will vary greatly due to the different number of consumables during the operation. For example, the handling fee for coronary stent implantation is related to the number of stents. For the sorting of different major categories of surgeries, sorting based on specific rules in the existing technology may result in more satisfactory sorting results. For example, heart-related surgeries and fracture surgeries belong to different major categories and can be easily distinguished during the sorting process. What is often not easy to distinguish are subdivided surgical items of the same category, such as surgeries for the treatment of myocardial infarction, which require consideration of many factors.
[0062] On this basis, in the self-training method of the sorting model disclosed in the present invention, professionals manually read the original medical records and mark the surgical sequence corresponding to the medical records. The marking will be made based on a comprehensive judgment of the main diagnosis, medication, instrument consumption, etc. For example, for surgery A and surgery B, the main diagnosis of the patient's admission is the cause related to surgery A, so in the sorting annotation of this embodiment, surgery A is marked before surgery B. For another example, for surgery A and surgery B, the consumed instruments are related to surgery A, so in the sorting annotation of this embodiment, surgery A is marked before surgery B. For another example, for surgery A and surgery B, the main surgical expenses are related to surgery A, so in the sorting annotation of this embodiment, surgery A is marked before surgery B. The above examples are intended to illustrate that the present invention is not concerned with sorting according to specific rules and specific factors, and there is no absolute priority factor, but through a large number of training sets, through the self-training of the sorting model to learn and explore the sorting rules that meet the inventive concept of the present invention.
[0063] In some embodiments, the extracting medical feature information from the text of the present disclosure includes:
[0064] Extract medical feature information from the text based on at least one of the following information in the text:
[0065] Diagnostic information, examination information, test information, medical course information, medication information, and medical device information.
[0066] Specifically, the embodiments of the present disclosure are intended to combine features of various dimensions as inputs to models including but not limited to deep neural network models. These features may include extracting features of the diagnosis and treatment process, course of disease, etc. in the medical record text to obtain corresponding medical feature information. For example, extracting medical feature information including diseases, lesion sites, blood pressure, examination items, test items, etc. in the medical record text.
[0067] For example, the text recognition module can be used to identify and extract medical information from medical records, such as:
[0068] “Disease 1: Angina pectoris, Disease 2: Hypertension, Disease 3: Diabetes; . . . ;
[0069] Lesion site 1: heart, lesion site 2: lung; . . . ;
[0070] Blood pressure: XX; Temperature: XXX;
[0071] Examination Item 1: Cardiac color Doppler ultrasound; Examination Item 2: Chest CT...;
[0072] Test Item 1: ATL; Test Item 2: White blood cell count...;
[0073] Number of days in hospital: 15;
[0074] Drug 1: XXX; Drug 2: XXXX; . . . . ;
[0075] Device 1: Coronary stent; Device 2: XXX; . . . ;
[0076] Number of combs for instrument 1: 2; Number of combs for instrument 2: 1; . . . ;”
[0077] In some embodiments, the present disclosure obtains attribute information representing the surgery based on the surgery information obtained from the text, including:
[0078] Extract the names of the surgical procedures including the surgical codes from the text;
[0079] Compare the operation attribute information table to obtain the attribute information;
[0080] in:
[0081] The operation attribute table includes:
[0082] Standard operation names, standard operation codes, and attribute information corresponding to these standard operation names and standard operation codes.
[0083] Specifically, in this embodiment, the standard operation information and standard code may adopt the standard words in the ICD9-CM-3 standard information table. Each standard operation name and standard operation code is configured with corresponding attribute information.
[0084] In some embodiments, the attribute information disclosed herein includes at least one of the following:
[0085] Information on the type of surgery;
[0086] surgical level information;
[0087] Information on surgical costs.
[0088] Specifically, the surgical type information may include information that can characterize the type of surgical item, such as interventional treatment, therapeutic operation, and diagnostic operation. The surgical type can be divided into "surgery, interventional treatment, and diagnostic operation". The surgical type information in the surgical attribute table can be constructed by combining clinical operation experience and medical knowledge, with "interventional treatment, therapeutic operation, and diagnostic operation" as representatives.
[0089] The surgical grade can adopt the unified four-level surgical classification standard, and use "1, 2, 3, 4" to quantify the surgical grade, which can be used as surgical grade information.
[0090] The surgical cost can be uniformly coded according to each surgery involving charging items, and the corresponding cost amount can be used as the surgical cost information.
[0091] Combined with the above content and the sorting annotation examples, after the above steps, the sorting model has learned the relevant sorting instructions through self-training. On the premise of obtaining the medical feature information, surgical cost information, surgical type information, and surgical level information for the medical record, further, according to the sorting annotations learned by the model through self-training, such as the aforementioned "A1, A2, A3" sorting annotations, when the medical text contains relevant medical feature information, surgical cost information, surgical registration information, and surgical level information, the surgical sequence is sorted A1, A2, A3.
[0092] The extraction and parsing process of the surgical information coding disclosed in the present invention can be achieved manually or through AI intelligent processing.
[0093] In some embodiments, the extracting of the surgical name containing the surgical code from the text of the present disclosure includes:
[0094] Matching the original surgical information with the standard words in the standard surgical information table to obtain a matching relationship;
[0095] Based on the matching relationship, the surgical information to be processed that contains the original surgical information and the standard words is screened out;
[0096] The operation information to be processed is normalized by a classification algorithm to obtain a coded operation name.
[0097] In some embodiments, the obtaining of the matching relationship of the present disclosure includes: combining the original surgical information with each standard word in the standard surgical information table in pairs, and calculating the matching degree respectively;
[0098] The method of screening out the surgical information to be processed that includes the original surgical information and the standard words based on the matching relationship includes: when the matching degree meets the preset condition, taking the original surgical information and the standard words of the standard surgical information table as the surgical information to be processed.
[0099] Specifically, the standard surgical information table of this embodiment can be obtained through the ICD-9-CM-3 standard table, and the ICD-9-CM-3 standard table can be used to calibrate the surgical information in detail and provide the corresponding surgical codes.
[0100] The original surgical information and the standard medical information in the ICD-9-CM-3 standard table, or so-called standard words, are combined in pairs. For example, the input in this embodiment is a surgical medical text, where the surgical information recorded in the original text is
[0101] "Operation name: Coronary angiography + PCI
[0102] Operation process: Routine disinfection of the surgical area, laying of sterile drapes, successful puncture of the right radial artery, angiography showed: left main trunk normal, 80% stenosis of segments 7-8 of the anterior descending branch, 80% stenosis of segment 11 of the circumflex branch, 40% stenosis of segments 2-3 of the right coronary artery, and 70% stenosis of the PDA opening. PCI: Replace AL1guiding6F to the left coronary artery, send BMW guidewire to the distal end of the anterior descending branch, send another BMW to the distal end of D2, send Tazuna2.0×15mm balloon to the 7-8 segment lesion and expand it at 12-13atm for 7-8 seconds, then implant Firenbird3.0×20mm stent there and expand it at 14atm for 8 seconds and release it, 3.5×18mm stent is released at 7 segment at 12atm8 seconds, 3.0×10mm post-expansion balloon expands the stent at 18atm7-8 seconds, BMW guidewire to the distal end of the circumflex branch, 2.0×15mm balloon expands the circumflex branch lesion at 16atm8 seconds, 3.5×15mm stent is released at the circumflex branch lesion at 12atm8 seconds, repeat angiography shows good stent expansion, no residual stenosis, blood flow TIMI3, remove the catheter and sheath, local compression hemostasis, the operation is over. "
[0103] The standard operation information table of this embodiment includes multiple rows of data entries, including main codes, additional codes, operation names, categories, etc. The above input text and each standard word in the standard operation information table are combined in pairs to form a data entry in the format of "original text, standard word".
[0104] “1. (Original text, Non-drug eluting coronary stent implantation)
[0105] 2. (Original text, Coronary artery drug-eluting stent implantation)
[0106] 3. (Original text, Drug-eluting coronary stent implantation)
[0107] ..."Such information pairs.
[0108] Since the surgical procedure information is described in text, it is itself a detailed content of the surgical name, and there is a corresponding relationship between the two. Based on this corresponding relationship, each combined pair can be used as a piece of training data in this embodiment.
[0109] The matching degree is calculated for each pair combination of this form. The combination with a matching degree lower than the preset threshold is discarded and not used as the data normalization object. The combination with a matching degree that meets the preset threshold is used as the normalization object to be selected.
[0110] Specifically, the matching degree can be determined based on the number of characters contained in the original text and the standard word in this embodiment, for example, the matching degree can be calculated by the number of characters in the intersection between the two and the number of characters in the union of the two, or the similarity between the two. Taking the simple number of characters as an example, the original text contains "bilateral partial thyroidectomy", and the standard word after two-by-two combination is "thyroid exploratory incision", and the intersection of the two is "thyroid resection", which has 4 characters. The union of the two is the sum of the lengths of the two strings minus the number of characters in the intersection: 9+8-4=13, so the similarity of this two-by-two combination is "4 / 13". This embodiment can be used to judge the similarity of long text surgical procedures, such as surgical descriptions of thousands of words.
[0111] In some embodiments, the present disclosure performs normalization processing on the surgical information to be processed by using a classification algorithm, including:
[0112] Inputting the surgical information to be processed into a neural network classification model;
[0113] Analyze whether the original surgical information and the standard words in the surgical information to be processed correspond to each other;
[0114] According to the analysis results, the corresponding original surgical information and standard words are normalized;
[0115] The standard surgical information corresponding to the original surgical information is output for generating the target medical text.
[0116] Specifically, continue to combine the above example to explain, assuming that the above pair is used as the surgery information to be processed, this embodiment can
[0117] “1. (Original text, Non-drug eluting coronary stent implantation)
[0118] 2. (Original text, Coronary artery drug-eluting stent implantation)
[0119] 3. (Original text, Drug-eluting coronary stent implantation)
[0120] ”
[0121] …
[0122] Input the neural network classification model. The present disclosure can construct an adaptive neural network classification model, and adaptively configure the corresponding architecture and number of neurons, etc., to parse and normalize the surgical information to be processed.
[0123] For example, each group of information is classified to determine whether the surgical information from the medical text and the standard words selected from the standard information table have related or similar medical concepts, such as whether there is an inclusion relationship between the two. If the neural network classification model believes that the two are in a situation where there is an inclusion relationship, the neural network classification model outputs the corresponding result, such as outputting "1" to represent a positive conclusion. If the neural network classification model believes that the two are not in a situation where there is an inclusion relationship, the neural network classification model outputs the corresponding result, such as outputting "0" to represent a negative conclusion.
[0124] In order to optimize the performance of the neural network classification model, in various embodiments of the present disclosure, the performance of the neural network classification model can be increased by optimizing the pre-training model. Specifically, large-scale medical prediction data can be collected, and the data source is targeted at surgical information, including but not limited to: medical texts of various medical structures, medical texts of various medical research institutions, medical data in various medical information systems, medical textbooks in various languages, medical classics, medical papers, medical data in online databases, encyclopedias, website web page data, forum data, etc. In the embodiments of the present disclosure, a pre-training model can be constructed to pre-train the collected large-scale medical prediction data, so that the model can learn various medical knowledge from large-scale data, and on this basis, it can be applied to specific tasks to improve the performance of the neural network model of the present disclosure. Pre-training models include but are not limited to: BERT model, XLNET model, roBERTa and other models.
[0125] Based on the neural network classification model of the present embodiment, for the aforementioned input neural network classification model "1. (Original text, non-drug eluting coronary stent implantation)
[0126] 2. (Original text, Coronary artery drug-eluting stent implantation)
[0127] 3. (Original text, Drug-eluting coronary stent implantation)
[0128] ...", the standard surgical information corresponding to the original text can be output. Since the present disclosure can use the ICD-9-CM-3 table, these standard surgical information may include standard surgical names, standard surgical name codes and other information, for example, output:
[0129] "1.36.0700|Drug-eluting coronary stent implantation
[0130] 2.00.6600×004|Percutaneous Coronary Angioplasty
[0131] 3.00.4700|Stents placed in three blood vessels
[0132] 4.88.5700 | Other and unspecified coronary angiography"
[0133] It can be intuitively understood that through the above results output by the neural network classification model of this embodiment, it is possible to obtain accurate information description of this operation, including details such as what type of stent was used, how many stents were actually implanted, and whether the patient also underwent percutaneous coronary balloon angioplasty.
[0134] In some embodiments, the neural network classification model of the present disclosure is obtained based on pre-training, and the pre-training method includes:
[0135] Collect medical texts containing original surgical information;
[0136] Extracting the operation name information and operation process information from the original operation information;
[0137] Combining the surgical procedure information with standard words in a surgical name library, wherein the surgical name library is constructed based on the surgical name information and includes original surgical names of the original surgical information and standard surgical names;
[0138] The combined surgical procedure information and standard words in the surgical name library are used as training data to train the pre-training model;
[0139] The neural network classification model is obtained based on the pre-trained model.
[0140] Specifically, the embodiments of the present disclosure can construct and iteratively train the training model involved in the present disclosure based on a sufficient amount of data to meet training needs, such as one or more batches, or massive collections of medical texts containing original surgical information.
[0141] In some embodiments, the construction method of the surgery name library disclosed herein includes:
[0142] Inputting the surgical name information into a neural network model for encoding surgical names to extract standard surgical name codes from the surgical name information;
[0143] Based on the operation name information and the standard operation name coding, a operation name library including original operation names and coded standard operation names is constructed.
[0144] Specifically, for an operation named "coronary angiography + PCI", the ICD standard operation name code can be extracted from the operation name text in the medical text by preferably encoding the operation name through a neural network model, and combined with the operation name "coronary angiography + PCI", according to the result of the original operation name text encoding
[0145] "1. Other and unspecified coronary angiography
[0146] 2. Non-drug eluting coronary stent implantation"
[0147] The surgery name library of this embodiment is constructed, which contains original surgery names and encoded standard surgery names.
[0148] The neural network classification model of this embodiment can use any other classification model, including but not limited to: CNN, LSTM, transformer, etc. In some embodiments, based on the pre-trained model fine-tuning, the model converges faster and the performance is improved by 2%.
[0149] In some embodiments, the construction method of the standard surgery information table disclosed in the present invention includes: constructing based on the annotation of the ICD standard table, and the annotation results include the results according to the surgery name and the coded results. In combination with the foregoing, this embodiment can construct a standard information table based on the annotation results, including information such as the main code, additional code, surgery name, category, etc.
[0150] In some aspects, the embodiments of the present disclosure can parse N first surgical information from M original surgical information under the guidance of standard medical information, for surgical information described in the surgical content in the medical record homepage information, based on the sentence model processing based on deep learning training. The present disclosure is more concerned with the case where the original medical text contains multiple original medical information, that is, at least for the scenario where M≥2, N first surgical information is parsed from M original medical information. The number N of the parsed first surgical information can be equal to M in theory, can be less than M, and of course can be greater than M in some aspects, as long as it conforms to the medical concept and clinical diagnostic significance.
[0151] In some embodiments, the method for constructing the sentence model of the deep learning training disclosed herein includes:
[0152] Extract medical texts;
[0153] These medical texts are divided into sentences respectively to obtain tuples containing the original text and the sentence-divided text;
[0154] Iteratively train the model.
[0155] Specifically, the medical text of this embodiment takes the surgical data for surgical operations such as the content of the operation and the name of the operation as an example. The surgical data cannot be divided into sentences by rules. There are only rules applicable to specific scenarios, and the distinction between scenarios requires medical judgment. Therefore, in this embodiment, a sentence model can be used for sentence operations. The sentence model can be constructed based on deep learning training. Specifically, a batch of data can be annotated by professionals based on the gold standard of surgery, and the original data containing the name of the operation is sentence-separated to obtain a data tuple instance. The tuple may include the original text and the text after sentence separation, such as a tuple in the data format of "original text, one or more paragraphs of text after sentence separation". The sentence model of this embodiment can be trained based on a sufficient amount of data to meet the training, such as one or more batches, batches, or massively labeled tuples.
[0156] In some embodiments, the present disclosure of segmenting these medical texts includes:
[0157] Sentences are divided according to the specific identifiers contained in the medical text.
[0158] For the input "Operation name: bilateral partial thyroidectomy + left upper parathyroid adenoma resection + right breast segment resection", during the sentence marking process, it is considered that in this section of surgical data, the "+" sign is used as a specific identifier in this section of surgical data to separate the surgical information, and the surgical information reflected is "Operation name: bilateral partial thyroidectomy, left upper parathyroid adenoma resection, right breast segment resection". In this section of input surgical data, there is no information that needs to be continued across the plus sign "+". From the perspective of medical diagnosis, each plus sign is an independent and complete surgical name, and the length of the sentence can be shortened by sentence segmentation. Therefore, the sentence segmentation result can be considered to be divided into three sentence objects: "bilateral partial thyroidectomy", "left upper parathyroid adenoma resection", and "right breast segment resection".
[0159] In some embodiments, the present disclosure of segmenting these medical texts includes:
[0160] Parsing medical information contained in medical texts;
[0161] According to the semantics of medical information, determine the medical information with associated relationships;
[0162] Based on the medical information with associated relationships, the sentence objects are determined.
[0163] Specifically, due to habitual writing or abbreviations during the operation data entry or recording process, the operation information contained in the data is related to each other, but it appears to be separated from the text, making it difficult to determine the accurate operation information contained therein. This embodiment parses the semantics of each part of the medical information, extracts the representation content of the medical information in the medical concept, and determines whether there is a correlation relationship between them based on all the representation content, such as whether operation information 1 and operation information 2 are mutually inclusive, whether there is common information between operation information 1 to operation information n, and whether there is contradictory information between operation information 1 to operation information x.
[0164] For example, the input medical text includes "laparoscopic total hysterectomy + bilateral salpingo-oophorectomy". If the rule-based sentence segmentation is used, it contains the "+" symbol, and the sentence segmentation results obtained through the sentence segmentation are "laparoscopic total hysterectomy" and "bilateral salpingo-oophorectomy". Combined with the medical concept, it can be determined that the surgical information of "laparoscopic total hysterectomy" can only express "laparoscopy and site", but cannot specify the specific surgical procedure. In addition, the surgical information of "bilateral salpingo-oophorectomy" lacks surgical operation information, such as the information of "laparoscopy". In this case, if the sentence is segmented in a separated form according to the feature identifier, although the input medical text "laparoscopic total hysterectomy + bilateral salpingo-oophorectomy" completely contains the information that can be involved in various surgeries, the sentence segmentation result according to the rule-based sentence segmentation is wrong, which will cause the final surgical standard name conversion error, and cannot accurately, exhaustively and intelligently express the accurate information of the surgical process, and it cannot conform to the actual semantics. If the sentence segmentation model of this embodiment is used, the sentence segmentation of "laparoscopic total hysterectomy + bilateral salpingo-oophorectomy" is performed according to the actual semantics. The sentence segmentation model has learned relevant knowledge during the training stage, and can determine that the "+" here is not a sentence segmentation mark, and thus will not be segmented according to the "+".
[0165] For example, the input medical text contains "VATS right upper lobectomy + right middle lobe and right lower lobe wedge resection + pleural adhesion cauterization + thoracic duct ligation". The sentence segmentation model has learned relevant knowledge during the training stage, and can determine that the "VATS" thoracoscopy information at the beginning of the sentence needs to be continued backward. Therefore, it can be determined that the "+" here is not a sentence mark, and the sentence will not be segmented according to the "+".
[0166] As a preferred solution, the method disclosed in the present invention obtains the second medical text based on the matching results of the first surgical information and the standard medical information, including: combining each first surgical information with each standard medical information in pairs; calculating the matching degree respectively, and the matching degree can be determined based on the number of words contained in the sentence and the standard word respectively, for example, the matching degree is calculated by the number of words in the intersection between the two and the number of words in the union of the two, or it is called the similarity between the two.
[0167] On this basis, data such as "1. (bilateral partial thyroidectomy, thyroidectomy exploration) / 2. (bilateral partial thyroidectomy, unilateral partial thyroidectomy / 3. (bilateral partial thyroidectomy, bilateral partial thyroidectomy) / 4. (bilateral partial thyroidectomy, subtotal thyroidectomy) / 5..." are constructed. The data analyzed in the present disclosure are normalized to obtain standardized information about surgical information, which is specifically realized by a neural network classification model, including:
[0168] parsing each set of first surgical information and standard medical information contained in the second medical text;
[0169] Analyze whether each set of first surgical information corresponds to standard medical information based on a neural network;
[0170] The analysis result is output, and the corresponding first surgical information and standard medical information are used as normalized results.
[0171] Specifically, continuing with the above examples, the present disclosure can construct a neural network classification model, configure the corresponding architecture and number of neurons, etc., to parse and normalize the second medical text. For example, for a second medical text in the form of "1. (bilateral partial thyroidectomy, thyroidectomy exploration) / 2. (bilateral partial thyroidectomy, unilateral partial thyroidectomy / 3. (bilateral partial thyroidectomy, bilateral partial thyroidectomy) / 4. (bilateral partial thyroidectomy, subtotal thyroidectomy) / 5...", classify each group of information therein, and determine whether the original first medical text and the standard words selected from the standard information table have related or similar medical concepts, such as whether there is an inclusion relationship between the two. If the neural network classification model believes that the two belong to a situation where there is an inclusion relationship, the neural network classification model outputs a corresponding result, such as outputting "1" to represent a positive conclusion. If the neural network classification model believes that the two do not belong to a situation where there is an inclusion relationship, the neural network classification model outputs a corresponding result, such as outputting "0" to represent a negative conclusion.
[0172] In various embodiments of the present disclosure, the performance of the neural network classification model can be increased by optimizing the pre-training model. Specifically, large-scale medical prediction data can be collected, and the data sources include but are not limited to: medical record data of various medical structures, medical texts of various medical research institutions, medical data in various medical information systems, medical textbooks in various languages, medical classics, medical papers, medical data in online databases, encyclopedias, website web page data, forum data, etc. In the embodiments of the present disclosure, a pre-training model can be constructed to pre-train the collected large-scale medical prediction data, so that the model can learn various medical knowledge from large-scale data, and on this basis, it can be applied to specific tasks to improve the performance of the neural network model of the present disclosure. Pre-training models include but are not limited to: BERT model, XLNET model, roBERTa and other models.
[0173] More specifically, the neural network classification model of each embodiment of the present disclosure is combined with the aforementioned content to achieve the final classification and determine whether the original medical text and the selected standard word represent the same medical information concept, for example, whether there are overlapping descriptions, contradictory descriptions, missing descriptions, etc. between surgical information. If the pre-trained model of the embodiment of the present disclosure is adopted, then the neural network classification model in this embodiment can be basically consistent with the pre-trained model, and the pre-trained model needs to be used to initialize the neural network classification model of this embodiment. If the pre-trained model is not adopted, the neural network classification model of this embodiment can use any other classification model, including but not limited to: CNN, LSTM, transformer and other models.
[0174] Furthermore, the output analysis result of the present disclosure uses the corresponding first surgical information and standard medical information as normalization results, including: representing the first surgical information in the format of standard medical information; and outputting the surgical codes of each embodiment of the present disclosure.
[0175] Specifically, in combination with the above content, based on the output of the corresponding results of the neural network classification model in this embodiment, for the combination with a positive output result, this embodiment can extract the surgical name and surgical code in the ICD-9-CM-3 standard table, and perform unified expression processing on the original input surgical data. For the above original input "bilateral partial thyroidectomy", "left upper parathyroid adenoma resection", and "right breast segment resection", this embodiment extracts "surgical code surgical name" from the ICD-9-CM-3 standard table and updates these information respectively, which is expressed as the output target medical text:
[0176] "1.06.3900×012|Bilateral partial thyroidectomy
[0177] 2.06.8903|Parathyroid lesion resection
[0178] 3.85.2100×019|Breast gland segmental resection"
[0179] Compared with the original input surgical data, it can be seen that the target medical text output by this embodiment obtains the coding of the surgical information in the first page information of the medical record disclosed in this embodiment in a complete and detailed manner in accordance with a unified expression method.
[0180] In some embodiments, the self-training method disclosed herein further includes: iteratively training based on a large amount of text with sorting annotations. In this embodiment, by repeating the above process, the model will learn the sorting order under different medical records. This process has no rules and is a process in which the model masters the ability of sorting through a large amount of training.
[0181] As one of the solutions of the present disclosure, the present disclosure further provides a ranking model, which is trained according to the self-training method in each of the above embodiments.
[0182] As one of the solutions disclosed in the present invention, Figure 2 As shown, combined Figure 4 The present disclosure also provides a method for processing medical text based on the above-mentioned sorting model, comprising:
[0183] S201: Acquire text containing surgical items;
[0184] S202: extracting medical feature information from the text;
[0185] S203: Acquire attribute information representing the surgery based on the surgery information acquired from the text;
[0186] S204: Sort the surgical items in the text according to the association relationship based on the medical feature information and the attribute information.
[0187] Specifically, in combination with the above example, in this embodiment, a text containing a surgery item is obtained, and by extracting the medical feature information in the text, attribute information representing the surgery, including surgery level information, surgery cost information, and surgery type information, is obtained based on the surgery information obtained from the text. The following example is used to illustrate
[0188] “(Surgery level: 1; Surgery type: therapeutic operation; Surgery cost: 2000;
[0189] Disease 1: angina pectoris, Disease 2: hypertension, Disease 3: diabetes; . . . ;
[0190] Lesion site 1: heart, lesion site 2: lung; . . . ;
[0191] Blood pressure: XX; Temperature: XXX;
[0192] Examination Item 1: Cardiac color Doppler ultrasound; Examination Item 2: Chest CT...;
[0193] Test Item 1: ATL; Test Item 2: White blood cell count...;
[0194] Number of days in hospital: 15;
[0195] Drug 1: XXX; Drug 2: XXXX; . . . . ;
[0196] Device 1: Coronary stent; Device 2: XXX; . . . ;
[0197] Equipment 1 combing: 2; Equipment 2 quantity: 1; . . . . ;)”
[0198] Through the processing method of this embodiment, combined with the associated knowledge learned by the sorting model through self-training, the above-mentioned surgical items can be sorted according to the content of the sorting annotations learned by the sorting model during the self-training process, and the corresponding sorted surgical items can be output.
[0199] This embodiment aims to learn the sorting order under different medical records based on the sorting model that repeats the above self-training learning process. This is the process in which the model masters the sorting ability through a large amount of training. Then, in the process of processing medical texts, for the input medical records to be sorted, the model automatically extracts the characteristics of the medical records to be sorted, the surgical cost information, the surgical type information, and the surgical level information, and combines the learned sorting annotations to obtain the sorted text.
[0200] As one of the solutions disclosed in the present invention, Figure 3 As shown, combined Figure 4 The present disclosure also provides a medical text processing device based on the above-mentioned sorting model, comprising:
[0201] A text input module configured to obtain text containing surgical items;
[0202] An extraction module configured to extract medical feature information from the text;
[0203] An acquisition module configured to acquire attribute information representing the surgery based on the surgery information acquired from the text;
[0204] A sorting module is configured to sort the surgical items in the text according to the association relationship based on the medical feature information and the attribute information.
[0205] Combined with the examples described above:
[0206] In some embodiments, the acquisition unit disclosed herein may be an input device, a screen capture device, a text recognition device, etc., which is intended to achieve the ability to acquire medical text containing surgical information, which may include medical record data, and the medical record data includes: medical record text information; and / or medical record homepage information.
[0207] In some embodiments, the extraction module of the present disclosure may be further configured to extract medical feature information in the text based on at least one of the following information in the text:
[0208] Diagnostic information, examination information, test information, medical course information, medication information, and medical device information.
[0209] In some embodiments, the acquisition module of the present disclosure may be further configured as follows:
[0210] Extract the names of the surgical procedures including the surgical codes from the text;
[0211] Compare the operation attribute information table to obtain the attribute information;
[0212] in:
[0213] The operation attribute table includes:
[0214] Standard operation names, standard operation codes, and attribute information corresponding to these standard operation names and standard operation codes.
[0215] Furthermore, the extracting of the surgical name containing the surgical code from the text includes:
[0216] Matching the original surgical information with the standard words in the standard surgical information table to obtain a matching relationship;
[0217] Based on the matching relationship, the surgical information to be processed that contains the original surgical information and the standard words is screened out;
[0218] The operation information to be processed is normalized by a classification algorithm to obtain a coded operation name.
[0219] Specifically, one of the inventive concepts of the present disclosure is to obtain a text with sorting annotations; extract medical feature information from the text; obtain attribute information representing the surgery based on the surgery information obtained from the text; associate the medical feature information and attribute information with the sorting annotations, so as to be able to sort the surgery items in the text containing the medical feature information and attribute information in the manner of the sorting annotations; and on the basis of the above-mentioned training method, obtain a text containing surgery items; extract medical feature information from the text; obtain attribute information representing the surgery based on the surgery information obtained from the text; and sort the surgery items of the text according to the association based on the medical feature information and attribute information, so that on the basis of extracting multiple surgery information from the medical text, the complete medical text can be processed, and ordered surgery information can be obtained in combination with the medical feature information extracted from the medical text. Through the above processing method, the present invention not only realizes the coding of clinical diagnoses and surgical names written by clinicians into standard terms, but also can intelligently combine medical records to refine and improve surgical names that are not detailed enough, or there is no surgical sequence in the text, or the sequence of surgical codes is wrong, and output orderly major surgeries in combination with medical feature information extracted from medical texts, so as to express various medical information completely, accurately and efficiently, thereby improving the accuracy and efficiency of medical research and medical diagnosis and treatment.
[0220] As one of the solutions of the present disclosure, the present disclosure also provides a computer-readable storage medium on which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the self-training method according to the above-mentioned sorting model is mainly implemented, which at least includes:
[0221] Get the text with sort annotations;
[0222] Extract medical feature information from text;
[0223] Based on the surgical information obtained from the text, attribute information representing the surgical operation is obtained;
[0224] The medical feature information and attribute information are associated with the sorting annotation, so that the surgical items in the text containing the medical feature information and attribute information can be sorted according to the sorting annotation.
[0225] As one of the solutions of the present disclosure, the present disclosure further provides a computer-readable storage medium on which computer executable instructions are stored. When the computer executable instructions are executed by a processor, the processing method of the medical text described above is mainly implemented, which at least includes:
[0226] Get the text containing the surgical item;
[0227] Extracting medical feature information from the text;
[0228] Based on the surgery information obtained from the text, obtaining attribute information representing the surgery;
[0229] According to the medical feature information and the attribute information, the surgical items of the text are sorted according to the association.
[0230] In some embodiments, the processor that executes the computer executable instructions may be a processing device including one or more general processing devices, such as a microprocessor, a central processing unit (CPU), a graphics processing unit (GPU), etc. More specifically, the processor may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, a processor that runs other instruction sets, or a processor that runs a combination of instruction sets. The processor may also be one or more special-purpose processing devices, such as an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a system on a chip (SoC), etc.
[0231] In some embodiments, the computer-readable storage medium may be a memory such as a read-only memory (ROM), a random access memory (RAM), a phase-change random access memory (PRAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), an electrically erasable programmable read-only memory (EEPROM), other types of random access memory (RAM), a flash disk or other form of flash memory, a cache, a register, a static memory, a compact disk read-only memory (CD-ROM), a digital versatile disk (DVD) or other optical storage, a cassette or other magnetic storage device, or any other possible non-temporary medium used to store information or instructions that can be accessed by a computer device.
[0232] In some embodiments, the computer executable instructions may be implemented as a plurality of program modules, and the plurality of program modules together implement the medical image display method according to any one of the items of the present disclosure.
[0233] The present disclosure describes various operations or functions, which can be implemented as software codes or instructions or defined as software codes or instructions. The display unit can be implemented as a software code or instruction module stored on a memory, which can implement corresponding steps and methods when executed by a processor.
[0234] Such content may be source code or differential code ("delta" or "patch" code) that can be directly executed ("object" or "executable" form). The software implementation of the embodiments described herein may be provided by an article having code or instructions stored thereon, or by a method of operating a communication interface to send data through a communication interface. A machine or computer readable storage medium may enable a machine to perform the functions or operations described, and includes any mechanism for storing information in a form accessible by a machine (e.g., a computing display device, an electronic system, etc.), such as a recordable / unrecordable medium (e.g., a read-only memory (ROM), a random access memory (RAM), a disk storage medium, an optical storage medium, a flash memory display device, etc.). The communication interface includes any mechanism for interfacing with any of hardwired, wireless, optical, etc. media to communicate with other display devices, such as a memory bus interface, a processor bus interface, an Internet connection, a disk controller, etc. The communication interface may be configured by providing configuration parameters and / or sending signals to prepare the communication interface to provide a data signal describing the software content. The communication interface may be accessed by sending one or more commands or signals to the communication interface.
[0235] The computer executable instructions of the embodiments of the present disclosure can be organized into one or more computer executable components or modules. Any number and combination of such components or modules can be used to implement various aspects of the present disclosure. For example, various aspects of the present disclosure are not limited to the specific computer executable instructions or specific components or modules shown in the drawings and described herein. Other embodiments may include different computer executable instructions or components with more or less functions than those shown and described herein.
[0236] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, a person of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the present disclosure. This should not be interpreted as an intention that a disclosed feature that is not required to be protected is necessary for any claim. On the contrary, the subject matter of the present disclosure may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present disclosure should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.
[0237] The above embodiments are only exemplary embodiments of the present disclosure and are not intended to limit the present disclosure. The protection scope of the present disclosure is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present disclosure within the essence and protection scope of the present disclosure, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present disclosure.
Claims
1. Self-training method of sorting model, including: Get the text with sort annotations; Extract medical feature information from text; Based on the surgical information obtained from the text, attribute information representing the surgical operation is obtained: the surgical name including the surgical code is extracted from the text; Obtaining the attribute information by comparing the operation attribute information table; the operation attribute table includes: standard operation names, standard operation codes, and attribute information corresponding to the standard operation names and standard operation codes; the attribute information includes at least one of operation type information, operation grade information, and operation cost information; Establishing an association relationship between the medical feature information and the attribute information and the sorting annotation, iteratively training based on a large amount of text with sorting annotations to obtain a sorting model, so that the surgical items in the text to be sorted containing the medical feature information and the attribute information can be sorted according to the sorting annotation based on the sorting model; The extraction of the surgical name containing the surgical code from the text includes: Matching the original surgical information with the standard words in the standard surgical information table to obtain a matching relationship, including: combining the original surgical information with each standard word in the standard surgical information table in pairs, and calculating the matching degree respectively; Based on the matching relationship, the surgical information to be processed that includes the original surgical information and the standard words is screened out, including: when the matching degree meets the preset condition, the original surgical information and the standard words of the standard surgical information table are used as the surgical information to be processed; The surgical information to be processed is normalized by a classification algorithm to obtain an encoded surgical name, and the encoded surgical name is included in the standard surgical information table; including: inputting the surgical information to be processed into a neural network classification model; analyzing whether the original surgical information and the standard words in the surgical information to be processed correspond to each other; normalizing the corresponding original surgical information and the standard words according to the analysis results; outputting the standard surgical information corresponding to the original surgical information for generating a target medical text; the neural network classification model is obtained based on pre-training, and the pre-training method includes: collecting medical texts containing original surgical information; extracting surgical name information and surgical process information from the original surgical information; combining the surgical process information with the standard words in the surgical name library, the surgical name library is constructed based on the surgical name information and contains the original surgical name and the standard surgical name of the original surgical information; using the combined surgical process information and the standard words in the surgical name library as training data to train the pre-trained model; and obtaining the neural network classification model based on the pre-trained model.
2. The method according to claim 1, wherein: The extracting of medical feature information from the text includes: Extract medical feature information from the text based on at least one of the following information in the text: Diagnostic information, examination information, test information, medical course information, medication information, and medical device information.
3. A method for processing medical texts, based on the sorting model in the self-training method of the sorting model as claimed in claim 1, comprising: Get the text containing the surgical item; Extracting medical feature information from the text; Based on the surgery information obtained from the text, obtaining attribute information representing the surgery; According to the medical feature information and the attribute information, the surgical items of the text are sorted according to the sorting model.
4. A medical text processing device, based on the sorting model in the self-training method of the sorting model as claimed in claim 1, comprising: A text input module configured to obtain text containing surgical items; An extraction module configured to extract medical feature information from the text; An acquisition module configured to acquire attribute information representing the surgery based on the surgery information acquired from the text; A sorting module is configured to sort the surgical items of the text according to the medical feature information and attribute information and the sorting model.
5. A computer-readable storage medium having computer-executable instructions stored thereon, wherein when the computer-executable instructions are executed by a processor, the computer-executable instructions implement: The self-training method of a ranking model according to any one of claims 1 to 2; or A method for processing medical text according to claim 3.
Citation Information
Patent Citations
Method for disambiguating entities in medical disease diagnosis record
CN106951684A
Electronic medical record processing method and device and equipment
CN110277149A
Surgical operation coding method based on semantic similarity
CN110767296A
Operation classification coding method based on original operation data
CN111191415A
Operation scheduling system and method based on deep learning, storage medium and terminal
CN111951946A
