Diabetes fracture risk follow-up management method and system

By constructing a follow-up element-guided model, unified management of multi-source follow-up data and generation of controllable follow-up queries are achieved, solving the problem of dynamic management of fracture risk follow-up information for diabetic patients, improving data quality and scheduling rationality, and ensuring the controllability and traceability of the output.

CN123183071APending Publication Date: 2026-11-27ANHUI PROVINCIAL HOSPITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611387382.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot effectively manage follow-up information on fracture risk in diabetic patients, especially in the long-term follow-up process where it is difficult to dynamically generate targeted follow-up tasks. Furthermore, the output of large language models in medical follow-up scenarios is uncontrollable and the data quality is difficult to guarantee.

Method used

By constructing a follow-up element guidance model, multi-source follow-up data is uniformly managed as a follow-up element state matrix. A large language model is used to generate controllable follow-up queries, and follow-up arrangements are optimized through a dynamic follow-up scheduling index to ensure that the output follow-up information is structured and traceable.

Benefits of technology

This improved the quality of follow-up data and the rationality of scheduling, reduced redundant inquiries, ensured the controllability and traceability of output, and dynamically adjusted follow-up tasks to cope with high-risk events and information gaps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123183071A_ABST
    Figure CN123183071A_ABST
Patent Text Reader

Abstract

The application discloses a diabetes fracture risk follow-up management method and system of a follow-up element guide model, relates to the technical field of medical information processing, and comprises the following steps: acquiring multi-source follow-up data and an external fracture risk state of a diabetes patient; performing standardization processing on the data to generate a follow-up element state matrix; calculating an element inquiry priority value of each follow-up element according to the follow-up element state matrix, and determining a target inquiry element set; guiding a prompt according to the target inquiry element set and a preset clinical follow-up element ontology construction model, inputting a large language model to generate a follow-up inquiry task; extracting structured follow-up information from the inquiry answer and performing consistency checking; updating the follow-up element state matrix, combining the external fracture risk state to generate a dynamic follow-up scheduling index, and generating a follow-up task according to the index. The application can guide the large language model to generate controllable follow-up inquiries for the missing follow-up information, and improve the follow-up data quality and the rationality of follow-up scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of medical information processing technology, and in particular to a method and system for follow-up management of diabetic fracture risk using a follow-up element-guided model. Background Technology

[0002] Patients with diabetes have a higher risk of fractures than the general population due to factors such as long-term hyperglycemia, abnormal bone metabolism, peripheral neuropathy, retinopathy, and hypoglycemia-related falls. Fracture risk management for these patients relies not only on risk assessments at specific points in time but also on continuous long-term follow-up data collection, including information on falls, blurred vision, numbness in the hands and feet, hip pain, fracture events, bone density re-examinations, and medication adherence. This data allows physicians to review changes in risk and schedule subsequent follow-ups.

[0003] Existing technologies include methods to predict fracture risk in diabetic patients using bone mineral density indicators, clinical risk factors, or machine learning models. However, these methods typically output a single risk score or risk level, failing to address issues such as missing follow-up information after risk assessment, underreporting of abnormal events, and how to generate the next follow-up task. Other methods utilize chronic disease follow-up systems that collect patient information using fixed forms and push follow-up reminders at preset intervals. However, fixed forms struggle to dynamically determine the most needed follow-up information based on the patient's current risk status and historical responses. Furthermore, if the symptoms and events described by the patient in free text cannot be extracted in a structured manner, they are difficult to incorporate into subsequent follow-up scheduling and physician review processes.

[0004] With the development of large language model technology, it has acquired the capabilities of natural language understanding, dialogue generation, and information extraction. However, if large language models are directly applied to medical follow-up responses, there are problems such as uncontrollable output content, unstable output format, incompatibility with existing follow-up fields, and the potential output of diagnostic or therapeutic conclusions, making it difficult to directly meet the requirements of medical follow-up scenarios for data quality and traceability.

[0005] Therefore, how to uniformly manage the fracture risk follow-up information of diabetic patients, guide the large language model to generate controllable follow-up queries for missing follow-up information, and dynamically generate follow-up arrangements based on the completion of follow-up information has become a technical problem that urgently needs to be solved in this field. Summary of the Invention

[0006] The purpose of this application is to provide a method and system for managing the follow-up risk of diabetic fractures using a follow-up element-guided model. This method can guide a large language model to generate controllable follow-up queries for missing follow-up information, thereby improving the quality of follow-up data and the rationality of follow-up scheduling.

[0007] To achieve the above objectives, this application provides the following solution: In a first aspect, this application provides a method for managing the follow-up risk of fractures in diabetic patients using a follow-up element-guided model, comprising: acquiring follow-up data of diabetic patients, the follow-up data including multi-source follow-up data and external fracture risk status; standardizing the multi-source follow-up data to generate a follow-up element status matrix for the diabetic patients, the follow-up element status matrix including element status corresponding to multiple follow-up elements; calculating the element query priority value of each follow-up element according to the follow-up element status matrix, and determining a target query element set according to the element query priority value; constructing a model guidance prompt according to the target query element set and a preset clinical follow-up element ontology, inputting the model guidance prompt into a large language model to generate a follow-up query task; acquiring the query answers corresponding to the follow-up query task, extracting structured follow-up information from the query answers, and performing consistency verification on the structured follow-up information; updating the follow-up element status matrix according to the verified structured follow-up information, and generating a dynamic follow-up scheduling index according to the updated follow-up element status matrix and the external fracture risk status; and generating a follow-up task according to the dynamic follow-up scheduling index.

