Hemodialysis Several comorbidities are still associated with - - PDF document

hemodialysis
SMART_READER_LITE
LIVE PREVIEW

Hemodialysis Several comorbidities are still associated with - - PDF document

Lesson 7 University of Bergamo Engineering and Management for Health FOR CHRONIC DISEASES MEDICAL SUPPORT SYSTEMS LESSON 7 Hemodialysis: introduction to hemodialysis; compartmental models to describe the dynamics of solutes in patients;


slide-1
SLIDE 1

Lesson 7 Hemodialysis: introduction to hemodialysis; compartmental models to describe the dynamics

  • f solutes in patients; estimation of patient-

specific parameters to optimize dialysis sessions.

Ettore Lanzarone April 1, 2020

MEDICAL SUPPORT SYSTEMS FOR CHRONIC DISEASES

Engineering and Management for Health University of Bergamo

LESSON 7

Hemodialysis

Several comorbidities are still associated with hemodialysis. Due to therapy discontinuity, hemodialysis induces considerable changes in hydrostatic and osmotic balances, with rapid variations in fluid volumes and electrolytic concentrations within the patient’s body compartments. A need for treatment customization emerged over the years, mainly because the individual tolerance can be highly different from patient to patient even under similar treatment conditions. These mechanisms can be studied by using models that can support the clinical observations and predict the future evolution

  • f patient’s conditions.
slide-2
SLIDE 2

Lesson 7

Hemodialysis

More specifically, a proper mathematical model of fluid exchange and solute dynamics would provide the clinicians an instrument to simulate and predict the single-patient response to the treatment in terms of solutes and catabolite kinetics, so as to identify the most suitable therapy, thereby reducing intradialysis complications and associated longterm dysfunctions.

Hemodialysis

We consider the parametric multicompartmental model of Casagrande et al. (2016) that accounts for several solutes and allows to include the patient-specific characteristics through a proper setting of the parameters. In our course:

  • Description of the model
  • Approaches to obtain patient-specific parameters

Casagrande et al. Patient-specific modeling of multicompartmental fluid and mass exchange during dialysis. The International Journal of Artificial Organs 2016; 39(5): 220-227

slide-3
SLIDE 3

Lesson 7

Hemodialysis

MODEL

  • Multi-compartmental parametric kinetic model based on

mass and fluid balance equations both in the patient and across the dialyzer membrane.

  • Dynamics determined by balance equations for hydraulic

and osmotic pressures in the patient.

  • Body compartments are represented as 2 pools for the

mass exchange analysis of the solutes (intracellular and extracellular) and as 3 pools (plasmatic, interstitial and intracellular) for fluids transfer.

Hemodialysis

MODEL Simultaneous evaluation of the temporal trend in patient’s blood

  • f:
  • plasmatic electrolytes, e.g., Sodium (Na+), Potassium (K+),

Chloride (Cl-), Calcium (Ca2+), Bicarbonate (HCO3-) and Magnesium (Mg2+);

  • breakdown products, e.g., creatinine and urea;
  • protein concentrations.
slide-4
SLIDE 4

Lesson 7

Hemodialysis

  • Overview of the main

components

  • Resulting system
  • Estimation of patient-

specific parameters

Hemodialysis

Dialyzer-side equations

slide-5
SLIDE 5

Lesson 7

Hemodialysis

Dialyzer-side equations

Hemodialysis

Dialyzer-side equations

slide-6
SLIDE 6

Lesson 7

Hemodialysis

Patient-side equations

Hemodialysis

Patient-side equations

slide-7
SLIDE 7

Lesson 7

Hemodialysis

Patient-side equations

Hemodialysis

Patient-side equations

slide-8
SLIDE 8

Lesson 7

Hemodialysis

Patient-side equations

Hemodialysis

Summing up, mass, the considered mathematical model includes mass, fluid and pressure balance equations that account for mass and fluid exchanges in the body compartments. 1)

  • Mic

(s): mass of solute s in the intracellular

compartment

  • Mex

(s): mass of solute s in the extracellular

compartment

slide-9
SLIDE 9

Lesson 7

Hemodialysis

Summing up, mass, the considered mathematical model includes mass, fluid and pressure balance equations that account for mass and fluid exchanges in the body compartments. 2)

  • Vic: fluid volume in the intracellular compartment
  • Vis: fluid volume in the interstitial compartment
  • Vpl: fluid volume in the plasmatic compartment

Hemodialysis

Summing up, mass, the considered mathematical model includes mass, fluid and pressure balance equations that account for mass and fluid exchanges in the body compartments. 3)

  • Pac: pressure at the arterial capillary side
  • Pis: pressure in the interstitial compartment
slide-10
SLIDE 10

Lesson 7

Hemodialysis

The other variables that vary over time are expressed in function

  • f the above mentioned state variables, with no additional

differential equations (Bianchi et al. 2017). The model includes two types of parameters (Bianchi et al. 2017):

  • Fixed parameters
  • Patient-specific parameters

Hemodialysis

All the mass, fluid and pressure balance equations compose a system of Ordinary Differential Equations (ODE), which is numerically solved by the 4th-order Runge-Kutta numerical method. Practical lesson The goals are: 1. To estimate the coefficients under a frequentist approach (e.g., MLE) 2. To estimate the coefficients under the Bayesian approach I provide you:

  • Matlab code with the Runge-Kutta discretization
  • Some datasets
  • RSTAN model for Bayesian estimation [later in lesson 9 for goal 2]
slide-11
SLIDE 11

Lesson 7

Hemodialysis

Matlab code with the Runge-Kutta discretization FOCUS ON THIS PART

Hemodialysis

  • Tasks for the frequentist estimation:

1. To run the model to generate a simulated dataset with a given set of patient-specific parameters (you can keep those written in the file). 2. To forget these parameters and to develop a method to re-estimate them; suggestion provided in the next slides.

slide-12
SLIDE 12

Lesson 7

Hemodialysis

3. To apply the method you proposed to the real patient dataset you can find in the text file “patient.csv”

Time step of the acquisitions is 1 minute. Pay attention to the fact that there are missing

  • sbservations (those with -1). Some variables are
  • bserved only at the beginning and the end

Hemodialysis

Suggestion: ITERATIVE APPROACH

slide-13
SLIDE 13

Lesson 7

Hemodialysis

A suitable approach is to minimize one of the validation metrics where the considered points are the observations available in the dataset. As the model is complex and nonlinear, an iterative approach is suggested.

Hemodialysis

Iteration block

Simulate outputs with the chosen set Compute MSE between model

  • utcomes and observations

Choose a set θ of parameters

slide-14
SLIDE 14

Lesson 7

Iteration i

Hemodialysis

Feedback

Simulate outputs with the chosen set Compute MSEi between model

  • utcomes and observations

MSEi < MSE* ? θ* = θi MSE* = MSEi Choose a newer set θi of parameters based on θ* Initial reasonable θ0 with associated MSE0 NO YES Iteration i

Hemodialysis

Iterative approach

Simulate outputs with the chosen set Compute MSEi between model

  • utcomes and observations

MSEi < MSE* ? θ* = θi MSE* = MSEi Choose a newer set θi of parameters based on θ* Terminate ? Initial reasonable θ0 with associated MSE0 NO NO YES YES θ*

slide-15
SLIDE 15

Lesson 7

Hemodialysis

Try to implement and test