Individualized medical formula food prescription generation method and system and storage medium

By obtaining the patient's medical report and judging disease priorities, and using scientific algorithms to generate multiple prescription formula solutions, the problem of lack of systematicity and accuracy of individualized medical formula food prescriptions in the existing technology is solved, and efficient and accurate nutritional support is achieved.

CN119724486AInactive Publication Date: 2025-03-28YINGKANG DACHANG (XIAMEN) MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411741929.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art lacks systematicity and accuracy in generating individualized medical formula food prescriptions, making it difficult to fully consider the individual situation of the patient and the different requirements for nutrients by multiple diseases, resulting in imbalance or incomplete nutritional prescriptions.

Method used

By obtaining the patient's medical report, identifying the dosage form information of the nutritional doctor's orders, judging the disease priority, and generating multiple prescription formula schemes based on scientific algorithms, using the deviation method to calculate the deviation value of each formula scheme, and selecting the optimal formula with a comprehensive deviation value less than the threshold.

Benefits of technology

Efficient decision-making is achieved, ensuring the optimality and stability of nutritional formulas, comprehensively integrating patient information, providing precise and personalized nutritional support, and improving the effectiveness of nutritional intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119724486A_ABST
    Figure CN119724486A_ABST
Patent Text Reader

Abstract

The invention provides a method and a system for generating an individualized medical formula food prescription and a storage medium. The method comprises the following steps: acquiring a doctor-seeing report of a patient; generating a first prescription formula scheme based on a template corresponding to the dosage form information; generating a second prescription recipe based on the disease priority; generating a third prescription formula scheme by using different priority methods; calculating the actual value of the total energy of the recommended formula in the first, second and third prescription formula schemes and the actual value of the content of each nutrient of the recommended formula, and respectively calculating the deviation value between the actual value and the daily energy and each nutrient demand target value in the doctor-seeing report and the comprehensive deviation value of the candidate recommended formula by using a deviation method; and obtaining an optimal medical formula food prescription based on the size of the comprehensive deviation value of the candidate recommended formula and the limitation of a second threshold value. Precise personalized nutrition support is achieved by comprehensively integrating patient information, a nutrition formula is optimized in multiple dimensions and multiple levels, clinical changes are dynamically adapted, and the nutrition intervention effect is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical nutrition technology, and in particular to a method, system and storage medium for generating individualized medical formula food prescriptions. Background Art

[0002] In the modern healthcare system, nutrition plays a vital role in the treatment effect, recovery process and overall health of patients. Individualized nutritional support has become a key component of precision medicine, aiming to accurately allocate nutrients to meet the specific nutritional needs of patients based on their individual differences, including disease type, physical condition, age, gender, lifestyle and other factors.

[0003] However, current nutritional prescriptions face many challenges. Traditional methods often lack systematicity and precision, and it is difficult to fully consider the complex individual conditions of patients. When faced with patients with multiple coexisting diseases, existing technologies are difficult to effectively integrate the different requirements of different diseases for nutrients, which can easily lead to unbalanced or incomplete nutritional prescriptions. At the same time, there is a lack of effective means to utilize a large amount of clinical data and nutritional research results, and it is impossible to deeply explore the related information therein to guide accurate nutrient allocation.

[0004] In addition, existing formulation methods rely on experience and judgment in terms of nutrient selection, ratio determination, and formula adjustment, and lack scientific and efficient algorithm support. This not only affects the accuracy of nutritional prescriptions, but may also lead to waste of resources and poor patient treatment effects. Therefore, there is an urgent need for an innovative method for generating individualized medical formula food prescriptions based on scientific algorithms to improve the accuracy and effectiveness of nutritional support. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a method, system and storage medium for generating personalized medical formula food prescriptions.

[0006] According to the first aspect of the present application, a method for generating a personalized medical formula food prescription is proposed, the method comprising:

[0007] S1, obtain the patient's medical report, which includes nutrition instructions, daily energy and nutrient requirements;

[0008] S2, identifying dosage form information of the nutrition doctor's order, and generating a first prescription formula scheme based on a template corresponding to the dosage form information;

[0009] S3, using the primary and secondary diseases in the medical report to determine the disease priority of the patient in turn, and generating at least one second prescription formula scheme for recommended formula based on the disease priority;

[0010] and / or generating third prescription formula schemes corresponding to the recommended formulas respectively using protein priority, fat priority and basic formula adjustment methods;

[0011] S4, sequentially calculating the actual value of the total energy of the recommended formula in the first prescription formula scheme, the second prescription formula scheme and / or the third prescription formula scheme and the actual value of the content of each nutrient in the recommended formula, and using the deviation method to calculate the deviation value between the actual value and the daily energy and each nutrient requirement target value in the medical report, as well as the comprehensive deviation value of the candidate recommended formula, the candidate recommended formula being the recommended formula with a deviation value less than the first threshold;

[0012] S5. Based on the size of the comprehensive deviation value and the limitation of the second threshold, the optimal medical formula food prescription is obtained.

[0013] In the above technical scheme, based on the comparison between the comprehensive deviation difference and the threshold, the optimal medical formula food prescription is quickly locked in to achieve efficient decision-making, ensure the optimality of the selected formula in terms of the comprehensive deviation value, and enable the nutritional formula to maintain stable quality during multiple adjustments and comparisons. By comprehensively integrating patient information, accurate and personalized nutritional support can be achieved, the nutritional formula is optimized in multiple dimensions and levels, and dynamically adapts to clinical changes, which significantly improves the effect of nutritional intervention.

[0014] Further, step S5 includes: in response to the situation that the comprehensive deviation value between the candidate recommended formulas is greater than the second threshold, the optimal medical formula food prescription is the candidate recommended formula corresponding to the minimum comprehensive deviation value among the candidate recommended formulas, and the value range of the second threshold is [0, 1]. Based on the comparison between the comprehensive deviation difference and the second threshold, an efficient decision can be made on an accurate nutrition plan, the stability and reliability of the formula can be enhanced, and the patient can be guaranteed to obtain appropriate nutrition support in a timely manner.

[0015] Further, in step S4, in response to the deviation value of the recommended formula being greater than the first threshold, the recommended formula is adjusted based on protein priority and / or fat priority, and steps S4-S5 are repeatedly executed until the optimal medical formula food prescription is obtained, wherein the value range of the first threshold is [-5%, 5%], and protein priority and / or fat priority include a multi-dimensional adjustment method of the same genus classification, the proportion between each genus, energy supply restriction and the association of different nutrient restrictions between each disease. The deviation value adjustment mechanism can make the prescription formula scheme continuously approach the ideal nutritional supply, strengthen the method self-correction energy, and adapt to the complex and changing nutritional needs of patients.

