A system for acquiring operation paths corresponding to target diseases

By obtaining the candidate object ID and information list, using model training and tag matching, the problem of inaccurate operation path of medical record text acquisition in the prior art is solved, and efficient and accurate operation path acquisition of disease types is achieved.

CN118377903BActive Publication Date: 2025-04-04SINGULARITY INTELLIGENCE (BEIJING) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410558514.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2025-04-04
Estimated Expiration
2044-05-08

AI Technical Summary

Technical Problem

In the prior art, the failure to effectively use medical record text to obtain the operation path of the same disease type, resulting in low accuracy of the corresponding operation path of the target disease type.

Method used

By obtaining the candidate object ID list and candidate information list, the NER model and the preset tag list training model is used to obtain the candidate weight of the candidate tag list, and combined with the specified tag list, the target time period and final tag list of the target disease type are determined, so as to obtain the target disease type operation path.

Benefits of technology

The efficiency and accuracy of the acquisition of the operation path of the target disease type are improved, and the representative operations and time periods of the same disease type are obtained based on the statistical analysis of historical medical records text.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118377903B_ABST
    Figure CN118377903B_ABST
Patent Text Reader

Abstract

The present invention relates to a system for acquiring operation paths corresponding to target diseases. The system comprises: a processor and a memory storing a computer program. When the computer program is executed by the processor, the following steps are implemented: acquiring a candidate object ID list and a candidate information list set corresponding to the target disease, acquiring a candidate weight list according to the candidate object ID list and the candidate information list set, acquiring a designated label list according to the candidate weight list, and acquiring a target time period list corresponding to the target disease to acquire the operation path corresponding to the target disease. The present invention improves the efficiency of acquiring the operation path of the disease by continuously training a model and using the model to acquire labels in medical record texts. Statistical analysis is performed based on data of several historical medical record texts of objects with the same medical record to acquire representative operations of the same disease and the operation time periods corresponding to the operations, so that the accuracy of the acquired operation path corresponding to the target disease is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of text processing, and in particular to a system for acquiring operation paths corresponding to target diseases. Background Art

[0002] At present, with the increase in the number of patients, the development of disease pathway management models has become a popular research method. The management of disease pathways means developing a diagnosis and treatment model that must be followed for a specialized disease, so that patients can receive examinations, drugs, surgery and other medical services according to this model from admission to discharge. By determining the operation pathway corresponding to the disease, the complexity of monitoring work can be reduced, work efficiency can be improved, and "same disease, same living" can be achieved as much as possible.

[0003] In the prior art, there are many standards for single disease path management, based on the preoperative evaluation of high-risk drugs, including whether to stop using them and how long before the operation to stop using them, to judge whether the pending medical orders issued by the physician meet the hospital's treatment standards and drug use standards for the patient's single disease, to achieve the use plan of disease-related drugs. As mentioned above, the model is not used to obtain the labels corresponding to the medical record text, and the operation path corresponding to the disease is not considered based on historical data. There is no statistical analysis based on the historical medical record texts of subjects with the same disease to obtain representative operations for the same disease and the corresponding operation time periods, which makes the accuracy of the operation path corresponding to the target disease obtained low. Summary of the invention

[0004] In view of the above technical problems, the technical solution adopted by the present invention is: a system for acquiring operation paths corresponding to target diseases, the system comprising: a processor and a memory storing a computer program, when the computer program is executed by the processor, the following steps are implemented:

[0005] S100, obtaining a candidate object ID list A corresponding to the target disease type = {A1, ..., A i , ..., A n} and the candidate information list set E corresponding to A = {E1, ..., E i ,……,E n}, E i ={E i1 ,……,E ir ,……,E is(i)}, E ir ={E 1 ir , E 2 ir}, A i is the ID of the i-th candidate object, E 1 ir A iThe first candidate information in the rth candidate information in the corresponding candidate information list, E 2 ir A i The second candidate information in the rth candidate information in the corresponding candidate information list, i=1...n, n is the number of candidate object IDs, r=1...s(i), s(i) is A i The number of candidate information in the corresponding candidate information list, wherein the first candidate information is the time obtained from the initial medical record text corresponding to the candidate object ID, and the second candidate information is the target label obtained from the initial medical record text corresponding to the candidate object ID.

[0006] S200, according to A and E, obtain a candidate weight list M corresponding to the candidate tag list = {M1, ..., M a , ..., M θ},M a is the candidate weight corresponding to the a-th candidate label, a=1……θ, θ is the number of candidate labels, where M a Meet the following conditions:

[0007] M a =M 0 a / n,M 0 a is the number of candidate object IDs corresponding to the candidate information whose second candidate information in the candidate information list in E is consistent with the candidate label.

[0008] S300, according to M, obtain the specified tag list V = {V1, ..., V e , ..., V f},V e is the e-th specified tag, e=1...f, f is the number of specified tags, where M a ≥F 1 When M a The corresponding candidate labels are inserted into V, F 1 is the preset weight threshold.

