Releases: ritalarina/CaloricMedCare
v0.3.1 - Localization
CaloricMedCare v0.3.1 Release Notes
I’m excited to introduce localization support for the first time! 🌍
🆕 New Features:
- Localization Added: The app is now available in Russian and Latvian. Users can enjoy a fully translated UI (except for the app menu bar).
🔧 Under the Hood:
- Significant groundwork has been laid for future growth by addressing technical debt:
- Introduced better encapsulation of concerns by reorganizing code into more modular files.
- These changes set the stage for further improvements, such as splitting large files like
renderer.js
into smaller, maintainable parts.
🚩 Known Issues:
- The app currently lacks a clear indicator for whether nutritional needs are met within 24 hours at the given feeding speed.
- The "Recommended" feeding speed does not adjust to ensure continuous feeding for a full 24-hour window and may be completed earlier.
- Element placement on small laptop screens may still require further optimization.
- Switching the language after calculating the recommended feeding speed causes the displayed speed to disappear until some input is changed. This is a rare scenario and will not be addressed at this time.
❤️ Special Thanks:
I extend my heartfelt gratitude to the medical professionals who helped verify translations.
v0.3.0 - Feeding Speed
CaloricMedCare v0.3.0 Release Notes
New Features:
- New Patient Condition: Introduced support for patients with malnutrition (high refeeding risk), with tailored feeding recommendations.
- Feeding Order Logic: Nutrition formulas are now ordered by their recommended feeding sequence in the nutrition table.
- Dynamic Feeding Speed Selection: A new feeding speed feature allows users to calculate a recommended speed or manually select a speed.
- 24-Hour Consumption Tracking: Based on the selected feeding speed, the app calculates how much volume, calories, and protein will be consumed by the patient within 24 hours, considering the feeding order.
Improvements:
- Responsive Design: Optimized element sizing and placement for different screen sizes, ensuring a better user experience across devices.
- Codebase Enhancements: Improved code readability and isolation to simplify maintenance and future development.
Bug Fixes:
- Resolved minor issues in formula volume calculations for improved accuracy.
Known Issues:
- The app currently lacks a clear indicator for whether nutritional needs are met under 24 hours at the given feeding speed.
- The "Recommended" feeding speed does not adjust to ensure continuous feeding for a full 24-hour window and may be completed earlier.
- Element placement on small laptop screens may still require further optimization.
v0.2.1 - Enhanced Flexibility for Low Burn Surface Area Cases
v0.2.1 - Enhanced Flexibility for Low Burn Surface Area Cases
Updates:
- Algorithm Enhancements: To improve support for patients with lower burn surface areas (characterized by a high caloric need relative to protein need), the algorithm now further relaxes constraints when necessary:
- Protein Requirement: Minimum protein requirement can be reduced to 85% of the calculated minimum if needed.
- Caloric Requirement: Caloric intake can increase up to 125% of the calculated daily need.
- These adjustments accommodate cases where achieving both high calories and low protein levels simultaneously is challenging.
New UI Feature:
- Results Table Enhancement: A new row in the results table now displays the percentage difference between the calculated totals and the patient’s required caloric and protein intake:
- Color-coded Highlighting: Differences greater than 10% (indicating a case with relaxed constraints) are highlighted in red, making it easier to identify cases that are outside of standard recommendations.
This release further enhances the app’s adaptability, making it easier to meet the unique nutritional needs of patients with varying burn severities.
v0.2.0 - Multi-Nutrition Calculation
New Features:
- Advanced Nutrition Formula Selection: The app now intelligently selects nutrition formulas based on patient data.
- Formula Volume Calculation: The algorithm uses linear programming to minimize total nutrition volume while ensuring the patient's daily caloric and protein needs are met within a 10% margin.
About the Algorithm:
The new algorithm calculates the volume of each nutrition formula needed while adhering to the following constraints:
- Caloric Needs: The total calories provided by the selected nutrition formulas must be within ±10% of the patient's total daily requirement.
- Protein Requirements: The total protein amount is either equal to or up to 10% less than the total daily requirement.
- Protein Powder Limitation: Protein powder quantities are limited to a maximum of 15g (based on an educated guess).
- Small Drink Limitation: Small drink formulas are capped at a maximum of 3 bottles (600 ml), as per manufacturer instructions.
- Minimum Economic Volumes: Where possible, the recommended volume for each nutrition formula will be at least half of the smallest package to ensure economic use.
- Health Conditions: For each additional health condition the patient has, a specific nutrition formula is added to the mix. If the calculation becomes infeasible, the algorithm may skip some formulas and ignore lower volume bounds.
If the initial calculation becomes unsolvable due to constraints, the algorithm will adjust and retry with relaxed bounds to ensure feasible results.
Known Issues:
- Layout issues may occur when resizing the window.
- Some calculations might still be infeasible even with relaxed constratins. If such situation occurs in the field, the error will pop up. Please take a screenshot of all inputs/outputs and send them to the developer.
This release provides a robust approach to calculating personalized nutrition volumes, making it easier for healthcare professionals to meet the unique dietary needs of each patient.
v0.1.1 - Name change Release (Windows)
Turns out old name was trademarked, so had to do a rename.
v0.1.0 - Initial MVP Release (Windows)
v0.1.0 - Initial MVP Release (Windows)
We are excited to introduce the first release of NutriCalc, a tool designed to assist medical professionals in calculating caloric needs and nutrition for burn patients.
Key Features:
-
Patient Data Input: Enter essential patient data, including:
- Gender (Male/Female)
- Age (0-120 years)
- Weight (1-300 kg, with precision up to 0.1 kg)
- Height (50-300 cm)
- Body Temperature (in °C, with precision up to 0.1°C)
- Total Burn Surface Area (1-100%)
- Days Since Trauma (0 or more days)
- Energy Intake (500-5000 kcal)
- Other Conditions (multiple-choice options)
- Selected Nutrition Formula (select from available nutrition formulas)
-
BMR Calculation: Calculates Basal Metabolic Rate (BMR) using the Harris-Benedict formula.
-
Kcal Requirement: Calculates the necessary daily caloric intake using the Toronto formula for major burns.
-
Protein Requirement:
- For the first 1-15 days post-trauma: 2g protein per kg body weight.
- After 15 days: 1.5g protein per kg body weight.
-
Daily Nutrition Volume: Calculates the required daily volume of selected nutrition formulas.
Known Issues:
- Layout Issues: When resizing the app window, some elements may not remain correctly aligned. This issue will be addressed in future releases.
This release is a Minimum Viable Product (MVP) and serves as the foundation for future improvements. Your feedback is welcome!