[0008] In one embodiment, the multi-source follow-up data includes at least one of patient-side follow-up data, doctor-side data entered, and in-hospital examination data; the standardization process includes field standardization, unit conversion, missing value marking, outlier detection, source marking, and confidence encoding; in the follow-up element state matrix, the element state of the j-th follow-up element at time t is represented as a state vector. : ,in, For the element to take a value, For missing markers, For data freshness, For field confidence, For source marking, Let the weight of the j-th follow-up element be the correlation weight between the element and fracture risk. For conflict markers, This is a hard trigger flag.

[0009] In one embodiment, the field confidence level Represented as: ,in, For source confidence level, Score for time freshness, Score the field completeness. Scoring for logical consistency The conflict penalty value. to These are the weighting coefficients. The truncation function; the conflict flag The conflict rules are determined by a conflict rule base, which includes synonym field conflict rules, negation and affirmation conflict rules, time conflict rules, event logic conflict rules, and medical scope conflict rules.

[0010] In one embodiment, the follow-up data further includes historical follow-up task status; the element query priority value is represented as: ,in, Let j be the element query priority value of the j-th follow-up element at time t. For follow-up element gap values, The factor risk correlation between the j-th follow-up element and the external fracture risk status is given. For data uncertainty, The severity of the abnormal event. This refers to the overdue status value determined based on the historical follow-up task status. To inquire about the penalty value, to These are the weighting coefficients. The normalization function is used; the gap value of the follow-up element is expressed as: ,in, The validity period threshold of the j-th follow-up element. The legal value range of the j-th follow-up element. For indicator functions, to These are the weighting coefficients.

[0011] In one embodiment, the dynamic follow-up scheduling index is expressed as: in, Let be the dynamic follow-up scheduling index at time t. This is a normalized value for the external fracture risk status. This represents the trend value of risk changes. A score was given for insufficient completeness of follow-up information. Scoring is given for abnormal events. The overdue score is determined based on the historical follow-up task status. To verify the gate values ​​for doctors, Score the data uncertainty. For continuous and stable reward values, to These are the weighting coefficients. The truncation function is used; the score for insufficient completeness of the follow-up information is expressed as: ,in, The number of follow-up elements in the follow-up element state matrix. To prevent constants with a denominator of zero.

[0012] In one embodiment, the structured follow-up information includes patient identifier, follow-up element identifier, element value, polarity, event occurrence time, data source, original text fragment, and extraction confidence level; the extraction confidence level is expressed as: ,in, Let be the extraction confidence level of the j-th follow-up element. Output confidence scores for large language models. For source confidence level, The score is for logical consistency verification. To answer the question of ambiguity penalty value, to The weighting coefficients; updating the follow-up element state matrix based on the validated structured follow-up information includes: fusing the extracted confidence score with the field confidence score before the update to obtain the updated field confidence score: ,in, For the updated field confidence score, The confidence level of the field before the update. This is the fusion coefficient.

[0013] In one embodiment, the model guidance prompt is constructed based on the target query element set, the patient's structured summary, the element definitions and value constraints corresponding to the target query element set in the clinical follow-up element ontology, security constraint rules, historical query records, and structured output format; wherein, the security constraint rules include output prohibition rules, which are used to restrict the output of disease diagnosis conclusions, treatment prescriptions, or drug adjustment conclusions by the large language model; the follow-up query task includes a task identifier, associated follow-up elements, query object, query text, answer type, follow-up conditions, stop conditions, doctor review mark, and task priority.

[0014] In one embodiment, generating follow-up tasks based on the dynamic follow-up scheduling index includes: generating an immediate doctor review task when a preset hard trigger event is detected, wherein the preset hard trigger event includes a new fracture event, a fall-related movement restriction event, a hip pain event, continuous overdue for more than a preset number of days, or the extraction of a high-risk description requiring doctor review; generating a follow-up task for a first follow-up cycle when the dynamic follow-up scheduling index is higher than a first threshold; generating a follow-up task for a second follow-up cycle when the dynamic follow-up scheduling index is in a preset intermediate range, wherein the second follow-up cycle is longer than the first follow-up cycle; and generating a follow-up task for a second follow-up cycle when the dynamic follow-up scheduling index is higher than a first threshold. When the follow-up scheduling index is below the second threshold and meets the continuous stability condition, the follow-up period is extended; the follow-up task is converted into at least one of the following: patient-side reminder task, doctor-side review task, overdue reminder task, or high-risk warning task; follow-up tasks for the same patient, the same target date, and the same task type are merged and each trigger source is retained; the task status of each task is maintained, including pending, sent, read, completed, overdue, upgraded, and closed; the generation basis of the follow-up task, the update record of the follow-up element status matrix, and the version information of the model guidance prompt are written into the audit record.

[0015] Secondly, this application provides a follow-up management system for diabetic fracture risk guided by a follow-up element model, comprising: a data acquisition module for acquiring follow-up data of diabetic patients, the follow-up data including multi-source follow-up data and external fracture risk status; an element status generation module for standardizing the multi-source follow-up data to generate a follow-up element status matrix for the diabetic patients, the follow-up element status matrix including element status corresponding to each of multiple follow-up elements; and an inquiry priority generation module for calculating the element inquiry priority value of each follow-up element based on the follow-up element status matrix, and determining a target inquiry element set based on the element inquiry priority value. The model-guided inquiry module is used to construct model-guided prompts based on the target inquiry element set and the preset clinical follow-up element ontology, input the model-guided prompts into the large language model, and generate follow-up inquiry tasks. The information extraction and verification module is used to obtain the inquiry answers corresponding to the follow-up inquiry tasks, extract structured follow-up information from the inquiry answers, and perform consistency verification on the structured follow-up information. The follow-up scheduling module is used to update the follow-up element state matrix based on the verified structured follow-up information, generate a dynamic follow-up scheduling index based on the updated follow-up element state matrix and the external fracture risk status, and generate follow-up tasks based on the dynamic follow-up scheduling index.