[0016] Furthermore, the dosage form information includes one of a low-protein homogenate meal, a fiber-type homogenate meal, and a conventional homogenate meal, and the first prescription formula includes a recommended formula corresponding to one of the templates of a low-protein homogenate meal, a fiber-type homogenate meal, and a conventional homogenate meal. The preparation based on the dosage form information can be refined to meet special nutritional needs, optimize the clinical nutrition management process, and improve the pertinence and work efficiency of nutritional intervention.

[0017] Furthermore, disease priorities include special disease priorities, multiple disease priorities, and no specific disease priorities, among which:

[0018] The special disease priority is provided with a special nutrition template, and in response to determining that the patient belongs to the disease priority, the recommended formula in the second prescription formula scheme includes the special nutrition template corresponding to the special disease;

[0019] The multi-disease priority is set to at least two or more diseases coexisting. In response to determining that the patient belongs to the multi-disease priority, the disease weight value w of the patient is determined using the disease priority list. k , the disease weight value w k Combined with the corresponding multi-disease nutrition template, a multi-disease recommended formula in the second prescription formula scheme is obtained;

[0020] The priority of no specific disease is that there is no clear disease in the medical report. In response to the judgment that the patient belongs to the priority of no specific disease, the recommended formula in the second prescription formula plan includes a basic balanced nutrition prescription template.

[0021] In the above technical solution, different formula generation strategies are flexibly switched according to the disease priority, so that the preparation method can adapt to various clinical situations. Whether it is a single special disease, multiple diseases or no obvious disease, patients can obtain appropriate nutritional intervention plans, which enhances the flexibility and adaptability of clinical nutritional treatment. Disease priority-related strategies can solve the nutritional challenges of complex diseases in a targeted manner, improve the comprehensiveness and flexibility of nutritional intervention, and meet diverse clinical nutritional needs.

[0022] Further, the deviation method calculation of S4 includes the following sub-steps:

[0023] Step 1: Obtain the target total energy E of the patient's medical report target and target values ​​for each nutrient content

[0024] Step 2: Calculate the actual value of the total energy E of the recommended formula in the first prescription formula scheme, the second prescription formula scheme and / or the third prescription formula scheme respectively. i , Actual value of each nutrient content x ij , Total energy deviation of recommended formula And the deviation values ​​of each nutrient The specific calculation formula is:

[0025]

[0026] Where i represents the i-th recommended formula, i∈[2,7], j represents the j-th nutrient in the i-th recommended formula, and e irepresents the energy provided by the i-th recommended recipe, m i Expressed as the daily intake of the i-th recommended formula;

[0027] Step 3: Total energy deviation based on recommended formula Deviation value of each nutrient and the first threshold, obtain the candidate recommended formula, and use the total energy deviation value of the candidate recommended formula And the deviation values ​​of each nutrient Calculate the comprehensive deviation value TD of the candidate recommended formula i , the calculation formula is:

[0028]

[0029] Among them, w j It is represented as the bias weight of the j-th nutrient, which is set according to the importance of the nutrient.

[0030] In the above technical solution, the deviation method calculation comprehensively and accurately evaluates the quality of the recommended formula in the prescription formula by accurately obtaining the target value and calculating the actual value and the deviation value. From total energy to the content of each nutrient, the degree of deviation between the formula and the target is carefully quantified to provide detailed data support for judging the rationality of the formula. The deviation method calculation can comprehensively and accurately evaluate the quality of the formula, realize the standardized measurement of the degree of deviation, and provide a scientific basis for the preparation of high-quality nutritional prescriptions.

[0031] Furthermore, step S5 further includes: in response to the absolute values ​​of the differences between the comprehensive deviation values ​​between the candidate recommended recipes being less than the second threshold, executing the following sub-steps:

[0032] S51, calculate the energy E provided by each nutrient in the candidate recommended formula j , where E j represents the total daily energy of the jth nutrient, e j represents the energy provided by the jth nutrient, m j Represents the daily intake of the jth nutrient:

[0033]

[0034] S52, combined with the disease weight value w k Each nutrient in the candidate recommended formula is weighted to obtain the required amount of the corresponding nutrient, where P represents the daily protein intake, F represents the daily fat intake, c represents the daily carbohydrate intake, and δ represents the deviation threshold of the corresponding nutrient:

[0035]

[0036] S53, using the weighted nutritional requirement, recalculate the actual value of the total energy of the candidate recommended formula, and calculate the absolute value of the difference between the new actual value of the total energy of the candidate recommended formula and the target total energy in the medical report, and use the candidate recommended formula corresponding to the minimum absolute value of the difference as the optimal medical formula food prescription.

[0037] In the above technical solution, when the comprehensive deviation value of the candidate recommended formula is small, the nutrient requirement is further calculated in combination with the disease weight, thereby achieving in-depth optimization of the nutritional formula. By more carefully considering the impact of the disease on nutrient requirements and more accurately adjusting the supply of nutrients such as protein, fat, and carbohydrates, the formula is not only minimized in terms of overall deviation, but also achieves a higher level of matching of each nutrient, meeting the patient's delicate nutritional needs under complex disease conditions and improving the accuracy of nutritional therapy. At the same time, the accuracy of the nutritional formula can be deeply optimized, the dynamic adaptability of the formula can be enhanced, and it can better meet the nutritional needs of patients under complex disease conditions.

[0038] Going one step further, Multi-Disease Prioritization uses a formula to quantify the patient’s combined nutritional needs:

[0039]

[0040] Among them, D represents the quantitative index of comprehensive nutritional needs, w k Indicates the weight of the kth disease among the m diseases that the patient has, N k It represents the nutritional requirement of the kth disease. The nutritional requirements of different diseases are different. The multi-disease priority quantification formula can scientifically quantify the nutritional requirements, accurately guide the nutritional treatment of multiple diseases, and ensure that patients with multiple diseases receive reasonable nutritional support.

[0041] In the second aspect, the present application proposes a system for generating a personalized medical formula food prescription, the system comprising:

[0042] An information acquisition module is configured to obtain the patient's medical report, which includes nutritional advice, daily energy and nutrient requirements;

[0043] a first prescription formula module configured to identify dosage form information in the nutrition doctor's order and generate a first prescription formula based on a template corresponding to the dosage form information;

