Multi-knowledge-base clinical decision-making method based on model chain, electronic equipment and medium

By employing a model-chain-based multi-knowledge-base clinical decision-making approach, which combines phased reasoning with explicit injection of medical knowledge from multiple knowledge bases, the system addresses the shortcomings in flexibility and accuracy of existing clinical decision support systems, achieving more transparent and accurate clinical decision support.

CN120853897AActive Publication Date: 2025-10-28THE FIRST HOSPITAL OF HEBEI MEDICAL UNIV +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511350110.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-22
Publication Date
2025-10-28
Estimated Expiration
2045-09-22

AI Technical Summary

Technical Problem

Existing clinical decision support systems lack flexibility and accuracy in decision-making mechanisms when faced with a vast amount of knowledge, complex medical environments, and significant individual differences among patients. They also struggle to integrate with physician experience and lack transparency in the decision-making process.

Method used

We adopt a model-chain-based multi-knowledge-base clinical decision-making method. Through a phased reasoning process, we break down decision support into three tasks: disease diagnosis, medication recommendation generation, and laboratory test recommendations. We use multiple knowledge bases to explicitly inject medical knowledge, making the reasoning process transparent. We combine a large language model to perform case conversion and recommendation generation.

Benefits of technology

It improves the accuracy and flexibility of clinical decision-making, is better suited to individual differences, enhances the transparency of decision-making and its synergy with physician experience, and provides comprehensive and accurate clinical support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120853897A_ABST
    Figure CN120853897A_ABST
Patent Text Reader

Abstract

The invention provides a multi-knowledge-base clinical decision-making method based on a model chain, electronic equipment and a medium, and relates to the technical field of medical data processing, the method comprises the following steps: in response to a clinical decision-making instruction, converting an unstructured medical record description of a patient indicated by the clinical decision-making instruction into a structured medical record through a first model chain node, generating a disease prediction result of the patient from the structured medical record by referring to the disease diagnosis knowledge block; giving a medication suggestion by referring to the medication knowledge block through a second model chain node and combining the structured medical record and the disease prediction result; a third model chain node refers to the inspection knowledge block, and an inspection suggestion is given in combination with the structured medical record and the disease prediction result; and feeding back the disease prediction result, the medication suggestions and the inspection suggestions to a doctor end for display so as to assist the doctor in generating a clinical decision for the patient. And doctors can be assisted to obtain more accurate clinical decisions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of medical data processing technology, and more specifically, to a multi-knowledge base clinical decision-making method, electronic device, and medium based on model chains. Background Technology

[0002] As the medical field continues to evolve towards personalization and intelligence, Clinical Decision Support Systems (CDSS) are gradually becoming important auxiliary tools for improving the quality of diagnosis and treatment, reducing misdiagnosis rates, and enhancing treatment outcomes. Traditional CDSS systems, based on rule engines or expert systems, provide clinical decision suggestions to physicians through pre-set rules and knowledge bases. While they have a certain range of applications in areas such as assisted diagnosis, treatment recommendations, and drug interaction warnings, their decision-making mechanisms are singular and fixed, lacking flexibility and interpretability. Especially when faced with vast amounts of knowledge, complex medical environments, and significant individual differences among patients, the accuracy of decision support still needs improvement. Summary of the Invention

[0003] The purpose of this application is to provide a multi-knowledge base clinical decision-making method, electronic device, and medium based on model chains, in order to solve the technical problem of poor flexibility and accuracy of decision-making mechanisms in existing clinical decision support systems.

[0004] In a first aspect, the present invention provides a multi-knowledge-base clinical decision-making method based on model chains. The method includes, in response to a clinical decision instruction, converting the unstructured medical record description of the patient indicated by the clinical decision instruction into a structured medical record through a first model chain node, and generating a disease prediction result for the patient from the structured medical record with reference to a disease diagnosis knowledge block; providing medication recommendations by referring to a medication knowledge block through a second model chain node, combining the structured medical record and the disease prediction result; providing laboratory test recommendations by referring to a laboratory test knowledge block through a third model chain node, combining the structured medical record and the disease prediction result; and feeding back the disease prediction result, medication recommendations, and laboratory test recommendations to the doctor for display, so as to assist the doctor in generating clinical decisions for the patient.

[0005] In a second aspect, the present invention provides an electronic device, comprising: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform any of the steps of a multi-knowledge base clinical decision-making based on a model chain as described in the foregoing embodiments.

[0006] Thirdly, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of any of the model chain-based multi-knowledge base clinical decision-making methods described in the foregoing embodiments.

[0007] This application provides a model chain-based multi-knowledge base clinical decision-making method, electronic device, and medium. The method includes, in response to a clinical decision instruction, converting the patient's unstructured medical record description as indicated by the clinical decision instruction into a structured medical record through a first model chain node, and extracting the patient's disease prediction results from the structured medical record with reference to a disease diagnosis knowledge block; providing medication recommendations by referencing a medication knowledge block through a second model chain node, combining the structured medical record and disease prediction results; and providing laboratory test recommendations by referencing a laboratory test knowledge block through a third model chain node, combining the structured medical record and disease prediction results; and feeding back the disease prediction results, medication recommendations, and laboratory test recommendations to the physician for display, thereby assisting the physician in generating clinical decisions for the patient. The model chain designed in this application breaks down decision support into three tasks: disease diagnosis, medication recommendation generation, and laboratory test recommendation. The model chain reasoning is staged, and medical knowledge is injected in batches from multiple knowledge bases. The reasoning process is transparent, allowing for better collaboration with physician experience, thereby assisting physicians in obtaining more accurate clinical decisions. It also makes diagnostic decisions more interpretable and better applicable to individuals with different differences, offering good flexibility. Attached Figure Description