[0016] Thirdly, this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the follow-up element-guided model for diabetes fracture risk follow-up management as described in any of the above-mentioned methods.

[0017] According to the specific embodiments provided in this application, the following technical effects are disclosed: This application provides a method and system for managing the follow-up risk of diabetic fractures using a follow-up element-guided model. By unifying multi-source follow-up data into a follow-up element state matrix, the value, missing status, freshness, confidence level, source, relevance weight, conflict marker, and hard trigger marker of each follow-up element are stored and updated under a unified data structure. This allows patient-side forms, patient-side natural language descriptions, doctor-side data entry, and in-hospital examination data to participate in follow-up task generation within the same framework, solving the problem of difficult unified management of multi-source heterogeneous follow-up data. The target query element set is determined by the element query priority value, and the target query element set and the clinical follow-up element ontology guide the large language model. This prevents the large language model from performing open-ended generalized question answering, instead generating targeted follow-up query tasks around missing, expired, low-confidence, or conflicting follow-up elements, improving the targeting of follow-up information completion. Simultaneously, it reduces query burden. The penalty avoids repeated questioning of patients; through structured output format, consistency verification, and security constraint rules, the output of the large language model can be converted into storable, verifiable, and traceable structured follow-up information, and the large language model is restricted from outputting disease diagnosis conclusions, treatment prescriptions, or drug adjustment conclusions, ensuring the controllability of its output in medical follow-up scenarios; through the fusion update mechanism of extraction confidence and field confidence, the reliability of natural language extraction results can be quantified and fed back to the follow-up element state matrix, and low-confidence or conflicting information is gated to clarification or doctor review processes rather than being directly entered into the database, improving the quality of follow-up data; through the dynamic follow-up scheduling index, follow-up arrangements are no longer based solely on a single risk score or fixed period, enabling advance review for patients with high-risk events or missing follow-up information, reducing the follow-up frequency of low-risk stable patients, and improving the rationality of follow-up resource allocation. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1This application environment diagram illustrates a follow-up element-guided model for managing the risk of fractures in diabetes, as provided in an embodiment of this application. Figure 2 A flowchart illustrating a follow-up management method for diabetes fracture risk using a follow-up element-guided model, as provided in this application embodiment; Figure 3 This is a schematic diagram of the structure of the follow-up element state matrix provided in the embodiments of this application; Figure 4 A data flow diagram of the follow-up query closed loop provided in the embodiments of this application; Figure 5 This is a state transition diagram of the task state machine provided in an embodiment of this application; Figure 6 This is a schematic diagram of the functional modules of a diabetes fracture risk follow-up management system based on a follow-up element-guided model, as provided in an embodiment of this application. Detailed Implementation

[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0021] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0022] The follow-up element-guided model for diabetes fracture risk management provided in this application embodiment can be applied to, for example... Figure 1 The application environment shown is illustrated. Terminal 101 communicates with server 102 via a network. The data storage system can store data that server 102 needs to process, such as patients' historical follow-up data, external fracture risk status, clinical follow-up element ontology, conflict rule base, and follow-up task status data. The data storage system can be set up independently, integrated into server 102, or placed in the cloud or on other servers.

[0023] The terminal 101 can be, but is not limited to, mobile devices such as smartphones, tablets, and smartwatches used by patients, and devices such as desktop computers, laptops, and doctor workstations used by doctors. The server 102 can be implemented using a standalone server or a server cluster composed of multiple servers, or it can be a cloud server.

[0024] In one possible implementation, terminal 101 sends patient-side follow-up form data, patient-side natural language descriptions, and doctor-side data to server 102. Server 102 receives the aforementioned multi-source follow-up data and obtains in-hospital examination data, external fracture risk status, and historical follow-up task status from the data storage system or in-hospital examination system. Server 102 standardizes the multi-source follow-up data, generates a follow-up element status matrix, calculates the element query priority value of each follow-up element, determines the target query element set, constructs model guidance prompts, inputs them into a large language model, and generates a follow-up query task. Server 102 can feed back the obtained follow-up query task to terminal 101, which then displays the query text to the patient or doctor. Terminal 101 then sends the patient's or doctor's query answers to server 102. Server 102 extracts structured follow-up information from the query answers and performs consistency verification, thereby updating the follow-up element status matrix, generating a dynamic follow-up scheduling index, and ultimately generating a follow-up task. Server 102 can push patient-side reminders, doctor-side review tasks, overdue reminder tasks, or high-risk warning tasks corresponding to follow-up tasks to terminal 101, and write the task generation basis, element update records, and model guidance prompt versions into the audit records of the data storage system.

[0025] In addition, in some embodiments, the method provided in this application can also be implemented by the server 102 or the terminal 101 alone. For example, the terminal 101 can directly perform follow-up element status matrix generation, query priority calculation and follow-up task generation on the locally stored follow-up data, which is suitable for scenarios where large language models are deployed in a lightweight manner on the terminal side; or the server 102 can read the follow-up data from the data storage system and complete the entire processing process independently, while the terminal 101 only undertakes the data display and collection functions.

[0026] In one exemplary embodiment, such as Figure 2 As shown, a follow-up element-guided model for the management of diabetes fracture risk is provided. This method is executed by an electronic device and includes the following steps: S201, Obtain follow-up data of diabetic patients.

[0027] The follow-up data includes multi-source follow-up data and external fracture risk status.

[0028] S202 standardizes multi-source follow-up data to generate a follow-up element status matrix for diabetic patients.

[0029] S203, calculate the element inquiry priority value of each follow-up element based on the follow-up element status matrix, and determine the target inquiry element set based on the element inquiry priority value.

