[go: up one dir, main page]

CN112354042A - Analgesia pump flow control method and device - Google Patents

Analgesia pump flow control method and device Download PDF

Info

Publication number
CN112354042A
CN112354042A CN202011389430.9A CN202011389430A CN112354042A CN 112354042 A CN112354042 A CN 112354042A CN 202011389430 A CN202011389430 A CN 202011389430A CN 112354042 A CN112354042 A CN 112354042A
Authority
CN
China
Prior art keywords
model
data
analgesic
patient
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011389430.9A
Other languages
Chinese (zh)
Inventor
许红亮
程世易
许容芳
倪红霞
王萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong Tumor Hospital
Original Assignee
Nantong Tumor Hospital
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nantong Tumor Hospital filed Critical Nantong Tumor Hospital
Priority to CN202011389430.9A priority Critical patent/CN112354042A/en
Publication of CN112354042A publication Critical patent/CN112354042A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/14Infusion devices, e.g. infusing by gravity; Blood infusion; Accessories therefor
    • A61M5/142Pressure infusion, e.g. using pumps
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/14Infusion devices, e.g. infusing by gravity; Blood infusion; Accessories therefor
    • A61M5/168Means for controlling media flow to the body or for metering media to the body, e.g. drip meters, counters ; Monitoring media flow to the body
    • A61M5/16804Flow controllers
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M5/00Devices for bringing media into the body in a subcutaneous, intra-vascular or intramuscular way; Accessories therefor, e.g. filling or cleaning devices, arm-rests
    • A61M5/14Infusion devices, e.g. infusing by gravity; Blood infusion; Accessories therefor
    • A61M2005/1401Functional features
    • A61M2005/1405Patient controlled analgesia [PCA]

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Public Health (AREA)
  • Biophysics (AREA)
  • Computing Systems (AREA)
  • Hematology (AREA)
  • Veterinary Medicine (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Artificial Intelligence (AREA)
  • Anesthesiology (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Molecular Biology (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Vascular Medicine (AREA)
  • Epidemiology (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Infusion, Injection, And Reservoir Apparatuses (AREA)

Abstract

本发明提供了一种镇痛泵流量控制方法和装置,应用于处理器中,包括用于控制镇痛泵的步骤如下:S1、建立镇痛泵数据库;S2、通过一个stacking的模型结构来训练数据;S3、将医疗数据输入到XGBoost模型、LightGBM模型和Random Foreast模型中,对三个模型的结果分别进行加权计算给出最终结果,保存训练好的模型;S4、训练好的模型部署到云服务器上。本发明的有益效果为:本发明避免单个模型训练失败时输出差异较大的结果,提高了镇痛泵的安全性,所需的数据库可以根据临床经验、病人反馈不断进行扩容,同时新的训练数据增加也可以提高算法输出计量的准确性。

Figure 202011389430

The present invention provides a method and device for controlling the flow of an analgesic pump, which are applied to a processor and include the following steps for controlling the analgesic pump: S1, establishing an analgesic pump database; S2, training through a stacking model structure data; S3, input medical data into XGBoost model, LightGBM model and Random Foreast model, perform weighted calculation on the results of the three models to give the final result, and save the trained model; S4, deploy the trained model to the cloud on the server. The beneficial effects of the present invention are as follows: the present invention avoids outputting results with large differences when the training of a single model fails, improves the safety of the analgesic pump, the required database can be continuously expanded according to clinical experience and patient feedback, and at the same time new training Data augmentation can also improve the accuracy of algorithmic output metering.

Figure 202011389430

Description

Analgesia pump flow control method and device
Technical Field
The invention relates to the technical field of analgesia pump fluid control, in particular to a method and a device for controlling the flow of an analgesia pump.
Background
The analgesia pump is a common analgesia mode after the operation of a patient, can effectively relieve the pain of the patient after the operation and improves the comfort level of the patient after the operation. The analgesic pump has certain side effects in the using process, such as symptoms of dizziness, nausea, vomiting and the like, and even respiratory depression. The cause of such symptoms is often due to overdosing. If the dose is reduced, no analgesic effect is achieved.
Because the setting of the flow of the analgesia pump is subjective, senior doctors have rich experience of medicine taking and accurate flow setting, and young doctors usually face the difficult problem of inaccurate holding, for example, if the flow setting of the analgesia pump is too large, certain side effects, such as symptoms of dizziness, nausea, vomiting and the like, even respiratory depression, can be brought. If the dosage is reduced, the stress response of the organism is enhanced, the immunity is reduced, the wound healing is delayed, the body and mind are seriously injured, and even psychological diseases are generated to cause suicide.
The flow of the existing analgesia pump is set by a doctor in an upper limit mode, and a patient can adjust the flow autonomously. However, the method does not consider the surgical characteristics, physiological characteristics, living conditions and the like of patients, so that all people share one set of analgesic method.
How to solve the above technical problems is the subject of the present invention.
Disclosure of Invention
The invention aims to provide an analgesia pump flow control method and device, which are used for outputting individually customized analgesia pump flow control aiming at each patient by using an artificial intelligence algorithm, can generate analgesia most suitable for the patient according to the self condition of each patient, can improve the postoperative life quality under the condition of ensuring safety, do not depend on the level of a doctor, and are suitable for large-area popularization.
The invention is realized by the following measures: a method for controlling the flow of an analgesic pump, wherein the method is applied to a processor and comprises the following steps of:
s1, establishing an analgesia pump database, recording the analgesia information such as sex, age, operation duration, operation position, operation mode, past history, smoking and alcoholism history and the like of the patient in the database, and simultaneously recording the standard analgesia dosage of the corresponding patient;
s2, training data through a stacking model structure, inputting model characteristics as database recording data, outputting results as appropriate analgesic measures, and performing model training;
s3, inputting medical data into the XGboost model, the LightGBM model and the Random Foreast model, outputting a measurement judgment result by each model, inputting all the results of the three models into a neural network model, performing weighted calculation on the results of the three models respectively to give a final result, and storing the trained models;
s4, deploying the trained model to a cloud server, inputting patient information into a stacking model structure after a new patient appears, and outputting a metering calculation result of the analgesic pump by the model.
In order to better achieve the above object, the present invention further provides an apparatus for implementing a method for controlling a flow rate of an analgesic pump, wherein the apparatus is applied to a processor and comprises a primary model and a secondary model for controlling the analgesic pump: the first-level model comprises an XGboost model, a LightGBM model and a Random Foreast model; the secondary model comprises a neural network model;
the apparatus for controlling an analgesic pump comprises the following:
s1, establishing an analgesia pump database, recording analgesia information such as sex, age, operation duration, operation position, operation mode, past history, smoking and alcoholism history and the like of a patient in the database, and simultaneously recording a standard analgesia metering device corresponding to the patient;
s2, training data through a stacking model structure, inputting model characteristics as database recording data, outputting results as appropriate analgesic measurement, and performing model training;
s3, inputting medical data into the XGboost model, the LightGBM model and the Random Foreast model, outputting a measurement judgment result by each model, inputting all the results of the three models into a neural network model, performing weighted calculation on the results of the three models respectively to give a final result, and storing the trained models;
and S4, deploying the trained model to a cloud server, inputting the patient information into a stacking model structure after a new patient appears, and outputting the metering calculation result of the analgesic pump by the model.
The invention comprises a training stage and an application stage in practical use:
a training stage: the method comprises the steps that 3 primary models are trained by utilizing patient physiological data and standard analgesic flow in a database respectively, then 3 models can all output analgesic flow results, then a neural network model is utilized to train the results of the 3 primary models, the analgesic flow given by the 3 models is input, the standard flow results are output, the input characteristics of the 3 primary models are the patient physiological data, the input label is the patient standard analgesic flow, the output result is algorithm calculation analgesic flow, the input characteristics of the secondary model are the analgesic flow calculated by the 3 primary models, the input label is the standard analgesic flow, and the output is the final calculation result of the algorithm.
An application stage: the physiological data of the patient is input into 3 primary models, the 3 models respectively give corresponding calculation results, the 3 results are input into a secondary model, and the secondary model integrates the results of the 3 primary models and outputs the final result to guide a doctor to take medicine.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention can achieve the advantages of reasonable medication and different treatment schemes according to the advantages of analgesia pump flow under the condition of the patient self condition.
2. The stability of the algorithm is improved by combining 3 models in the algorithm model, the result with larger difference is prevented from being output when the training of a single model fails, and the safety of the analgesia pump is improved.
3. The database required by the model can be continuously expanded according to clinical experience and patient feedback, and meanwhile, the accuracy of algorithm output measurement can be improved due to the addition of new training data.
4. The flow recommendation of the invention is generated by model calculation, does not need to depend on manpower, achieves the purpose of popularizing the experience of experts, can share the trained model to hospitals with weak medical resources, and improves the anesthesia level of the hospitals in the laggard areas.
5. When the hospital algorithm model is deployed at the cloud end, the hospital algorithm model can be shared by other hospitals, and the hospital business income is improved by selling the model using permission.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a schematic diagram of the finishing process of the present invention.
FIG. 2 is a schematic diagram of a database and stacking model structure according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. Of course, the specific embodiments described herein are merely illustrative of the invention and are not intended to be limiting.
Example 1
Referring to fig. 1 to 2, the present invention provides a method for controlling the flow rate of an analgesic pump, wherein the method is applied to a processor and comprises the following steps for controlling the analgesic pump:
s1, establishing an analgesia pump database, recording the analgesia information such as sex, age, operation duration, operation position, operation mode, past history, smoking and alcoholism history and the like of the patient in the database, and simultaneously recording the standard analgesia dosage of the corresponding patient;
s2, training data through a stacking model structure, inputting model characteristics as database recording data, outputting results as appropriate analgesic measures, and performing model training;
s3, inputting medical data into the XGboost model, the LightGBM model and the Random Foreast model, outputting a measurement judgment result by each model, inputting all the results of the three models into a neural network model, performing weighted calculation on the results of the three models respectively to give a final result, and storing the trained models;
s4, deploying the trained model to a cloud server, inputting patient information into a stacking model structure after a new patient appears, and outputting a metering calculation result of the analgesic pump by the model.
In order to better achieve the above object, the present invention further provides an apparatus for implementing a method for controlling a flow rate of an analgesic pump, wherein the apparatus is applied to a processor and comprises a primary model and a secondary model for controlling the analgesic pump: the first-level model comprises an XGboost model, a LightGBM model and a Random Foreast model; the secondary model comprises a neural network model;
the apparatus for controlling an analgesic pump comprises the following:
s1, establishing an analgesia pump database, recording analgesia information such as sex, age, operation duration, operation position, operation mode, past history, smoking and alcoholism history and the like of a patient in the database, and simultaneously recording a standard analgesia metering device corresponding to the patient;
s2, training data through a stacking model structure, inputting model characteristics as database recording data, outputting results as appropriate analgesic measurement, and performing model training;
s3, inputting medical data into the XGboost model, the LightGBM model and the Random Foreast model, outputting a measurement judgment result by each model, inputting all the results of the three models into a neural network model, performing weighted calculation on the results of the three models respectively to give a final result, and storing the trained models;
and S4, deploying the trained model to a cloud server, inputting the patient information into a stacking model structure after a new patient appears, and outputting the metering calculation result of the analgesic pump by the model.
The invention comprises a training stage and an application stage in practical use:
a training stage: the method comprises the steps that 3 primary models are trained by utilizing patient physiological data and standard analgesic flow in a database respectively, then 3 models can all output analgesic flow results, then a neural network model is utilized to train the results of the 3 primary models, the analgesic flow given by the 3 models is input, the standard flow results are output, the input characteristics of the 3 primary models are the patient physiological data, the input label is the patient standard analgesic flow, the output result is algorithm calculation analgesic flow, the input characteristics of the secondary model are the analgesic flow calculated by the 3 primary models, the input label is the standard analgesic flow, and the output is the final calculation result of the algorithm.
An application stage: the physiological data of the patient is input into 3 primary models, the 3 models respectively give corresponding calculation results, the 3 results are input into a secondary model, and the secondary model integrates the results of the 3 primary models and outputs the final result to guide a doctor to take medicine.
The following are examples of methods and apparatus for implementing the analgesia pump flow control of the present invention:
(1) establishing databases in a plurality of hospitals for collecting safe and comfortable values of analgesic flow of each patient after operation and recording physiological characteristic data of the patient, such as sex, age, operation duration, operation position, operation mode, past history and history of smoking and alcoholism;
(2) establishing an algorithm model, wherein the model is divided into 2 layers, the first layer is 3 XGboost models, LightGBM models and Random Foreast models, the second layer is a neural network model, all the models are regression models, the input of the first layer XGboost model, LightGBM models and Random Foreast models is set as physiological characteristic data of a patient, the output is set as analgesic flow of the patient, the input of the second layer neural network model is set as the output result of the 3 models of the first layer, and the output is set as analgesic flow of the patient;
(3) utilizing a database training model, substituting patient data stored in a database into the model, and carrying out iterative training for a plurality of times until the loss function of the model is reduced to 0.001;
(4) deploying the obtained model to a cloud server;
(5) when a new case occurs, inputting the physiological data of the patient into a cloud model, and outputting the analgesic flow result obtained by calculation by the model;
(6) the doctor sets the analgesia flow for the patient according to the output result of the model.
The following is another example of an implementation of the analgesia pump flow control method and apparatus of the present invention:
1) establishing a database in a plurality of hospitals, wherein the analgesic pump is sufentanil, the database is used for collecting safe and comfortable analgesic flow values of each patient after operation, and simultaneously recording physiological characteristic data of the patient, such as sex, age, operation duration, operation position, operation mode, past history and history of smoking and alcoholism;
the database structure is as follows, 30000 samples are collected from a plurality of hospitals;
Figure BDA0002811770800000051
2) establishing an algorithm model, wherein the model is divided into 2 layers, the first layer is 3 XGboost models, LightGBM models and Random Foreast models, the second layer is a neural network model, all the models are regression models, the input of the first layer XGboost model, LightGBM models and Random Foreast models is set as physiological characteristic data of a patient, the output is set as analgesic flow of the patient, the input of the second layer neural network model is set as the output result of the 3 models of the first layer, and the output is set as analgesic flow of the patient;
model parameter setting
Leading in a Random Foreast model;
n _ estimators (maximum number of iterations): 500
criterion (evaluation criterion): mse
max _ depth (maximum depth): 20
The other parameters are model default values;
introducing an XGboost model;
the XGboost model type: gbtree
eta (learning Rate): 0.01
max _ depth (maximum depth of tree): 15
LightGBM model (L2 regularization): 0.01
The other parameters are model default values;
importing LightGBM model
boosting _ type (tree structure type): gbdt
object type regression
learning rate 0.03
num _ leaves (maximum number of leaves) 40
max _ depth 12
subsample 0.8
Importing a neural network model
The model input is the result of the first 3 models, so a 30000 × 3 matrix is input, and a 1 × 1 matrix result is output.
The hidden layer is 1 layer, and the number of nodes is 16.
The optimizer is sgd and the learning rate is 0.03.
3) Training the model by using the database;
taking out data in a database, wherein the data are characterized by the first 9 data, one-hot codes are sampled from the past history, so that the total number of data columns is 12, the characteristic data in the database can show a matrix of 30000 multiplied by 12, the data labels are the last 1 data, namely the flow rate of the labor pain, and the label data in the database can show a matrix of 30000 multiplied by 1;
normalizing the data in the matrix, and scaling the maximum and minimum values of each column of data to the range of [ -1,1 ];
in 3 primary models, a 30000 × 12 matrix (patient physiological characteristics) is input and a 30000 × 1 matrix (analgesic pump flow) is output by training the data. Completing the first-level model training;
the data is input into 3 primary models again to obtain a primary prediction result of 30000 multiplied by 3, the data is used as the input of a neural network of a secondary model, and the output is still a matrix of 30000 multiplied by 1 (analgesic pump flow rate). After the iteration is carried out for 800 times, the loss value of the neural network is reduced to 1e-4, and the training of the secondary model is completed;
4) deploying the obtained model to a cloud server;
5) when a new case occurs, the physiological data of the patient is pre-processed by installing the normalized scaling rules in the database. Inputting the preprocessed data into a cloud model, wherein 3 primary models respectively give calculation results and input into a secondary model, and the secondary model integrates the first 3 results to give final flow data;
6) the doctor sets the analgesia flow for the patient according to the output result of the model.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (4)

