Design and development of analysis software for acid-base balance disorder based on Visual Basic.NET
10.3760/cma.j.cn121430-20201012-00667
- VernacularTitle:基于Visual Basic.NET编程的酸碱平衡紊乱分析软件设计与开发
- Author:
Chunyuan MA
;
Xiangying LIU
;
Kai LING
- From:
Chinese Critical Care Medicine
2021;33(2):216-222
- CountryChina
- Language:Chinese
-
Abstract:
Objective:To develop a diagnostic analysis software for determining the type of acid-base balance disorder.Methods:Mathematical models were built based on Henderson-Hasselbalch equations and compensation formulas, to determine the important parameters of acid-base balance disorder, and to develope acid-base balance disorder analysis process. The software was compiled using the Visual Basic.NET programming language, and the installation package was generated after debugging. Acid-base balance disorder cases were searched by PubMed, Wanfang and CNKI databases from 1980 to 2015, and the blood gas parameters [pH, arterial partial pressure of carbon dioxide (PaCO 2), HCO 3- and anion gap (AG)] and the types of acid-base imbalance (literature results) were recorded. All cases were reanalyzed by software and the type of acid-base balance disorder was determined (software diagnostic type). Kappa-test and McNemar-test were performed for the two diagnostic results. Results:The "four parameters-four steps" analysis method was used as the analysis process to judge the types of acid-base balance disorder. "Four parameters" included pH, PaCO 2, HCO 3- and AG. "Four steps" were outlined by following aspects:①according to the pH, combined with PaCO 2 and HCO 3-, the primary types of acid-base balance disorder was determined; ② according to the compensation situation, double mixed acid-base balance disorder (DABD) was determined; ③according to AG value, three mixed acid-base disorders (TABD) were determined; ④ the ratio of ΔAG↑/ΔHCO 3-↓ was also calculated to determine whether there was normal AG metabolic acidosis or metabolic alkalosis. The software had the characteristics of simple interface, convenient operation, rapid judgment, and comprehensive analysis. It could judge all acid-base balance disorder types excepted "AG normal metabolic acidosis combined metabolic alkalosis". The software was used to reanalyze 112 cases of acid-base balance disorder reported in the literature, with a consistent rate of 87.50% and better consistency of the diagnostic results (Kappa test: κ = 0.84, P < 0.01; McNemar test: χ2 = 0.87, P = 0.65). Conclusion:The software can be used as an important tool to judge the type of acid-base balance disorder, and provide clinicians with diagnostic reference, which have practical value and application prospect.