[0030] S204: Based on the target query element set and the preset clinical follow-up element ontology, construct a model guidance prompt, input the model guidance prompt into the large language model, and generate a follow-up query task.

[0031] S205, obtain the query answers corresponding to the follow-up query task, extract structured follow-up information from the query answers, and perform consistency verification on the structured follow-up information.

[0032] S206. Update the follow-up element status matrix based on the verified structured follow-up information, and generate a dynamic follow-up scheduling index based on the updated follow-up element status matrix and the external fracture risk status.

[0033] S207, generate follow-up tasks based on the dynamic follow-up scheduling index.

[0034] The following detailed explanation will illustrate the implementation process of the above steps.

[0035] Regarding step S201, in this embodiment, multi-source follow-up data can be received through a patient-side webpage, a mobile follow-up portal, a doctor's workstation, an in-hospital electronic medical record system, a laboratory testing system, or a manual data entry interface. The multi-source follow-up data includes at least two of the following: patient-side follow-up form data, patient-side natural language descriptions, doctor-side data entry, and in-hospital examination data. Specifically, the patient-side follow-up data includes both patient-side follow-up form data and patient-side natural language descriptions.

[0036] The follow-up elements involved in the multi-source follow-up data include the duration of diabetes, glycated hemoglobin, hypoglycemic events, diabetic peripheral neuropathy, diabetic retinopathy, blurred vision, numbness in the hands and feet, history of falls, history of fractures, hip pain or hip fracture-related events, bone mineral density, bone metabolism indicators, long-term use of glucocorticoids, calcium intake, vitamin D-related indicators, sun exposure, smoking and alcohol consumption, exercise and balance ability, medication adherence, examination adherence, and follow-up completion status, among one or more of these.

[0037] In this embodiment, the external fracture risk status includes fracture risk scores, risk levels, or risk labels obtained by external risk prediction models, in-hospital scoring tools, or manual confirmation by physicians. It should be noted that this application only uses the external fracture risk status as input data for follow-up management and does not limit its specific generation method; the training process of the risk prediction model does not constitute a limitation on the implementation of this application. Optionally, the follow-up data also includes the historical follow-up task status, which includes the task type, target date, completion status, and overdue days of the historical follow-up task.

[0038] Regarding step S202, in this embodiment, the standardization process includes field standardization, unit conversion, missing value marking, outlier verification, source marking, and confidence encoding. For example, expressions such as "fell down," "hip hurts a little," "blurry vision," "numbness in the legs and unsteady gait," and "haven't been in the sun recently" in the patient's natural language description are mapped as candidate follow-up elements. Continuous variables with different units or dimensions are uniformly converted to standard units. Missing value markings are generated for fields without valid values, and field confidence is generated based on data source, entry time, field completeness, and logical consistency.

[0039] In this embodiment, the state of the j-th follow-up element at time t in the follow-up element state matrix is ​​represented as a state vector. : (Equation 1); In the above formula, For the element to take a value, For missing markers, For data freshness, For field confidence, For source marking, Let j be the correlation weight between the j-th follow-up element and fracture risk. For conflict markers, This is a hard trigger flag.

[0040] like Figure 3 The diagram shows the structure of the follow-up element state matrix. Each row in the follow-up element state matrix corresponds to one follow-up element, and each column corresponds to a state dimension. The state of the j-th follow-up element at time t is determined by the values ​​of the elements in the same row. Missing markers Data freshness Field confidence Source marking Relevant weights Conflict markers and hard trigger flag Together they form the state vector The state vectors of all n follow-up elements constitute the follow-up element state matrix. This matrix structure can simultaneously store the value, missing status, freshness, source, confidence level, risk-related weight, conflict marker, and hard trigger marker for each follow-up element, providing a unified data foundation for subsequent element query priority calculation and dynamic follow-up scheduling.

[0041] Optionally, The value is determined by the highest confidence level among the candidate source values ​​that passes both format and logical validation. When multiple sources pass validation but their values ​​are inconsistent, the dominant value is selected based on source priority, and the other values ​​are added to the candidate value list, or conflict markers are retained. Waiting for clarification or doctor's review. Set to 1 when the field has no valid value, the format cannot be parsed, the unit cannot be converted, or the extraction confidence level is lower than the threshold. This is the difference between the current follow-up time and the most recent valid data collection time for the j-th follow-up element. Encoding for source types such as in-hospital examinations, doctor data entry, patient-side structured forms, patient-side natural language extraction, or historical follow-up task status.

[0042] In this embodiment, the field confidence level Determined based on source confidence, time freshness, field completeness, logical consistency, and conflict penalty, and represented as: (Equation 2); In the above formula, For source confidence level, Score for time freshness, Score the field completeness. Scoring for logical consistency The conflict penalty value. to These are the weighting coefficients. This is a truncation function.

[0043] Optionally, Based on the data source type, the baseline confidence level for in-hospital examinations and doctor-entry data is higher than that for free text extraction from patients. according to and validity period threshold Calculations, for example: (Equation 3); In the above formula, To prevent constants with a denominator of zero; Determined based on whether fields are missing, whether units are complete, and whether answer types match; Determined based on the pass rate of value range, time consistency, and cross-element logical consistency checks; Determined based on the number of conflict rules triggered or the severity of the conflict.

[0044] In this embodiment, the relevant weights Determined by the risk-related level in the clinical follow-up element ontology, historical cohort statistics, or physician review results. Conflict markers. Determined by a conflict rule base, which includes synonym field conflict rules, negation and affirmation conflict rules, time conflict rules, event logic conflict rules, and medical scope conflict rules; for example, if the same patient simultaneously answers "no falls" and "fell last week" within the same follow-up period, the conflict flag for the fall event element is increased. Hard trigger flag. Generated by a hard-triggered rule base, when high-risk descriptions such as "unable to walk after a fall," "new fracture," and "persistent worsening hip pain" are extracted from the patient's natural language, or when high-risk events are entered into the doctor's database, the corresponding elements will be... Set to an active state or map to a high-intensity value.