[0044] The second / third prescription formula scheme module is configured to determine the patient's disease priority in sequence using the main and secondary diseases in the medical report, the disease priority including special disease priority, multiple disease priority and no specific disease priority, and generate at least one second prescription formula scheme of recommended formula based on the disease priority; and / or generate the corresponding third prescription formula schemes of three recommended formulas using protein priority, fat priority and basic formula adjustment methods respectively;

[0045] a deviation calculation module configured to sequentially calculate the actual value of the total energy of the recommended formula in the first prescription formula scheme, the second prescription formula scheme and / or the third prescription formula scheme and the actual value of the content of each nutrient in the recommended formula, calculate the deviation value of the actual value from the target value corresponding to the daily energy and nutrient requirements and the comprehensive deviation value of the corresponding recommended formula by using a deviation method, and retain the candidate recommended formula with a deviation value less than a first threshold;

[0046] The optimal prescription generation module is configured to obtain the optimal medical formula food prescription based on the size of the comprehensive deviation value of the candidate recommended formula and the limitation of the second threshold.

[0047] In a third aspect, the present application proposes a terminal device, comprising a processor, a memory, and a computer program stored in the memory, wherein the computer program is executed by the processor to implement a method for generating an individualized medical formula food prescription as described above.

[0048] In a fourth aspect, the present application proposes a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, a method for generating an individualized medical formula food prescription as described above is implemented.

[0049] Compared with the prior art, the beneficial results of the present invention are:

[0050] 1. The present invention realizes a method for generating a highly personalized medical formula food prescription by comprehensively considering multiple factors such as the nutritional doctor's instructions, daily energy and nutrient requirements in the patient's detailed medical report. The method can be used to obtain a generative prescription for personalized medical formula food. Whether it is a patient with a special disease, multiple coexisting diseases or no specific disease, a nutritional plan that accurately adapts to their needs can be obtained, thereby improving the pertinence and effectiveness of nutritional support.

[0051] 2. The present invention generates multiple prescription formulas based on dosage form information, disease priority and different priority methods, and ensures that the final personalized medical formula food prescription is highly consistent with the target value in terms of energy and nutrient content through strict deviation calculation and screening. The clever use of multi-dimensional association, multi-layer association and weighted association rules helps to improve the adaptability of the prescription and better meet the energy and nutrient needs of patients.

[0052] 3. The preparation method of the present invention shows high flexibility in the face of different disease combinations and individual differences among patients. The disease priority is accurately determined according to the specific situation, and the nutrient ratio and demand are reasonably adjusted in combination with the weighted association method. At the same time, in the process of deviation calculation and optimal prescription determination, multiple factors are comprehensively considered to improve the accuracy of the application and scientific and reliable nutrition prescription tools. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The accompanying drawings are included to provide a further understanding of the embodiments and are incorporated into and constitute a part of this specification. The accompanying drawings illustrate the embodiments and are used together with the description to explain the principles of the present invention. It will be easy to recognize other embodiments and many expected advantages of the embodiments because they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale with each other. The same reference numerals refer to corresponding similar parts.

[0054] Figure 1 is a flow chart of a method for generating a personalized medical formula food prescription according to one embodiment of the present invention;

[0055] Figure 2 is a framework diagram of a system for generating a personalized medical formula food prescription according to an embodiment of the present application;

[0056] Figure 3 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION

[0057] In the following detailed description, reference is made to the accompanying drawings, which form a part of the detailed description and are shown by illustrative specific embodiments in which the present invention can be put into practice. To this end, directional terms, such as "top", "bottom", "left", "right", "up", "down", etc., are used with reference to the orientation of the figures described. Because the parts of the embodiments can be positioned in several different orientations, directional terms are used for the purpose of illustration and are by no means limiting. It should be understood that other embodiments may be utilized or logical changes may be made without departing from the scope of the present invention. Therefore, the following detailed description should not be adopted in a limiting sense, and the scope of the present invention is defined by the appended claims.

[0058] The present invention proposes a method for generating a personalized medical formula food prescription. Figure 1 A flow chart of a method for generating a personalized medical formula food prescription according to an embodiment of the present invention is shown. As shown in the figure, the method includes:

[0059] S101, obtain the patient's medical report, which includes nutritional instructions, daily energy and nutrient requirements.

[0060] In a specific embodiment, a detailed medical report of the patient is first obtained. The medical report includes nutritional information such as nutritional doctor's advice, daily energy and nutrient requirements, and also covers comprehensive information such as the patient's disease diagnosis, medical history, physical examination results, biochemical indicators, etc., providing basic data for subsequent precise allocation.

[0061] Specifically, nutrients such as protein, fat, and carbohydrates in the prescription need to be prepared according to a specific ratio. This ratio setting has a certain degree of flexibility and can be adjusted accordingly according to the type and characteristics of the patient's disease. Under different disease states, the body's metabolic needs, physiological function changes, and the utilization and excretion of nutrients are different, which leads to changes in the demand ratio of the three major nutrients:

[0062] The formula for calculating protein requirement P is: Where p represents the target ratio of protein, E 每 Indicates the total daily energy requirement. Taking a general patient as an example, if the protein target ratio is set to 20% (i.e. 0.2), when the total daily energy requirement E 每 Once determined, the formula can be used to calculate the protein intake that meets the patient's needs. 每 =2000 kcal, then P is 100 g, which indicates that the patient's daily protein intake requirement is 100 g. This calculation result provides a quantitative basis for the subsequent protein source selection and formula design, ensuring that the patient consumes an appropriate amount of protein to support physiological processes such as body structure maintenance, tissue repair, enzyme and hormone synthesis.

[0063] The formula for calculating fat requirement F is: Where f is the target fat ratio. For general patients, if f=30% (i.e. 0.3), then E 每 = 2000 kcal, then F is 66.7 grams. This calculation process is based on the characteristic that each gram of fat provides 9 kcal of energy. By determining the target fat ratio and total energy demand, the patient's daily fat requirement is accurately calculated. While meeting the body's energy reserves, maintaining the integrity of cell membrane structure, and promoting the absorption of fat-soluble vitamins, the effects of fat intake on cardiovascular health are taken into account. It is crucial to rationally select fat sources and control intake.

[0064] The calculation formula of carbohydrate C is: Where C is the target ratio of carbohydrates. Assuming that the average patient sets c = 50% (i.e. 0.5), when E 每 =2000 kcal, C is 250 g. As the main energy source, carbohydrate intake is calculated based on 4 kcal per gram and total energy requirements. Proper arrangement of carbohydrate types in the formula (such as choosing complex carbohydrates as the main source) helps maintain blood sugar stability and provide the body with a continuous and stable energy supply. At the same time, it avoids blood sugar fluctuations caused by improper carbohydrate intake (such as too much simple carbohydrates). Adjusting the proportion and type of carbohydrates is of great clinical significance, especially for patients with metabolic diseases such as diabetes.