[0008] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0009] Figure 1 A structural diagram of an inference link provided in an embodiment of this application; Figure 2 This is a schematic diagram of an epilepsy classification framework in a disease guideline provided in an embodiment of this application; Figure 3 A flowchart of a multi-knowledge-base clinical decision-making method based on model chains provided in this application; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0010] First, the application scenario of this application will be described. This application can be applied to the design of clinical decision support systems.

[0011] Existing knowledge-based and rule-based clinical decision support (CDSS) systems typically use fixed rules, such as IF-THEN rules, ontology, or logical conditions, to store clinical knowledge and form a knowledge base. A rule engine then matches patient data with these knowledge base rules to derive relevant diagnoses and recommendations. While the system structure is simple and easy to understand, rule and knowledge updates rely on manual maintenance, making it unable to automatically adapt to emerging new disease patterns, drug therapies, and laboratory tests. This results in poor scalability. Furthermore, significant individual differences among patients, varying symptoms, and complex diagnostic and treatment logic make it difficult to define with rigid rules, leading to insufficient flexibility and limiting the system's decision support capabilities.

[0012] With advancements in machine learning and natural language processing technologies, AI-driven intelligent CDSS systems, powered by artificial intelligence algorithms, perform large-scale data analysis and pattern recognition based on extensive historical patient data and real-time monitoring information, thereby making accurate predictions and decisions. However, these models are often considered "black boxes," meaning their decisions typically only provide the outcome, the decision-making process is opaque, difficult to integrate with doctors' experience, and not easily understood or verified by doctors. This hinders doctors' trust and the effectiveness of the system's application. Furthermore, the models lack explicit reasoning capabilities regarding medical knowledge logic, potentially conflicting with clinical common sense.

[0013] Based on this, this application provides a multi-knowledge base clinical decision-making method, electronic device, and medium based on model chains.

[0014] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0015] Example 1 The clinical decision support system provided in this application includes three knowledge bases: disease diagnosis, medication, and laboratory tests, as well as a LangChain-driven inference chain.

[0016] In one implementation, multiple knowledge bases are constructed, specifically including the construction of a disease diagnosis knowledge base, a medication knowledge base, and a laboratory test knowledge base.

[0017] Specifically, the target disease guidelines can be preprocessed to obtain standard-format disease guideline text. The medical knowledge recorded in the disease guidelines can include text, tables, images, etc. Here, the text and tables in the target disease guidelines can be hierarchically classified and converted to Markdown format. The images and the eighth prompt word template from the target disease guidelines are input into the fifth model chain node to obtain the image description text output by the fifth model chain node, which is then converted to Markdown format. The fifth model chain node can use a multimodal large model, such as the Qwen-vl series model.

[0018] For example, the original PDF or Word version of the disease guideline is preprocessed into Markdown format to supplement the knowledge in the large language model. The preprocessing stage requires restoring the guideline's hierarchical heading information as much as possible, dividing it into first-level, second-level, and third-level headings based on the table of contents and main text headings, ideally not exceeding six levels. Tables are organized in Markdown format, which can be done manually or generated by tools and then manually reviewed. Text formatting is restored to the guideline, including bolding, italics, and superscripts.

[0019] Images from disease guidelines can be input into a multimodal large model to be described in detail using natural language. Figure 2 For example, uploading the image to a multimodal model and writing the prompt "Describe the 2017 ILAE epilepsy classification framework in detail with the image, outputting a paragraph" will give the model a natural language description of the image: "The 2017 International League Against Epilepsy (ILAE) epilepsy classification framework integrates the multidimensional characteristics of epilepsy in a hierarchical structure, forming a complete classification system from clinical manifestations to potential causes. The leftmost side of the framework emphasizes 'comorbidities' (such as cognitive impairment or mental illness), suggesting that epilepsy management should pay attention to accompanying symptoms. The core part is divided into three layers: Seizure type (top layer) is divided into focal (abnormal discharge in a specific brain region), generalized (synchronous discharge throughout the brain), and unknown origin based on electrophysiological origin; Epilepsy type (middle layer) is further refined, including focal and generalized." The epilepsy classification system is divided into several levels, including comprehensive and focal mixed types (such as Lennox-Gastaut syndrome) and unknown types; epilepsy syndromes (the bottom level) define the disease entity by combining specific clinical characteristics (such as age of onset and EEG pattern) (such as childhood absence epilepsy). The right-hand etiology classification horizontally connects all levels, covering structural (such as brain tumors), genetic (such as SCN1A gene mutations), infectious (such as sequelae of encephalitis), metabolic (such as porphyria), immune (such as autoimmune encephalitis), and unknown causes, emphasizing a mechanism-based approach to guide precision diagnosis and treatment. This framework constructs a multi-dimensional, traceable epilepsy classification system through vertical stratification of "symptom-type-syndrome-etiology" and horizontal expansion of "comorbidity-etiology," providing a structured foundation for individualized treatment and research. The standard format disease guideline text is decomposed into knowledge slices for disease diagnosis, medication, and laboratory tests.