[0045] Regarding step S203, in this embodiment, the clinical follow-up element ontology is used to define the medical meaning, value range, validity period threshold, source priority, correlation weight with fracture risk, triggering physician review conditions, and allowed inquiry methods for each follow-up element. For example, elements related to fall events, hip pain, or new fractures have shorter validity period thresholds and higher review priorities, while elements related to bone mineral density or bone metabolism examinations have longer validity period thresholds. In this embodiment, the element inquiry priority value is expressed as: (Equation 4); In the above formula, Let j be the element query priority value for the j-th follow-up element at time t. For follow-up element gap values, Let be the risk correlation between the j-th follow-up element and the external fracture risk status. For data uncertainty, The severity of the abnormal event. This is the overdue status value determined based on the historical follow-up task status. To inquire about the penalty value, to These are the weighting coefficients. This is the normalization function.

[0046] Optionally, Based on the normalized value of external fracture risk status With relevant weights Calculation, for example Alternatively, stratified weights can be set for different follow-up elements based on risk levels; It is obtained by weighting the field confidence, extraction confidence, conflict flag, and missing flag; The severity was determined by the abnormal event grading table, with new fractures, limited mobility after a fall, hip pain, hypoglycemia-related falls, and severely delayed follow-up examinations corresponding to different levels of severity. It is obtained by mapping the number of overdue days, number of overdue periods, or consecutive overdue status of historical follow-up tasks; It is determined by the number of times the same element has been queried recently, the number of times adjacent elements have been queried repeatedly, and the number of tasks that have not been completed by the patient.

[0047] In this embodiment, the follow-up element gap value is represented as: (Equation 5); In the above formula, Let the validity period threshold be the j-th follow-up element. For the j-th follow-up element, the legal value range is... For indicator functions, to These are weighting coefficients. Optionally, and It is obtained from the validity period configuration and value range configuration in the clinical follow-up element ontology.

[0048] In this embodiment, one or more follow-up elements are selected from high to low priority values ​​to form a target query element set. This approach avoids pushing the same follow-up questionnaire to all patients; instead, it generates individualized query targets based on the patient's current element gaps, risk relevance, data uncertainty, anomaly severity, overdue status, and query burden.

[0049] Regarding step S204, in this embodiment, the model guidance prompts the construction based on the target query element set, the patient structured summary, the element definitions and value constraints corresponding to the target query element set in the clinical follow-up element ontology, security constraint rules, historical query records, and structured output format. The patient structured summary includes the patient's age, gender, diabetes duration, most recent external fracture risk status, most recent abnormal event, completed follow-up tasks, and follow-up elements to be supplemented in this instance.

[0050] In this embodiment, the security constraint rules include output prohibition rules, which restrict the output of disease diagnosis conclusions, treatment prescriptions, or medication adjustment conclusions by the large language model. The structured output format guides the large language model to output follow-up query tasks that meet a preset task structure. These follow-up query tasks include a task identifier, associated follow-up elements, query recipient, query text, answer type, follow-up conditions, stopping conditions, doctor review markers, and task priority. After generating the follow-up query task, it is sent to the patient or doctor's end according to the query recipient.

[0051] Regarding step S205, in this embodiment, for multiple-choice, numerical, or date-based questions, field writing and format validation are performed directly. For natural language questions, a large language model is invoked for information extraction, guiding the output of structured follow-up information that meets a preset structured format. The structured follow-up information includes patient identification, follow-up element identification, element values, polarity, event occurrence time, data source, original text fragments, and extraction confidence level. Consistency validation includes format validation, value range validation, time consistency validation, cross-element logical consistency validation, and security gating validation.

[0052] In this embodiment, the extraction confidence level is represented as follows: (Equation 6); In the above formula, Let be the extraction confidence level of the j-th follow-up element. Output confidence scores for large language models. For source confidence level, The score is for logical consistency verification. To answer the question of ambiguity penalty value, to These are weighting coefficients. Optionally, It is obtained from one or more of the following: the label probability output by the large language model, the self-assessment confidence of the structured field, the consistency rate of multiple sampling results, the field parsing success rate, or the matching score with the target element definition; Triggered by vague words in the answer, unclear scope of negation, unclear time expression, unclear subject, or mixed description of multiple events.

[0053] In this embodiment, when the extraction confidence level is lower than the preset extraction confidence level threshold, or when the extraction result conflicts with existing follow-up elements, the corresponding follow-up elements are marked as elements requiring clarification or elements requiring doctor review, and the corresponding structured follow-up information is prohibited from being used to update the follow-up element state matrix. For example, if a patient describes "hip pain and inability to walk after falling yesterday," the fall event, hip pain event, and limited mobility event are extracted and marked as requiring doctor review; if the patient answers "no falls" and "fell last week" in different questions, the corresponding elements are marked as conflicting and a clarification inquiry or doctor review is triggered; if the patient requests medication adjustment in their answer, no medication adjustment conclusion is generated, only a doctor-side review task or a patient-side non-prescription prompt is generated.

[0054] Regarding step S206, in this embodiment, when updating the follow-up element state matrix, the extracted confidence score is fused with the field confidence score before the update to obtain the updated field confidence score: (Equation 7); In the above formula, For the updated field confidence score, The confidence level of the field before the update. , where is the fusion coefficient. For follow-up information marked as requiring clarification or physician review, the original text fragments and structured extraction results are preserved, and uncertainty penalties or physician review gating are applied during scheduling calculations.

