Stomach tube auxiliary system
By using pressure sensors and detection and processing modules in the gastric tube assisted system, it is possible to determine whether the gastric tube enters the stomach in real time, which solves the risk of gastric tube insertion in the prior art and improves the safety of patients, especially for disabled patients.
Patent Information
- Application Number
- CN202411769574.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-02-25
AI Technical Summary
The existing method of judging the location of the gastric tube can only be judged after the gastric tube is inserted. There is a risk of incorrect insertion of the lungs. Especially for disabled patients, it is impossible to remind medical staff in time.
The gastric tube auxiliary system including pressure sensors, detection indicator lights and detection processing modules is adopted to obtain the pressure value detected by the pressure sensor in real time, and determine whether the gastric tube enters the stomach based on the preset depth range and the output of the binary classification model in real time, and prompt the medical staff through the color of the detection indicator light.
It is possible to determine whether the gastric tube enters the stomach in real time during the gastric tube insertion process, reducing the risk of accidentally inserting the lungs, improving the safety of patients, especially for disabled patients, providing a safer gastric tube insertion process.
Smart Images

Figure CN119499104A_ABST
Abstract
Description
Background Art
[0002] When medical staff insert a gastric tube into a patient, they insert the tube through the nostrils or mouth, through the throat, and into the stomach. At present, when inserting a gastric tube, medical staff cannot directly observe whether the gastric tube is inserted into the stomach. Since the trachea and esophagus are both connected to the throat, the gastric tube may pass through the throat and trachea and be inserted into the lungs. If the gastric tube is inserted into the lungs, serious complications (such as lung infection, aspiration pneumonia, lung damage, etc.) are likely to occur. Therefore, it is necessary to judge the insertion site of the gastric tube. Although patients will feel severe discomfort when the gastric tube is inserted into the trachea, they can remind medical staff to make adjustments, but for disabled patients, because they cannot speak and have no perception, disabled patients cannot remind medical staff in time.
[0003] The current method for determining the site of gastric tube insertion is achieved through electric induction or airflow induction. Electric induction is to add an inductive wire to the gastric tube. Since the pH values in the stomach and lungs are different, after the gastric tube is inserted into the stomach or lungs, the inductive wire will be induced and transmit the electric signal to the sensing module. Medical staff can know the insertion site of the gastric tube through the inductive signal of the sensing module; airflow induction is to connect an air flow sensor to the gastric tube (such as the technical solution recorded in the patent with publication number CN114010506A). The air flow in the stomach and lungs is also different. Therefore, after the gastric tube is inserted into the stomach or lungs, the air flow sensor is used to detect the airflow in the stomach or lungs to achieve the purpose of knowing the insertion site of the gastric tube.
[0004] It can be seen from the above-mentioned prior art that the insertion site of the gastric tube can only be determined after the gastric tube is inserted into the stomach or the lungs. However, when the gastric tube is mistakenly inserted into the lungs, it will cause lung damage to the patient. Therefore, this method is dangerous and is not conducive to the patient's physical safety. Summary of the invention
[0005] In view of the above technical problems, the technical solution adopted by the present invention is:
[0006] According to one aspect of the present application, a gastric tube auxiliary system is provided, including a pressure sensor, a detection indicator light and a detection processing module, the detection processing module is connected to the pressure sensor and the detection indicator light, and the pressure sensor is arranged at one end of the gastric tube entering the throat;
[0007] The detection processing module is used to perform the following steps:
[0008] In response to the stomach tube entering the throat, a pressure value detected by the pressure sensor is acquired in real time;
[0009] determining whether the gastric tube has entered the stomach according to a plurality of pressure values detected by the pressure sensor during the process of the gastric tube entering the first depth range in the throat;
[0010] If it is not determined whether the gastric tube has entered the stomach, the detection indicator light is controlled to light up a second color, and it is determined whether the gastric tube has entered the stomach according to a number of pressure values detected by the pressure sensor during the process of the gastric tube entering the second depth range in the throat; the length of the second depth range is the same as the length of the first depth range, and the maximum value of the second depth range is greater than the maximum value of the first depth range;
[0011] If it is determined that the gastric tube has entered the stomach, the detection indicator light is controlled to light up in a first color;
[0012] If it is determined that the gastric tube has not entered the stomach, the detection indicator light is controlled to light up in a third color.
[0013] In an exemplary embodiment of the present application, determining whether the gastric tube has entered the stomach according to a plurality of pressure values detected by the pressure sensor during the process of the gastric tube entering the first depth range in the throat includes:
[0014] Step S210: Obtain a plurality of pressure values detected by the pressure sensor during the process of the stomach tube entering the throat within a first depth range, so as to obtain a first pressure value list A=(A 1 ,A 2 ,...,A m ,...,A n ), wherein m=1, 2, ..., n, and n is the number of depth values in the first depth range; A m is the pressure value detected by the pressure sensor when the stomach tube enters the throat at the mth depth value of the first depth range;
[0015] Step S220: Input the first pressure value list A into the preset binary classification model to obtain the first detection value B output by the binary classification model. 1 ;
[0016] Step S230: If C 0 ≤B 1 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 1 <B 1 <C 2 , it is not certain whether the gastric tube has entered the stomach; if C 2 ≤B 1 ≤C 3 , it is determined that the gastric tube has not entered the stomach; among them, [C 0 ,C 1 ] is the preset first classification interval; (C 1 ,C2 ) is the preset second classification interval; [C 2 ,C 3 ] is the preset third classification interval.
[0017] In an exemplary embodiment of the present application, determining whether the gastric tube has entered the stomach according to a plurality of pressure values detected by the pressure sensor during the process of the gastric tube entering the second depth range in the throat includes:
[0018] Step S310: Obtain a plurality of pressure values detected by the pressure sensor during the process of the stomach tube entering the second depth range in the throat, so as to obtain a second pressure value list D=(D 1 ,D 2 ,...,D m ,...,D n ), where D m is the pressure value detected by the pressure sensor when the gastric tube enters the throat at the mth depth value of the second depth range;
[0019] Step S320: input the second pressure value list D into the binary classification model to obtain the second detection value B output by the binary classification model. 2 ;
[0020] Step S330: If C 0 ≤B 2 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 2 ≤B 2 ≤C 3 , it is determined that the gastric tube has not entered the stomach.
[0021] In an exemplary embodiment of the present application, step S330 further includes:
[0022] Step S331: If C 1 <B 2 <C 2 , then according to B 1 and B 2 , determine the first detection correction value H 1 ;
[0023] Step S332: If C 0 ≤H 1 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 2 ≤H 1 ≤C 3 , it is determined that the gastric tube has not entered the stomach.
[0024] In an exemplary embodiment of the present application, step S331 includes:
[0025] Step S3311, determine the first detection correction value H 1 =(z 1 ×B 1 +z 2 ×B 2 ) / 2; where z 1 is the preset first correction coefficient, z 2 is the preset second correction coefficient, 0<z 1 <z 2 <1.
[0026] In an exemplary embodiment of the present application, step S332 further includes:
[0027] Step S333: If C 1 <H 1 <C 2 , then obtain a number of pressure values detected by the pressure sensor during the process of the stomach tube entering the third depth range in the throat to obtain a third pressure value list E=(E 1 ,E 2 ,...,E i ,...,E j ); wherein i=1, 2, ..., j; j is the number of depth values in the third depth range; the maximum value of the third depth range is greater than the maximum value of the second depth range; E i is the pressure value detected by the pressure sensor when the gastric tube enters the throat at the i-th depth value of the third depth range;
[0028] Step S334: input the third pressure value list E into the binary classification model to obtain the third detection value B output by the binary classification model. 3 ;
[0029] Step S335: If C 0 ≤B 3 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 2 ≤B 3 ≤C 3 , it is determined that the gastric tube has not entered the stomach.
[0030] In an exemplary embodiment of the present application, step S335 further includes:
[0031] Step S336: If C 1 <B 3 <C 2 , then according to B 1 , B 2 and B 3 , determine the second detection correction value H 2 ;
[0032] Step S337: If C 0 ≤H 2 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 2 ≤H 2 ≤C 3 , it is determined that the gastric tube has not entered the stomach.
[0033] In an exemplary embodiment of the present application, step S336 includes:
[0034] Step S3361: Determine the second detection correction value H 2 =(z 1 ×B 1 +z 2 ×B 2 +z 3 ×B 3 ) / 3; where z 3 is the preset third correction coefficient, 0<z 1 <z 2 <z 3 <1.
[0035] In an exemplary embodiment of the present application, the binary classification model is obtained by the following steps:
[0036] Step S001: Obtain the pressure value at each depth value from the throat to the stomach to obtain a fourth pressure value list F=(F 1 ,F 2 ,...,F r ,...,F s ), where r = 1, 2, ..., s; s is the number of depth values set from the throat to the stomach; F r is the pressure value at the rth depth from the throat to the stomach;
[0037] Step S002: C 0 +(C 1 -C 0 )×r / s is determined as F r The corresponding label value;
[0038] Step S003: Obtain the pressure value at each depth value from the throat to the lungs to obtain a fifth pressure value list G=(G 1 ,G 2 ,...,G a ,...,G b ), where a = 1, 2, ..., b; b is the number of depth values set from the throat to the lungs; G a is the pressure value at the ath depth from the throat to the lungs;
[0039] Step S004: C 2 +(C 3 -C 2 )×a / b is determined as G a The corresponding label value;
[0040] Step S005 , performing sample training on the fourth pressure value list F, the fifth pressure value list G and the label value corresponding to each pressure value to obtain a binary classification model.
[0041] In an exemplary embodiment of the present application, the maximum value of the third depth range is the maximum depth from the throat to the stomach.
[0042] The present invention has at least the following beneficial effects:
[0043] The gastric tube auxiliary system of the present invention includes a detection indicator light, a detection processing module and a pressure sensor arranged on one end of the gastric tube entering the throat. The detection processing module is connected to the pressure sensor and the detection indicator light. When the gastric tube is inserted, the detection processing module determines whether the gastric tube has entered the stomach according to a number of pressure values detected by the pressure sensor during the process of the gastric tube entering the first depth range in the throat. If it is not determined whether the gastric tube has entered the stomach, the detection indicator light is controlled to light up a second color, and the gastric tube is continued to be inserted deeper. According to a number of pressure values detected by the pressure sensor during the process of the gastric tube entering the second depth range in the throat, it is determined again whether the gastric tube has entered the stomach. If it is determined that the gastric tube has entered the stomach, the detection indicator light is controlled to light up a first color. If it is determined that the gastric tube has not entered the stomach, the detection indicator light is controlled to light up a third color to prompt medical staff. By obtaining the airflow pressure value detected by the pressure sensor at the insertion end of the gastric tube in real time during the insertion of the gastric tube, it is determined whether the gastric tube has entered the stomach through the esophagus. The medical staff adjusts the gastric tube that has not been inserted into the stomach by checking the lighted color of the detection indicator light to ensure the safety of the patient. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0045] Figure 1 This is a flowchart of an execution method of a detection and processing module of a gastric tube auxiliary system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0047] A gastric tube auxiliary system comprises a pressure sensor, a detection indicator light and a detection processing module, wherein the detection processing module is connected with the pressure sensor and the detection indicator light.
[0048] A pressure sensor is set at one end of the gastric tube entering the throat. The pressure sensor is used to monitor the airflow pressure at the insertion site of the gastric tube in real time when the gastric tube is inserted. When medical staff insert the gastric tube through the patient's mouth and nose, it must pass through the throat, and the throat connects the trachea and esophagus, the trachea connects the lungs, and the esophagus connects the stomach. The airflow pressures of the lungs and stomach (or the trachea and esophagus) are different. Therefore, the purpose of detecting whether the gastric tube enters the stomach through the esophagus can be achieved by monitoring the pressure value at the entry site of the gastric tube in real time.
[0049] The detection indicator light is used to remind medical staff of the insertion status of the gastric tube by lighting up different colors.
[0050] The detection processing module is used to determine whether the gastric tube has entered the stomach by processing the pressure value.
[0051] Among them, Figure 1 As shown, the detection processing module is used to perform the following steps:
[0052] Step S100, in response to the stomach tube entering the throat, obtaining a pressure value detected by the pressure sensor in real time;
[0053] When the gastric tube enters the throat, since the pressure sensor is arranged at the end of the gastric tube entering the throat, the pressure sensor will also enter the throat. At this time, the pressure sensor will monitor the airflow pressure value at the entry site in real time, and transmit the pressure value to the detection and processing module in real time for the detection and processing module to perform data processing.
[0054] Step S200, determining whether the stomach tube has entered the stomach according to a plurality of pressure values detected by the pressure sensor during the process of the stomach tube entering the throat within a first depth range;
[0055] The first depth range is a preset depth interval, which may be 5 cm to 10 cm starting from the throat and extending toward the stomach. That is, when the gastric tube is inserted into the first depth range in the throat, the detection and processing module processes several pressure values received during this process to determine whether the gastric tube enters the stomach through the esophagus. This detection and determination process is a one-time judgment. If it is determined at this time that the gastric tube has not entered the esophagus but has entered the trachea, the medical staff can pull out the gastric tube in time and readjust the insertion direction to ensure the patient's physical safety.
[0056] Further, the primary determination method of determining whether the gastric tube has entered the stomach according to the pressure values detected by the pressure sensor during the process of the gastric tube entering the first depth range in the throat in step S200 includes steps S210 to S230:
[0057] Step S210: Obtain a plurality of pressure values detected by the pressure sensor during the process of the stomach tube entering the throat within a first depth range, so as to obtain a first pressure value list A=(A 1 ,A 2 ,...,A m ,...,A n ), wherein m=1, 2, ..., n, and n is the number of depth values in the first depth range; A m is the pressure value detected by the pressure sensor when the stomach tube enters the throat at the mth depth value of the first depth range;
[0058] The length between every two adjacent depth values may be 0.5 cm, that is, the pressure value monitored by the pressure sensor is received every 0.5 cm, so as to ensure that the pressure value used for judgment and processing changes evenly and reduce calculation errors.
[0059] Step S220: Input the first pressure value list A into the preset binary classification model to obtain the first detection value B output by the binary classification model. 1 ;
[0060] The binary classification model may be a preset regression model, which is obtained by training airflow pressure values at different positions of the trachea and the esophagus.
[0061] The first detection value output by the binary classification model is represented as the label value of the insertion state of the gastric tube during the first depth range.
[0062] The binary classification model in step S220 determines the first detection value through the following source code:
[0063] import numpy as np
[0064] from sklearn.linear_model import LogisticRegression
[0065] #This is the default binary classification model using logistic regression
[0066] model = LogisticRegression()
[0067] #This is the first pressure value list A
[0068] A = np.array(A 1 ,A 2 ,...,A m ,...,A n )
[0069] #Use the binary classification model to predict and get the first detection value B 1
[0070] Step S230: If C 0 ≤B 1 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 1 <B 1 <C 2 , it is not certain whether the gastric tube has entered the stomach; if C 2 ≤B 1 ≤C 3 , it is determined that the gastric tube has not entered the stomach;
[0071] Among them, [C 0 ,C 1 ] is the preset first classification interval; (C 1 ,C 2 ) is the preset second classification interval; [C 2 ,C 3 ] is the preset third classification interval.
[0072] Since the pressure values of the trachea and esophagus are closer to the throat, if C 1 <B 1 <C 2 , it means that the gastric tube insertion status determined by the pressure values corresponding to the first depth range cannot indicate whether it is inserted into the esophagus, and it is necessary to insert the gastric tube further into the throat for a second judgment.
[0073] Step S300: If it is not determined whether the gastric tube has entered the stomach, the detection indicator light is controlled to light up a second color, and a determination is made whether the gastric tube has entered the stomach based on a number of pressure values detected by the pressure sensor during the process of the gastric tube entering the second depth range in the throat;
[0074] The length of the second depth range is the same as the length of the first depth range, and the maximum value of the second depth range is greater than the maximum value of the first depth range.
[0075] When the detection indicator light lights up the second color, it means that the depth of the site where the gastric tube is inserted at this time cannot determine whether it corresponds to the esophagus. Therefore, the medical staff needs to insert the gastric tube deeper into the throat, that is, the depth interval corresponding to the second depth range. The second depth range can be 11 cm to 20 cm starting from the throat and extending to the stomach. By processing the pressure value detected in this process, it is possible to further determine whether the gastric tube has entered the channel to the stomach.
[0076] Further, the secondary judgment method of determining whether the gastric tube has entered the stomach according to a plurality of pressure values detected by the pressure sensor during the process of the gastric tube entering the second depth range in the throat in step S300 includes steps S310 to S330:
[0077] Step S310: Obtain a plurality of pressure values detected by the pressure sensor during the process of the stomach tube entering the second depth range in the throat, so as to obtain a second pressure value list D=(D 1 ,D 2 ,...,D m ,...,D n ), where D m is the pressure value detected by the pressure sensor when the gastric tube enters the throat at the mth depth value of the second depth range;
[0078] Step S320: input the second pressure value list D into the binary classification model to obtain the second detection value B output by the binary classification model. 2 ;
[0079] Step S330: If C 0 ≤B 2 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 2 ≤B 2 ≤C 3 , it is determined that the gastric tube has not entered the stomach;
[0080] Step S331: If C 1 <B 2 <C 2 , then according to B 1 and B 2 , determine the first detection correction value H 1 =(z 1 ×B 1 +z 2 ×B 2) / 2; where z 1 is the preset first correction coefficient, z 2 is the preset second correction coefficient, 0<z 1 <z 2 <1;
[0081] If the second detection value obtained by the secondary judgment is still greater than C 1 and less than C 2 At this time, the first detection value and the second detection value are weighted, multiplied by the corresponding correction coefficients respectively, and then the average value is taken to obtain the first detection correction value. Then, the entry site of the gastric tube is determined by judging the size of the first detection correction value.
[0082] Since the distinction between the pressure values of the esophagus and the trachea within the first depth range is relatively small, the first correction coefficient is set to be smaller than the second correction coefficient in order to improve accuracy.
[0083] Step S332: If C 0 ≤H 1 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 2 ≤H 1 ≤C 3 , it is determined that the gastric tube has not entered the stomach;
[0084] Step S333: If C 1 <H 1 <C 2 , then obtain a number of pressure values detected by the pressure sensor during the process of the stomach tube entering the third depth range in the throat to obtain a third pressure value list E=(E 1 ,E 2 ,...,E i ,...,E j ), wherein i=1, 2, ..., j, and j is the number of depth values in the third depth range;
[0085] If the first detection correction value is still greater than C 1 and less than C 2 , it means that the result of the second judgment cannot determine whether the current location of the gastric tube is the entry channel of the stomach, then the detection indicator light continues to light up the second color, prompting the medical staff to further insert the gastric tube into a deeper position and make a third judgment.
[0086] The maximum value of the third depth range is the maximum depth from the throat to the stomach, and the maximum value of the third depth range is greater than the maximum value of the second depth range; E i is the pressure value detected by the pressure sensor when the gastric tube enters the throat at the i-th depth value of the third depth range.
[0087] Since the airflow pressure in the stomach and the airflow pressure in the lungs are more different, when making three judgments, the third depth range is set, that is, the distance interval from the throat to the stomach. When the gastric tube is extended into the third depth range, theoretically, the insertion site of the gastric tube can be determined at this time. Therefore, the insertion site of the gastric tube is further judged by the pressure value corresponding to the third depth range.
[0088] Step S334: input the third pressure value list E into the binary classification model to obtain the third detection value B output by the binary classification model. 3 ;
[0089] Step S335: If C 0 ≤B 3 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 2 ≤B 3 ≤C 3 , it is determined that the gastric tube has not entered the stomach;
[0090] Step S336: If C 1 <B 3 <C 2 , then according to B 1 , B 2 and B 3 , determine the second detection correction value H 2 =(z 1 ×B 1 +z 2 ×B 2 +z 3 ×B 3 ) / 3; where z 3 is the preset third correction coefficient, 0<z 1 <z 2 <z 3 <1;
[0091] The method for determining the second detection correction value is the same as the method for determining the first detection correction value, and the third correction coefficient is set to be larger than the second correction coefficient, that is, the confidence of the third detection value is increased to further improve the detection accuracy.
[0092] Step S337: If C 0 ≤H 2 ≤C 1 , it is confirmed that the gastric tube has entered the stomach; if C 2 ≤H 2 ≤C 3 , it is determined that the gastric tube has not entered the stomach.
[0093] Step S400: If it is determined that the gastric tube has entered the stomach, the detection indicator light is controlled to light up in a first color;
[0094] Step S500: If it is determined that the gastric tube has not entered the stomach, the detection indicator light is controlled to light up a third color.
[0095] During the process of gastric tube insertion, medical staff can determine the insertion site of the gastric tube by checking the color of the detection indicator light in real time. There is no need to wait until the gastric tube is fully inserted before making a judgment, which greatly reduces the chance of the patient being in danger due to the gastric tube being inserted into the lungs.
[0096] When the detection indicator light lights up the first color, it means that the gastric tube has entered the channel to the stomach and the gastric tube can continue to be inserted; when the detection indicator light lights up the third color, it means that the gastric tube has not entered the channel to the stomach and may have entered the trachea. In order to avoid discomfort to the patient, medical staff need to pull out the gastric tube in time, adjust the insertion direction and reinsert the gastric tube.
[0097] Among them, the two-classification model is obtained through steps S001 to S005:
[0098] Step S001: Obtain the pressure value at each depth value from the throat to the stomach to obtain a fourth pressure value list F=(F 1 ,F 2 ,...,F r ,...,F s ), where r = 1, 2, ..., s; s is the number of depth values set from the throat to the stomach; F r is the pressure value at the rth depth from the throat to the stomach;
[0099] Step S002: C 0 +(C 1 -C 0 )×r / s is determined as F r The corresponding label value;
[0100] Step S003: Obtain the pressure value at each depth value from the throat to the lungs to obtain a fifth pressure value list G=(G 1 ,G 2 ,...,G a ,...,G b ), where a = 1, 2, ..., b; b is the number of depth values set from the throat to the lungs; G a is the pressure value at the ath depth from the throat to the lungs;
[0101] Step S004: C 2 +(C 3 -C 2 )×a / b is determined as G a The corresponding label value;
[0102] Step S005 , performing sample training on the fourth pressure value list F, the fifth pressure value list G and the label value corresponding to each pressure value to obtain a binary classification model.
[0103] Among them, the sample training method of the binary classification model can adopt the existing regression model training method.
[0104] The gastric tube auxiliary system of the present invention includes a detection indicator light, a detection processing module and a pressure sensor arranged on one end of the gastric tube entering the throat. The detection processing module is connected to the pressure sensor and the detection indicator light. When the gastric tube is inserted, the detection processing module determines whether the gastric tube has entered the stomach according to a number of pressure values detected by the pressure sensor during the process of the gastric tube entering the first depth range in the throat. If it is not determined whether the gastric tube has entered the stomach, the detection indicator light is controlled to light up a second color, and the gastric tube is continued to be inserted deeper. According to a number of pressure values detected by the pressure sensor during the process of the gastric tube entering the second depth range in the throat, it is determined again whether the gastric tube has entered the stomach. If it is determined that the gastric tube has entered the stomach, the detection indicator light is controlled to light up a first color. If it is determined that the gastric tube has not entered the stomach, the detection indicator light is controlled to light up a third color to prompt medical staff. By obtaining the airflow pressure value detected by the pressure sensor at the insertion end of the gastric tube in real time during the insertion of the gastric tube, it is determined whether the gastric tube has entered the stomach through the esophagus. The medical staff adjusts the gastric tube that has not been inserted into the stomach by checking the lighted color of the detection indicator light to ensure the safety of the patient.
[0105] An embodiment of the present invention further provides a computer program product, which includes program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present invention described above in this specification.
[0106] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0107] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0108] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0109] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0110] The electronic device according to this embodiment of the present invention is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0111] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: the at least one processor mentioned above, the at least one storage device mentioned above, and a bus connecting different system components (including storage devices and processors).
[0112] The storage stores program codes, which can be executed by the processor, so that the processor executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.
[0113] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).
[0114] The storage may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0115] The bus may represent one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
[0116] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device, and / or any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter.
[0117] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0118] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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.
[0119] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. 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. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0120] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0121] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0122] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0123] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0124] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A gastric tube auxiliary system, characterized in that: It includes a pressure sensor, a detection indicator light and a detection processing module, wherein the detection processing module is connected with the pressure sensor and the detection indicator light, and the pressure sensor is arranged at one end of the gastric tube entering the throat; The detection processing module is used to perform the following steps: In response to the stomach tube entering the throat, acquiring the pressure value detected by the pressure sensor in real time; Determining whether the gastric tube has entered the stomach according to a plurality of pressure values detected by the pressure sensor during the process of the gastric tube entering the first depth range in the throat; If it is not determined whether the gastric tube has entered the stomach, the detection indicator light is controlled to light up a second color, and whether the gastric tube has entered the stomach is determined according to a number of pressure values detected by the pressure sensor during the process of the gastric tube entering the second depth range in the throat; the length of the second depth range is the same as the length of the first depth range, and the maximum value of the second depth range is greater than the maximum value of the first depth range; If it is determined that the gastric tube has entered the stomach, controlling the detection indicator light to light up in a first color; If it is determined that the gastric tube has not entered the stomach, the detection indicator light is controlled to light up a third color.
2. The gastric tube auxiliary system according to claim 1, characterized in that: The method of determining whether the gastric tube has entered the stomach according to a plurality of pressure values detected by the pressure sensor during the process of the gastric tube entering the first depth range in the throat includes: Step S210: Obtain a plurality of pressure values detected by the pressure sensor during the process of the stomach tube entering the throat within a first depth range, so as to obtain a first pressure value list A=(A1, A2, ..., A m ,...,A n ), wherein m=1, 2, ..., n, and n is the number of depth values in the first depth range; A m is the pressure value detected by the pressure sensor when the gastric tube enters the throat at the mth depth value of the first depth range; Step S220, inputting the first pressure value list A into a preset binary classification model to obtain a first detection value B1 output by the binary classification model; Step S230: If C0≤B1≤C1, it is determined that the gastric tube has entered the stomach; if C1<B1<C2, it is not determined whether the gastric tube has entered the stomach; if C2≤B1≤C3, it is determined that the gastric tube has not entered the stomach; wherein, [C0, C1] is a preset first classification interval; (C1, C2) is a preset second classification interval; and [C2, C3] is a preset third classification interval.
3. The gastric tube auxiliary system according to claim 2, characterized in that: The determining whether the gastric tube has entered the stomach according to a plurality of pressure values detected by the pressure sensor during the process of the gastric tube entering the second depth range in the throat includes: Step S310: Obtain a plurality of pressure values detected by the pressure sensor during the process of the stomach tube entering the second depth range in the throat, so as to obtain a second pressure value list D=(D1, D2, ..., D m ,...,D n ), where D m is the pressure value detected by the pressure sensor when the gastric tube enters the throat at the mth depth value of the second depth range; Step S320, inputting the second pressure value list D into the binary classification model to obtain a second detection value B2 output by the binary classification model; Step S330: If C0≤B2≤C1, it is determined that the gastric tube has entered the stomach; if C2≤B2≤C3, it is determined that the gastric tube has not entered the stomach.
4. The gastric tube auxiliary system according to claim 3, characterized in that: The step S330 further includes: Step S331: if C1<B2<C2, then determine the first detection correction value H1 according to B1 and B2; Step S332: If C0≤H1≤C1, it is determined that the gastric tube has entered the stomach; if C2≤H1≤C3, it is determined that the gastric tube has not entered the stomach.
5. The gastric tube auxiliary system according to claim 4, characterized in that: The step S331 includes: Step S3311, determine the first detection correction value H1 = (z1×B1+z2×B2) / 2; wherein z1 is a preset first correction coefficient, z2 is a preset second correction coefficient, and 0<z1<z2<1.
6. The gastric tube auxiliary system according to claim 5, characterized in that: The step S332 further includes: Step S333: If C1 i ,...,E j ); wherein i=1, 2, ..., j; j is the number of depth values in the third depth range; the maximum value of the third depth range is greater than the maximum value of the second depth range; E i is the pressure value detected by the pressure sensor when the gastric tube enters the throat at the i-th depth value of the third depth range; Step S334, inputting the third pressure value list E into the binary classification model to obtain a third detection value B3 output by the binary classification model; Step S335: if C0≤B3≤C1, it is determined that the gastric tube has entered the stomach; if C2≤B3≤C3, it is determined that the gastric tube has not entered the stomach.
7. The gastric tube auxiliary system according to claim 6, characterized in that: The step S335 further includes: Step S336: if C1<B3<C2, then determine the second detection correction value H2 according to B1, B2 and B3; Step S337: if C0≤H2≤C1, it is determined that the gastric tube has entered the stomach; if C2≤H2≤C3, it is determined that the gastric tube has not entered the stomach.
8. The gastric tube auxiliary system according to claim 7, characterized in that: The step S336 includes: Step S3361, determine the second detection correction value H2 = (z1×B1+z2×B2+z3×B3) / 3; wherein z3 is a preset third correction coefficient, 0<z1<z2<z3<1.
9. The gastric tube auxiliary system according to claim 8, characterized in that: The binary classification model is obtained by the following steps: Step S001: Obtain the pressure value at each depth value from the throat to the stomach to obtain a fourth pressure value list F=(F1, F2, ..., F r ,...,F s ), where r = 1, 2, ..., s; s is the number of depth values set from the throat to the stomach; F r is the pressure value at the rth depth from the throat to the stomach; Step S002: C0+(C1-C0)×r / s is determined as F r The corresponding label value; Step S003: Obtain the pressure value at each depth value from the throat to the lungs to obtain a fifth pressure value list G=(G1, G2, ..., G a ,...,G b ), where a = 1, 2, ..., b; b is the number of depth values set from the throat to the lungs; G a is the pressure value at the ath depth from the throat to the lungs; Step S004: C2+(C3-C2)×a / b is determined as G a The corresponding label value; Step S005: Perform sample training on the fourth pressure value list F, the fifth pressure value list G and the label value corresponding to each pressure value to obtain the binary classification model.
10. The gastric tube auxiliary system according to claim 9, characterized in that: The maximum value of the third depth range is the maximum depth from the throat to the stomach.
Citation Information
Patent Citations
Stomach tube insertion auxiliary device and use method
CN114010506A
Cited By
Stomach tube positioning system and device
CN121130263A
A gastric tube positioning system and device
CN121130263B