[0020] Here, medical experts can deconstruct the pre-processed guideline text and reorganize the document into three categories: disease diagnosis knowledge, medication knowledge, and laboratory test knowledge. Taking the "Clinical Practice Guidelines - Epilepsy Volume" (2023 Revised Edition) as an example, the book has 13 chapters, systematically introducing the definition, classification, diagnosis, and prognosis of epilepsy; drug treatment and surgical treatment; diagnosis and management of status epilepticus; diagnosis and management of drug-resistant epilepsy; electroencephalography and neurophysiological monitoring; epilepsy-related imaging techniques; comorbidities of epilepsy; precautions for epilepsy patients' medical visits and treatment; comprehensive management of epilepsy patients; and traditional Chinese medicine diagnosis and treatment of epilepsy. After deconstruction, the original chapter content and specific details of the disease diagnosis knowledge, medication knowledge, and laboratory test knowledge are shown in Table 1 below.

[0021] Table 1 Knowledge Decomposition Mapping Table

[0022] Each knowledge slice is input into the fourth model chain node to obtain the corresponding disease diagnosis knowledge block vector output by the fourth model chain node. Here, the document can be further segmented according to chapters, paragraphs, or specified character lengths, and then vectorized using embedding models such as bge-large-zh-v1.5 and gte-Qwen2-7B-instruct.

[0023] Based on the association and storage of all knowledge block vectors and corresponding disease diagnosis knowledge slices, a disease diagnosis knowledge base, a medication knowledge base, and a laboratory test knowledge base are constructed respectively.

[0024] This application's knowledge base employs multi-knowledge base construction, knowledge block matching, and model chain reasoning to drive a large language model to generate complete disease diagnoses, medication recommendations, and laboratory test suggestions based on guideline knowledge and patient medical records, providing comprehensive clinical decision support for doctors and patients. The multi-knowledge base is vectorized and stored using an embedding model, simplifying construction and updates.

[0025] The inference link is used to obtain unstructured medical record descriptions input by users, and to generate disease prediction results, medication suggestions, and test and examination suggestions through the various models on the link.

[0026] Figure 1 This is a structural diagram of an inference link provided in an embodiment of this application. Figure 1As shown, the inference chain can include a first model chain node, a second model chain node, a third model chain node, and a fourth model chain node. The first model chain node includes first model chain sub-nodes, second model chain nodes, and third model chain nodes. The second model chain node includes fourth model chain sub-nodes and fifth model chain nodes. The third model chain node includes sixth model chain sub-nodes and seventh model chain nodes.

[0027] The first, second, and third model chain nodes are connected sequentially. The input of the fourth model chain node is connected to the output of the first model chain node, and the output of the fourth model chain node is connected to the inputs of the second, fourth, and sixth model chain nodes, respectively.

[0028] The input of the fourth model chain node is also connected to the outputs of the first and third model chain nodes, and the output of the fourth model chain node is connected to the fifth model chain node. The input of the sixth model chain node is also connected to the outputs of the first and third model chain nodes, and the output of the sixth model chain node is connected to the seventh model chain node.

[0029] In one implementation, both the model chain nodes and model chain child nodes contain AI models, interfaces, and other components. These model chain nodes and child nodes can use the same or different models. Specifically, the fourth model chain node can include an embedding model, such as bge-large-zh-v1.5 or gte-Qwen2-7B-instruct, for knowledge vectorization. The first, second, third, fourth, fifth, sixth, and seventh model chain nodes can include language models, such as the Qwen series models.

[0030] Furthermore, the reasoning process of the inference chain may include the following steps: Chain1-1: Based on the medical record collection template, unstructured natural language medical records are standardized into structured medical records.

[0031] First prompt template: You are a medical expert and need to generate structured medical records. Please generate a structured medical record for the patient based on the patient's medical record description {unstructured medical record description} and the {medical record collection template}.

[0032] Chain1-2: Based on the structured medical records generated by Chain1-1 and the matched TopN disease diagnosis-related knowledge blocks, it infers and generates a comprehensive diagnostic result and reasoning process.

[0033] Second prompt template: You are a medical expert and need to generate a comprehensive diagnosis. Based on the patient's medical record {structured medical record} and referring to the knowledge in {disease diagnosis knowledge blocks}, please generate a comprehensive diagnostic result, including diagnostic suggestions, suggestions for further examinations, differential diagnosis, etiological analysis, and treatment methods.

[0034] Chain1-3: Extract disease diagnosis results from the comprehensive diagnosis results generated by Chain1-2.

[0035] Third prompt template: You are a medical expert and need to extract core information from diagnostic results. Please extract the disease prediction results from {Comprehensive Diagnostic Results}.

[0036] Chain2-1: Based on the structured medical records generated by Chain1-1, the matched TopN medication-related knowledge, and the disease diagnosis results extracted by Chain1-3, medication suggestions and reasoning processes are generated.