[0055] The above-mentioned follow-up query closed loop can be referred to Figure 4 Understanding the data flow diagram shown: Based on the follow-up element state matrix Calculate the element query priority value for each follow-up element. After determining the target set of inquiry elements, a model guidance prompt is constructed by combining the clinical follow-up element ontology, security constraint rules, and structured output format. The input is then used to generate follow-up inquiry tasks for patients or doctors. After obtaining the inquiry answers, structured follow-up information is extracted and consistency is verified. The structured follow-up information that passes the verification is fused with confidence and then fed back to update the follow-up element state matrix. Follow-up information that fails the verification or whose extracted confidence is lower than the preset threshold does not directly enter the matrix update, but triggers clarification inquiry or doctor review, and can be re-initiated based on the review results.

[0056] In this embodiment, after each closed loop is completed, the updated follow-up element status matrix serves as the data basis for the next element query priority calculation and dynamic follow-up scheduling index generation, enabling follow-up management to be dynamically adjusted as follow-up information is continuously supplemented.

[0057] In this embodiment, the dynamic follow-up scheduling index is expressed as: (Equation 8); In the above formula, Let be the dynamic follow-up scheduling index for time t. This is a normalized value representing the external fracture risk status. This represents the trend value of risk changes. Score for insufficient completeness of follow-up information. Scoring is given for abnormal events. The overdue score is determined based on the historical follow-up task status. To verify the gate values ​​for doctors Score the data uncertainty. For continuous and stable reward values, to These are the weighting coefficients.

[0058] Optionally, It is obtained by mapping fracture risk scores, risk levels, or risk labels to a preset numerical range; It is obtained from the difference between the current risk status and the previous risk status, the slope of the most recent risk statuses, or the change in the moving average. It is obtained by weighting hard-triggered events, event severity, freshness of occurrence time, and doctor's review status; It is derived from the number of overdue days, the number of overdue payments, and the status of consecutive overdue payments; Take the higher value when there are high-risk events, conflicting elements, or low-confidence sampling results; It is obtained by combining field confidence, extraction confidence, missing proportion, and conflict markers; It is determined by the number of consecutive follow-up visits without abnormalities, the fact that key elements are all within the validity period, and the stability of the recent risk status.

[0059] In this embodiment, the score for insufficient follow-up information completeness is represented as: (Equation 9); In the above formula, n is the number of follow-up elements in the follow-up element state matrix, and ε is a constant to prevent the denominator from being zero. This calculation method transforms the query of whether to complete key follow-up information in a large language model into a calculable basis for subsequent follow-up scheduling.

[0060] Regarding step S207, in this embodiment, when a preset hard trigger event is detected, an immediate doctor review task is generated. The preset hard trigger events include new fracture events, limited mobility events after a fall, hip pain events, continuous overdue for more than a preset number of days, or the extraction of a high-risk description requiring doctor review. When the dynamic follow-up scheduling index is higher than a first threshold, a follow-up task for a first follow-up cycle is generated. When the dynamic follow-up scheduling index is in a preset intermediate range, a follow-up task for a second follow-up cycle is generated, and the second follow-up cycle is longer than the first follow-up cycle. When the dynamic follow-up scheduling index is lower than a second threshold and meets the continuous stability condition, the follow-up cycle is extended.

[0061] Optionally, the first follow-up period is 1 month, the second follow-up period is 3 months or 6 months, and the extended follow-up period is 12 months; the first threshold, the second threshold, each weight coefficient and each follow-up period are calibrated by the medical institution's rules, the doctor's review results or the historical task execution effect, and are written into the audit record through version identification.

[0062] In this embodiment, the follow-up task is converted into at least one of the following: patient-side reminder task, doctor-side review task, overdue reminder task, or high-risk warning task. The task status of each task is maintained, including pending, sent, read, completed, overdue, escalated, and closed. Specifically, as follows... Figure 5 As shown: After a follow-up task is generated, it is in a pending state; after the task is sent to the patient or doctor, it changes to a sent state; after the recipient views the task, it changes to a read state; if the recipient completes the follow-up operation before the target date, the task changes to a completed state and is archived before being closed. If the task is not completed by the target date, it changes from a sent or read state to an overdue state. At this time, the dynamic follow-up scheduling index is recalculated based on the number of overdue days, and an overdue reminder task is generated; if the overdue task is completed after being reminded, it changes to a completed state; if there are consecutive overdue periods or high-risk events are not reviewed, it changes from an overdue state to an escalated state, escalating to a high-risk warning task for the doctor. After the doctor reviews and processes the task, it changes to a closed state.

[0063] Follow-up tasks for the same patient, the same target date, and the same task type are merged, and each trigger source is retained to avoid duplicate reminders. Simultaneously, the basis for task generation, update records of the follow-up element status matrix, and version information of model guidance prompts are written into the audit log.

[0064] The implementation process of this application embodiment will be described below with reference to a specific scenario.

[0065] The patient submits a follow-up form on the patient's end, describing in free text that they "recently fell" and "have hip pain, and are hesitant to put weight on their feet when walking." The server receives the free text, the patient's most recent external fracture risk level, previous bone density test results, and historical follow-up task status. After generating a follow-up element status matrix, the fall event element, hip pain element, and mobility limitation element are identified as high-priority target query elements, and the previous bone density test results have exceeded their validity threshold. The server constructs a model guidance prompt, guiding the large language model to generate patient-side query tasks focusing only on the time of the fall, whether the hip pain is persistent, whether there is mobility limitation, and whether medical attention has been sought, without outputting diagnostic conclusions or treatment suggestions. After the patient answers, the server extracts structured follow-up information and writes it into the corresponding follow-up elements. An immediate doctor review task is generated due to a hard-triggered event, and a follow-up reminder is generated on the patient's end. If the patient subsequently adds, "Actually, I didn't fall, my foot just went numb," the conflict flag of the corresponding element is increased according to the conflict rules, and a clarification query or doctor review task is generated, without directly overwriting the original event record. Once the doctor confirms that the incident has been processed, the doctor's review status and audit record are updated; if the patient fails to complete the review on time, the dynamic follow-up scheduling index is recalculated based on the overdue status and the task is upgraded.