[0009] S400, according to E and V, obtain the target time period list T={T1, ..., T ab , ..., T cd The final label list set ST corresponding to T = {ST1, ..., ST ab , ..., ST cd} to obtain the operation path corresponding to the target disease, T ab is the (ab)th target time period corresponding to the target disease, ST ab T abThe corresponding final label list, wherein the final label list includes several final labels, the target time period is the first candidate information obtained from the candidate information list, and the final label is the word involved in the operation process corresponding to the target disease obtained in the target time period, ab=1...cd, cd is the number of target time periods in the target time period list corresponding to the target disease.

[0010] Compared with the prior art, the present invention has obvious beneficial effects. By means of the above technical solution, the system for obtaining the operation path corresponding to the target disease provided by the present invention can achieve considerable technical advancement and practicality, and has wide industrial utilization value, and has at least the following beneficial effects:

[0011] The present invention provides a system for acquiring operation paths corresponding to target diseases. The system includes: a processor and a memory storing a computer program. When the computer program is executed by the processor, the following steps are implemented: acquiring a candidate object ID list corresponding to the target disease and a candidate information list set corresponding to the candidate object ID list; acquiring a candidate weight list corresponding to a candidate label list according to the candidate object ID list and the candidate information list set; acquiring a designated label list according to the candidate weight list; acquiring a target time period list corresponding to the target disease according to the candidate information list set and the designated label list. The present invention continuously trains a model and uses the model to acquire labels in medical record texts, i.e., words involved in the operation process corresponding to the disease, thereby improving the efficiency of acquiring the operation path of the disease; statistical analysis is performed based on data of several historical medical record texts of objects with the same medical record to acquire representative operations of the same disease and the operation time periods corresponding to the operations, so that the accuracy of the acquired operation path corresponding to the target disease is higher.

[0012] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A flowchart of a computer program for executing a system for acquiring an operation path corresponding to a target disease provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0014] 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0015] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0016] Example

[0017] This embodiment provides a system for acquiring an operation path corresponding to a target disease, the system comprising: a processor and a memory storing a computer program, and when the computer program is executed by the processor, the following steps are implemented, such as: Figure 1 As shown:

[0018] S100, obtaining a candidate object ID list A corresponding to the target disease type = {A1, ..., A i , ..., A n} and the candidate information list set E corresponding to A = {E1, ..., E i ,……,E n}, E i ={E i1 ,……,E ir ,……,E is(i)}, E ir ={E 1 ir , E 2 ir}, A i is the ID of the i-th candidate object, E 1 ir A i The first candidate information in the rth candidate information in the corresponding candidate information list, E 2 ir A iThe second candidate information in the rth candidate information in the corresponding candidate information list, i=1...n, n is the number of candidate object IDs, r=1...s(i), s(i) is A i The number of candidate information in the corresponding candidate information list, wherein the first candidate information is the time obtained from the initial medical record text corresponding to the candidate object ID, and the second candidate information is the target label obtained from the initial medical record text corresponding to the candidate object ID.

[0019] Specifically, the target disease is a single disease that will not cause complications, such as acute pancreatitis and other target diseases.

[0020] Specifically, the candidate object ID is a unique identifier that characterizes the candidate object, wherein the candidate object is an object suffering from a target disease.

[0021] Specifically, the candidate information includes first candidate information and second candidate information.

[0022] Specifically, the initial medical record text is the medical record text corresponding to the target disease obtained from the database. Those skilled in the art know that any database in the prior art that can obtain medical record text falls within the protection scope of the present invention and will not be repeated here, such as public medical databases.

[0023] Furthermore, the first candidate information is obtained by obtaining the time entity in the target medical record text through a NER model.

[0024] In a specific embodiment, the target tag is obtained in S100 through the following steps:

[0025] S101, get A i The corresponding target medical record text list includes a plurality of target medical record texts, and the target medical record texts are medical record texts obtained after splitting the initial medical record text according to a preset delimiter.

[0026] Specifically, those skilled in the art know that the preset delimiters can be selected according to actual needs, all of which fall within the protection scope of the present invention and will not be described in detail here, such as the preset delimiters such as period, semicolon, verb, etc.

[0027] S103, obtaining a target model according to a preset tag list, wherein the preset tag list includes a plurality of preset tags, each of which is a word corresponding to a process node in the process of treating the user's body that has developed a disease, and the target model is a model that matches the target medical record text with the preset tags in the preset tag list.

[0028] Specifically, the preset tag list includes several preset tags, wherein the preset tags are words corresponding to process nodes in the process of treating the user's body that has developed the disease, for example: neck examination, blood routine examination, biochemical examination and other preset tags.

[0029] Specifically, in S103, the target model is obtained through the following steps:

[0030] S1031. Obtain a first sample medical record text set according to a preset label list, wherein the first sample medical record text set includes a plurality of first sample medical record text lists, each preset label corresponds to a first sample medical record text list, the first sample medical record text list includes a plurality of first sample medical record texts, and the first sample medical record text is a medical record text marked with a preset label.

[0031] Specifically, the first sample medical record text is obtained by obtaining the medical record text from a database and marking the obtained medical record text with a corresponding preset label.

[0032] Furthermore, those skilled in the art know that any database in the prior art that can obtain medical record texts falls within the protection scope of the present invention and will not be described in detail here, such as a public medical database.

[0033] S1032, based on the first sample medical record text set, obtain an intermediate model and a target parameter η corresponding to the intermediate model, wherein the intermediate model is a model obtained by inputting the first sample medical record text set as a training set into a preset model for training.

[0034] Specifically, the value range of η is 0.9 to 0.99, wherein those skilled in the art know that η can be selected according to actual needs, all of which fall within the protection scope of the present invention and will not be described in detail here.