[0037] Fourth prompt template: You are a medical expert and need to generate a medication-specific module. Referencing the knowledge in the {Medication Knowledge Block}, and combining the medical records {Structured Medical Records} and preliminary diagnostic results {Diagnostic Results}, generate medication recommendations and reasoning processes.

[0038] Chain2-2: Extract medication recommendations from the medication projects generated by Chain2-1.

[0039] Fifth prompt template: You are a medical expert and need to complete the extraction of core medical information. Please extract medication recommendations from {Medication-Specific Generation}.

[0040] Chain3-1: Based on the structured medical records generated by Chain1-1, the relevant knowledge of the matched TopN tests, and the disease diagnosis results extracted by Chain1-3, it infers and generates test recommendations.

[0041] Sixth prompt template: You are a medical expert and need to generate a specific test and examination report. Referencing the knowledge in the {Test and Examination Knowledge Block}, and combining the medical records {Structured Medical Records} and preliminary diagnostic results {Diagnostic Results}, generate test and examination recommendations and reasoning processes.

[0042] Chain3-2: Extracts inspection and testing suggestions from the inspection and testing items generated by Chain3-1.

[0043] Seventh prompt template: You are a medical expert and need to complete the extraction of core medical information. Please extract test and examination suggestions from {Test and Examination Specialization Generation}.

[0044] This application provides a clinical decision support system that employs staged reasoning through a model chain, combined with explicit injection of medical knowledge from multiple knowledge bases, ensuring transparency in the reasoning process. Decision support is broken down into three tasks: disease diagnosis, medication recommendation generation, and laboratory test recommendation generation. Diagnosis-related knowledge is provided in the comprehensive diagnosis generation stage, medication-related knowledge in the medication-specific generation stage, and laboratory test recommendation generation stage, enabling batch injection of knowledge and improving the matching and relevance between tasks and knowledge. Furthermore, in the comprehensive diagnosis stage, although only disease diagnosis-related knowledge is provided, in addition to diagnostic suggestions, the model is required to generate further laboratory test recommendations, differential diagnoses, etiological analyses, and treatment methods, thereby improving the accuracy of disease diagnosis. The medication-specific generation and laboratory test recommendation generation stages reference the extracted preliminary diagnostic results, avoiding interference from the output of the comprehensive diagnosis stage, effectively improving the accuracy of medication and laboratory test recommendations.

[0045] Example 2 Figure 3 A flowchart illustrating a multi-knowledge-base clinical decision-making method based on model chains provided in this application. Figure 3 As shown, this application provides a multi-knowledge-base clinical decision-making method based on model chains, which specifically includes: S1. In response to clinical decision instructions, the unstructured medical record description of the patient indicated by the clinical decision instructions is converted into a structured medical record through the first model chain node, and the patient's disease prediction results are generated from the structured medical record with reference to the disease diagnosis knowledge block.

[0046] Clinical decision instructions here can be generated by doctors through the human-computer interaction interface provided by the doctor's end and sent to the inference link.

[0047] In step S1, for the unstructured medical record description input by the user, the unstructured medical record description of the patient indicated by the clinical decision instruction is first converted into a structured medical record through the first model chain node.

[0048] In one implementation, the unstructured medical record description of the patient indicated by the clinical decision instruction and the first prompt word template can be input into the first model chain sub-node to obtain the structured medical record output by the first model chain node, wherein the first prompt word template is used to indicate the preset case collection template.

[0049] Unstructured medical records typically include the patient's basic information, medical history, medical history, and auxiliary examination results. Chain1-1 can generate structured medical records for patients using a large model based on the following medical record collection template: Outpatient medical records (all visit records): (a) Basic patient information Gender, age, and time of visit; (ii) Chief Complaint Symptoms, duration from the first onset to the present; (iii) Present Illness Clinical manifestations of the attack, duration of the attack, frequency of the attack, prodromal symptoms, triggers, time of day when the attack occurs (related to sleep and menstruation), name of the medication used in the past, dosage, frequency of use, efficacy of the medication, side effects of the medication, and time range of use of the medication; (iv) Past medical history, personal history and growth and development history Perinatal condition (whether it was full term, whether there was dystocia), medical history, history of brain surgery, history of trauma, growth and development, history of febrile seizures; (v) Auxiliary examinations Head MRI (date, description, conclusion); Head CT (date, description, conclusion); Head magnetoencephalography (date, description, conclusion); Electroencephalography (date, test duration, description, conclusion); Genetic testing (mutation site); Blood tests (date, test items, results); Cerebrospinal fluid examination (date, test items, results); (vi) Diagnosis Seizure type, syndrome; (vii) Treatment received during this visit Drugs (drug name, dosage, frequency of administration); neuromodulation (name of modulation technique); surgery (type of surgery); (viii) For cases requiring long-term follow-up, add the diagnosis and treatment process. Medications (drug name, dosage, frequency of use, efficacy [including seizure frequency and EEG changes], side effects, and duration of use); neuromodulation (treatment plan, efficacy [including seizure frequency and EEG changes], and side effects); surgery (surgery type, efficacy [including seizure frequency and EEG changes]); follow-up EEG (date, duration of examination, description, and conclusion).