[0065] Other nutrients required in the prescription formula, such as vitamins, minerals, dietary fiber and other nutrients, and their recommended daily intake N i The calculation formula is N i =RNI i × k , where RNI i Indicates the recommended intake of this nutrient for Chinese residents, which is a basic reference value based on the study of nutritional needs of healthy people; k is the weight coefficient related to the patient's disease. This coefficient can be flexibly adjusted according to the specific situation of the patient's disease to accurately meet the patient's special nutritional needs caused by the disease. For example, some diseases may require increased vitamin D intake, and the weight w k In different disease situations, the weight w k It can be flexibly adjusted to meet the patient's needs for certain specific nutrients. For patients with osteoporosis, the weight of calcium and vitamin D can be increased; for patients with iron deficiency anemia, the weight of iron can be increased.

[0066] Daily requirement of specific nutrients 特 The calculation formula is Among them, SPL is the specific daily recommended amount of special nutrients, which is determined based on the recommended dietary ingredients for Chinese adults, in milligrams or grams, and represents the basic reference value of the special nutrient required by adults under normal circumstances; 特 Special is the disease weight coefficient, which makes personalized adjustments to the special nutrient intake according to the needs of the patient's specific disease, reflecting the differences in the need for special nutrients under different disease states; "daily intake times" refers to the number of times the patient eats or supplements special nutrients every day. By rationally allocating special nutrients to each meal, their uniform intake is ensured to maintain stable blood drug concentrations (if the special nutrients have drug-like effects) or continue to play a nutritional support role, thereby improving the utilization efficiency of special nutrients and reducing adverse reactions or nutritional imbalances that may be caused by large-scale one-time intake or uneven intake.

[0067] S102, identifying dosage form information of the nutritional doctor's order, and generating a first prescription formula based on a template corresponding to the dosage form information.

[0068] In a specific embodiment, the dosage form information in the nutrition doctor's order is identified, and the dosage form information includes low-protein homogenate meal, fiber-type homogenate meal and conventional homogenate meal, etc. According to different dosage forms, a first prescription formula is generated based on a pre-set corresponding template. For example, if the patient suffers from kidney disease, the doctor may choose a dosage form that is more suitable for a low-protein homogenate meal. At this time, a recommended formula containing specific nutrient ratios and ingredients is generated based on the low-protein homogenate meal template and included in the first prescription formula; if the patient is diabetic, the doctor may choose a fiber-type homogenate meal, and the system will prepare it according to the fiber-type homogenate meal template; for patients without special diseases, a conventional homogenate meal template is used to generate a formula.

[0069] Specifically, when formulating a nutrition plan, the first priority is to recommend liquid and semi-liquid diets and set corresponding templates. The internal priority is determined according to the type and severity of the disease. For patients with kidney disease, nephritis, and renal insufficiency, due to their impaired renal metabolic function, low-protein, low-sodium, phosphorus, and potassium homogenate meals are recommended to reduce the burden on the kidneys; patients with end-stage renal disease and hemodialysis also give priority to specially customized low-protein, low-sodium, phosphorus, and potassium homogenate meals (optimized according to hemodialysis needs) due to extreme renal function decline, to reduce the risk of metabolic waste accumulation. For patients with diabetes, hyperglycemia, and impaired glucose tolerance, fiber-type homogenate meals are recommended to effectively manage blood sugar fluctuations, with the help of dietary fiber to stabilize blood sugar. In view of pancreatic dysfunction, patients with pancreatitis give priority to the use of hypotonic homogenate meals to reduce pancreatic stimulation. Patients with enteritis and colon diseases choose hypotonic homogenate meals or low-protein, low-sodium, phosphorus, and potassium homogenate meals according to their condition to facilitate intestinal repair. For those who do not have the above-mentioned specific diseases, they are directly recommended according to the conventional homogenate meal template. In terms of preparation, the four types of homogenate meals, namely low-protein, low-sodium, phosphorus and potassium homogenate meal, fiber-type homogenate meal, hypotonic homogenate meal and conventional homogenate meal, are prepared separately in batches of liquids, and the standardized process is strictly followed to ensure quality; semi-liquid meals are prepared by manual stirring without adding water, and ingredients are selected and finely processed according to the needs of patients to provide food with appropriate texture and nutrition to meet the nutritional needs and clinical treatment needs of different patients. The specific template expression is:

[0070]

[0071] S103, using the primary and secondary diseases in the medical report to determine the disease priorities of the patient in turn, and generating at least one second prescription formula scheme for recommended formula based on the disease priorities;

[0072] And / or generate a third prescription formula scheme corresponding to the recommended formula by using protein priority, fat priority and basic formula adjustment methods respectively.

[0073] In a specific embodiment, the second prescription formula is generated by using the disease priority judgment. The primary and secondary disease information in the medical report is deeply analyzed to determine the patient's disease priority in turn. The disease priority is divided into special disease priority, multiple disease priority and no specific disease priority.

[0074] Priority for special diseases: Special nutrition templates are pre-set for special diseases such as kidney disease and diabetes. When it is determined that the patient belongs to this type of special disease priority, the recommended formula in the second prescription formula directly adopts the special nutrition template corresponding to the special disease, that is, the recommended value = template value. For example, the special nutrition template for kidney patients will strictly control the quality and quantity of protein, select high-quality low-protein raw materials, and accurately adjust the content of electrolytes such as sodium and potassium and other nutrients to reduce the burden on the kidneys and maintain normal metabolism of the body.

[0075] Multiple disease priority: When a patient has at least two or more coexisting diseases, the disease priority list is used to determine the patient's disease weight value w k , where w k The disease priority list is expressed as the weight of the kth disease. The disease priority list ranks the relative importance of different disease combinations based on a large number of clinical studies and medical experience. For example, for patients with both diabetes and cardiovascular disease, if the cardiovascular disease is in an active stage and the condition is severe, the cardiovascular disease will be given a higher value. Then, the disease weight value is combined with the corresponding multi-disease nutrition template, that is, Generate the recommended formula 2 in the second prescription formula. The multi-disease nutrition template comprehensively considers the nutritional requirements of multiple diseases and uses the disease weight value w k Adjustments should be made to rationally allocate the proportion and content of each nutrient to ensure that while meeting the key nutritional needs of the main diseases, nutritional support for other co-existing diseases is also taken into account.