[0035] Specifically, those skilled in the art know that any method for model training in the prior art falls within the protection scope of the present invention and will not be described in detail here, for example: neural network model, LLM model and other preset models.

[0036] S1033, according to the intermediate model, obtain the first candidate label list C corresponding to the second sample medical record text list = {C1, ..., C j , ..., C m} and the first candidate priority list C corresponding to C 0 ={C 0 1, ..., C 0 j , ..., C 0 m}, C j is the first candidate label corresponding to the jth second sample medical record text, C0 j C j The corresponding first candidate priority.

[0037] Specifically, the second sample medical record text list includes a plurality of second sample medical record texts, wherein the second sample medical record texts are texts obtained by splitting the medical record texts obtained from the database and excluding preset tags.

[0038] Furthermore, the splitting method is splitting by periods or by verbs, which can be understood as: obtaining a long medical record text from a database, splitting the obtained medical record text into short texts one by one according to periods or verbs, and the second sample medical record text is short texts one by one.

[0039] Specifically, the first candidate label is a preset label corresponding to each second sample medical record text obtained by inputting the second sample medical record text set into the intermediate model.

[0040] Furthermore, the first candidate priority is the degree to which the first candidate label corresponding to each second sample medical record text obtained by inputting the second sample medical record text set into the intermediate model matches the preset label in the preset label list.

[0041] S1034, according to C 0 and η, obtain the first specified priority λ 1 , where the first specified priority λ 1 Meet the following conditions:

[0042] λ 1 =λ 0 / m,λ 0 C 0 The number of first candidate priorities that is not less than η.

[0043] S1035, when λ 1 <F 0 When , η = η - η0, and S1032 to S1034 are repeatedly executed until the preset loop termination condition is satisfied, wherein the preset loop termination condition is: λ 1 ≥F 0 , η0 is the preset parameter threshold, F 0 is the preset priority threshold.

[0044] Specifically, the value range of η0 is 0.01 to 0.1, wherein those skilled in the art know that η0 can be selected according to actual needs, all of which fall within the protection scope of the present invention and will not be described in detail here.

[0045] Specifically, the value range of F0 is 0.8 to 0.9, wherein those skilled in the art know that F0 can be selected according to actual needs, all of which fall within the protection scope of the present invention and will not be described in detail here.

[0046] S1036, when λ 1 ≥F 0 , obtain the target model, wherein the target model is an intermediate model with a target parameter of η.

[0047] In the above, based on the first sample medical record text set, the intermediate model is trained, and the model parameters are adjusted using the second sample medical record text set until the preset loop cutoff condition is met. Training and proofreading are performed through different sample data, and the model parameters are continuously adjusted, so that the accuracy of the target model obtained is higher, and thus the accuracy of the target labels obtained subsequently is higher.

[0048] S105: Input the target medical record text list into the target model to obtain A i The corresponding target label list E 2 i , wherein the target tag list includes several target tags, and the target tags are preset tags that can be matched when the target medical record text is input into the target model.

[0049] In another specific embodiment, the target tag is obtained in S100 through the following steps:

[0050] S110, get A i The corresponding target medical record text list L = {L1, ..., L g , ..., L h}, L g is the g-th target medical record text, g=1...h, h is the number of target medical record texts, and the target medical record text is the medical record text obtained after splitting the initial medical record text according to the preset delimiter.

[0051] Specifically, those skilled in the art know that the preset delimiters can be selected according to actual needs, all of which fall within the protection scope of the present invention and will not be described in detail here, such as the preset delimiters such as period, semicolon, verb, etc.

[0052] S120, according to L, obtain the first target tag list L corresponding to L 1 ={L 1 1, ..., L 1 g , ..., L 1 h}, L 1 g For L g The corresponding first target label.

[0053] Specifically, the method for acquiring the first target tag is consistent with the method for acquiring the target tag in the above embodiment, and can refer to steps S103 to S105 in the above embodiment.

[0054] S130, according to L, obtain a second target tag list L corresponding to L 2 ={L 2 1, ..., L 2 g , ..., L 2 h}, L 2 g For L g The corresponding second target label.

[0055] Specifically, in S130, L is obtained by the following steps: 2 g :

[0056] S1301, obtain the target medical record text cluster list H = {H1, ..., H ω , ..., H ψ}, H ω is the ωth target medical record text cluster, ω=1…ψ, ψ is the number of target medical record text clusters.

[0057] Specifically, in S1301, H is obtained through the following steps:

[0058] S11, obtain the sample medical record text vector set Y = {Y1, ..., Y ε , ..., Y z},Y ε is the th sample medical record text vector, ε=1…z, z is the number of sample medical record text vectors.

[0059] Specifically, the sample medical record text vector is a text vector obtained by inputting the sample medical record text into a preset natural language processing model. Those skilled in the art know that any method in the prior art for converting text into a vector through a natural language processing model falls within the scope of protection of the present invention and will not be repeated here.

[0060] Furthermore, the sample medical record text is a medical record text obtained from a database.

[0061] S12, obtain the preferred medical record text vector list set G = {G1, ..., G t , ..., G k1}, G t is the tth preferred medical record text vector list, t=1...k1, k1 is the number of preferred medical record text vector lists.

[0062] Specifically, the preferred medical record text vector list includes several preferred medical record text vectors.

[0063] Furthermore, the preferred medical record text vector is a text vector randomly obtained from Y.

[0064] Specifically, the initial preferred medical record text vector list includes only one preferred medical record text vector.