[0066] For example, for patients with a moderate external fracture risk status, who have consistently completed multiple follow-up visits on time, have not reported falls or new fractures, and whose key follow-up elements are all within their validity period and without conflict, routine follow-up tasks or extended follow-up periods can be generated based on low follow-up element gap values, low abnormal event scores, and continuous stability reward values. This approach allows for advance review of patients with high-risk events or missing follow-up information, while reducing high-frequency follow-up tasks for low-risk, stable patients.

[0067] In one exemplary embodiment, a follow-up element-guided model-based diabetes fracture risk follow-up management system is provided, such as... Figure 6 The system shown in the diagram includes a data acquisition module 301, an element status generation module 302, an inquiry priority generation module 303, a model-guided inquiry module 304, an information extraction and verification module 305, and a follow-up scheduling module 306.

[0068] The data acquisition module 301 is used to acquire follow-up data of diabetic patients, including multi-source follow-up data and external fracture risk status. Optionally, the multi-source follow-up data includes at least two of the following: patient-side follow-up form data, patient-side natural language descriptions, doctor-side data entered, and in-hospital examination data; the external fracture risk status includes fracture risk scores, risk levels, or risk labels obtained by external risk prediction models, in-hospital scoring tools, or manual confirmation by doctors; the follow-up data also includes historical follow-up task status.

[0069] The element state generation module 302 is used to standardize the multi-source follow-up data to generate a follow-up element state matrix for the diabetic patients. The follow-up element state matrix includes the element states corresponding to each of the multiple follow-up elements. Optionally, the standardization process includes field standardization, unit conversion, missing value marking, outlier verification, source marking, and confidence encoding. The element state of each follow-up element is represented in the form of a state vector. The specific composition of the state vector and the calculation method of the field confidence are described in step S202 of the aforementioned method embodiment, and will not be repeated here.

[0070] The query priority generation module 303 is used to calculate the query priority value of each follow-up element based on the follow-up element status matrix, and to determine the target query element set based on the query priority value. Optionally, the specific calculation method of the query priority value and the follow-up element gap value is described in step S203 of the foregoing method embodiment.

[0071] The model-guided inquiry module 304 is used to construct model-guided prompts based on the target inquiry element set and a preset clinical follow-up element ontology, input the model-guided prompts into a large language model, and generate a follow-up inquiry task. Optionally, the composition of the model-guided prompts, the security constraint rules, and the structure of the follow-up inquiry task are described in step S204 of the aforementioned method embodiment.

[0072] The information extraction and verification module 305 is used to obtain the query and answer corresponding to the follow-up query task, extract structured follow-up information from the query and answer, and perform consistency verification on the structured follow-up information. Optionally, the composition of the structured follow-up information, the calculation method of the extraction confidence, and the gating processing method for low-confidence extraction results are described in step S205 of the aforementioned method embodiment.

[0073] The follow-up scheduling module 306 is used to update the follow-up element status matrix based on the verified structured follow-up information, generate a dynamic follow-up scheduling index based on the updated follow-up element status matrix and the external fracture risk status, and generate follow-up tasks based on the dynamic follow-up scheduling index. Optionally, the calculation method of the dynamic follow-up scheduling index, the strategy for generating follow-up tasks, the method for maintaining task status, and the method for writing audit records are described in steps S206 and S207 of the foregoing method embodiment.

[0074] It should be noted that the above division of modules is merely exemplary. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the system provided in this embodiment and the above method embodiment belong to the same concept, and its specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0075] In one exemplary embodiment, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described embodiment of the follow-up element-guided model for managing the risk of diabetic fractures.

[0076] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0077] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0078] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A follow-up element-guided model for the management of diabetic fracture risk, characterized in that, include: Acquire follow-up data of diabetic patients, including multi-source follow-up data and external fracture risk status; The multi-source follow-up data is standardized to generate a follow-up element status matrix for the diabetic patients. The follow-up element status matrix includes the element status corresponding to each of the multiple follow-up elements. Calculate the element query priority value of each follow-up element based on the follow-up element status matrix, and determine the target query element set based on the element query priority value. Based on the target query element set and the preset clinical follow-up element ontology, a model guidance prompt is constructed, and the model guidance prompt is input into the large language model to generate a follow-up query task. Obtain the query answer corresponding to the follow-up query task, extract structured follow-up information from the query answer, and perform consistency verification on the structured follow-up information. The follow-up element status matrix is ​​updated based on the verified structured follow-up information, and a dynamic follow-up scheduling index is generated based on the updated follow-up element status matrix and the external fracture risk status. Follow-up tasks are generated based on the dynamic follow-up scheduling index.

2. The method for follow-up management of diabetic fracture risk using a follow-up element-guided model according to claim 1, characterized in that, The multi-source follow-up data includes at least one of patient-side follow-up data, doctor-side data entered data, and in-hospital examination data. The standardization process includes field standardization, unit conversion, missing value marking, outlier verification, source marking, and confidence encoding. In the follow-up element state matrix, the element state of the j-th follow-up element at time t is represented as a state vector. : in, For the element to take a value, For missing markers, For data freshness, For field confidence, For source marking, Let the weight of the j-th follow-up element be the correlation weight between the element and fracture risk. For conflict markers, This is a hard trigger flag.