[0050] For example, consider the locally deployed large model Qwen-72B and the unstructured medical record description: "Zhang, male, 10 years old, October 15, 2024. Chief complaint: paroxysmal convulsions for 6 months. Present illness: Paroxysmal convulsions began 6 months ago, with one episode in April, one in September, and one in October of this year. The convulsions occur during sleep, manifesting as left-sided facial twitching accompanied by limb jerking. Ancillary examinations: Head MRI showed no abnormalities. Video EEG: a few sharp waves in the T4 region." The corresponding structured medical record for patient Zhang would be as follows: "**Outpatient Medical Records (All Visit Records)**" (a) Basic patient information Gender: Male; Age: 10 years old; Date of visit: 2024-10-15; (ii) Chief Complaint Symptoms: Paroxysmal seizures; Duration from first episode to present: 6 months; (iii) Present Illness Clinical manifestations of the attack: The attack occurs during sleep, manifesting as left-sided facial twitching accompanied by limb twitching; Duration of the attack: Unknown; Frequency of the attack: 3 attacks in the past 6 months (1 each in April, September and October of this year); Prodromal symptoms: No obvious prodromal symptoms; Trigger: Unknown; Time of onset: During sleep; Previous medication: None; Drug efficacy: None; Drug side effects: None; Duration of medication use: None; (iv) Past medical history, personal history and growth and development history Perinatal condition: Unknown; Medical history: None; History of brain surgery: None; History of trauma: None; Growth and development: Normal; History of febrile seizures: None; (v) Auxiliary examinations Head MRI (Date: Unknown; Description: No abnormalities; Conclusion: Normal); Electroencephalogram (Date: Unknown; Test duration: Unknown; Description: A few sharp waves in the T4 region; Conclusion: Abnormal); (vi) For cases requiring long-term follow-up, add the diagnosis and treatment process. This is the first visit of this patient, and there is currently no long-term follow-up record.

[0051] The above is the content of the outpatient medical record information collection template generated based on the provided medical record description. Please note that certain specific details, such as the specific dates of auxiliary examinations, are not listed in detail in the above medical record because they were not provided in the original description. If necessary, it is recommended to supplement the complete information to ensure the accuracy and completeness of the medical record. After obtaining the structured medical records, you can first search for knowledge blocks. Specifically, this can be achieved through the following steps: The structured medical records are input into the fourth model chain node to obtain the structured medical record vectors corresponding to the structured medical records output by the fourth model chain node. The similarity between the structured medical record vectors and the relevant knowledge block vectors in the preset knowledge base is calculated. The preset knowledge base includes at least a disease diagnosis knowledge base, a medication knowledge base, and a laboratory test knowledge base. Based on the similarity, the top N target knowledge block vectors are determined to identify the corresponding disease diagnosis knowledge block, medication knowledge block, and laboratory test knowledge block, respectively.

[0052] Specifically, cosine similarity can be used to calculate the similarity between vectors.

[0053] Next, the patient's disease prediction results can be extracted using the following methods: Input the structured medical records, disease diagnosis knowledge blocks, and second prompt word templates into the second model chain sub-nodes to obtain the comprehensive diagnostic results and reasoning process output by the second model chain node.

[0054] For example, the comprehensive diagnostic structure and reasoning process corresponding to Zhang can be represented as follows: "### Diagnostic Recommendations" #### Seizure Types and Syndromes Preliminary diagnosis: Focal seizures, possibly benign childhood epilepsy with centrotemporal spikes (BECTS).

[0055] Diagnostic basis: 1. The patient is a 10-year-old male who has had three episodes in the past six months since his first episode.

[0056] 2. The attacks mainly occur during sleep, manifesting as left-sided facial twitching, accompanied by limb twitching.

[0057] 3. No obvious warning signs, and the frequency of attacks is low.

[0058] 4. The cranial MRI showed no abnormalities, but the electroencephalogram (EEG) showed a few sharp waves in the T4 region, suggesting focal abnormalities.

[0059] Confidence level of inference diagnosis: 70% Further testing and examination (1) Follow-up MRI of the head: to confirm whether there are any new structural abnormalities. (2) Long-term video EEG monitoring: to capture EEG during the seizure period and to clarify the seizure type and origin. (3) Genetic testing: to rule out the possibility of hereditary epilepsy.

[0060] ###Differential Diagnosis (1) Psychogenic non-epileptic seizures: ruled out through detailed medical history and long-term video EEG monitoring. (2) Sleep disorders: especially NREM parasomnias, ruled out through long-term video EEG monitoring and sleep monitoring. (3) Metabolic causes: ruled out through blood and urine metabolic screening.

[0061] ###Treatment Plan Drug treatment: Oxcarbazepine: The initial dose is 10 mg / kg / day, taken orally in two divided doses. The dose should be gradually adjusted based on efficacy and tolerability.

[0062] Sodium valproate: If oxcarbazepine is ineffective, it can be considered for use. The initial dose is 10-15 mg / kg / day, divided into two oral doses.

[0063] Lifestyle adjustments: Ensure sufficient sleep and avoid excessive fatigue. Avoid triggering factors such as bright light and noise.