[0065] S13, according to Y and G, obtain the first similarity list set W corresponding to Y 1 = {W 1 1, ..., W 1 ε , ..., W 1 z},W 1 ε = {W 1 ε1 , ..., W 1 εt , ..., W 1 εk1},W 1 εt Y ε With G t A first similarity between them; those skilled in the art know that any method for obtaining the similarity between vectors in the prior art belongs to the protection scope of the present invention and will not be described in detail here, such as a method for obtaining the first similarity such as a cosine similarity method.

[0066] S14, based on W 1 , get the first intermediate medical record text vector cluster list J 1 ={J 1 1, ..., J 1 t , ..., J 1 k1}, wherein, in S14, J is obtained by the following steps 1 t :

[0067] S141, when W 1 ε W 1 When the first similarity is the smallest, Y ε Insert to G t middle;

[0068] S143, according to G t , get the first center point vector list G corresponding to G 1 = {G 1 1, ..., G 1 t, ..., G 1 k1}, G 1 t G t The corresponding first center point vector.

[0069] Specifically, those skilled in the art know that any method for obtaining multiple vector center points in the prior art falls within the protection scope of the present invention and will not be described in detail herein, such as a method for obtaining the first center point vector such as obtaining an average vector.

[0070] S145, repeat steps S141 to S143 to obtain J 1 t .

[0071] S15, repeating steps S12 to S14 to obtain the second intermediate medical record text vector cluster J = {J 1 , ..., J α , ..., J β}, J α ={J α 1, ..., J α c , ..., J α kα},J α c is the cth second intermediate medical record text vector cluster in the αth second intermediate medical record text vector cluster list, c=1…kα, kα is the number of second intermediate medical record text vector clusters in the αth second intermediate medical record text vector cluster list, α=1…β, β is the number of second intermediate medical record text vector clusters.

[0072] S16, according to J, obtain H, wherein in step S16, H is obtained by the following steps:

[0073] S161, Get J α c The first specified medical record text vector KJ α c and J α c The corresponding second specified medical record text vector list LJ α c ={LJ α c1 , ..., LJ α cμ , ..., LJ α cζ}, L.J. α cμ For J α cThe corresponding μth second designated medical record text vector, μ=1…ζ, ζ is the number of second designated medical record text vectors.

[0074] Specifically, the first specified medical record text vector is J α c Any second intermediate medical record text vector.

[0075] Furthermore, the second specified medical record text vector is J α c Any second intermediate medical record text vector except the first specified medical record text vector.

[0076] S162, Get J α c The corresponding third specified medical record text vector list EJ α ={EJ α c1 , ..., E. J. α cσ , ..., E. J. α cρ}, E.J. α cσ For J α c The corresponding σth third designated medical record text vector, σ=1…ρ, ρ is the number of third designated medical record text vectors.

[0077] Specifically, the third specified medical record text vector is J α J α c Any second intermediate medical record text vector in any other second intermediate medical record text vector cluster.

[0078] S163, according to KJ α c and LJ α c , get the first specified similarity list FJ α c ={FJ α c1 , ..., FJ α cμ , ..., FJ α cζ}, where FJ α cμ For KJ α c and LJ α cμ The similarity between .

[0079] Specifically, the method for obtaining the first specified similarity is consistent with the method for obtaining the first similarity.

[0080] S164, according to KJ α c and E.J. α , get the second specified similarity list BJ α = {BJ α c1 , ..., B.J. α cσ , ..., B.J. α cρ}, where BJ α cσ For KJ α c and E.J. α σ The similarity between .

[0081] Specifically, the method for obtaining the second specified similarity is consistent with the method for obtaining the first specified similarity.

[0082] S165, when FRJ α c is the minimum value and FTJ α c When J is the maximum value, α The corresponding second intermediate medical record text vector cluster list is H, where FRJ α c =(FJ α c1 +……+FJ α cμ +……+FJ α cζ ) / ζ, FTJ α =(BJ α c1 +……+BJ α cσ +……+BJ α cρ ) / ρ.

[0083] Specifically, kα=k1+α.

[0084] In the above, the medical record text is clustered, and different methods are used for the initial clustering to obtain the clustering method with the smallest intra-cluster distance and the largest extra-cluster distance and the clustered medical record text, thereby improving the accuracy of obtaining the medical record text cluster.

[0085] S1303, obtain the target keyword list set DH corresponding to H = {DH1, ..., DH ω , ..., DH ψ}, DH ω H ω Corresponding target keyword list.

[0086] Specifically, the target keyword list includes several target keywords, and the target keywords are keywords obtained from the target medical record text cluster. Those skilled in the art know that any method of obtaining keywords from text in the prior art falls within the protection scope of the present invention and will not be repeated here, for example: methods for obtaining keywords such as TF-IDF algorithm.

[0087] S1305, according to DH and H, obtain the specified label list SH corresponding to H = {SH1, ..., SH ω ,……,SH ψ}, SH ω H ω The corresponding designated tag, wherein in S1305, SH is obtained by the following steps ω :

[0088] S13051, according to H ω and DH ω , get H ω The corresponding target text H 0 ω ={DH ω , H ω}.

[0089] S13053, according to H 0 ω , get SH ω , among which, SH ω To H 0 ω Input the preset labels obtained in the target model.