[0076] Specifically, when faced with more than two disease diagnoses, the following rules are followed to determine the nutrition plan: First, the priority nutrition plan is determined according to the priority order of the disease, among which preoperative fasting and delivery are the highest priority, followed by pancreatitis, severe, critical, enteritis, colon, rectum, anus, gastritis, kidney disease, nephritis, renal insufficiency, end-stage renal disease, hemodialysis, gallbladder, diabetes, hyperglycemia, impaired glucose tolerance, liver disease, hepatitis, cirrhosis, liver insufficiency, hepatic encephalopathy, bones, joints, skin, hyperuricemia, perioperative and postoperative, etc. Secondly, if there are more than two disease diagnoses that are not included in the above priority disease plans but have corresponding disease nutrition templates (such as tumor type, senile type, sarcopenia, Alzheimer's disease, hyperlipidemia and hypertension, pregnancy type, pregnancy constipation, maternal type, children's height increase type, obesity type, pain anti-inflammatory type (for pain, rheumatoid)), the nutrition template of the main diagnosed disease is determined as the nutrition plan. For situations where there is no corresponding disease template, it is recommended based on the whole protein balanced nutrition formula. This rule aims to comprehensively consider multiple disease factors and accurately match appropriate nutritional support strategies for patients with complex diseases to meet their specific nutritional needs, promote body recovery and health maintenance, and enhance the targetedness and effectiveness of nutritional intervention in multi-disease clinical scenarios.

[0077] Furthermore, when faced with the complex situation of patients suffering from multiple diseases at the same time, according to the weight of the main disease, priority is given to meeting the special nutritional needs of the main disease, while taking into account the basic nutritional needs of other diseases, so as to achieve a reasonable tilt of the nutritional ratio towards the needs of the dominant disease. Specifically, the following formula is used to quantify the patient's comprehensive nutritional needs:

[0078]

[0079] Among them, D represents the quantitative index of comprehensive nutritional needs, w k Indicates the weight of the kth disease among the m diseases of the patient. The weight is determined based on many factors, including the severity of the disease, the degree of impact on the body's physiological functions, the speed of disease progression, and the dominance of the current disease status in the overall health status. k It represents the nutritional requirement of the kth disease. The nutritional requirements of different diseases are obviously different.

[0080] For example, if a patient has both diabetes and kidney disease, a higher weight w can be set for kidney disease k , so that the ratio of nutrients is more in line with the requirements of kidney disease.

[0081] No specific disease priority: If the medical report does not clearly indicate a specific disease, the recommended formula three in the second prescription formula plan adopts the basic balanced nutrition prescription template. This template is designed according to the nutritional requirements of healthy people and contains appropriate amounts of nutrients such as protein, fat, carbohydrates, vitamins and minerals to provide patients with comprehensive and balanced nutritional support, maintain normal physiological functions of the body, and prevent potential nutritional deficiencies or imbalances.

[0082] In a specific embodiment, a third prescription formula scheme is generated using a different priority method, and three different recommended formulas are generated using protein priority, fat priority and basic formula adjustment methods, respectively, to form a third prescription formula scheme. The protein priority method aims to give priority to meeting the patient's need for protein, and is particularly suitable for patients with high needs for postoperative rehabilitation, malnutrition or body tissue repair. The fat priority method (such as giving priority to meeting medium-chain triglyceride (MCT) fat needs) has advantages in certain situations where rapid energy supply is required, such as during high-intensity training of athletes and under stress in critically ill patients. The basic formula adjustment method is based on the basic nutritional formula, and ensures that the patient's target nutritional needs are met by finely adjusting the content of each nutrient, while maintaining the balance and stability of the formula.

[0083] Furthermore, the three different recommended formulas are generated through three priority satisfaction algorithms, including protein priority algorithm, basic formula adjustment method and fat priority method:

[0084] The protein priority approach is used to prioritize the patient's protein needs:

[0085]

[0086] Among them, p′ represents the intake of protein nutrients each time, P 目标 It is expressed as the target daily protein intake. The number of daily intakes is determined based on the actual number of meals. The compound protein nutrient content is the proportion of protein in the protein raw material. For example, if a protein supplement contains 80% protein, the value of "compound protein nutrient content" is set to "0.8".

[0087] The basic formula adjustment method adjusts the content of each nutrient based on the basic formula to meet the target value:

[0088]

[0089] Among them, A j represents the adjusted intake of the jth nutrient, T j Expressed as the j-th nutrient intake, the allowable deviation range is (-5%, 5%), usually 5%. The deviation value of important nutrients such as protein can be smaller.

[0090] The fat priority method (MCT fat) aims to give priority to meeting the MCT fat demand and is suitable for fast energy supply situations:

[0091]

[0092] Among them, F MCT Indicates the amount of MCT consumed each time, F 目标 It is expressed as the daily target fat intake. The daily intake frequency is determined according to the actual number of meals. The fat content of the compound MCT nutrient is the fat ratio in the MCT fat raw material. For example, if the fat content of MCT oil is 100%, the value of "compound MCT nutrient fat content" is set to "1".

[0093] In a specific embodiment, protein priority and / or fat priority include a multi-dimensional adjustment method of the same category classification, ratio between each category, energy supply limitation and the association between different nutrient restrictions of each disease. For example, in the nutrient selection analysis of each component of an individualized nutritional prescription based on the disease level, a multi-dimensional association rule may involve multiple dimensions such as the same category classification (such as protein classification includes whey protein, casein, soy protein isolate, collagen, etc.), ratio between each category, energy supply limitation, the association between different nutrient restrictions of each disease, etc.

[0094] S104, sequentially calculating the actual value of the total energy of the recommended formula in the first prescription formula scheme, the second prescription formula scheme and / or the third prescription formula scheme and the actual value of the content of each nutrient in the recommended formula, and using the deviation method to calculate the deviation values ​​of the actual values ​​from the daily energy and each nutrient requirement target values ​​in the medical report, as well as the comprehensive deviation value of the candidate recommended formula, the candidate recommended formula being a recommended formula with a deviation value less than a first threshold.

[0095] In a specific embodiment, the deviation method calculation includes the following sub-steps:

[0096] Step 1: Obtain the target total energy E of the patient's medical report target and target values ​​for each nutrient content

[0097] Specifically, the target total energy E was extracted from the daily energy and nutrient requirements reported by the patient. target and target values ​​for each nutrient content These target values ​​are pre-set based on the patient's individual circumstances and treatment goals and serve as a benchmark for measuring the accuracy of the prescription formula.