[0064] Regular follow-up: An electroencephalogram (EEG) should be performed every 3 months to assess changes in the condition. A comprehensive evaluation should be conducted every 6 months, including the effectiveness and side effects of medications.

[0065] ###Precautions Monitor for drug side effects: Regularly check liver function, kidney function, and blood routine to ensure drug safety.

[0066] Educate parents: Teach parents how to record seizures in order to better adjust the treatment plan.

[0067] Psychological support: Provide necessary psychological support to help patients and their families cope with the stress brought about by the disease.

[0068] The above diagnosis and treatment recommendations are based on the current medical history and examination results. The subsequent treatment plan will be adjusted according to changes in the patient's condition. Input the comprehensive diagnostic results, reasoning process, and third prompt word template into the third model chain sub-node to obtain the disease prediction results output by the third model chain node.

[0069] The third model chain node here can extract disease prediction results from the comprehensive diagnosis, which can be "focal seizures - benign childhood epilepsy with centrotemporal spikes (BECTS)".

[0070] S2. By referencing the medication knowledge block through the second model chain node, medication recommendations are given in combination with structured medical records and disease prediction results.

[0071] In step S2, medication recommendations can be given in the following ways: The structured medical record, N medication knowledge blocks, disease prediction results, and the fourth prompt word template are input into the fourth model chain sub-node to obtain the medication reasoning process output by the fourth model chain node. The medication reasoning process includes at least a medication recommendation item.

[0072] For example, Zhang's reasoning process regarding medication can be as follows: ### Medication Recommendations Preliminary Diagnosis Focal seizures - Benign childhood epilepsy with centrotemporal spikes (BECTS).

[0073] #### Medication Regimen Medication: Carbamazepine (CBZ); Dosage: 5 mg / (kg·d), divided into 2 doses; Frequency of administration: twice daily.

[0074] #### Reasoning Process 1. Seizure type: According to the medical history, the patient presented with seizures during sleep, with left-sided facial twitching accompanied by limb twitching, which is consistent with the characteristics of focal seizures.

[0075] 2. Electroencephalogram (EEG): The EEG showed a small number of sharp waves in the T4 region, supporting the diagnosis of focal seizures. The sharp waves were located in the centrotemporal region, which is consistent with the characteristics of benign childhood epilepsy with centrotemporal spikes (BECTS).

[0076] 3. Age: The patient is a 10-year-old male in childhood. Benign childhood epilepsy with centrotemporal spikes (BECTS) is a common focal epilepsy syndrome in childhood.

[0077] 4. (1) Drug selection: Carbamazepine (CBZ) is one of the first-line drugs for the treatment of benign epilepsy in children with centrotemporal spikes (BECTS). Carbamazepine has a good effect on focal seizures and has a high safety profile in children.

[0078] (2) Dosage: The initial dose is 5 mg / (kg·d), divided into 2 doses, and gradually adjusted to the effective dose.

[0079] 5. Monitoring: During the initial stage of treatment, close monitoring of the patient's drug response and adverse reactions is essential. If symptoms such as rash, dizziness, or nausea occur, the treatment plan should be adjusted promptly. Regular follow-up electroencephalograms (EEGs) should be performed to assess the treatment effectiveness.

[0080] 6. Precautions: (1) Carbamazepine has the potential to induce liver enzymes, and liver function should be monitored during long-term use. (2) Pay attention to drug interactions and avoid using it at the same time with other drugs that may affect liver enzymes.

[0081] ####Follow-up Recommendations Short-term follow-up: Return for a follow-up visit after 1 month to assess drug efficacy and adverse reactions. Adjust the dosage or change the medication if necessary.

[0082] Long-term follow-up: An electroencephalogram (EEG) should be performed every 3-6 months to assess changes in the condition. If there are no seizures for more than 2 years, gradual tapering and discontinuation of medication can be considered, but this must be done under the guidance of a doctor.

[0083] Through the above medication recommendations and follow-up plan, patients' epileptic seizures can be effectively managed and controlled, improving their quality of life. Input the medication reasoning process and the fifth prompt word template into the fifth model chain sub-node to obtain the medication advice extracted and output by the fifth model chain node from the medication advice project.

[0084] The medication recommendation for Zhang, output by the fifth model chain node, can be "Carbamazepine, 5mg / (kg·d), divided into 2 doses, twice daily".

[0085] S3. By referencing the knowledge blocks of the third model chain nodes, and combining structured medical records and disease prediction results, suggestions for examination and testing are given.

[0086] In step S3, inspection recommendations can be given in the following ways: The structured medical record, N test and examination knowledge blocks, disease prediction results, and the sixth prompt word template are input into the sixth model chain sub-node to obtain the test and examination reasoning process output by the fourth model chain node. The test and examination reasoning process includes at least the test and examination recommendation item.