[0090] S1307, according to H, obtain L g The corresponding target similarity list HL g ={HL g1 , ..., HL gω , ..., HL gψ}, HL gω For L g The corresponding vector and H ω The similarity between corresponding vectors.

[0091] Specifically, those skilled in the art know that any method for converting text into a vector in the prior art falls within the protection scope of the present invention and will not be described in detail herein, for example, methods for converting text into a vector such as the Bert model.

[0092] Furthermore, those skilled in the art know that any method for obtaining the similarity between vectors in the prior art falls within the protection scope of the present invention and will not be described in detail herein, for example, methods for calculating the similarity between vectors such as cosine similarity.

[0093] S1309, when HL gω HL g When the target similarity is the largest, obtain L 2 g SH ω .

[0094] As described above, based on the medical record text cluster and the keywords in the medical record text cluster, the model is used to obtain the label of the medical record text cluster, thereby obtaining the target label corresponding to the target medical record text. By combining clustering and keywords and using the model to obtain labels, the accuracy of the obtained target label is higher.

[0095] S140, when L 1 g With L 2 g When consistent, obtain L 1 g For L g The corresponding target label.

[0096] S150, when L 1 g With L 2 g If inconsistent, obtain L g The corresponding target priority L 0 g .

[0097] Specifically, in S150, L is obtained by the following steps: 0 g :

[0098] S151, input L into the target model, and obtain the candidate label list set P corresponding to L = {P1, ..., P g , ..., P h} and P corresponding candidate matching list set Q = {Q1, ..., Q g , ..., Q h}, where P g = {P g1 , ..., P gd , ..., P gv(g)}, Q g = {Q g1 , ..., Q gd , ..., Q gv(g)}, P gd For L gThe corresponding candidate label in the candidate label list is the dth candidate label, Q gd P gd The corresponding candidate matching degree, d = 1...v(g), v(g) is L g The number of candidate tags in the corresponding candidate tag list, wherein the candidate tags are preset tags that match the target medical record text and are obtained from the preset tag list based on the target model, and the candidate matching degree is the degree of matching between the target medical record text obtained based on the target model and the preset tags.

[0099] Specifically, the method for acquiring the target model is consistent with the method for acquiring the target model described above, and reference may be made to steps S1031 to S1036 in the above embodiment.

[0100] Specifically, the first target tag is the candidate tag corresponding to the largest candidate matching degree in the candidate matching degree list.

[0101] S153, according to P g and Q g , get L g The corresponding target priority L 0 g , where L 0 g Meet the following conditions:

[0102]

[0103] S160, when L 0 g ≥E 0 When L 1 g For L g The corresponding target label, where E 0 is the preset target priority threshold.

[0104] S170, when L 0 g <E 0 When L 2 g For L g The corresponding target label.

[0105] In the above, according to the target medical record text, the first target label and the second target label corresponding to the target medical record text are obtained, and based on whether the first target label and the second target label are consistent, different methods are used to process the obtained first target label and the second target label, and the label corresponding to the medical record text is obtained using the model and the rule respectively. Based on the consistency and inconsistency of the obtained labels, different processing methods are adopted. When the obtained labels are inconsistent, the labels obtained using the model and the weights corresponding to the labels are judged, and different methods are used to obtain the target labels, thereby improving the accuracy of the obtained target labels.

[0106] In another specific embodiment, the target tag is obtained in S100 through the following steps:

[0107] S210, get A i The corresponding target medical record text list L = {L1, ..., L g , ..., L h}, L g is the g-th target medical record text, g=1...h, h is the number of target medical record texts, and the target medical record text is the medical record text obtained after splitting the initial medical record text according to the preset delimiter.

[0108] Specifically, those skilled in the art know that the preset delimiters can be selected according to actual needs, all of which fall within the protection scope of the present invention and will not be described in detail here, such as the preset delimiters such as period, semicolon, verb, etc.

[0109] S310, processing L in a first manner to obtain a first target tag list L corresponding to L 1 ={L 1 1, ..., L 1 g , ..., L 1 h}, L 1 g For L g The corresponding first target label.

[0110] Specifically, the method for acquiring the first target tag is consistent with the method for acquiring the first target tag in the above embodiment, and reference may be made to step S120 in the above embodiment.

[0111] S410, processing L in a second manner, the second target tag list L 2 ={L 2 1, ..., L 2 g , ..., L 2 h}, L 2 g For Lg The corresponding second target label.

[0112] Specifically, the method for acquiring the second target tag is consistent with the method for acquiring the second target tag in the above embodiment, and reference may be made to steps S1301 to S1309 in the above embodiment.

[0113] S510, when L 1 g With L 2 g When consistent, obtain L 1 g For L g The corresponding target label.

[0114] S610, when L 1 g With L 2 g If inconsistent, obtain L g The corresponding target tag, wherein L is obtained by the following steps in S610 g The corresponding target label:

[0115] S611, obtain a sample medical record text set DK = {DK1, ..., DK ε , ..., DK z}, DK ε is the εth sample medical record text, ε=1…z, z is the number of sample medical record texts.

[0116] Specifically, the sample medical record text is a medical record text obtained from a database.

[0117] Furthermore, those skilled in the art know that any database in the prior art that can obtain medical record texts falls within the protection scope of the present invention and will not be described in detail here, such as a public medical database.

[0118] S612, process DK using the first method to obtain a sample label list set corresponding to DK, wherein the sample label list set includes a plurality of sample label lists, the sample label list includes a plurality of sample labels, and each sample medical record text corresponds to a sample label list.

