Skip to content

Commit

Permalink
Better text layout
Browse files Browse the repository at this point in the history
  • Loading branch information
radioxoma committed Feb 11, 2020
1 parent 3953ca4 commit 6345d7c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 22 deletions.
36 changes: 16 additions & 20 deletions heval/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,34 +38,30 @@
ABBREVIATIONS
ABG - arterial blood gas test
AG - anion gap
BMI - body mass index
BMR - basal metabolic rate
BSA - body surface area, m²
IBW - ideal body weight, kg
RBW - real body weight, kg
NMT - neuromuscular monitoring
TIVA - total intravenous anesthesia
TOF - train of four
CKD - chronic kidney disease
eGFR - estimated glomerular filtration rate
AG - anion gap
NAGMA - normal anion gap metabolic acidosis
HAGMA - high anion gap metabolic acidosis
KULT - Ketones, Uremia, Lactate, Toxins
gg - gap-gap, delta gap
SBE - standard base excess
MV - minute volume
VDaw - dead space airway volume
TV - tidal volume
RR - respiratory rate
D5 - dextrose 5%
DKE - diabetic ketoacidosis
eGFR - estimated glomerular filtration rate
gg - gap-gap, delta gap
HAGMA - high anion gap metabolic acidosis
HHS - hyperosmolar hyperglycemic state
IBW - ideal body weight, kg
IV, I/V - intravenous
KULT - Ketones, Uremia, Lactate, Toxins
MV - minute volume
NAGMA - normal anion gap metabolic acidosis
NMT - neuromuscular monitoring
RBW - real body weight, kg
RR - respiratory rate
SBE - standard base excess
TIVA - total intravenous anesthesia
TOF - train of four
TV - tidal volume
VDaw - dead space airway volume
ПосДеж - Пособие дежуранта, С.А. Деревщиков, 2014 г
"""
Expand Down
4 changes: 2 additions & 2 deletions heval/human.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,13 +513,13 @@ def _info_in_energy(self):
info += " * Fat {:3.0f}-{:3.0f} g/24h (1.0-1.5 g/kg/24h) (30-40% of total energy req.)\n".format(1.0 * self.weight_ideal, 1.5 * self.weight_ideal)
info += " * Glucose {:3.0f}-{:3.0f} g/24h (4.0-5.0 g/kg/24h) (60-70% of total energy req.)\n".format(4.0 * self.weight_ideal, 5.0 * self.weight_ideal)
# 25-30 kcal/kg/24h IBW? ESPEN Guidelines on Enteral Nutrition: Intensive care https://doi.org/10.1016/j.clnu.2018.08.037
info += "Daily energy requirement {:.0f}-{:.0f} kcal/24h (25-30 kcal/kg/24h IBW) [ESPEN 2019]\n".format(25 * self.weight_ideal, 30 * self.weight_ideal)
if self.age:
info += "\nResting energy expenditure for healthy adults:\n"
info += " * {:.0f} kcal/24h Harris-Benedict (revised 1984) \n".format(ree_harris_benedict(self.height, self.weight, self.sex, self.age))
info += " * {:.0f} kcal/24h Mifflin (1990)\n".format(ree_mifflin(self.height, self.weight, self.sex, self.age))
else:
info += "Enter age to calculate REE"
info += "Enter age to calculate REE\n"
info += " * {:.0f}-{:.0f} kcal/24h (25-30 kcal/kg/24h IBW) [ESPEN 2019]".format(25 * self.weight_ideal, 30 * self.weight_ideal)
else:
# Looks like child needs more then 25 kcal/kg/24h (up to 100?) [Курек p. 163]
# стартовые дозы глюкозы [Курек с 143]
Expand Down

0 comments on commit 6345d7c

Please sign in to comment.