[0087] For example, the verification and inspection reasoning process for Zhang, derived from the child node of the fourth model chain, can be as follows: "Based on the provided medical record information and epilepsy diagnostic methods, for this 10-year-old boy suspected of having focal seizures-benign childhood epilepsy with centrotemporal spikes (BECTS), the following are recommendations for further examinations and the reasoning process:" Recommendations for further testing and examination 1. Follow-up electroencephalogram (EEG) Reason: The initial EEG showed a small number of sharp waves in the T4 region, suggesting abnormal discharge. However, considering that epileptiform discharges are relatively common in children and may manifest differently at different times, it is recommended to perform ambulatory electroencephalography (AEEG) or video electroencephalography (VEEG) to capture more interictal brain activity, especially during sleep, as the patient's seizures mostly occur during sleep.

[0088] Specific indicators: Pay attention to sharp wave activity in the central temporal region, especially changes during sleep, and whether there are abnormal discharges in other areas.

[0089] 2. Follow-up MRI of the head Reason: Although the initial head MRI showed no abnormalities, considering that BECTS may be accompanied by minor structural abnormalities, it is recommended to use more detailed scanning parameters (such as 3.0T MRI, 3D). Weighted imaging and 3D FLAIR sequences, with particular attention to the structures of the temporal lobe and central region, are used to rule out subtle cortical dysplasia or other structural lesions.

[0090] Specific indicators: Focus on structural and signal changes in the hippocampus, central sulcus, and temporal lobe.

[0091] 3. Blood test Reason: Although there is no clear history of drug use, blood tests can help rule out metabolic abnormalities, infections, or other systemic diseases that may trigger or worsen seizures.

[0092] Specific indicators include complete blood count, blood glucose, electrolytes, liver and kidney function, pyruvate, lactate, and, when necessary, screening for inherited metabolic diseases.

[0093] ### Reasoning Process 1. Follow-up EEG: Preliminary examination results: A small number of sharp waves in the T4 region, indicating the presence of focal abnormal discharge.

[0094] Necessity of further examination: Ambulatory EEG or video EEG can capture brain activity more comprehensively, especially changes during attacks and during sleep, which is crucial for the diagnosis of BECTS.

[0095] Expected goal: To confirm whether the abnormal discharge in the central temporal region is persistent, and to identify other possible areas of abnormal discharge.

[0096] 2. Follow-up MRI of the head: Preliminary examination results: No abnormalities were found, but BECTS may be accompanied by minor structural abnormalities.

[0097] Necessity of further examination: Using more detailed scanning parameters can improve the sensitivity and specificity of the detection, and help to discover potential subtle lesions.

[0098] Expected outcome: To rule out structural abnormalities in the temporal lobe and central region, such as cortical dysplasia and hippocampal sclerosis.

[0099] 3. Blood test: Preliminary examination results: No obvious abnormalities.

[0100] Further investigation is necessary to rule out metabolic abnormalities, infections, or other systemic diseases that may trigger or exacerbate seizures.

[0101] Expected outcome: To ensure that there are no other underlying causes affecting the patient's seizures.

[0102] These further examinations can provide a more comprehensive assessment of the patient's condition, offering a scientific basis for diagnosis and treatment. Input the inspection and verification reasoning process and the seventh prompt word template into the seventh model chain sub-node to obtain the inspection and verification suggestions extracted and output by the seventh model chain node from the inspection and verification suggestion project.

[0103] For example, the examination and testing suggestions for Zhang output by the seventh model chain sub-node could be "electroencephalogram examination, head MRI re-examination, blood test".

[0104] S4. Feed back the disease prediction results, medication recommendations, and test recommendations to the doctor for display, in order to assist the doctor in making clinical decisions for the patient.

[0105] Doctors can combine the disease prediction results, medication recommendations, and test results they obtain with their own experience to make clinical diagnoses and treat patients.

[0106] This application provides a multi-knowledge base clinical decision-making method based on model chains. The designed model chain breaks down decision support into three tasks: disease diagnosis, medication recommendation generation, and test and examination recommendations. The model chain performs staged reasoning and combines multiple knowledge bases to inject medical knowledge in batches. The reasoning process is transparent and can better collaborate with doctors' experience, thereby assisting doctors in making more accurate clinical decisions. At the same time, it can also make diagnostic decisions more interpretable and better applicable to individuals with different differences, with good flexibility.

[0107] In one implementation, after obtaining the structured medical record in step S1, the structured medical record can be fed back to the doctor and displayed through a human-computer interaction interface. The structured medical record display interface allows for the segmentation of the structured medical record through editable text boxes.

[0108] In this way, doctors can add to and verify the structured medical records, and also modify them based on their own experience. Therefore, in steps S2 and S3, the medication and laboratory test recommendations generated based on the modified structured medical records are more tailored to the patient's actual situation, further ensuring the decision support capability of this application even when there are significant individual differences among patients.

[0109] Example 3 Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 As shown, based on the same inventive concept, this application also provides an electronic device, which includes a processor 410, a memory 420 and a bus 430.

[0110] The memory 420 stores machine-readable instructions that can be executed by the processor 410. When the electronic device 400 is running, the processor 410 and the memory 420 communicate through the bus 430. When the machine-readable instructions are executed by the processor 410, the steps of a multi-knowledge base clinical decision-making method based on a model chain, as described in the above method embodiment, can be executed. For specific implementation details, please refer to the method embodiment, which will not be repeated here.