[0119] Specifically, the method for acquiring the sample label is consistent with the method for acquiring the first target label.

[0120] S613, Get L g The corresponding candidate label pair GL g =(L 1 g-1 , L 1 g ), where L1 g-1 For L g-1 The corresponding first target label.

[0121] S614, obtain GL according to the sample label list set g Corresponding key priority FL g , where FL g Meet the following conditions:

[0122] FL g =GL 0 g / z,GL 0 g Include GL in the sample label list set g The number of sample label lists.

[0123] S615, when FL g ≥FL 0 When L 1 g For L g The corresponding target label, FL 0 is the preset critical priority threshold.

[0124] S616, when FL g <FL 0 When L 2 g For L g The corresponding target label.

[0125] As mentioned above, when different processing methods are used to obtain the target label corresponding to the target text, when the obtained labels are inconsistent, the label pairs corresponding to the relevant target text are obtained by using the model, the weights of the label pairs are judged, and different methods are used to obtain the target labels, thereby improving the accuracy of the obtained target labels.

[0126] S200, according to A and E, obtain a candidate weight list M corresponding to the candidate tag list = {M1, ..., M a , ..., M θ},M a is the candidate weight corresponding to the a-th candidate label, a=1……θ, θ is the number of candidate labels, where M a Meet the following conditions:

[0127] M a =M 0 a / n,M 0 a is the number of candidate object IDs corresponding to the candidate information whose second candidate information in the candidate information list in E is consistent with the candidate label.

[0128] Specifically, the candidate tag is the second candidate information obtained after deduplication processing is performed on the second candidate information obtained from each candidate information list.

[0129] S300, according to M, obtain the specified tag list V = {V1, ..., V e , ..., V f},V e is the e-th specified tag, e=1...f, f is the number of specified tags, where M a ≥F 1 When M a The corresponding candidate labels are inserted into V, F 1 is the preset weight threshold.

[0130] Specifically, the F 1 The value range of F is 0.3 to 0.5, wherein those skilled in the art know that F can be adjusted according to actual needs. 1 The selection of all falls within the protection scope of the present invention and will not be repeated here.