[0098] Step 2: Calculate the actual value of the total energy E of the recommended formula in the first prescription formula scheme, the second prescription formula scheme and / or the third prescription formula scheme respectively. i , Actual value of each nutrient content x ij , Total energy deviation of recommended formula And the deviation value of each nutrient The specific calculation formula is:

[0099]

[0100] Where i represents the i-th recommended formula, i∈[2,7], j represents the j-th nutrient in the i-th recommended formula, and e i represents the energy provided by the i-th recommended recipe, m i Expressed as the daily intake of the ith recommended formula.

[0101] Specifically, for each recommended formula in the first prescription formula scheme, the second prescription formula scheme and / or the third prescription formula scheme, calculate the actual value of the total energy E i , Actual value of each nutrient content x ij , Total energy deviation of recommended formula And the deviation value of each nutrient Among them, e i represents the energy (kcal) provided by the i-th recommended formula, m i is expressed as the daily intake (g) of the i-th recommended formula, It is used to measure the deviation between the total energy of the i-th recommended formula and the target total energy. Used to evaluate the difference between the jth nutrient content in the ith recommended formula and the target value.

[0102] Step 3: Total energy deviation based on recommended formula Deviation value of each nutrient and the first threshold, obtain the candidate recommended formula, and use the total energy deviation value of the candidate recommended formula And the deviation values ​​of each nutrient Calculate the comprehensive deviation value TD of the candidate recommended formula i , the calculation formula is:

[0103]

[0104] Among them, w j It is represented as the bias weight of the j-th nutrient, which is set according to the importance of the nutrient.

[0105] Specifically, using the total energy deviation value of the recommended formula And the deviation value of each nutrient Calculate the comprehensive deviation value TD of the recommended formula i .w jIt is expressed as the deviation weight of the jth nutrient, which is set according to the importance of the nutrient. For example, the weight of protein can be set to 1.0, energy to 0.8, and vitamins, minerals, dietary fiber, etc. to 0.3-0.5. The comprehensive deviation value fully reflects the overall deviation between the recommended formula and the target formula in terms of energy and various nutrients.

[0106] S105, based on the size of the comprehensive deviation value and the definition of the second threshold, the optimal medical formula food prescription is obtained. In response to the situation that the comprehensive deviation value between the candidate recommended formulas is greater than the second threshold, the optimal medical formula food prescription is the candidate recommended formula corresponding to the minimum comprehensive deviation value among the candidate recommended formulas, and the value range of the second threshold is [0, 1]; in response to the absolute value of the difference between the comprehensive deviation values ​​between the candidate recommended formulas is less than the second threshold, the following sub-steps are performed:

[0107] S1051, calculate the energy E provided by each nutrient in the candidate recommended formula j , where E j represents the total daily energy of the jth nutrient, e j represents the energy provided by the jth nutrient, m j Represents the daily intake of the jth nutrient:

[0108]

[0109] S1052, combined with the disease weight value w k Each nutrient in the candidate recommended formula is weighted to obtain the required amount of the corresponding nutrient, where P represents the daily protein intake, F represents the daily fat intake, C represents the daily carbohydrate intake, and δ represents the deviation threshold of the corresponding nutrient:

[0110]

[0111] S1053, using the weighted nutritional requirement, recalculate the actual value of the total energy of the candidate recommended formula, and calculate the absolute value of the difference between the new actual value of the total energy of the candidate recommended formula and the target total energy in the medical report, and use the candidate recommended formula corresponding to the minimum absolute value of the difference as the optimal medical formula food prescription.

[0112] In a specific embodiment, the optimal medical formula food prescription is the candidate recommended formula with each deviation value less than the first threshold and the smallest comprehensive deviation value, and the value range of the first threshold is [-5%, 5%]. If the absolute value of the difference in the comprehensive deviation values ​​of different recommended formulas is less than the second threshold, and the value range of the second threshold is [0, 1], it indicates that these formulas are generally close to the ideal state, and the recommended formulas that do not meet the first threshold are excluded, and only the candidate formulas that meet the deviation limit are retained. The disease weight w is combined to select the best medical formula food prescription. kEach nutrient in the recommended formula is weighted to accurately calculate the nutrient requirement. Finally, the target total energy E can be extracted based on the protein priority, fat priority principle or the recalculated total energy of the recommended formula and the medical report. target The minimum absolute value of the difference, that is Select the best medical formula food prescription that best suits the patient from these near-optimal formulas. For example, for patients with higher protein requirements (such as burn patients, athletes in recovery, etc.), priority is given to formulas with better protein intake. Specifically, adjustments can be made based on the multi-dimensional associations of whey protein, casein, soy protein isolate, and collagen, the proportions between each category, energy supply restrictions, and different nutrient restrictions between diseases; for patients who need rapid energy replenishment (such as hypoglycemic patients, critically ill patients in the acute phase, etc.), a formula with more adequate fat supply is preferred.

[0113] Example 1

[0114] The nutrient requirements of a patient in the medical report are shown in Table 1:

[0115] Nutrients Amount Per Serving Heat 336kcal protein 16.2g Fat 16.4g carbohydrate 28.8g Dietary fiber 1.5g Micronutrients (complete) 33%NRV

[0116] Table 1: Energy and nutrient requirements of patients

[0117] The optimal individualized medical formula food prescription generated by the method for generating the individualized medical formula food prescription of the present application is shown in Table 2:

[0118] Product Name Dosage(g) Compound whey protein powder 20 Balanced fat powder 30 Polysaccharide powder 15 Vitamin complex 1 Complex minerals 2.5 total 68.5

[0119] Table 2: Intelligent recommended recipe

[0120] The method for generating the individualized medical formula food prescription of the present application is used to generate a recommended formula template, calculate the actual value of the total energy of the recommended formula template and the actual value of each nutrient content, and calculate the deviation value with each content result in Table 1. If any deviation is greater than 5%, intervention adjustment measures need to be implemented. If all the components in the template are greater than 5% of the energy and nutrient requirement calculation results in the medical report in Table 1, the corresponding template is deleted. If some of the components in the template are greater than or less than 5% of the energy and nutrient requirement calculation results in the medical report in Table 1, the corresponding amount is increased or decreased. The adjustment order is that there are two priority methods: method 1 is the protein priority method, that is, (flavoring agent)> protein> complex vitamins> compound minerals> dietary fiber> special nutrients> MCT50%> balanced fat 50%> carbon water; method 2 is the high-quality energy priority method, that is, (flavoring agent)> MCT50%> balanced fat 50%> protein> complex vitamins> compound minerals> dietary fiber> special nutrients> carbon water. The calculation priority order for compound preparations that are directly formulated without basic template components also follows the above rules. After completing the preliminary adjustment, the final total calculated value is compared with the result target of each content in Table 1 according to the above priority. If the difference is greater than 5%, the corresponding component dosage is adjusted again, and the subsequent component dosage also needs to be changed accordingly. Through repeated iterative adjustments, until the difference with the target amount is controlled within 5%, the optimal individualized medical formula food prescription in Table 2 is obtained. This generative prescription method ensures the accuracy and effectiveness of the nutritional prescription, so that it can meet the individualized nutritional needs of patients to the greatest extent, and provide strong nutritional support for disease treatment and rehabilitation.