3. The method for follow-up management of diabetic fracture risk using a follow-up element-guided model according to claim 2, characterized in that, The confidence level of the field Represented as: in, For source confidence level, Score for time freshness, Score the field completeness. Scoring for logical consistency The conflict penalty value. to These are the weighting coefficients. This is a truncation function; The conflict marker The conflict rules are determined by a conflict rule base, which includes synonym field conflict rules, negation and affirmation conflict rules, time conflict rules, event logic conflict rules, and medical scope conflict rules.

4. The method for follow-up management of diabetic fracture risk using a follow-up element-guided model according to claim 2, characterized in that, The follow-up data also includes the status of historical follow-up tasks; The priority value for the element query is represented as follows: in, Let j be the element query priority value of the j-th follow-up element at time t. For follow-up element gap values, The factor risk correlation between the j-th follow-up element and the external fracture risk status is given. For data uncertainty, The severity of the abnormal event. This refers to the overdue status value determined based on the historical follow-up task status. To inquire about the penalty value, to These are the weighting coefficients. This is the normalization function; The gap value of the follow-up element is expressed as: in, The validity period threshold of the j-th follow-up element. The legal value range of the j-th follow-up element. For indicator functions, to These are the weighting coefficients.

5. The method for follow-up management of diabetic fracture risk using a follow-up element-guided model according to claim 4, characterized in that, The dynamic follow-up scheduling index is expressed as: in, Let be the dynamic follow-up scheduling index at time t. This is a normalized value for the external fracture risk status. This represents the trend value of risk changes. A score was given for insufficient completeness of follow-up information. Scoring is given for abnormal events. The overdue score is determined based on the historical follow-up task status. To verify the gate values ​​for doctors, Score the data uncertainty. For continuous and stable reward values, to These are the weighting coefficients. This is a truncation function; The score for insufficient completeness of follow-up information is expressed as follows: in, The number of follow-up elements in the follow-up element state matrix. To prevent constants with a denominator of zero.

6. The method for follow-up management of diabetic fracture risk using a follow-up element-guided model according to claim 2, characterized in that, The structured follow-up information includes patient identifier, follow-up element identifier, element value, polarity, event occurrence time, data source, original text fragment, and extraction confidence level; The extraction confidence level is expressed as follows: in, Let be the extraction confidence level of the j-th follow-up element. Output confidence scores for large language models. For source confidence level, The score is for logical consistency verification. To answer the question of ambiguity penalty value, to These are the weighting coefficients; The step of updating the follow-up element status matrix based on the validated structured follow-up information includes: fusing the extracted confidence score with the field confidence score before the update to obtain the updated field confidence score. in, For the updated field confidence score, The confidence level of the field before the update. This is the fusion coefficient.

7. The method for follow-up management of diabetic fracture risk using a follow-up element-guided model according to claim 1, characterized in that, The model guidance prompts are constructed based on the target query element set, the patient structured summary, the element definitions and value constraints corresponding to the target query element set in the clinical follow-up element ontology, security constraint rules, historical query records, and structured output format. The security constraint rules include output prohibition rules, which are used to restrict the output of disease diagnosis conclusions, treatment prescriptions, or drug adjustment conclusions by the large language model. The follow-up inquiry task includes task identifier, associated follow-up elements, inquiry object, inquiry text, answer type, follow-up questioning conditions, stop conditions, doctor review mark and task priority.

8. The method for follow-up management of diabetic fracture risk using a follow-up element-guided model according to claim 1, characterized in that, The step of generating follow-up tasks based on the dynamic follow-up scheduling index includes: When a preset hard trigger event is detected, an immediate doctor review task is generated. The preset hard trigger events include new fracture events, limited mobility events after a fall, hip pain events, continuous delays exceeding a preset number of days, or the extraction of a high-risk description requiring doctor review. When the dynamic follow-up scheduling index is higher than the first threshold, a follow-up task for the first follow-up period is generated; when the dynamic follow-up scheduling index is in a preset middle range, a follow-up task for the second follow-up period is generated, the second follow-up period being longer than the first follow-up period; when the dynamic follow-up scheduling index is lower than the second threshold and meets the continuous stability condition, the follow-up period is extended. The follow-up task is converted into at least one of the following: patient reminder task, doctor review task, overdue reminder task, or high-risk warning task. Follow-up tasks for the same patient, the same target date, and the same task type are merged and each trigger source is retained. The task status of each task is maintained, including pending, sent, read, completed, overdue, upgraded, and closed. Write the basis for generating the follow-up task, the update record of the follow-up element status matrix, and the version information of the model guidance prompts into the audit log.

9. A follow-up management system for diabetes fracture risk guided by a follow-up element model, characterized in that, include: The data acquisition module is used to acquire follow-up data of diabetic patients, including multi-source follow-up data and external fracture risk status; The element status generation module is used to standardize the multi-source follow-up data and generate the follow-up element status matrix of the diabetic patients. The follow-up element status matrix includes the element status corresponding to each of the multiple follow-up elements. The query priority generation module is used to calculate the element query priority value of each follow-up element based on the follow-up element status matrix, and determine the target query element set based on the element query priority value. The model-guided inquiry module is used to construct model-guided prompts based on the target inquiry element set and the preset clinical follow-up element ontology, input the model-guided prompts into the large language model, and generate follow-up inquiry tasks. The information extraction and verification module is used to obtain the query and answer corresponding to the follow-up query task, extract structured follow-up information from the query and answer, and perform consistency verification on the structured follow-up information. The follow-up scheduling module is used to update the follow-up element status matrix based on the verified structured follow-up information, generate a dynamic follow-up scheduling index based on the updated follow-up element status matrix and the external fracture risk status, and generate follow-up tasks based on the dynamic follow-up scheduling index.

10. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the follow-up element-guided model for diabetes fracture risk follow-up management as described in any one of claims 1 to 8.