[0131] S400, according to E and V, obtain the target time period list T={T1, ..., T ab , ..., T cd The final label list set ST corresponding to T = {ST1, ..., ST ab , ..., ST cd} to obtain the operation path corresponding to the target disease, T ab is the (ab)th target time period corresponding to the target disease, ST ab T ab The corresponding final label list, wherein the final label list includes several final labels, the target time period is the first candidate information obtained from the candidate information list, and the final label is the word involved in the operation process corresponding to the target disease obtained in the target time period, ab=1...cd, cd is the number of target time periods in the target time period list corresponding to the target disease.

[0132] Specifically, S400 also includes the following steps:

[0133] S401, according to E and V, obtain the specified time period list set N corresponding to V = {N1, ..., N e , ..., N f},N e = {N e1 , ..., N ev , ..., N eb(e)},N ev V eThe vth specified time period in the corresponding specified time period list, v = 1...b(e), b(e) is V e The number of specified time periods in the corresponding specified time period list, where b(e) meets the following conditions:

[0134] b(e)=T 0 e / ΔT,T 0 e V e The corresponding candidate object ID starts from the time of recording the medical record to the time of executing V e The longest time span that has passed, ΔT is the preset time span.

[0135] Specifically, the specified time period is a time period divided according to ΔT based on the first candidate information corresponding to each candidate object ID. Those skilled in the art know that ΔT can be selected according to actual needs, which falls within the protection scope of the present invention and will not be repeated here, for example: preset time spans such as half a day and one day.

[0136] Furthermore, the value range of ΔT is 1 day to 1.5 days.

[0137] Furthermore, the time span of each specified time period in the specified time period list corresponding to a specified tag is consistent, and there is no time interval between each specified time period.

[0138] Furthermore, N e1 The corresponding start time is 0.

[0139] S403, according to N, obtain a specified number of list sets N corresponding to N 0 = {N 0 1, ..., N 0 e , ..., N 0 f},N 0 e = {N 0 e1 , ..., N 0 ev , ..., N 0 eb(e)},N 0 ev N ev The corresponding specified quantity.

[0140] Specifically, the specified number is the number of candidate object IDs of the first candidate information obtained from E within the specified time period and the second candidate information corresponding to the first candidate information is consistent with the specified label; it can be understood as: taking the e-th specified label as an example, when the time span of the specified time period is days, the list of specified time periods corresponding to the e-th specified label is: the first day, the second day, the third day...the b-th day, and the specified number corresponding to the first day is the number of candidate object IDs that include this specified label in the second candidate information corresponding to the first candidate information when the first candidate information is on the first day in the entire medical record text record timeline.

[0141] S405, when N 0 e N does not exist in 0 e(v-1) <N 0 ev >N 0 e(v+1) When , ΔT=ΔT-ΔT 0 , S401 to S403 are repeatedly executed until a preset candidate cycle cutoff condition is met, wherein the preset candidate cycle cutoff condition is: N 0 e There is N 0 e(v-1) <N 0 ev >N 0 e(v+1) , N 0 e(v-1) V e The specified number corresponding to the (v-1)th specified time period in the corresponding specified time period list, N 0 e(v+1) V e The specified quantity corresponding to the (v+1)th specified time period in the corresponding specified time period list, ΔT 0 is the preset time span threshold.

[0142] Specifically, ΔT 0 The value range is 3 hours to 6 hours.

[0143] S407, when N 0 e There is N 0 e(v-1) <N 0 ev >N 0 e(v+1) When V e and V e A corresponding key time period list, wherein the key time period list includes several key time periods.

[0144] Specifically, in S407, the key time period is obtained through the following steps:

[0145] S4071, according to N 0 ev , get V e Corresponding middle time period list TV e and TV e The corresponding intermediate priority list, wherein the intermediate time period list includes several intermediate time periods, the intermediate priority list includes several intermediate priorities, and the intermediate priority is V e The ratio between the specified number and n in the corresponding intermediate time period, where N 0 e(τ-1) >N 0 eτ <……<N 0 e(v-1) <N 0 ev >……>N 0 eδ <N 0 e(δ+1) Get TV e = {N eτ , ..., N e(v-1) , N ev , ..., N eδ},N eτ V e The τth specified time period in the corresponding specified time period list, N 0 eτ N eτ The corresponding specified number, N eδ V e The corresponding specified time period in the specified time period list, N 0 eδ N eδ The corresponding specified number, N 0 e(τ-1) V e The specified number corresponding to the (τ-1)th specified time period in the corresponding specified time period list, N 0 e(δ+1) V e The specified quantity corresponding to the (δ+1)th specified time period in the corresponding specified time period list.

[0146] S4073, when TV e When the intermediate priority in the corresponding intermediate priority list exceeds the preset intermediate priority threshold, the intermediate time period corresponding to the intermediate priority is obtained as V e The corresponding key time period.

[0147] Specifically, the value range of the preset intermediate priority threshold is 0.3 to 0.5. Those skilled in the art know that the preset intermediate priority threshold can be selected according to actual needs, which falls within the protection scope of the present invention and will not be repeated here.

[0148] S409, the obtained V e Inserted into ST and V e The corresponding key time period list is inserted into T to obtain T and ST.

[0149] As mentioned above, for the same disease, consider obtaining the operation path corresponding to the disease based on historical data, determine the number of related objects by setting different time periods, and perform statistical analysis based on historical data to obtain representative operations for the same disease and the operation time periods corresponding to the operations, so that the accuracy of the operation path corresponding to the target disease obtained is higher.

[0150] The present embodiment provides a system for acquiring operation paths corresponding to target diseases. The system includes: a processor and a memory storing a computer program. When the computer program is executed by the processor, the following steps are implemented: acquiring a candidate object ID list corresponding to the target disease and a candidate information list set corresponding to the candidate object ID list; acquiring a candidate weight list corresponding to the candidate label list based on the candidate object ID list and the candidate information list set; acquiring a designated label list based on the candidate weight list; acquiring a target time period list corresponding to the target disease based on the candidate information list set and the designated label list. The present invention improves the efficiency of acquiring operation paths for the disease by continuously training a model and using the model to acquire labels in medical record texts, i.e., words involved in the operation process corresponding to the disease; performing statistical analysis based on data of several historical medical record texts of subjects with the same medical record, acquiring representative operations for the same disease and the operation time periods corresponding to the operations, so that the acquired operation paths corresponding to the target disease have higher accuracy.

[0151] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.

Claims

1. A system for acquiring operation paths corresponding to target diseases, characterized in that: The system comprises: a processor and a memory storing a computer program, and when the computer program is executed by the processor, the following steps are implemented: S100, obtain the candidate object ID list A corresponding to the target disease type = {A1, ..., A i , ..., A n } and the candidate information list set E corresponding to A = {E1, ..., E i ,……,E n }, E i ={E i1 ,……,E ir ,……,E is(i) }, E ir ={E 1 ir , E 2 ir }, A i is the ID of the i-th candidate object, E 1 ir A i The first candidate information in the rth candidate information in the corresponding candidate information list, E 2 ir A i The second candidate information in the rth candidate information in the corresponding candidate information list, i=1...n, n is the number of candidate object IDs, r=1...s(i), s(i) is A i The number of candidate information in the corresponding candidate information list, wherein the first candidate information is the time obtained from the initial medical record text corresponding to the candidate object ID, the second candidate information is the target label obtained from the initial medical record text corresponding to the candidate object ID, the target label is the preset label that can be matched when the target medical record text is input into the target model, and the preset label is the word corresponding to the process node in the process of processing the user's body that has caused the disease; S200, according to A and E, obtain the candidate weight list M={M1, ..., M a , ..., M θ },M a is the candidate weight corresponding to the a-th candidate label, a=1…θ, θ is the number of candidate labels, where M a Meet the following conditions: M a =M 0 a / n,M 0 a is the number of candidate object IDs corresponding to the candidate information whose second candidate information in the candidate information list E is consistent with the candidate label; S300, according to M, obtain the specified tag list V={V1, ..., V e , ..., V f },V e is the e-th specified label, e=1…f, f is the number of specified labels, among which, when M a ≥F 1 When M a The corresponding candidate labels are inserted into V, F 1 is the preset weight threshold; S400, according to E and V, obtain the target time period list T={T1, ..., T ab , ..., T cd The final label list set ST corresponding to T = {ST1, ..., ST ab , ..., ST cd } to obtain the operation path corresponding to the target disease, T ab is the (ab)th target time period corresponding to the target disease, ST ab T ab The corresponding final label list, wherein the final label list includes several final labels, the target time period is the first candidate information obtained from the candidate information list, and the final label is the word involved in the operation process corresponding to the target disease obtained in the target time period, ab=1...cd, cd is the number of target time periods in the target time period list corresponding to the target disease.

2. The system for acquiring target disease corresponding operation paths according to claim 1, characterized in that: The candidate object ID is a unique identifier that characterizes the candidate object, wherein the candidate object is an object suffering from the target disease.

3. The system for acquiring the operation path corresponding to the target disease according to claim 1, characterized in that: The initial medical record text is the medical record text corresponding to the target disease type obtained from the database.

4. The system for acquiring operation paths corresponding to target diseases according to claim 1, characterized in that: In S100, the target tag is obtained through the following steps: S101, get A i A corresponding target medical record text list, wherein the target medical record text list includes a plurality of target medical record texts, wherein the target medical record texts are medical record texts obtained by splitting the initial medical record texts according to a preset delimiter; S103, acquiring a target model according to a preset tag list, wherein the preset tag list includes a plurality of preset tags, each of which is a word corresponding to a process node in a process of treating a user's body that has developed a disease, and the target model is a model that matches a target medical record text with a preset tag in the preset tag list; S105: Input the target medical record text list into the target model to obtain A i The corresponding target label list E 2 i , wherein the target tag list includes several target tags, and the target tags are preset tags that can be matched when the target medical record text is input into the target model.

5. The system for acquiring target disease corresponding operation paths according to claim 1, characterized in that: S400 also includes the following steps: S401, according to E and V, obtain the specified time period list set N={N1, ..., N e , ..., N f },N e ={N e1 , ..., N ev , ..., N eb(e) },N ev V e The vth specified time period in the corresponding specified time period list, v=1…b(e), b(e) is V e The number of specified time periods in the corresponding specified time period list, where b(e) meets the following conditions: b(e)=T 0 e / ∆T,T 0 e V e The corresponding candidate object ID starts from the time of recording the medical record to the time of executing V e The longest time span elapsed, ∆T is the preset time span; S403, according to N, obtain a specified number of list sets N corresponding to N 0 ={N 0 1, ..., N 0 e , ..., N 0 f },N 0 e ={N 0 e1 , ..., N 0 ev , ..., N 0 eb(e) },N 0 ev N ev The corresponding specified quantity; S405, when N 0 e N does not exist in 0 e(v-1) <N 0 ev >N 0 e(v+1) When ∆T=∆T-∆T 0 , S401 to S403 are repeatedly executed until a preset candidate cycle cutoff condition is met, wherein the preset candidate cycle cutoff condition is: N 0 e There is N 0 e(v-1) <N 0 ev >N 0 e(v+1) , N 0 e(v-1) V e The specified number corresponding to the (v-1)th specified time period in the corresponding specified time period list, N 0 e(v+1) V e The specified quantity corresponding to the (v+1)th specified time period in the corresponding specified time period list, ∆T 0 is the preset time span threshold; S407, when N 0 e There is N 0 e(v-1) <N 0 ev >N 0 e(v+1) When V e and V e a corresponding key time period list, wherein the key time period list includes a plurality of key time periods; S409, the obtained V e Inserted into ST and V e The corresponding key time period list is inserted into T to obtain T and ST.

6. The system for acquiring operation paths corresponding to target diseases according to claim 5, characterized in that: The specified time period is a time period divided according to ∆T based on the first candidate information corresponding to each candidate object ID.

7. The system for acquiring target disease corresponding operation paths according to claim 6, characterized in that: The value range of ∆T is 1 day to 1.5 days.

8. The system for acquiring target disease corresponding operation paths according to claim 5, characterized in that: The specified number is the number of candidate object IDs whose first candidate information is obtained from E within a specified time period and whose second candidate information corresponding to the first candidate information is consistent with the specified label.

9. The system for acquiring target disease corresponding operation paths according to claim 5, characterized in that: In S407, the key time period is obtained through the following steps: S4071, according to N 0 ev , get V e Corresponding middle time period list TV e and TV e The corresponding intermediate priority list, wherein the intermediate time period list includes several intermediate time periods, the intermediate priority list includes several intermediate priorities, and the intermediate priority is V e The ratio between the specified number and n in the corresponding intermediate time period, where N 0 e(τ-1) >N 0 eτ <……<N 0 e(v-1) <N 0 ev >……>N 0 eδ <N 0 e(δ+1) Get TV e ={N eτ , ..., N e(v-1) , N ev , ..., N eδ },N eτ V e The τth specified time period in the corresponding specified time period list, N 0 eτ N eτ The corresponding specified number, N eδ V e The corresponding specified time period in the specified time period list, N 0 eδ N eδ The corresponding specified number, N 0 e(τ-1) V e The specified number corresponding to the (τ-1)th specified time period in the corresponding specified time period list, N 0 e(δ+1) V e The specified quantity corresponding to the (δ+1)th specified time period in the corresponding specified time period list; S4073, when TV e When the intermediate priority in the corresponding intermediate priority list exceeds the preset intermediate priority threshold, the intermediate time period corresponding to the intermediate priority is obtained as V e The corresponding critical time period.

Citation Information

Patent Citations

  • Medical content recommendation server, terminal, system, method and electronic equipment

    CN116244493A

  • Personalized medical image diagnosis path generation system and method

    CN116469542A