1.一种镇痛泵流量控制方法,其特征在于,应用于处理器中,包括用于控制镇痛泵的步骤如下:1. an analgesic pump flow control method, is characterized in that, is applied in the processor, comprises the steps for controlling the analgesic pump as follows: S1、建立镇痛泵数据库,在数据库中记录病人性别、年龄、手术时长、手术部位、手术方式、既往史、抽烟酗酒史等镇痛信息,同时记录对应病人的标准镇痛计量;S1. Establish an analgesic pump database, record the patient's gender, age, operation time, operation site, operation method, past history, smoking and drinking history and other analgesic information in the database, and at the same time record the standard analgesic measurement of the corresponding patient; S2、通过一个stacking的模型结构来训练数据,输入模型特征为数据库记录数据,输出结果为合适的镇痛计量,进行模型训练;S2. Train data through a stacking model structure, input model features as database record data, and output results as appropriate analgesic measurement, and perform model training; S3、将医疗数据输入到XGBoost模型、LightGBM模型和Random Foreast模型中,每个模型输出计量判断结果,三个模型的结果全部输入到一个神经网络模型中,对三个模型的结果分别进行加权计算给出最终结果,保存训练好的模型;S3. Input the medical data into the XGBoost model, the LightGBM model and the Random Forest model, each model outputs the measurement and judgment results, the results of the three models are all input into a neural network model, and the results of the three models are weighted respectively. Give the final result and save the trained model; S4、训练好的模型部署到云服务器上,当出现新的患者后,将患者信息输入到stacking模型结构中,模型输出镇痛泵计量计算结果。S4. The trained model is deployed on the cloud server. When a new patient appears, the patient information is input into the stacking model structure, and the model outputs the measurement and calculation result of the analgesic pump. 2.一种实现镇痛泵流量控制方法的装置,其特征在于,应用于处理器中,包括用于控制镇痛泵的一级模型和二级模型:所述一级模型包括XGBoost模型、LightGBM模型和RandomForeast模型;所述二级模型包括神经网络模型;2. a device for realizing an analgesic pump flow control method, is characterized in that, is applied in the processor, comprises the primary model and the secondary model for controlling the analgesic pump: the primary model comprises XGBoost model, LightGBM model and RandomForeast model; the secondary model includes a neural network model; 用于控制镇痛泵的装置包括以下内容:Devices used to control an analgesic pump include the following: S1、建立镇痛泵数据库,在数据库中记录病人性别、年龄、手术时长、手术部位、手术方式、既往史、抽烟酗酒史等镇痛信息,同时记录对应病人的标准镇痛计量的装置;S1. Establish an analgesic pump database, record the patient's gender, age, operation time, operation site, operation method, past history, smoking and drinking history and other analgesic information in the database, and record the standard analgesic metering device corresponding to the patient at the same time; S2、通过一个stacking的模型结构来训练数据,输入模型特征为数据库记录数据,输出结果为合适的镇痛计量,进行模型训练的装置;S2, train data through a stacking model structure, input model features as database record data, and output results as appropriate analgesic measurement, a device for model training; S3、将医疗数据输入到XGBoost模型、LightGBM模型和Random Foreast模型中,每个模型输出计量判断结果,三个模型的结果全部输入到一个神经网络模型中,对三个模型的结果分别进行加权计算给出最终结果,保存训练好的模型的装置;S3. Input the medical data into the XGBoost model, the LightGBM model and the Random Foreast model, each model outputs the measurement judgment result, the results of the three models are all input into a neural network model, and the results of the three models are weighted respectively. A device that gives the final result and saves the trained model; S4、训练好的模型部署到云服务器上,当出现新的患者后,将患者信息输入到stacking模型结构中,模型输出镇痛泵计量计算结果的装置。S4. The trained model is deployed on the cloud server. When a new patient appears, the patient information is input into the stacking model structure, and the model outputs the device for calculating the measurement result of the analgesic pump. 3.一种镇痛泵流量控制方法,其特征在于,应用于处理器中,包括用于控制镇痛泵的步骤如下:3. an analgesic pump flow control method, is characterized in that, is applied in the processor, comprises the steps for controlling the analgesic pump as follows: 1)若干家医院中建立数据库,镇痛泵用药为舒芬太尼,数据库用于收集术后每个患者安全舒适的镇痛流量的数值,同时记录该患者的生理特征数据,例如病人性别、年龄、手术时长、手术部位、手术方式、既往史、抽烟酗酒史;1) A database is established in several hospitals, and the analgesic pump is sufentanil. The database is used to collect the safe and comfortable analgesic flow value of each patient after surgery, and record the patient's physiological characteristics data, such as patient gender, Age, operation time, operation site, operation method, past history, history of smoking and drinking; 2)建立算法模型,模型分成2层,第一层是XGBoost模型、LightGBM模型和RandomForeast模型中,第二层为神经网络模型,全部模型都为回归模型,第一层XGBoost模型、LightGBM模型和Random Foreast模型的输入设为患者的生理特征数据,输出设为患者镇痛流量,第二层神经网络模型的输入设为第一层3个模型的输出结果,输出设为患者镇痛流量;2) Establish an algorithm model. The model is divided into two layers. The first layer is XGBoost model, LightGBM model and RandomForeast model. The second layer is neural network model. All models are regression models. The first layer is XGBoost model, LightGBM model and RandomForeast model. The input of the Foreast model is set as the patient's physiological characteristic data, the output is set as the patient's analgesic flow, the input of the second layer of neural network model is set as the output results of the three models in the first layer, and the output is set as the patient's analgesic flow; 3)利用数据库训练模型;3) Use the database to train the model; 将数据库中数据取出,数据特征为前9个,其中既往史采样one-hot编码,总共的数据列数为12个,数据库中的特征数据可以看出30000×12的矩阵,数据标签为最后1个,即阵痛流量,数据库中的标签数据可以看出30000×1的矩阵;Take out the data in the database, the data features are the first 9, of which the past sampling one-hot encoding, the total number of data columns is 12, the feature data in the database can be seen as a 30000×12 matrix, and the data label is the last 1 1, namely the labor flow, the label data in the database can be seen as a 30000×1 matrix; 将矩阵内数据进行归一化,将每一列数据的最大最小值缩放到[-1,1]的范围内;Normalize the data in the matrix, and scale the maximum and minimum values of each column of data to the range of [-1,1]; 利用数据训练3个一级模型中,输入30000×12的矩阵,输出为30000×1的矩阵,完成一级模型训练;Use data to train three first-level models, input a 30000×12 matrix, and output a 30000×1 matrix to complete the first-level model training; 再次将数据输入3个一级模型中,得到30000×3的一级预测结果,将这个数据作为二级模型神经网络的输入,输出仍然为30000×1的矩阵,迭代800次后,神经网络的loss值下降到1e-4,完成二级模型的训练;Input the data into the three first-level models again, and obtain the first-level prediction result of 30000×3. This data is used as the input of the neural network of the second-level model, and the output is still a matrix of 30000×1. After 800 iterations, the neural network’s The loss value drops to 1e-4, and the training of the secondary model is completed; 4)将得到的模型部署到云服务器上;4) Deploy the obtained model to the cloud server; 5)当出现新病例时,将该患者的生理数据,安装数据库中归一化的缩放规则将该数据进行预处理,预处理后的数据输入到云端模型中,3个一级模型分别给出计算结果,并输入二级模型中,二级模型综合前3个结果,给出最终流量数据;5) When a new case occurs, the physiological data of the patient is preprocessed by installing the normalized scaling rules in the database, and the preprocessed data is input into the cloud model, and the three first-level models are given respectively. Calculate the results and input them into the second-level model. The second-level model combines the first three results to give the final flow data; 6)医生按照模型输出结果给患者设置镇痛流量。6) The doctor sets the analgesic flow rate for the patient according to the model output result. 4.一种实现镇痛泵流量控制方法的装置,其特征在于,应用于处理器中,包括用于控制镇痛泵的一级模型和二级模型:所述一级模型包括XGBoost模型、LightGBM模型和RandomForeast模型;所述二级模型包括神经网络模型;4. A device for realizing an analgesic pump flow control method, characterized in that, applied in the processor, including a first-level model and a second-level model for controlling an analgesic pump: the first-level model includes XGBoost model, LightGBM model and RandomForeast model; the secondary model includes a neural network model; 用于控制镇痛泵的装置包括以下内容:Devices used to control an analgesic pump include the following: 1)若干家医院中建立数据库,镇痛泵用药为舒芬太尼,数据库用于收集术后每个患者安全舒适的镇痛流量的数值,同时记录该患者的生理特征数据的装置;1) A database is established in several hospitals, and the drug for the analgesic pump is sufentanil, and the database is used to collect the numerical value of the safe and comfortable analgesic flow of each patient after the operation, and simultaneously record the device of the patient's physiological characteristic data; 2)建立算法模型,模型分成2层,第一层是XGBoost模型、LightGBM模型和RandomForeast模型中,第二层为神经网络模型,全部模型都为回归模型,第一层XGBoost模型、LightGBM模型和Random Foreast模型的输入设为患者的生理特征数据,输出设为患者镇痛流量,第二层神经网络模型的输入设为第一层3个模型的输出结果,输出设为患者镇痛流量的装置;3)利用数据库训练模型的装置;2) Establish an algorithm model. The model is divided into two layers. The first layer is XGBoost model, LightGBM model and RandomForeast model. The second layer is neural network model. All models are regression models. The first layer is XGBoost model, LightGBM model and RandomForeast model. The input of the Foreast model is set as the patient's physiological characteristic data, the output is set as the patient's analgesic flow, the input of the second layer of neural network model is set as the output results of the three models in the first layer, and the output is set as the device for the patient's analgesic flow; 3) a device for training a model using a database; 将数据库中数据取出,数据特征为前9个,其中既往史采样one-hot编码,总共的数据列数为12个,数据库中的特征数据可以看出30000×12的矩阵,数据标签为最后1个,即阵痛流量,数据库中的标签数据可以看出30000×1的矩阵;Take out the data in the database, the data features are the first 9, of which the past sampling one-hot encoding, the total number of data columns is 12, the feature data in the database can be seen as a 30000×12 matrix, and the data label is the last 1 1, namely the labor flow, the label data in the database can be seen as a 30000×1 matrix; 将矩阵内数据进行归一化,将每一列数据的最大最小值缩放到[-1,1]的范围内;Normalize the data in the matrix, and scale the maximum and minimum values of each column of data to the range of [-1,1]; 利用数据训练3个一级模型中,输入30000×12的矩阵,输出为30000×1的矩阵,完成一级模型训练;Use data to train three first-level models, input a 30000×12 matrix, and output a 30000×1 matrix to complete the first-level model training; 再次将数据输入3个一级模型中,得到30000×3的一级预测结果,将这个数据作为二级模型神经网络的输入,输出仍然为30000×1的矩阵,迭代800次后,神经网络的loss值下降到1e-4,完成二级模型的训练;Input the data into the three first-level models again, and obtain the first-level prediction result of 30000×3. This data is used as the input of the neural network of the second-level model, and the output is still a matrix of 30000×1. After 800 iterations, the neural network’s The loss value drops to 1e-4, and the training of the secondary model is completed; 4)将得到的模型部署到云服务器上的装置;4) a device for deploying the obtained model to a cloud server; 5)当出现新病例时,将该患者的生理数据,安装数据库中归一化的缩放规则将该数据进行预处理,预处理后的数据输入到云端模型中,3个一级模型分别给出计算结果,并输入二级模型中,二级模型综合前3个结果,给出最终流量数据的装置;5) When a new case occurs, the physiological data of the patient is preprocessed by installing the normalized scaling rules in the database, and the preprocessed data is input into the cloud model, and the three first-level models are given respectively. Calculate the results and input them into the secondary model. The secondary model combines the first 3 results to give the final flow data device; 6)医生按照模型输出结果给患者设置镇痛流量的装置。6) The doctor sets an analgesic flow device for the patient according to the model output result.
CN202011389430.9A 2020-12-01 2020-12-01 Analgesia pump flow control method and device Pending CN112354042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011389430.9A CN112354042A (en) 2020-12-01 2020-12-01 Analgesia pump flow control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011389430.9A CN112354042A (en) 2020-12-01 2020-12-01 Analgesia pump flow control method and device

