Nghiên cứu công nghệ đo chuyển hóa năng lượng gián tiếp trên bệnh nhân thở máy và xây dựng phần mềm tính toán

85 34 0
Nghiên cứu công nghệ đo chuyển hóa năng lượng gián tiếp trên bệnh nhân thở máy và xây dựng phần mềm tính toán

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Nghiên cứu công nghệ đo chuyển hóa năng lượng gián tiếp trên bệnh nhân thở máy và xây dựng phần mềm tính toán Nghiên cứu công nghệ đo chuyển hóa năng lượng gián tiếp trên bệnh nhân thở máy và xây dựng phần mềm tính toán luận văn tốt nghiệp thạc sĩ

BỘ GIÁO DỤC VÀ ĐÀO TẠO TRƯỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI HỒNG NAM PHONG Hồng Nam Phong KỸ THUẬT Y SINH NGHIÊN CỨU CƠNG NGHỆ ĐO CHUYỂN HĨA NĂNG LƯỢNG GIÁN TIẾP TRÊN BỆNH NHÂN THỞ MÁY VÀ XÂY DỰNG PHẦN MỀM TÍNH TỐN LUẬN VĂN THẠC SĨ KỸ THUẬT Y SINH 2014B Hà Nội, Năm 2017 BỘ GIÁO DỤC VÀ ĐÀO TẠO TRƯỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI Hồng Nam Phong NGHIÊN CỨU CƠNG NGHỆ ĐO CHUYỂN HĨA NĂNG LƯỢNG GIÁN TIẾP TRÊN BỆNH NHÂN THỞ MÁY VÀ XÂY DỰNG PHẦN MỀM TÍNH TỐN Chun ngành : Kỹ thuật Y sinh LUẬN VĂN THẠC SĨ KỸ THUẬT Y SINH NGƯỜI HƯỚNG DẪN KHOA HỌC : TS Nguyễn Thái Hà Hà Nội – Năm 2017 CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM Độc lập – Tự – Hạnh phúc BẢN XÁC NHẬN CHỈNH SỬA LUẬN VĂN THẠC SĨ Họ tên tác giả luận văn : Hoàng Nam Phong Đề tài luận văn: Nghiên cứu công nghệ đo chuyển hóa lượng gián tiếp bệnh nhân thở máy xây dựng phần mềm tính tốn Chun ngành: Kỹ thuật Y sinh Mã số SV: CB140292 Tác giả, Người hướng dẫn khoa học Hội đồng chấm luận văn xác nhận tác giả sửa chữa, bổ sung luận văn theo biên họp Hội đồng ngày 28 tháng 12 năm 2017 với nội dung sau: Bổ sung kết luận sau chương Đồng ngơn ngữ thích hình vẽ Bổ sung danh mục thuật ngữ từ viết tắt Ngày 29 tháng 12 năm 2017 Giáo viên hướng dẫn Tác giả luận văn CHỦ TỊCH HỘI ĐỒNG LỜI CAM ĐOAN Tôi xin cam đoan đề tài luận văn tơi nghiên cứu Chương trình phần mềm tính tốn tơi xây dựng Đề tài luận văn chưa thực cơng bố Trong q trình nghiên cứu tơi có tham khảo số tài liệu liệt kê cuối luận văn Tôi xin chịu trách nhiệm tơi cam đoan Học viên HỒNG NAM PHONG Mục lục Mục lục Danh sách hình vẽ Danh sách bảng Phần mở đầu Chương Tổng quan máy thở chuyển hóa lượng thể 1.1 Tổng quan máy thở 1.1.1 Khái niệm máy thở 1.1.2 Cấu tạo nguyên lý ho ạt động máy thở áp lực dương 12 1.1.3 Các thông số máy thở 16 1.1.4 Các chế độ thở 19 1.2 Chuyển hóa lượng thể 26 1.2.1 Chế độ dinh dưỡng cho bệnh nhân thở máy 26 1.2.2 Cung cấp dinh dưỡng cho bệnh nhân thở máy 28 1.2.3 Khái niệm chuyển hóa lượng 29 1.2.4 Các dạng lượng thể 31 1.2.5 Nguồn cung cấp lượng cho thể 32 1.2.6 Chuyển hoá lượng thể 33 1.2.7 Các nguyên nhân làm tiêu hao lượng thể 34 1.3 Các phương pháp đo chuyển hóa lượng 38 1.3.1 Phương pháp đo trực tiếp 38 1.3.2 Phương pháp đo gián tiếp 39 Chương Phương pháp đo chuyển hóa lượng gián tiếp 42 2.1 Giới thiệu phương pháp 42 2.2 Tốc độ tiêu thụ Oxy 43 2.3 Tốc độ sản sinh CO2 44 2.4 Thương số hô hấp RQ 46 2.5 Tiêu hao lượng (EE) 48 Chương Thiết bị đo chuyển hóa lượng gián tiếp 50 3.1 Sơ đồ tổng quan 50 3.2 Khối đo nồng độ oxy 50 3.3 Khối đo nồng độ CO2 51 3.4 Bẫy nước lọc khí đầu vào 52 3.5 Van zero hấp thụ CO2 53 3.6 Cảm biến áp lực chênh áp 53 3.7 Khối bơm 54 Chương Xây dựng phần mềm hỗ trợ tính tốn 56 4.1 Giới thiệu phần mềm hỗ trợ tính tốn 56 4.2 Các công c ụ tảng xây dựng phần mềm 57 4.2.1 Visual studio 57 4.2.2 Nền tảng lập trình C# 60 4.3 Lưu đồ thuật toán phần mềm 62 4.3 Giao diện phần mềm 63 Kết luận 66 Tài liệu tham khảo 67 Phụ lục 68 Danh sách hình vẽ Hình 1 Máy thở bệnh nhân thở máy Hình Máy thở áp lực âm 10 Hình Máy thở áp lực âm máy thở áp lực dương 12 Hình Sơ đồ tổng quan máy thở áp lực dương 13 Hình Hệ thống Oxy trung tâm 13 Hình Van giảm áp 14 Hình Van điện từ tỉ lệ 15 Hình Cảm biến lưu lượng 15 Hình Chế độ thở kiểm sốt 20 Hình 10 Chế độ thở hỗ trợ/kiểm soát 21 Hình 11 Chế độ thở bắt buộc ngắt quãng đồng 22 Hình 12 Chế độ CPAP 23 Hình 13 Chế độ PEEP 24 Hình 14 Chế độ PCIRV 25 Hình 15 Chế độ thở cao tần 26 Hình 16 Ảnh hưởng dinh dưỡng tới hơ hấp 27 Hình 18 Quá trình chuyển đổi từ ATP sang ADP 30 Hình 19 Đo chuyển hóa lượng trực tiếp 39 Hình 20 Đo chuyển hóa lượng gián tiếp 41 Hình Phương trình chuyển hóa lượng 42 Hình 2 Tốc độ tiêu thụ O2 sản sinh CO2 43 Hình Thương số hơ hấp 46 Hình Tiêu hao lượng 48 Hình Đồ thị theo dõi EE RQ 49 Hình Sơ đồ thiết bị đo chuyển hóa lượng 50 Hình Cảm biến Oxy thuận từ 51 Hình 3 Cảm biến đo CO2 52 Hình Bẫy nước lọc khí đầu vào 53 Hình Bộ hấp thụ CO2 53 Hình Cấu tạo cảm biến áp suất 54 Hình Cấu tạo bơm màng 55 Hình Máy thở có chức đo chuyển hóa lượng 56 Hình Giao diện phần mềm đo chuyển hóa lượng máy thở 57 Hình Visual studio 58 Hình 4 Ngơn ngữ lập trình C# 61 Hình Lưu đồ thuật toán 62 Hình Phần mềm khởi động 63 Hình Nhập lưu thơng tin bệnh nhân 64 Hình Kiểm tra tính hợp lệ liệu nhập vào 64 Hình Kết tính tốn 65 Danh sách bảng Bảng 1 Thành phần khí hít vào thở 27 Bảng Xác định dinh dưỡng theo cân nặng 28 Bảng Thành phần khí hít vào thở 40 Bảng Giá trị VO2 VCO2 theo phương trình Harris-Benedict 45 Bảng 2 Bảng đánh giá thương số hô hấp 47 Bảng Các yếu tố ảnh hưởng đến tiêu hao lượng 49 Danh mục thuật ngữ từ viết tắt CHCS: Chuyển hóa sở EE: Tiêu hao lượng ESPEN: Hiệp hội Dinh Dưỡng Lâm Sàng Châu Âu FiO2: Nồng độ Oxy I:E : Tỉ lệ thở vào/thở IDE: Mơi trường phát triển tích hợp IMV: Chế độ thở kiểm sốt ngắt qng MV: Thơng khí phút NIDR: Cảm biến hồng ngoại khơng phân cực PEEP/CPAP: Áp suất dương cuối thở / Áp suất đường khí dương liên tục Pinsp: Áp lực đỉnh thở vào Ppeak: Áp lực đỉnh RQ: Thương số hô hấp RR: Nhịp thở SDA: Động lực đặc hiệu SIMV: Chế độ thở bắt buộc ngắt quãng đồng Tinsp: Thời gian thở vào VCO2: Tốc độ sản sinh Cacbonic VO2: Tốc độ sản sinh Oxy VT: Thể tích lưu thơng VTe: Thể tích lưu thơng thở Tài liệu tham khảo Carol Rees Parrish, Stacey Falls McCray (2003), Nutrition Support for the Mechanically Ventilated Patient, Crit Care Nurse Dean R Hess, Robert M Kacmarek (2002), Essentials of Mechanical Ventilation, McGraw-Hill Education, USA GE Healthcare, Carescape R860 User's Reference Manual, tr.354-359 GE Healthcare, Module Frames and Modules Technical Manual, tr 222-234 Jukka Takala (2013), Gas exchange and indirect calorimetry, GE Healthcare, tr 110 Jukka Takala, Pekka Meriläinen (1991), Handbook of Gas Exchange and Indirect Calorimetry, Datex 67 Phụ lục Mã nguồn phần thiết kế giao diện namespace Chuyen_hoa_nang_luong { partial class Form1 { /// /// Required designer variable /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - not modify /// the contents of this method with the code editor /// private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.button1 = new System.Windows.Forms.Button(); this.tbx_MVe = new System.Windows.Forms.TextBox(); this.tbx_FeCO2 = new System.Windows.Forms.TextBox(); 68 this.tbx_FiCO2 = new System.Windows.Forms.TextBox(); this.tbx_MVi = new System.Windows.Forms.TextBox(); this.tbx_FeO2 = new System.Windows.Forms.TextBox(); this.tbx_FiO2 = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.tbx_VCO2 = new System.Windows.Forms.TextBox(); this.tbx_RQ = new System.Windows.Forms.TextBox(); this.tbx_EE = new System.Windows.Forms.TextBox(); this.tbx_VO2 = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.tbx_Hoten = new System.Windows.Forms.TextBox(); this.tbx_Quequan = new System.Windows.Forms.TextBox(); this.tbx_Tuoi = new System.Windows.Forms.TextBox(); this.tbx_Chandoan = new System.Windows.Forms.RichTextBox(); this.label14 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.button3); this.groupBox1.Controls.Add(this.label14); this.groupBox1.Controls.Add(this.tbx_Chandoan); this.groupBox1.Controls.Add(this.tbx_Tuoi); 69 this.groupBox1.Controls.Add(this.tbx_Quequan); this.groupBox1.Controls.Add(this.tbx_Hoten); this.groupBox1.Controls.Add(this.label13); this.groupBox1.Controls.Add(this.label12); this.groupBox1.Controls.Add(this.label11); this.groupBox1.Location = new System.Drawing.Point(4, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(663, 103); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Thông tin bệnh nhân"; // // groupBox2 // this.groupBox2.Controls.Add(this.button1); this.groupBox2.Controls.Add(this.tbx_MVe); this.groupBox2.Controls.Add(this.tbx_FeCO2); this.groupBox2.Controls.Add(this.tbx_FiCO2); this.groupBox2.Controls.Add(this.tbx_MVi); this.groupBox2.Controls.Add(this.tbx_FeO2); this.groupBox2.Controls.Add(this.tbx_FiO2); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Location = new System.Drawing.Point(4, 121); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(661, 152); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "Các thông số đo được"; // // button1 // this.button1.Location = new System.Drawing.Point(559, 58); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(95, 23); this.button1.TabIndex = 18; 70 this.button1.Text = "KẾT QUẢ"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // tbx_MVe // this.tbx_MVe.Location = new System.Drawing.Point(455, 91); this.tbx_MVe.Name = "tbx_MVe"; this.tbx_MVe.Size = new System.Drawing.Size(80, 20); this.tbx_MVe.TabIndex = 17; // // tbx_FeCO2 // this.tbx_FeCO2.Location = new System.Drawing.Point(455, 60); this.tbx_FeCO2.Name = "tbx_FeCO2"; this.tbx_FeCO2.Size = new System.Drawing.Size(80, 20); this.tbx_FeCO2.TabIndex = 16; // // tbx_FiCO2 // this.tbx_FiCO2.Location = new System.Drawing.Point(455, 31); this.tbx_FiCO2.Name = "tbx_FiCO2"; this.tbx_FiCO2.Size = new System.Drawing.Size(80, 20); this.tbx_FiCO2.TabIndex = 15; // // tbx_MVi // this.tbx_MVi.Location = new System.Drawing.Point(169, 88); this.tbx_MVi.Name = "tbx_MVi"; this.tbx_MVi.Size = new System.Drawing.Size(80, 20); this.tbx_MVi.TabIndex = 14; // // tbx_FeO2 // this.tbx_FeO2.Location = new System.Drawing.Point(169, 60); this.tbx_FeO2.Name = "tbx_FeO2"; this.tbx_FeO2.Size = new System.Drawing.Size(80, 20); this.tbx_FeO2.TabIndex = 13; // // tbx_FiO2 71 // this.tbx_FiO2.Location = new System.Drawing.Point(169, 31); this.tbx_FiO2.Name = "tbx_FiO2"; this.tbx_FiO2.Size = new System.Drawing.Size(80, 20); this.tbx_FiO2.TabIndex = 12; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(292, 91); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(145, 13); this.label6.TabIndex = 5; this.label6.Text = "Thơng khí phút thở (MVe):"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(8, 91); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(150, 13); this.label5.TabIndex = 4; this.label5.Text = "Thông khí phút thở vào (MVi):"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(292, 67); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(148, 13); this.label4.TabIndex = 3; this.label4.Text = "Nồng độ CO2 thở (FeCO2):"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(292, 34); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(153, 13); 72 this.label3.TabIndex = 2; this.label3.Text = "Nồng độ CO2 thở vào (FiCO2):"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(8, 63); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(134, 13); this.label2.TabIndex = 1; this.label2.Text = "Nồng độ O2 thở (FeO2):"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(8, 34); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(139, 13); this.label1.TabIndex = 0; this.label1.Text = "Nồng độ O2 thở vào (FiO2):"; // // groupBox3 // this.groupBox3.Controls.Add(this.tbx_VCO2); this.groupBox3.Controls.Add(this.tbx_RQ); this.groupBox3.Controls.Add(this.tbx_EE); this.groupBox3.Controls.Add(this.tbx_VO2); this.groupBox3.Controls.Add(this.label10); this.groupBox3.Controls.Add(this.label9); this.groupBox3.Controls.Add(this.label8); this.groupBox3.Controls.Add(this.label7); this.groupBox3.Location = new System.Drawing.Point(4, 279); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(661, 88); this.groupBox3.TabIndex = 2; this.groupBox3.TabStop = false; this.groupBox3.Text = "Kết tính tốn"; // // tbx_VCO2 // 73 this.tbx_VCO2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tbx_VCO2.Location = new System.Drawing.Point(170, 45); this.tbx_VCO2.Name = "tbx_VCO2"; this.tbx_VCO2.ReadOnly = true; this.tbx_VCO2.Size = new System.Drawing.Size(80, 23); this.tbx_VCO2.TabIndex = 13; // // tbx_RQ // this.tbx_RQ.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tbx_RQ.ForeColor = System.Drawing.SystemColors.MenuHighlight; this.tbx_RQ.Location = new System.Drawing.Point(456, 19); this.tbx_RQ.Name = "tbx_RQ"; this.tbx_RQ.ReadOnly = true; this.tbx_RQ.Size = new System.Drawing.Size(80, 23); this.tbx_RQ.TabIndex = 12; // // tbx_EE // this.tbx_EE.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tbx_EE.ForeColor = System.Drawing.SystemColors.MenuHighlight; this.tbx_EE.Location = new System.Drawing.Point(456, 45); this.tbx_EE.Name = "tbx_EE"; this.tbx_EE.ReadOnly = true; this.tbx_EE.Size = new System.Drawing.Size(80, 23); this.tbx_EE.TabIndex = 11; // // tbx_VO2 // this.tbx_VO2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tbx_VO2.Location = new System.Drawing.Point(170, 22); this.tbx_VO2.Name = "tbx_VO2"; this.tbx_VO2.ReadOnly = true; this.tbx_VO2.Size = new System.Drawing.Size(80, 23); this.tbx_VO2.TabIndex = 10; 74 // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(293, 48); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(131, 13); this.label10.TabIndex = 9; this.label10.Text = "Tiêu hao lượng (EE):"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(293, 22); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(122, 13); this.label9.TabIndex = 8; this.label9.Text = "Thương số hô hấp (RQ):"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(9, 48); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(148, 13); this.label8.TabIndex = 7; this.label8.Text = "Tốc độ sản sinh CO2 (VCO2):"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(9, 22); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(130, 13); this.label7.TabIndex = 6; this.label7.Text = "Tốc độ tiêu thụ O2 (VO2):"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(268, 22); 75 this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(28, 13); this.label11.TabIndex = 1; this.label11.Text = "Tuổi"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(335, 22); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(54, 13); this.label12.TabIndex = 2; this.label12.Text = "Quê quán"; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(7, 22); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(96, 13); this.label13.TabIndex = 3; this.label13.Text = "Họ tên bệnh nhân:"; // // tbx_Hoten // this.tbx_Hoten.Location = new System.Drawing.Point(109, 19); this.tbx_Hoten.Name = "tbx_Hoten"; this.tbx_Hoten.Size = new System.Drawing.Size(153, 20); this.tbx_Hoten.TabIndex = 19; // // tbx_Quequan // this.tbx_Quequan.Location = new System.Drawing.Point(395, 19); this.tbx_Quequan.Name = "tbx_Quequan"; this.tbx_Quequan.Size = new System.Drawing.Size(141, 20); this.tbx_Quequan.TabIndex = 20; // // tbx_Tuoi // this.tbx_Tuoi.Location = new System.Drawing.Point(302, 19); 76 this.tbx_Tuoi.Name = "tbx_Tuoi"; this.tbx_Tuoi.Size = new System.Drawing.Size(27, 20); this.tbx_Tuoi.TabIndex = 21; // // tbx_Chandoan // this.tbx_Chandoan.Location = new System.Drawing.Point(10, 63); this.tbx_Chandoan.Name = "tbx_Chandoan"; this.tbx_Chandoan.Size = new System.Drawing.Size(526, 34); this.tbx_Chandoan.TabIndex = 22; this.tbx_Chandoan.Text = ""; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(251, 47); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(60, 13); this.label14.TabIndex = 23; this.label14.Text = "Chẩn đoán"; // // button2 // this.button2.Location = new System.Drawing.Point(559, 63); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(95, 23); this.button2.TabIndex = 19; this.button2.Text = "THÊM MỚI"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.Location = new System.Drawing.Point(559, 22); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(95, 23); this.button3.TabIndex = 20; this.button3.Text = "LƯU"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); 77 // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(671, 379); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Name = "Form1"; this.Text = "Tính tốn chuyển hóa lượng"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label1; private System.Windows.Forms.GroupBox groupBox3; private System.Windows.Forms.TextBox tbx_VCO2; private System.Windows.Forms.TextBox tbx_RQ; private System.Windows.Forms.TextBox tbx_EE; private System.Windows.Forms.TextBox tbx_VO2; private System.Windows.Forms.Label label10; private System.Windows.Forms.Label label9; private System.Windows.Forms.Label label8; private System.Windows.Forms.TextBox tbx_MVe; 78 private System.Windows.Forms.TextBox tbx_FeCO2; private System.Windows.Forms.TextBox tbx_FiCO2; private System.Windows.Forms.TextBox tbx_MVi; private System.Windows.Forms.TextBox tbx_FeO2; private System.Windows.Forms.TextBox tbx_FiO2; private System.Windows.Forms.Button button1; private System.Windows.Forms.Label label13; private System.Windows.Forms.Label label12; private System.Windows.Forms.Label label11; private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button3; private System.Windows.Forms.Label label14; private System.Windows.Forms.RichTextBox tbx_Chandoan; private System.Windows.Forms.TextBox tbx_Tuoi; private System.Windows.Forms.TextBox tbx_Quequan; private System.Windows.Forms.TextBox tbx_Hoten; } } Mã nguồn thiết kế chức using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Chuyen_hoa_nang_luong { public partial class Form1 : Form { double VO2, VCO2; double EE, RQ; public Form1() { InitializeComponent(); 79 } private void button1_Click(object sender, EventArgs e) { if ((tbx_FiO2.Text == "") || (tbx_FeO2.Text) == "" || (tbx_FiCO2.Text == "") || (tbx_FeCO2.Text == "") || (tbx_MVi.Text == "") || (tbx_MVe.Text == "")) { MessageBox.Show("Vui lòng nhập liệu"); } else { //Tính VO2 double FiO2 = double.Parse(tbx_FiO2.Text); double FeO2 = double.Parse(tbx_FeO2.Text); double MVi = double.Parse(tbx_MVi.Text); double MVe = double.Parse(tbx_MVe.Text); VO2 = FiO2 * MVi - FeO2 * MVe; tbx_VO2.Text = VO2.ToString(); //Tính VCO2 double FiCO2 = double.Parse(tbx_FiCO2.Text); double FeCO2 = double.Parse(tbx_FeCO2.Text); VCO2 = FeCO2 * MVe - FiCO2 * MVi; tbx_VCO2.Text = VCO2.ToString(); //Tính RQ if (VO2 == || VCO2 == 0) { MessageBox.Show("Vui lòng nhập liệu phù hợp"); } else { RQ = VCO2/VO2; //int RQ1 = VCO2 % VO2; tbx_RQ.Text = RQ.ToString(); EE = 5.5 * VO2 + 1.7 * VCO2 - 26; tbx_EE.Text = EE.ToString(); } 80 } } private void button3_Click(object sender, EventArgs e) { MessageBox.Show("Đã lưu thông tin bệnh nhân"); } private void button2_Click(object sender, EventArgs e) { MessageBox.Show("Lưu thông tin thêm bệnh nhân mới"); tbx_Hoten.Clear(); tbx_Tuoi.Clear(); tbx_Quequan.Clear(); tbx_Chandoan.Clear(); } } } 81 ... tài luận văn: ? ?Nghiên cứu công nghệ đo chuyển hóa lượng gián tiếp bệnh nhân thở máy xây dựng phần mềm tính tốn” Nội dung luận văn bao gồm: Chương 1: Tổng quan máy thở chuyển hóa lượng thể Chương... GIÁO DỤC VÀ ĐÀO TẠO TRƯỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI Hồng Nam Phong NGHIÊN CỨU CƠNG NGHỆ ĐO CHUYỂN HÓA NĂNG LƯỢNG GIÁN TIẾP TRÊN BỆNH NHÂN THỞ MÁY VÀ XÂY DỰNG PHẦN MỀM TÍNH TỐN... phép đo chuyển hóa lượng gián tiếp Chương 3: Thiết bị đo chuyển hóa lượng gián tiếp Chương mơ tả chi tiết nguyên lý hoạt động phận thiết bị đo chuyển hóa lượng gián tiếp Chương 4: Xây dựng phần mềm

Ngày đăng: 18/02/2021, 08:19

Từ khóa liên quan

Mục lục

  • Mục lục

  • Phần mở đầu

  • Chương 1. Tổng quan về máy thở và chuyển hóa năng lượng trong cơ thể

  • Chương 2. Phương pháp đo chuyển hóa năng lượng gián tiếp

  • Chương 3. Thiết bị đo chuyển hóa năng lượng gián tiếp

  • Chương 4. Xây dựng phần mềm hỗ trợ tính toán

  • Kết luận

  • Tài liệu tham khảo

  • Phụ lục

Tài liệu cùng người dùng

Tài liệu liên quan