Traditional Chinese Medicine and Food Homologous Gastrointestinal Endoscopy Preparation Meal Distribution System
By incorporating the concept of food and medicine sharing the same origin in traditional Chinese medicine into the meal preparation system for gastrointestinal endoscopy, and combining data collection and syndrome differentiation analysis, personalized recipe recommendations are achieved. This solves the problem of poor meal preparation before gastrointestinal endoscopy and improves patients' tolerance and comfort during the examination.
Patent Information
- Application Number
- CN202610119049.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-28
- Publication Date
- 2026-05-26
AI Technical Summary
Current methods of preparing meals before gastroscopy and colonoscopy ignore individual differences and the concept of food and medicine sharing the same origin in traditional Chinese medicine, making it difficult to regulate the patient's gastrointestinal function while cleaning the intestines, resulting in poor meal preparation effects.
The gastrointestinal endoscopy examination meal preparation and distribution system adopts the concept of food and medicine from the same source in traditional Chinese medicine. It acquires historical and current symptoms through the data acquisition module, combines them with fiber retention parameters, uses the syndrome type analysis module to determine the current syndrome type, and provides personalized recipe recommendations through the meal recommendation module.
While ensuring effective bowel preparation, we aim to improve patients' tolerance to gastroscopy and colonoscopy, providing a safer and more comfortable preparation process.
Smart Images