Publications (1)

Publication Number Publication Date
CN112354042A true CN112354042A (en) 2021-02-12

Family

ID=74536539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011389430.9A Pending CN112354042A (en) 2020-12-01 2020-12-01 Analgesia pump flow control method and device

Country Status (1)

Country Link
CN (1) CN112354042A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112820392A (en) * 2021-02-18 2021-05-18 江苏爱朋医疗科技股份有限公司 Self-adjusting infusion pump control method, system and computer medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1720075A (en) * 2002-10-03 2006-01-11 斯科特实验室公司 Neural Networks in the Sedation and Pain Relief Systems
US20170053101A1 (en) * 2015-08-20 2017-02-23 Aseko, Inc. Diabetes Management Therapy Advisor
CN106951719A (en) * 2017-04-10 2017-07-14 荣科科技股份有限公司 The construction method and constructing system of clinical diagnosis model, clinical diagnosing system
CN107715242A (en) * 2017-11-24 2018-02-23 中国科学院苏州生物医学工程技术研究所 Intelligent wireless analgesia pump management system based on intelligent expert storehouse
US20180272064A1 (en) * 2017-03-24 2018-09-27 Medtronic Minimed, Inc. Patient management systems and prospective risk management methods
CN109009099A (en) * 2018-07-19 2018-12-18 燕山大学 A kind of intelligent anesthesia system based on EEG-NIRS
CN109948668A (en) * 2019-03-01 2019-06-28 成都新希望金融信息有限公司 A kind of multi-model fusion method
CN110232961A (en) * 2019-06-10 2019-09-13 上海电机学院 A kind of speech recognition intelligent anesthesia system based on big data
CN110473629A (en) * 2019-08-22 2019-11-19 南京航空航天大学 A kind of kidney dialysis treatment proposal recommending method and system
CN111145912A (en) * 2019-12-23 2020-05-12 浙江大学 A prediction device for personalized superovulation induction program based on machine learning
CN111199343A (en) * 2019-12-24 2020-05-26 上海大学 Multi-model fusion tobacco market supervision abnormal data mining method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1720075A (en) * 2002-10-03 2006-01-11 斯科特实验室公司 Neural Networks in the Sedation and Pain Relief Systems
US20170053101A1 (en) * 2015-08-20 2017-02-23 Aseko, Inc. Diabetes Management Therapy Advisor
US20180272064A1 (en) * 2017-03-24 2018-09-27 Medtronic Minimed, Inc. Patient management systems and prospective risk management methods
CN106951719A (en) * 2017-04-10 2017-07-14 荣科科技股份有限公司 The construction method and constructing system of clinical diagnosis model, clinical diagnosing system
CN107715242A (en) * 2017-11-24 2018-02-23 中国科学院苏州生物医学工程技术研究所 Intelligent wireless analgesia pump management system based on intelligent expert storehouse
CN109009099A (en) * 2018-07-19 2018-12-18 燕山大学 A kind of intelligent anesthesia system based on EEG-NIRS
CN109948668A (en) * 2019-03-01 2019-06-28 成都新希望金融信息有限公司 A kind of multi-model fusion method
CN110232961A (en) * 2019-06-10 2019-09-13 上海电机学院 A kind of speech recognition intelligent anesthesia system based on big data
CN110473629A (en) * 2019-08-22 2019-11-19 南京航空航天大学 A kind of kidney dialysis treatment proposal recommending method and system
CN111145912A (en) * 2019-12-23 2020-05-12 浙江大学 A prediction device for personalized superovulation induction program based on machine learning
CN111199343A (en) * 2019-12-24 2020-05-26 上海大学 Multi-model fusion tobacco market supervision abnormal data mining method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112820392A (en) * 2021-02-18 2021-05-18 江苏爱朋医疗科技股份有限公司 Self-adjusting infusion pump control method, system and computer medium
CN112820392B (en) * 2021-02-18 2024-06-18 江苏爱朋医疗科技股份有限公司 Self-adjusting infusion pump control method, system and computer medium