[0111] This application also provides a computer-readable storage medium storing a computer program. When the computer program is run by a processor, it can execute the steps of a multi-knowledge base clinical decision-making method based on a model chain as described in the above method embodiments. For specific implementation details, please refer to the method embodiments, which will not be repeated here.

[0112] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0113] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0114] Furthermore, the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0115] Furthermore, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0116] It should be noted that if the function is implemented as a software module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0117] In this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying any such actual relationship or order between these entities or operations.

[0118] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A multi-knowledge-base clinical decision-making method based on model chains, characterized in that, The method includes: In response to clinical decision instructions, the unstructured medical record description of the patient indicated by the clinical decision instructions is converted into a structured medical record through the first model chain node, and the patient's disease prediction results are generated from the structured medical record with reference to the disease diagnosis knowledge block; Medication recommendations are given by referencing medication knowledge blocks through the second model chain nodes, combined with the structured medical records and the disease prediction results; By referencing the knowledge block of the third model chain node, and combining the structured medical record and the disease prediction results, test and examination suggestions are given. The disease prediction results, medication recommendations, and laboratory test recommendations are fed back to the doctor for display, in order to assist the doctor in making clinical decisions for the patient.

2. The method according to claim 1, characterized in that, The first model chain node includes first model chain sub-nodes. The steps of converting the unstructured medical record description of the patient as instructed by the clinical decision instruction into a structured medical record through the first model chain node specifically include: The unstructured medical record description of the patient as indicated by the clinical decision instruction and the first prompt word template are input into the first model chain sub-node to obtain the structured medical record output by the first model chain node. The first prompt word template is used to indicate a preset case collection template.

3. The method according to claim 2, characterized in that, The method further includes: The structured medical record is input into the fourth model chain node to obtain the structured medical record vector corresponding to the structured medical record output by the fourth model chain node. Calculate the similarity between the structured medical record vector and the relevant knowledge block vector in the preset knowledge base, which includes at least a disease diagnosis knowledge base, a medication knowledge base, and a laboratory test knowledge base. Based on the similarity, the top N target knowledge block vectors are determined to identify the corresponding disease diagnosis knowledge block, medication knowledge block, and laboratory test knowledge block, respectively.

4. The method according to claim 3, characterized in that, The first model chain node also includes the second model chain sub-nodes and the third model chain node, and the patient's disease prediction results are extracted in the following way: The structured medical record, disease diagnosis knowledge block, and second prompt word template are input into the second model chain sub-node to obtain the comprehensive diagnostic results and reasoning process output by the second model chain node; The comprehensive diagnostic results, reasoning process, and third prompt word template are input into the third model chain sub-node to obtain the disease prediction results output by the third model chain node.

5. The method according to claim 3, characterized in that, The second model chain node includes the fourth model chain sub-node and the fifth model chain node, and provides medication recommendations in the following ways: The structured medical record, N medication knowledge blocks, disease prediction results, and the fourth prompt word template are input into the fourth model chain sub-node to obtain the medication reasoning process output by the fourth model chain node. The medication reasoning process includes at least a medication recommendation item. The medication reasoning process and the fifth prompt word template are input into the fifth model chain sub-node to obtain the medication recommendations extracted and output by the fifth model chain node from the medication recommendation project.

6. The method according to claim 3, characterized in that, The third model chain node includes the sixth model chain child node and the seventh model chain node, and the verification and inspection suggestions are given in the following way: The structured medical record, N test and examination knowledge blocks, disease prediction results, and the sixth prompt word template are input into the sixth model chain sub-node to obtain the test and examination reasoning process output by the fourth model chain node. The test and examination reasoning process includes at least a test and examination recommendation item. The inspection and testing reasoning process and the seventh prompt word template are input into the seventh model chain sub-node to obtain the inspection and testing suggestions extracted and output by the seventh model chain node from the inspection and testing suggestion project.

7. The method according to claim 3, characterized in that, The disease diagnosis knowledge base can be constructed using the following methods: Preprocess the target disease guidelines to obtain the standard format disease guideline text; The standard format disease guideline text is decomposed into knowledge slices to obtain disease diagnosis knowledge. Each disease diagnosis knowledge slice is input into the fourth model chain node to obtain the disease diagnosis knowledge block vector corresponding to the disease diagnosis knowledge slice output by the fourth model chain node. A disease diagnosis knowledge base is constructed by associating and saving all disease diagnosis knowledge block vectors and their corresponding disease diagnosis knowledge slices.

8. The method according to claim 7, characterized in that, The step of preprocessing the target disease guidelines to obtain standard format disease guideline text specifically includes: The text and tables in the target disease guidelines are graded and converted into Markdown format; Input the image and the eighth prompt word template from the target disease guide into the fifth model chain node to obtain the image description text output by the fifth model chain node, and convert the image description text into Markdown format.

9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of the model chain-based multi-knowledge base clinical decision-making method as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the model chain-based multi-knowledge base clinical decision-making method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Data matching decision method based on multi-knowledge-database inference and system

    CN110136838A

  • Method and device for constructing clinical decision support system based on rule reasoning

    CN111951955A

  • Clinical aid decision-making method based on artificial intelligence and related products

    CN119541823A

  • Intelligent medical diagnosis engine based on AI large model

    CN120126743A