Todo List
Member biogears::AnesthesiaMachine::CalculateGasSource ()

put these messages into a verbose for debugging

loop over all ambient substances and set each volume fraction

Member biogears::BioGears::SetupCardiovascular ()
Make these a function of the systolic and diastolic pressure by fitting a curve to the data from the variations test
Member biogears::BioGears::SetupRenal ()

The bladder is currently not being modeled as a compliance

Use a compliance here - make sure you remove the current handling of bladder volume in the renal system as a pressure source

Member biogears::BioGears::SetupTissue ()
Put Initial Circuit/Compartment data values into the configuration file.
Member biogears::BioGearsEngineTest::AcidBaseBloodGasTests (const std::string &sOutputDirectory)
Do these tests with Strong Ion Differences once we ensure the Sodium, Potassium, and Chloride concentrations are correct and being handled properly
Member biogears::BioGearsEngineTest::FacilitatedDiffusionTest (const std::string &rptDirectory)
Relate capillary coverage to tissue mass.
Member biogears::BloodChemistry::CalculateHemolyticTransfusionReaction (bool rhMismatch=false)
Move cellular birth/death/healing to its own unique function for more accurate/responsive re-stabilizing after an event (useful outside of HTR)
Member biogears::Cardiovascular::AdjustVascularTone ()
Add dilation (decreased resistance) to myocardium supply path if myocardium oxygen deficit event is active.
Member biogears::Cardiovascular::BeginCardiacCycle ()
need to reset the heart elastance min and max at the end of each stabilization period in AtSteadyState()
Member biogears::Cardiovascular::CalculateVitalSigns ()
Make sure irreversible state is hit before we get here.
Member biogears::Cardiovascular::ChronicRenalStenosis ()
move this to CV
Member biogears::Cardiovascular::Hemorrhage ()
Enforce limits and remove fatal errors.
Member biogears::Cardiovascular::MetabolicToneResponse ()
Possibly add a thermoreception model to nervous and move the computation there.
Member biogears::Cardiovascular::SetUp () override
We are assuming that the complex renal system is connected. Make it agnostic.
Member biogears::DiffusionCalculator::CalculateNonLinearDiffusionMethods ()
Define relationship between tissue mass and membrane area.
Member biogears::Drugs::AdministerSubstanceBolus ()
Add fluid amount to fluid system
Member biogears::Drugs::AdministerSubstanceInfusion ()
sub needs to be const
Member biogears::Drugs::CalculateDrugEffects ()
The drug effect is being applied to the baseline, so if the baseline changes the delta heart rate changes.
Member biogears::Energy::CalculateSweatRate ()
Convert to sweat density once specific gravity calculation is in
Member biogears::Energy::CalculateVitalSigns ()
Move to blood chemistry
Member biogears::Nervous::BaroreceptorFeedback ()
Add decompensation. Perhaps a reduction in the effect that is a function of blood volume below a threshold... and maybe time.
Member biogears::Renal::CalculateOsmoreceptorFeedback ()
get the aorta osmolarity instead of sodium concentration
Member biogears::Renal::CalculateReabsorptionFeedback ()
turn on colloid osmotic pressure once substances have been handled properly (and GI)
Member biogears::Renal::CalculateUltrafiltrationFeedback ()
turn on colloid osmotic pressure once substances have been handled properly (and GI)
Member biogears::Renal::UpdateBladderVolume ()
Eventually replace this entire thing with a compliance and model peristaltic flow
Member biogears::Respiratory::CalculatePulmonaryFunctionTest (SEPulmonaryFunctionTest &pft)
Insert more PFT calculations here
Member biogears::Respiratory::CalculateVitalSigns ()
Move to blood chemistry
Member biogears::Respiratory::Intubation ()
Make this a modifier (i.e. multiplier), instead of setting it directly
Member biogears::Respiratory::SetUp () override
figure out how to modify these resistances without getting the cv circuit - maybe add a parameter, like baroreceptors does
Member biogears::Tissue::CalculateMetabolicConsumptionAndProduction (double time)
Creatinine production rate should be a function of muscle mass.
Member biogears::Tissue::ManageSubstancesAndSaturation ()
Remove SetBodyState hardcode and replace with computed values after substance redux is complete