Similar Documents

Publication Publication Date Title
Magee et al. Music interventions for acquired brain injury
CN105615901B (en) A kind of method and system of monitoring mood
KR102237449B1 (en) Method, server and program of learning a patient diagnosis
CN115253009B (en) Sleep multidimensional intervention method and system
CN111613337B (en) An intelligent delirium assessment system and assessment method for intensive care units
CN113744878B (en) Chronic disease risk index assessment and intervention system based on mobile internet
CN113317820A (en) Follicle development prediction system in superovulation therapy based on artificial intelligence technology
WO2023123437A1 (en) Anesthesia control system, anesthesia system, and non-transitory computer readable medium
CN120087715B (en) Method and system for generating positive idea treatment scheme of depression patient
CN116543866B (en) A method for generating and using an analgesic pump analgesia prediction model
CN116612852B (en) Method, device and computer equipment for realizing drug recommendation
CN118609801A (en) A surgical anesthesia information early warning method and system based on clinical auxiliary decision-making
CN119964836A (en) A cancer pain treatment pain assessment method and system based on intelligent data processing
CN119724476A (en) An AI-based nebulization therapy management system and method for children
CN112354042A (en) Analgesia pump flow control method and device
CN116313046A (en) Traditional Chinese medicine clinical auxiliary decision-making system based on data analysis
CN117219227B (en) Anesthesia administration control system based on fuzzy neural network
CN118537099A (en) Medicine recommendation method and system based on artificial intelligence and big data
CN116110615A (en) Digital medical system for intervention in chronic pain
CN119252408B (en) A pain prediction and warning method and system based on medical pain scoring scale
Zhang et al. From tinnitus data to action rules and tinnitus treatment
CN113317767A (en) Health bracelet equipment for health management and abnormal data detection method thereof
US20230360764A1 (en) Personalized exercise guidance system and method based on machine learning
CN113066548B (en) A drug rash patient management system and a nursing plan generation method
KR102478102B1 (en) Method of treatment for insomnia

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210212