Figure CN122091094A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of healthcare informatics technology, specifically to a system for preparing and serving meals for gastrointestinal endoscopy examinations using traditional Chinese medicine and food homology. Background Technology
[0002] Gastroscopy and colonoscopy are important diagnostic tools for gastrointestinal diseases. However, prior to these examinations, patients often focus on low-residue or liquid diets and rely on medications such as bowel cleansing agents to promote intestinal digestion and emptying, ensuring clear visualization during the examination. However, this approach, prioritizing absolute physical cleanliness, may overlook individual differences and the need to regulate the patient's overall health. Integrating the principles of traditional Chinese medicine and food homology, by rationally combining ingredients that harmonize the spleen and stomach and promote digestion, can maintain a healthy gastrointestinal state, providing a safer and more comfortable preparation process for gastroscopy and colonoscopy.
[0003] Currently, in the process of preoperative meal planning for gastroscopy and colonoscopy, although there are attempts to incorporate the concept of food and medicine from the same source, most of these practices remain at the stage of empirical accumulation. There is a tendency to simply introduce a balanced diet to nourish the stomach and to completely succumb to the low-residue standards of Western medicine. The personalized adjustment of the properties and meridians of the ingredients is ignored, and the systemic integration with the patient's TCM syndrome differentiation and treatment is not achieved. As a result, it is difficult to make reasonable meal planning in the preoperative preparation process for gastroscopy and colonoscopy, and it is difficult to regulate the patient's gastrointestinal function while cleansing the intestines. Summary of the Invention
[0004] To address the technical problem of poor meal preparation results for gastrointestinal endoscopy, the present invention aims to provide a meal preparation system for gastrointestinal endoscopy using traditional Chinese medicine and food homology. The specific technical solution adopted is as follows: A meal preparation and serving system for gastrointestinal endoscopy examinations involving the homology of traditional Chinese medicine and food, the system comprising: Data acquisition module: used to acquire the historical symptom set of each historical examinee under each syndrome type, the current symptom set of the current examinee, and the fiber retention parameters of each recipe in the preset TCM food database; Syndrome Analysis Module: Under each syndrome type, it determines the representative symptom set based on all historical symptom sets, and combines different symptoms from all historical symptom sets to obtain all symptom combinations; for each symptom, it obtains its single syndrome differentiation parameter under each syndrome type based on its frequency of occurrence in all historical symptom sets under different syndrome types; for each symptom combination, it obtains its linked syndrome differentiation parameter under each syndrome type based on its frequency of occurrence in all historical symptom sets under different syndrome types, and the single syndrome differentiation parameter of each symptom within it. Meal recommendation module: It is used to determine the current syndrome of the examinee based on the overlap between the current symptom set and the representative symptom set under each syndrome type, and combined with the single syndrome differentiation parameter of each symptom in the current symptom set under each syndrome type, as well as the linkage syndrome differentiation parameter of the symptom combination containing each symptom under each syndrome type; and to formulate a meal plan based on the current syndrome type and the fiber retention parameter of each diet.
[0005] Furthermore, the method for obtaining the fiber retention parameters includes: A colon cleansing simulation experiment was conducted for each recipe to obtain the physical residue parameters of the recipe; for each recipe, the fiber retention parameters were obtained based on the physical residue parameters and the dietary fiber content of each ingredient in the recipe.
[0006] Furthermore, the method for obtaining the representative symptom set includes: Under each syndrome type, representative patients are selected from all historical subjects based on the frequency of each symptom in all historical symptom sets; a representative symptom set is obtained based on the historical symptom sets of all representative patients.
[0007] Furthermore, the method for obtaining the single dialectical parameter includes: The frequency of each symptom in all historical symptom sets under each syndrome type is used as the diagnostic parameter for each symptom under each syndrome type; based on the differences in the diagnostic parameters for each symptom under different syndrome types, a single diagnostic parameter for each symptom under each syndrome type is obtained.
[0008] Furthermore, the method for obtaining the linkage dialectical parameters includes: The frequency of occurrence of each symptom combination in all historical symptom sets under each syndrome type is used as the syndrome differentiation parameter for each symptom combination under each syndrome type; based on the differences in the syndrome differentiation parameters for each symptom combination under different syndrome types, the combination syndrome differentiation parameter for each symptom combination under each syndrome type is obtained. The mean value of the single diagnostic parameter of each symptom within each symptom combination is used as the combination diagnostic weight; the combination diagnostic weight is used to weight the combination diagnostic parameter, and the weighted result is used as the linkage diagnostic parameter of each symptom combination under each syndrome type.
[0009] Further, determine the current certificate type of the person to be examined, including: Based on the number of symptoms in the intersection of the current symptom set and the representative symptom set under each syndrome type, obtain the first fit coefficient between the current examinee and each syndrome type; Identify all current symptom combinations included in the current symptom set; based on the single diagnostic parameter of each symptom in the current symptom set under each syndrome type, and the linkage diagnostic parameter of each current symptom combination in the current symptom set under each syndrome type, obtain the second fit coefficient between the current examinee and each syndrome type; By combining the first and second matching coefficients, the tendency coefficient of the current examinee under each certificate type is obtained; the current certificate type of the current examinee is determined based on the tendency coefficient.
[0010] Furthermore, the method for obtaining the second matching coefficient includes: Under each syndrome type, for each symptom in the current symptom set, in each current symptom combination to which it belongs, the average of the first preset number of maximum linkage differentiation parameters in the corresponding syndrome type is used as the linkage reference differentiation parameter. The single diagnostic parameter of each symptom in the current symptom set under each syndrome type is used as the weight, and the corresponding linkage reference diagnostic parameter is weighted. The normalized value of the weighted sum of all symptoms is used as the second fit coefficient.
[0011] Furthermore, the certificate type corresponding to the largest of the aforementioned tendency coefficients is taken as the current certificate type.
[0012] Furthermore, meal planning is conducted based on the current syndrome type and the fiber retention parameters of each diet, including: Based on the current syndrome type, all recommended medicinal food recipes are selected from the preset TCM food database; according to the fiber retention parameters of each recommended medicinal food recipe, meals are prepared for the current examinee on each meal preparation day before the scheduled date of the gastroscopy and colonoscopy examination.
[0013] Furthermore, meal preparation will be provided for each meal preparation day preceding the scheduled gastroscopy / colonoscopy examination date for the current examinee, including: The meal preparation days before the appointment date are classified into conditioning period, transition period and prohibition period; based on the fiber retention parameters, the recommended medicinal food recipes are classified, and all conditioning medicinal food recipes under the conditioning period and all transition medicinal food recipes under the transition period are obtained respectively, and meals are prepared on each meal preparation day.
[0014] The present invention has the following beneficial effects: This invention first obtains the historical symptom set of each historical subject under each syndrome type and the current symptom set of the current subject to be tested, providing a basis for subsequent syndrome type matching. It also obtains the fiber retention parameters of each recipe in a pre-set TCM food database to prepare for subsequent meal recommendations. Then, under each syndrome type, a representative symptom set is determined based on all historical symptom sets to provide a historical matching reference. Different symptoms from all historical symptom sets are combined to obtain all symptom combinations, preparing for subsequent linked syndrome differentiation analysis. Finally, it obtains the single syndrome differentiation parameter for each symptom under each syndrome type, and the single syndrome differentiation parameter for each symptom combination under each syndrome type. The invention employs a linkage-based diagnostic parameter system. A single diagnostic parameter represents a single-symptom-based, single-direction diagnostic ability for a specific syndrome type, while a linkage-based diagnostic parameter represents a comprehensive, multi-symptom-based diagnostic ability for a specific syndrome type. Both provide the foundation for subsequent syndrome type matching based on the current examinee's symptom presentation. Then, by combining the overlap between the current symptom set and the representative symptom set for each syndrome type, the current syndrome type of the examinee is determined. Finally, based on the current syndrome type and the fiber retention parameters of each diet, a symptomatic meal plan is prepared. While ensuring adequate bowel cleansing, the meal plan enhances the examinee's tolerance through dietary matching. This invention matches the current examinee's syndrome type with the syndrome and symptom presentation of historical examinees, thereby incorporating traditional Chinese medicine principles to assist in the rational meal planning of the current examinee before gastroscopy and colonoscopy. While adhering to the principles of a low-residue diet, the meal plan enhances the examinee's tolerance through dietary matching. Attached Figure Description
[0015] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a block diagram of a traditional Chinese medicine and food homology gastrointestinal endoscopy detection meal preparation and distribution system provided in one embodiment of the present invention; Figure 2 This is an example diagram of a meal preparation dish provided in one embodiment of the present invention; Figure 3 This is a flowchart of a method for determining the current certificate type of a subject to be examined, provided as an embodiment of the present invention. Detailed Implementation
[0017] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of a traditional Chinese medicine and food homology gastrointestinal endoscopy preparation and serving system proposed according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.
[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0019] The following description, in conjunction with the accompanying drawings, details the specific scheme of the traditional Chinese medicine and food homology gastrointestinal endoscopy detection meal preparation and distribution system provided by the present invention.
[0020] Please see Figure 1 The diagram shows a module diagram of a traditional Chinese medicine food homology gastrointestinal endoscopy detection meal preparation and distribution system provided by an embodiment of the present invention. The system includes a data acquisition module 101, a symptom analysis module 102, and a meal recommendation module 103.
[0021] Data acquisition module 101: used to acquire the historical symptom set of each historical examinee under each syndrome type, the current symptom set of the current examinee, and the fiber retention parameters of each recipe in the preset TCM food database.
[0022] It should be noted that the implementation scenario targeted by the embodiments of the present invention is to prepare a diet and medication based on the patient's symptoms before the patient undergoes gastroscopy and colonoscopy, thereby regulating and improving the patient's gastrointestinal state and providing a safer and more comfortable preparation process for the gastroscopy and colonoscopy; bowel preparation is still required before the gastroscopy and colonoscopy.
[0023] Among them, "historical examinees" refers to patients who have undergone gastroscopy and colonoscopy, while "current examinees" refers to patients who are about to undergo gastroscopy and colonoscopy but have not yet undergone TCM diagnosis.
[0024] Patients with different syndrome types will exhibit different symptoms. By analyzing the symptom presentations of a large number of historical examinees under different syndrome types, we can provide historical references for analyzing the syndrome type of the examinee to be examined. Furthermore, before gastroscopy and colonoscopy, dietary adjustments based on the syndrome type can not only reduce the interference of pre-existing dietary residues on the examination field, but also help improve the gastrointestinal function of the examinee to be examined, thereby improving the gastroscopy and colonoscopy experience.
[0025] Based on this, in one embodiment of the present invention, the electronic medical records of all historical examinees are first extracted from the hospital information management system. The syndrome type segmentation and symptom segmentation recorded in the electronic medical records are extracted, such as spleen qi deficiency syndrome (symptoms include fatigue, loose stools, and loss of appetite), stomach yin deficiency syndrome (symptoms include dry mouth, loss of appetite, and red tongue with little coating), and liver qi stagnation and spleen deficiency syndrome (symptoms include abdominal distension, mood swings, and wiry pulse). Then, all symptom segmentation in each electronic medical record are used as set elements to construct the historical symptom set corresponding to the historical examinee. All historical examinees are then classified according to syndrome type.
[0026] The first step involves preprocessing the electronic medical records: removing the examinee's private information and retaining only the TCM diagnostic text; and pre-constructing a syndrome type dictionary and a symptom dictionary, using a trained entity recognition model to extract syndrome type segmentation and symptom manifestation segmentation from the TCM diagnostic text. This is a well-known technology and will not be elaborated further.
[0027] Before preparing meals for the current examinee, the symptoms of the current examinee are recorded, and a set of current symptoms corresponding to the current examinee is constructed.
[0028] It should be noted that both syndrome type segmentation and symptom manifestation segmentation are TCM terms recorded by TCM professionals. The segmentation expressions for the same syndrome type or the same symptom are consistent, providing a basis for subsequent analysis and matching.
[0029] Because different ingredients have different physical structures, their fiber content also varies, and their retention in the intestines also varies. Fiber retention will interfere with the subsequent detection field. Based on this, this embodiment of the invention also obtains the fiber retention parameters of each recipe in the preset Chinese medicine food database to prepare for subsequent meal preparation based on the current syndrome type of the examinee.
[0030] The pre-built TCM food database first obtains a recommended food set for subjects before gastroscopy and colonoscopy based on the "Guidelines for Bowel Preparation Related to Digestive Endoscopy in China." Then, based on "Traditional Chinese Medicine Diet Therapy," it obtains the properties, meridians, effects, and applicable syndromes of each ingredient in the recommended food set. Next, a professional TCM nutritionist mixes the ingredients to create a recipe. Each recipe includes several dishes for one meal, the ingredients included in each dish, recommended cooking methods, and the applicable syndromes. Please refer to [link / reference]. Figure 2 The illustration shows an example of a meal preparation dish provided by an embodiment of the present invention; the construction of a pre-set traditional Chinese medicine food database is a well-known technical means and will not be described in detail here.
[0031] Preferably, in one embodiment of the present invention, considering that the higher the dietary fiber content, the higher the possibility of its retention in the intestine; however, the dietary fiber content is not directly equivalent to the amount of residue in the intestine, and different types of dietary fiber (soluble and insoluble) may behave differently during digestion. By simulating bowel cleansing, the actual residue of food during the preparation of gastroscopy and colonoscopy can be assessed more accurately; therefore, the method for obtaining fiber retention parameters includes: A colon cleansing simulation experiment was conducted for each recipe to obtain the physical residue parameters of the recipe; for each recipe, the fiber retention parameters were obtained based on the physical residue parameters and the dietary fiber content of each ingredient in the recipe.
[0032] The dietary fiber content (per 100g) of each ingredient can be determined by consulting existing food composition databases such as the "Chinese Food Composition Table". A colon cleansing simulation experiment is conducted on each ingredient to obtain physical residue parameters. Then, the dietary fiber content of each ingredient is averaged and weighted and summed with the physical residue parameters. The weighted sum is used as the fiber retention parameter. The weighting weights are 0.4 and 0.6 respectively, and the implementer can adjust the weights as needed.
[0033] Taking any recipe as an example, the general process of a colon cleansing simulation experiment is as follows: 1. Food pretreatment (simulating intake and stomach digestion) Equipment: Food blender, constant temperature water bath shaker, analytical balance, pH meter Reagents: Simulated gastric juice (e.g., pepsin dissolved in dilute hydrochloric acid, pH adjusted to 1.5-2.0) Instructions: Cook the ingredients according to the recommended cooking methods to prepare all dishes in each recipe, such as... Figure 2 The breakfast meal consisted of stir-fried yam and tomato with diced meat, white porridge, and vegetable oil. All the dishes were blended using a food blender, and a certain mass (e.g., M1=100.0g) of the cooked sample was accurately weighed using an analytical balance. The sample was then mixed with simulated gastric juice in a certain ratio (e.g., 1:1) and placed in a constant temperature water bath shaker at 37°C for 1-2 hours to simulate the mechanical and chemical digestion of the stomach.
[0034] 2. Simulation of the colon cleansing process Equipment: Buchner funnel, vacuum filter, standard sieve (core component) Reagents: Standard bowel cleansing solution (such as polyethylene glycol electrolyte powder solution, prepared according to the instructions). Procedure: Pour the mixture from the simulated digestion step into a Buchner funnel fitted with a standard sieve of a specific aperture size, between 0.5 mm and 1.0 mm, to ensure effective trapping of visible residues that may interfere with the endoscope; use a large amount (e.g., 1-2 liters) of standard bowel cleansing solution for repeated rinsing and filtration to simulate the water flushing process of the intestines after taking laxatives, ensuring the standardization of rinsing pressure and time.
[0035] 3. Residue Collection and Measurement Equipment: Analytical balance, drying oven Procedure: Collect all residues trapped on the sieve; dry the residues at a specific temperature (e.g., 60-70°C) to constant weight to remove moisture; accurately weigh the dried residues (M2) using an analytical balance.
[0036] 4. Determine physical residual parameters M1: Initial sample mass; M2: Mass of residue after drying; Physical residue parameter = (M2 / M1) × 100%.
[0037] Syndrome Analysis Module 102: Under each syndrome type, it determines the representative symptom set based on all historical symptom sets, and combines different symptoms in all historical symptom sets to obtain all symptom combinations; for each symptom, it obtains its single syndrome differentiation parameter under each syndrome type based on its frequency of occurrence in all historical symptom sets under different syndrome types; for each symptom combination, it obtains its linked syndrome differentiation parameter under each syndrome type based on its frequency of occurrence in all historical symptom sets under different syndrome types, and the single syndrome differentiation parameter of each symptom within it.
[0038] Under each syndrome type, although the symptoms of historical examinees may vary due to factors such as age, gender, lifestyle, and underlying diseases, there are still common symptoms, i.e., overlapping symptoms. Based on this, a representative symptom set can be determined for each syndrome type based on all historical symptom sets. The representative symptom set contains the common symptoms of different historical examinees with the same syndrome type, and these common symptoms provide an important reference for subsequent syndrome type assessment.
[0039] It should be noted that since patients undergoing gastroscopy and colonoscopy often share common characteristics, such as functional dyspepsia, functional gastrointestinal disorders, and other poor gastrointestinal function, there may be relatively concentrated high-incidence syndromes such as spleen qi deficiency syndrome, liver qi stagnation and spleen deficiency syndrome, spleen and stomach damp-heat syndrome, stomach yin deficiency syndrome, and cold-heat syndrome. Therefore, in other embodiments of the present invention, high-incidence syndromes related to poor gastrointestinal function can be analyzed in a targeted manner, thereby reducing the amount of computation.
[0040] Preferably, in one embodiment of the present invention, the higher the frequency of a certain symptom among all historical examinees under each syndrome type, the greater the commonality of their corresponding symptoms; and the more common symptoms historical examinees have, the more typical their corresponding syndrome type is. Therefore, all representative patients can be screened first; the symptom performance of representative patients has greater reference value for assessing the syndrome type; then, a representative symptom set is determined based on the symptom performance of all representative patients; the method for obtaining the representative symptom set includes: Under each syndrome type, representative patients are selected from all historical subjects based on the frequency of each symptom in all historical symptom sets; and representative symptom sets are obtained based on the historical symptom sets of all representative patients.
[0041] Specifically, taking any syndrome type as an example, the frequency of each symptom in the historical symptom sets of all historical examinees is counted, and the frequency is used as the common index of each symptom. Then, for each historical examinee, the common index of all symptoms in their corresponding historical symptom set is counted to determine the representative parameter, for example, the mean of the common index of all symptoms is used as the representative parameter. A representative threshold is set, such as 0.38, and historical examinees whose representative parameters are greater than the representative threshold are used as representative patients. Then, in the historical symptom sets of all representative patients, all symptoms with a frequency greater than 0.8 are used as set elements to construct a representative symptom set.
[0042] Representative symptom sets can provide important reference for subsequent assessment of syndrome types based on the overlap between the current subject's symptoms and the individual symptoms in the representative symptom set. However, there may be extensive overlap between different syndrome types. For example, the symptoms of spleen qi deficiency syndrome include fatigue, loss of appetite, and abdominal distension after meals, while the symptoms of stomach yin deficiency syndrome include loss of appetite, fatigue, and red tongue with little coating. Therefore, the specificity of a single symptom is low, and it may often correspond to multiple syndrome types. Consequently, the ability to identify syndrome types is relatively weak, while the ability to identify syndrome types through symptom combinations is relatively stronger. Based on this, the embodiments of the present invention further combine different symptoms from all historical symptom sets under each syndrome type to obtain all symptom combinations; wherein, the combination of different symptoms is a prior art method and will not be described in detail; each representative symptom combination contains at least two symptoms; in this embodiment, it is limited to containing only two or three symptoms.
[0043] For each symptom, the higher its frequency of occurrence in the historical symptom set under a certain syndrome type, the more prevalent its symptom manifestation under that syndrome type, and the higher its directional diagnostic ability for that syndrome type may also be. Based on this, the embodiments of the present invention obtain a single diagnostic parameter for each syndrome type according to its frequency of occurrence in all historical symptom sets under different syndrome types. The single diagnostic parameter characterizes its single directional diagnostic ability for the syndrome type from the perspective of a single symptom, providing a basis for subsequent assessment of the syndrome type based on the current symptom manifestation of the examinee.
[0044] Preferably, in one embodiment of the present invention, considering that when the frequency of a certain symptom in the historical symptom set under a certain syndrome type is higher than that of other syndrome types, its corresponding single-directional diagnostic ability may also be higher; then the method for obtaining the single diagnostic parameter includes: The frequency of each symptom in all historical symptom sets under each syndrome type is used as the diagnostic parameter for each symptom under each syndrome type; based on the differences in the diagnostic parameters for each symptom under different syndrome types, a single diagnostic parameter for each symptom under each syndrome type is obtained.
[0045] Specifically, after determining the diagnostic parameters for each symptom in relation to each syndrome type, the diagnostic parameters for each symptom in relation to each syndrome type are used as the numerator, and the sum of the diagnostic parameters for each symptom in relation to all syndrome types is used as the denominator. The ratio of the fractions is used as the single diagnostic parameter for each symptom in relation to each syndrome type. The ratio of the fractions is used to measure the difference in the diagnostic parameters for each symptom in relation to different syndrome types. The larger the ratio, the stronger the diagnostic ability of each symptom in relation to the corresponding syndrome type is relative to the diagnostic ability of other syndrome types, and the larger the single diagnostic parameter is. The single diagnostic parameter is a dimensionless parameter with a value range of 0-1.
[0046] Similarly, for each symptom combination, the higher its frequency of occurrence in the historical symptom set under a certain syndrome type, the more universal its symptom manifestation under that syndrome type, and the higher its directional diagnostic ability for that syndrome type may also be. Based on this, the embodiments of the present invention obtain its linkage diagnostic parameters under each syndrome type according to its frequency of occurrence in all historical symptom sets under different syndrome types, as well as the single diagnostic parameters of each symptom within it. The linkage diagnostic parameters characterize its comprehensive directional diagnostic ability for the syndrome type from the perspective of the combination of multiple symptoms, providing a basis for subsequent assessment of the syndrome type based on the current symptom manifestation of the examinee.
[0047] Preferably, in one embodiment of the present invention, considering that when the frequency of a certain symptom combination in the historical symptom set under a certain syndrome type is higher than that of other syndrome types, its corresponding comprehensive directional diagnostic ability may also be higher; and the single diagnostic parameters of the symptoms in the symptom combination also provide a reference for directional diagnostic ability, the method for obtaining the linkage diagnostic parameters includes: The frequency of occurrence of each symptom combination in all historical symptom sets under each syndrome type is used as the diagnostic parameter for each symptom combination under each syndrome type; based on the differences in the diagnostic parameters for each symptom combination under different syndrome types, the combination diagnostic parameters for each symptom combination under each syndrome type are obtained. The mean of the individual diagnostic parameters of each symptom within each symptom combination is used as the combination diagnostic weight; the combination diagnostic parameters are weighted using the combination diagnostic weight, and the weighted result is used as the linkage diagnostic parameter of each symptom combination under each syndrome type.
[0048] Specifically, after determining the diagnostic parameters for each symptom combination in each syndrome type, the diagnostic parameters for each symptom combination in each syndrome type are used as the numerator, the sum of the diagnostic parameters for each symptom combination in all syndrome types is used as the denominator, and the ratio of the fractions is used as the combination diagnostic parameters for each symptom combination in each syndrome type. The difference in the diagnostic parameters of each symptom combination for different syndrome types is measured by the fractional ratio. The larger the fractional ratio, the stronger the diagnostic ability of each symptom combination for the corresponding syndrome type is compared with other syndrome types, and the larger the combined diagnostic parameter is. The combined diagnostic parameter is a dimensionless parameter with a value range of 0-1. Then, the mean of the individual diagnostic parameters of each symptom within each symptom combination is used as the combination diagnostic weight; the combination diagnostic weight is multiplied by the combination diagnostic parameter to obtain the linkage diagnostic parameter of each symptom combination under each syndrome type; the linkage diagnostic parameter is also a dimensionless parameter with a value range of 0-1.
[0049] Meal recommendation module 103: It is used to determine the current syndrome of the examinee based on the overlap between the current symptom set and the representative symptom set under each syndrome type, and combined with the single syndrome differentiation parameter of each symptom in the current symptom set under each syndrome type, as well as the linkage syndrome differentiation parameter of the symptom combination containing each symptom under each syndrome type; and to formulate a meal plan based on the current syndrome type and the fiber retention parameter of each diet.
[0050] Considering that the current symptom set represents the symptom presentation of the current examinee, and the representative symptom set represents the common symptoms under the corresponding syndrome type, the overlap of the sets can help assess the syndrome type of the current examinee; and considering that each symptom in the current symptom set and the syndrome differentiation parameters of each symptom combination under each syndrome type can also help assess the syndrome type of the current examinee. Based on this, the embodiments of the present invention further determine the current syndrome of the examinee by considering the overlap between the current symptom set and the representative symptom set under each syndrome type, and by combining the single syndrome differentiation parameter of each symptom in the current symptom set under each syndrome type, as well as the linkage syndrome differentiation parameter of the symptom combination containing each symptom under each syndrome type; thus preparing for subsequent meal planning based on the current syndrome type.
[0051] Preferably, in one embodiment of the present invention, determining the current certificate type of the person to be examined includes: Please see Figure 3 The diagram illustrates a flowchart of a method for determining the current certificate type of a subject to be examined, according to an embodiment of the present invention, specifically including: Step S201: Based on the number of symptoms in the intersection of the current symptom set and the representative symptom set under each syndrome type, obtain the first fit coefficient between the current examinee and each syndrome type.
[0052] Since the intersection can help assess the overlap of symptoms within a set, the greater the overlap between the current symptom set and the representative symptom set under a certain syndrome, the more likely the current symptom set corresponds to that syndrome. Therefore, in this embodiment, firstly, taking any syndrome as the target syndrome, the number of symptoms in the intersection of the current symptom set and the representative symptom set under the target syndrome is determined. Then, the number of symptoms is normalized, and the normalized value is used as the first fit coefficient between the current examinee and the target syndrome.
[0053] The normalization method used is as follows: the number of symptoms in the intersection of the current symptom set and the representative symptom set under the target syndrome is divided by the sum of the number of symptoms in all intersections of the current symptom set and the representative symptom set under each syndrome.
[0054] Step S202: Determine all current symptom combinations included in the current symptom set; based on the single diagnostic parameter of each symptom in the current symptom set under each syndrome type, and the linkage diagnostic parameter of each current symptom combination in the current symptom set under each syndrome type, obtain the second fit coefficient between the current examinee and each syndrome type.
[0055] First, the different symptoms contained in the current symptom set are combined to determine all current symptom combinations; combining symptoms is an existing technical method and will not be described in detail; each current symptom combination contains at least two symptoms; in this embodiment, it is limited to containing only two or three symptoms.
[0056] Considering the single diagnostic parameters of each symptom in the current symptom set under each syndrome type, and the linked diagnostic parameters of the current symptom combination to which each symptom belongs under each syndrome type, both can provide a reference for evaluating the diagnostic orientation ability of the symptom for each syndrome type, thereby helping to evaluate the second fit coefficient. In a preferred embodiment of the present invention, considering that for each symptom in the current symptom set, the larger value of the linkage diagnostic parameters for each syndrome type in each current symptom set can help capture strong syndrome type pointing signals, the diagnostic pointingness for each syndrome type can be evaluated by combining the single diagnostic parameters of each symptom under each syndrome type to obtain a second fit coefficient between the current examinee and each syndrome type; then the method for obtaining the second fit coefficient includes: Under each syndrome type, for each symptom in the current symptom set, the average of the first preset number of maximum linkage differentiation parameters in the linkage differentiation parameters of each current symptom combination under the corresponding syndrome type is used as the linkage reference differentiation parameter. Each symptom in the current symptom set is weighted by a single diagnostic parameter under each syndrome type. The corresponding linked reference diagnostic parameters are then weighted, and the normalized value of the weighted sum of all symptoms is used as the second fit coefficient.
[0057] Specifically, firstly, under each syndrome type, each symptom in the current symptom set is taken as the target symptom. The linkage diagnostic parameters of all current symptom combinations containing the target symptom under the corresponding syndrome type are determined. Then, the pre-set number is set to the top 20%, which can also be customized by the implementer. The largest linkage diagnostic parameters in the top 20% are selected and averaged. The average value is used as the linkage reference diagnostic parameter. The linkage reference diagnostic parameter represents the strong linkage diagnostic orientation of the target symptom for this syndrome type. Then, by changing the target symptom, the reference diagnostic parameters for each symptom in the current symptom set in relation to each syndrome type can be obtained; then, the single diagnostic parameter of each symptom in the current symptom set under each syndrome type is multiplied by the corresponding linked reference diagnostic parameter, and the normalized value of the sum of the corresponding products (weighted summation result) under all symptoms in the current symptom set is used as the second fit coefficient between the current examinee and each syndrome type.
[0058] The normalization method used is maximum value normalization, which is to divide by the maximum value of the second fit coefficient between the current examinee and all certificate types. Implementers may also use other normalization methods, which will not be elaborated here.
[0059] Step S203: Combine the first matching coefficient and the second matching coefficient to obtain the tendency coefficient of the current examinee under each type of certificate; determine the current certificate type of the current examinee based on the tendency coefficient.
[0060] Since the first and second fit coefficients for each type of certificate reflect the probability that the examinee has that type of certificate, the result of the fusion of the first and second fit coefficients, such as the result of multiplication, can be used as the propensity coefficient for the examinee under each type of certificate. The propensity coefficient helps to quantify the probability that the examinee has that type of certificate.
[0061] Furthermore, in a preferred embodiment of the present invention, the certificate type corresponding to the maximum tendency coefficient is taken as the current certificate type.
[0062] Based on the syndrome types and symptoms provided by previous examinees, the syndrome type corresponding to the current examinee has been roughly assessed.
[0063] In this embodiment of the invention, meals are prepared based on the current syndrome type and the fiber retention parameters of each ingredient.
[0064] Preferably, in one embodiment of the present invention, meal planning is performed based on the current syndrome type and the fiber retention parameters of each recipe, including: Based on the current syndrome type, all recommended medicinal food recipes are selected from the preset TCM food database; according to the fiber retention parameters of each recommended medicinal food recipe, meals are prepared for each meal preparation day before the scheduled date of the gastroscopy and colonoscopy examination for the current examinee.
[0065] The meal preparation days prior to the appointment date are categorized into conditioning period, transition period, and prohibition period. Based on fiber retention parameters, the recommended medicinal food recipes are classified, and all conditioning medicinal food recipes under the conditioning period and all transition medicinal food recipes under the transition period are obtained. Meals are prepared on each meal preparation day.
[0066] Specifically, firstly, all recommended medicinal food recipes corresponding to the current syndrome type of the current examinee are selected from the preset TCM food database, that is, the recommended recipes under the current syndrome type; then, the meal preparation days before the current examinee's scheduled gastroscopy and colonoscopy examination date are divided into conditioning period (e.g., 4-7 days before the examination), transition period (1-3 days before the examination), and prohibition period (on the day of the examination). Then, the recommended food and medicinal diets were categorized. Specifically, the recommended food and medicinal diets were sorted in descending order based on the fiber retention parameter. The recommended diets with a fiber retention parameter in the range of [0.5, 1] were classified as high-residue diets, those with a fiber retention parameter in the range of [0.1, 0.5) were classified as medium-residue diets, and those with a fiber retention parameter in the range of [0, 0.1) were classified as low-residue diets. In this embodiment, the diet with moderate residue is used as all the diets for conditioning during the conditioning period, and the diet with low residue is used as all the diets for transition during the transition period. Thus, on each meal preparation day, it can be determined whether the subject is in the conditioning period or the transition period, and then a random meal is prepared for the current subject based on the conditioning diet and the transition diet. Among them, no meal preparation is required during the prohibition period, and the diet with high residue is directly excluded and not included in the meal preparation menu.
[0067] In other embodiments, the implementer may also combine the dietary preferences of the current examinee with traditional Chinese medicine advice to prepare personalized meals, which will not be elaborated further.
[0068] In summary, this invention first obtains the historical symptom set of each historical examinee under each syndrome type, the current symptom set of the current examinee, and the fiber retention parameters of each recipe in the preset TCM food database; under each syndrome type, a representative symptom set is determined based on all historical symptom sets, and different symptoms in all historical symptom sets are combined to obtain all symptom combinations; then, based on the frequency of occurrence of each symptom in all historical symptom sets under different syndrome types, a single diagnostic parameter for each symptom under each syndrome type is obtained; further, based on the frequency of occurrence of each symptom combination in all historical symptom sets under different syndrome types, and the single diagnostic parameter of each symptom within it, a linked diagnostic parameter for each symptom combination under each syndrome type is obtained; then, combining the overlap between the current symptom set and the representative symptom set under each syndrome type, the current syndrome type of the current examinee is determined; and meals are prepared based on the current syndrome type and the fiber retention parameters of each recipe. This invention matches the syndrome type and symptoms of historical examinees with the syndrome type of the current examinee, thereby providing a reasonable meal plan for the current examinee before gastroscopy and colonoscopy. Under the premise of ensuring that the intestinal cleanliness meets the standard, the diet matching improves the examinee's tolerance.
[0069] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0070] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.
Claims
1. A meal preparation and serving system for gastrointestinal endoscopic examinations using traditional Chinese medicine and food homology, characterized in that: The system includes: Data acquisition module: used to acquire the historical symptom set of each historical examinee under each syndrome type, the current symptom set of the current examinee, and the fiber retention parameters of each recipe in the preset TCM food database; Syndrome Analysis Module: Under each syndrome type, it determines the representative symptom set based on all historical symptom sets, and combines different symptoms from all historical symptom sets to obtain all symptom combinations; for each symptom, it obtains its single syndrome differentiation parameter under each syndrome type based on its frequency of occurrence in all historical symptom sets under different syndrome types; for each symptom combination, it obtains its linked syndrome differentiation parameter under each syndrome type based on its frequency of occurrence in all historical symptom sets under different syndrome types, and the single syndrome differentiation parameter of each symptom within it. Meal recommendation module: It is used to determine the current syndrome of the examinee based on the overlap between the current symptom set and the representative symptom set under each syndrome type, and combined with the single syndrome differentiation parameter of each symptom in the current symptom set under each syndrome type, as well as the linkage syndrome differentiation parameter of the symptom combination containing each symptom under each syndrome type; and to formulate a meal plan based on the current syndrome type and the fiber retention parameter of each diet.
2. The traditional Chinese medicine and food homology gastrointestinal endoscopy preparation and meal distribution system according to claim 1, characterized in that, The method for obtaining the fiber retention parameters includes: A colon cleansing simulation experiment was conducted for each recipe to obtain the physical residue parameters of the recipe; for each recipe, the fiber retention parameters were obtained based on the physical residue parameters and the dietary fiber content of each ingredient in the recipe.
3. The traditional Chinese medicine and food homology gastrointestinal endoscopy detection meal preparation and distribution system according to claim 1, characterized in that, The method for obtaining the representative symptom set includes: Under each syndrome type, representative patients are selected from all historical subjects based on the frequency of each symptom in all historical symptom sets; a representative symptom set is obtained based on the historical symptom sets of all representative patients.
4. The traditional Chinese medicine and food homology gastrointestinal endoscopy meal preparation and distribution system according to claim 1, characterized in that, The method for obtaining the single dialectical parameter includes: The frequency of each symptom in all historical symptom sets under each syndrome type is used as the diagnostic parameter for each symptom under each syndrome type; based on the differences in the diagnostic parameters for each symptom under different syndrome types, a single diagnostic parameter for each symptom under each syndrome type is obtained.
5. The traditional Chinese medicine and food homology gastrointestinal endoscopy preparation and meal distribution system according to claim 1, characterized in that, The method for obtaining the linkage dialectical parameters includes: The frequency of occurrence of each symptom combination in all historical symptom sets under each syndrome type is used as the syndrome differentiation parameter for each symptom combination under each syndrome type; based on the differences in the syndrome differentiation parameters for each symptom combination under different syndrome types, the combination syndrome differentiation parameter for each symptom combination under each syndrome type is obtained. The mean value of the single diagnostic parameter of each symptom within each symptom combination is used as the combination diagnostic weight; the combination diagnostic weight is used to weight the combination diagnostic parameter, and the weighted result is used as the linkage diagnostic parameter of each symptom combination under each syndrome type.
6. The traditional Chinese medicine and food homology gastrointestinal endoscopy detection meal preparation and distribution system according to claim 1, characterized in that, Determine the current certificate type of the person to be examined, including: Based on the number of symptoms in the intersection of the current symptom set and the representative symptom set under each syndrome type, obtain the first fit coefficient between the current examinee and each syndrome type; Identify all current symptom combinations included in the current symptom set; based on the single diagnostic parameter of each symptom in the current symptom set under each syndrome type, and the linkage diagnostic parameter of each current symptom combination in the current symptom set under each syndrome type, obtain the second fit coefficient between the current examinee and each syndrome type; By combining the first and second matching coefficients, the tendency coefficient of the current examinee under each certificate type is obtained; the current certificate type of the current examinee is determined based on the tendency coefficient.
7. The traditional Chinese medicine and food homology gastrointestinal endoscopy preparation and meal distribution system according to claim 6, characterized in that, The method for obtaining the second matching coefficient includes: Under each syndrome type, for each symptom in the current symptom set, in each current symptom combination to which it belongs, the average of the first preset number of maximum linkage differentiation parameters in the corresponding syndrome type is used as the linkage reference differentiation parameter. The single diagnostic parameter of each symptom in the current symptom set under each syndrome type is used as the weight, and the corresponding linkage reference diagnostic parameter is weighted. The normalized value of the weighted sum of all symptoms is used as the second fit coefficient.
8. The traditional Chinese medicine and food homology gastrointestinal endoscopy preparation and meal distribution system according to claim 7, characterized in that, The certificate type corresponding to the largest of the aforementioned tendency coefficients is taken as the current certificate type.
9. The traditional Chinese medicine and food homology gastrointestinal endoscopy preparation and meal distribution system according to claim 1, characterized in that, Meal planning is based on the current syndrome type and the fiber retention parameters of each diet, including: Based on the current syndrome type, all recommended medicinal food recipes are selected from the preset TCM food database; according to the fiber retention parameters of each recommended medicinal food recipe, meals are prepared for the current examinee on each meal preparation day before the scheduled date of the gastroscopy and colonoscopy examination.
10. The traditional Chinese medicine and food homology gastrointestinal endoscopy detection meal preparation and distribution system according to claim 9, characterized in that, Prepare meals for each scheduled day preceding the gastroscopy / colonoscopy appointment for the current patient, including: The meal preparation days before the appointment date are classified into conditioning period, transition period and prohibition period; based on the fiber retention parameters, the recommended medicinal food recipes are classified, and all conditioning medicinal food recipes under the conditioning period and all transition medicinal food recipes under the transition period are obtained respectively, and meals are prepared on each meal preparation day.