[0121] This application uses multi-dimensional association rules to comprehensively consider multi-dimensional factors such as disease-related component classification, proportion, energy supply limitation and nutrient association between diseases, and combines multi-layer association rules to deeply involve multiple abstract levels such as individual BMI, daily energy demand, disease spectrum, digestive tract function to specific component categories, and then uses weighted association rules to mine and accurately quantify the different impact weights of diseases on nutrients. Based on an individualized compound nutrient system with stable process, safety and compatibility, convenient operation, and flexible category and dosage calculation, a comprehensive and in-depth nutrition prescription preparation system is constructed, which realizes in-depth analysis and integration of patient individual characteristics from multiple dimensions and multiple levels, and accurately generates the optimal individualized compound nutrition prescription for medical formula food, which greatly improves the accuracy and personalization of nutrition prescriptions, as well as the effectiveness and feasibility of clinical application, effectively fills the shortcomings of traditional nutrition preparation methods in dealing with complex individual differences and disease conditions, and strongly promotes the development of the nutrition field towards refinement and individualization.

[0122] Further references Figure 2As an implementation of the above method, in a second aspect, the present application provides an embodiment of a system 200 for generating a personalized medical formula food prescription. Figure 1 The system 200 includes an information acquisition module 201, a first prescription formula module 202, a second / third prescription formula module 203, a deviation calculation module 204 and an optimal prescription generation module 205, which are connected to each other in communication, wherein:

[0123] The information acquisition module 201 is configured to obtain the patient's medical report, which includes nutritional advice, daily energy and nutrient requirements;

[0124] A first prescription formula module 202 is configured to identify the dosage form information in the nutrition doctor's order and generate a first prescription formula based on a template corresponding to the dosage form information;

[0125] The second / third prescription formula scheme module 203 is configured to use the main and secondary diseases of the medical report to determine the patient's disease priority in sequence, the disease priority including special disease priority, multiple disease priority and no specific disease priority, and generate at least one second prescription formula scheme of recommended formula based on the disease priority; and / or generate corresponding third prescription formula schemes of three recommended formulas respectively by using protein priority, fat priority and basic formula adjustment method;

[0126] The deviation calculation module 204 is configured to sequentially calculate the actual value of the total energy of the recommended formula in the first prescription formula scheme, the second prescription formula scheme and / or the third prescription formula scheme and the actual value of each nutrient content of the recommended formula, calculate the deviation value of the actual value from the target value corresponding to the daily energy and the nutrient requirement and the comprehensive deviation value of the corresponding recommended formula by using the deviation method, and retain the candidate recommended formula whose deviation value is less than the first threshold value;

[0127] The optimal prescription generating module 205 is configured to obtain an optimal medical formula food prescription based on the size of the comprehensive deviation value of the candidate recommended prescription and the limitation of the second threshold.

[0128] The system aims to automatically generate the optimal individualized compound nutritional prescription for medical formula food. With the help of the multi-dimensional, multi-layer and weighted association rules and individualized compound nutrient system of the first prescription formula module 202 and the second / third prescription formula module 203, based on scientific formulas and combined with weighted calculation of nutritional needs for specific diseases, it realizes an integrated process from data association analysis to accurate nutritional prescription generation, effectively solves the problem of lack of precision and personalization in traditional nutritional prescription formulation, provides patients with more scientific, effective and personalized nutritional support plans, and effectively promotes the development of medical nutrition field towards precision and personalization.

[0129] In a third aspect, the present application proposes a terminal device, including a processor, a memory, and a computer program stored in the memory, wherein the computer program is executed by the processor to implement any of the above display screen assembly methods.

[0130] In a fourth aspect, the present application proposes a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, any of the above display screen assembly methods is implemented.

[0131] Reference below Figure 3 , which shows a schematic diagram of the structure of a computer system 300 of a terminal device or server suitable for implementing an embodiment of the present application. Figure 3 The terminal device or server shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0132] like Figure 3 As shown, the computer system 300 includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage part 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the computer system 300 are also stored. The CPU 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0133] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.

[0134] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, the above functions defined in the method of the present application are executed. It should be noted that the computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable medium or any combination of the above two. The computer-readable medium can be, for example, - but not limited to - a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus or a device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus or a device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0135] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0136] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0137] Obviously, those skilled in the art can make various modifications and changes to the embodiments of the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and changes are within the scope of the claims of the present invention and their equivalents, the present invention is also intended to cover these modifications and changes. The word "comprising" does not exclude the presence of other elements or steps not listed in the claims. The simple fact that certain measures are recorded in mutually different dependent claims does not indicate that the combination of these measures cannot be used to profit. Any reference numerals in the claims should not be considered to limit the scope.

Claims

1. A method for generating a personalized medical formula food prescription, characterized in that: The method comprises: S1, obtaining a patient's medical report, wherein the medical report includes nutritional advice, daily energy and nutrient requirements; S2, identifying the dosage form information of the nutrition doctor's order, and generating a first prescription formula scheme based on a template corresponding to the dosage form information; S3, using the primary and secondary diseases in the medical report to determine the disease priorities of the patient in turn, and generating at least one second prescription formula scheme for recommended formula based on the disease priorities; and / or generating third prescription formula schemes corresponding to the recommended formulas respectively using protein priority, fat priority and basic formula adjustment methods; S4, sequentially calculating the actual value of the total energy of the recommended formula in the first prescription formula scheme, the second prescription formula scheme and / or the third prescription formula scheme and the actual value of the content of each nutrient in the recommended formula, and using the deviation method to calculate the deviation values ​​of the actual values ​​from the daily energy and each nutrient requirement target value in the medical report, as well as the comprehensive deviation value of the candidate recommended formula, wherein the candidate recommended formula is the recommended formula whose deviation value is less than the first threshold value; S5. Based on the size of the comprehensive deviation value and the limitation of the second threshold, an optimal medical formula food prescription is obtained.

2. The method for generating a personalized medical formula food prescription according to claim 1, characterized in that: The S5 step includes: In response to the situation that the comprehensive deviation value between the candidate recommended formulas is greater than a second threshold, the optimal medical formula food prescription is the candidate recommended formula corresponding to the smallest comprehensive deviation value among the candidate recommended formulas, and the value range of the second threshold is [0, 1].

3. The method for generating a personalized medical formula food prescription according to claim 1, characterized in that: In step S4, in response to the deviation value of the recommended formula being greater than the first threshold, the recommended formula is adjusted based on protein priority and / or fat priority, and steps S4-S5 are repeatedly executed until the optimal medical formula food prescription is obtained, wherein the value range of the first threshold is [-5%, 5%], and the protein priority and / or the fat priority include a multi-dimensional adjustment method of the same genus classification, the ratio between each genera, energy supply restriction and the association of different nutrient restrictions between each disease.

4. The method for generating a personalized medical formula food prescription according to claim 1, characterized in that: The dosage form information includes one of a low-protein homogenate meal, a fiber-type homogenate meal and a conventional homogenate meal, and the first prescription formula includes a recommended formula corresponding to a template of the low-protein homogenate meal, the fiber-type homogenate meal and the conventional homogenate meal.

5. The method for generating a personalized medical formula food prescription according to claim 1, characterized in that: The disease priorities include special disease priorities, multiple disease priorities and no specific disease priorities, among which: The special disease priority is provided with a special nutrition template, and in response to determining that the patient belongs to the disease priority, the recommended formula in the second prescription formula scheme includes the special nutrition template corresponding to the special disease; The multi-disease priority is set to at least two or more diseases coexisting, in response to determining that the patient belongs to the multi-disease priority, the disease weight value w of the patient is determined using the disease priority list. k , the disease weight value w k Combining the corresponding multi-disease nutrition template, obtaining the multi-disease recommended formula in the second prescription formula scheme; The no-specific-disease priority level means that the medical report does not contain any clear disease. In response to determining that the patient belongs to the no-specific-disease priority level, the recommended formula in the second prescription formula plan includes a basic balanced nutrition prescription template.

6. The method for generating a personalized medical formula food prescription according to claim 1, characterized in that: The deviation method calculation of S4 includes the following sub-steps: Step 1: Obtain the target total energy E of the patient's medical report target and target values ​​for each nutrient content Step 2: Calculate the actual value of the total energy E of the recommended formula in the first prescription formula, the second prescription formula and / or the third prescription formula respectively. i , Actual value of each nutrient content x ij , Total energy deviation of recommended formula And the deviation values ​​of each nutrient The specific calculation formula is: Where i represents the i-th recommended formula, i∈[2,7], j represents the j-th nutrient in the i-th recommended formula, and e i represents the energy provided by the i-th recommended recipe, m i Expressed as the daily intake of the i-th recommended formula; Step 3: Based on the total energy deviation value of the recommended formula Deviation value of each nutrient and the first threshold, obtain the candidate recommended formula, and use the total energy deviation value of the candidate recommended formula And the deviation values ​​of each nutrient Calculate the comprehensive deviation value TD of the candidate recommended recipe i , the calculation formula is: Among them, w j It is represented as the bias weight of the j-th nutrient, which is set according to the importance of the nutrient.

7. The method for generating a personalized medical formula food prescription according to claim 5, characterized in that: The step S5 further includes: in response to the absolute values ​​of the differences between the comprehensive deviation values ​​between the candidate recommended recipes being smaller than the second threshold, executing the following sub-steps: S51, calculating the energy E provided by each nutrient in the candidate recommended formula j , where E j represents the total daily energy of the jth nutrient, e j represents the energy provided by the jth nutrient, m j Represents the daily intake of the jth nutrient: S52, combining the disease weight value w k Each nutrient of the candidate recommended formula is weighted to obtain the required amount of the corresponding nutrient, where P represents the daily protein intake, F represents the daily fat intake, C represents the daily carbohydrate intake, and δ represents the deviation threshold of the corresponding nutrient: S53, using the weighted nutritional requirement, recalculate the actual value of the total energy of the candidate recommended formula, and calculate the absolute value of the difference between the new actual value of the total energy of the candidate recommended formula and the target total energy in the medical report, and take the candidate recommended formula corresponding to the smallest absolute value of the difference as the optimal medical formula food prescription.

8. The method for generating a personalized medical formula food prescription according to claim 5, characterized in that: The multi-disease priority approach uses a formula to quantify the patient's combined nutritional needs: Among them, D represents the quantitative index of comprehensive nutritional needs, w k Indicates the weight of the kth disease among the m diseases that the patient has, N k It represents the nutritional requirement of the kth disease. The nutritional requirements of different diseases vary.

9. A system for generating a personalized medical formula food prescription, characterized in that: The system is implemented based on the method for generating a personalized medical formula food prescription according to any one of claims 1 to 8, and the system comprises: An information acquisition module is configured to obtain the patient's medical report, which includes nutritional advice, daily energy and nutrient requirements; a first prescription formula module configured to identify the dosage form information in the nutrition doctor's order and generate a first prescription formula based on a template corresponding to the dosage form information; The second / third prescription formula scheme module is configured to use the main and secondary diseases of the medical report to determine the patient's disease priority in sequence, the disease priority including special disease priority, multiple disease priority and no specific disease priority, and generate at least one recommended formula second prescription formula scheme based on the disease priority; and / or generate corresponding three recommended formula third prescription formula schemes using protein priority, fat priority and basic formula adjustment methods respectively; a deviation calculation module, configured to sequentially calculate the actual value of the total energy of the recommended formula in the first prescription formula scheme, the second prescription formula scheme and / or the third prescription formula scheme and the actual value of each nutrient content of the recommended formula, calculate the deviation value of the actual value from the target value corresponding to the daily energy and the nutrient requirement and the comprehensive deviation value of the corresponding recommended formula by using a deviation method, and retain the candidate recommended formula whose deviation value is less than a first threshold; The optimal prescription generation module is configured to obtain the optimal medical formula food prescription based on the size of the comprehensive deviation value of the candidate recommended formula and the limitation of the second threshold.

10. A computer-readable storage medium, wherein a computer program is stored in the medium, and when the computer program is executed by a processor, the method for generating an individualized medical formula food prescription according to any one of claims 1 to 8 is implemented.