Apparatus for extracorporeal treatment of blood including calculation of flow rates therefore

10918776 ยท 2021-02-16

Assignee

Inventors

Cpc classification

International classification

Abstract

An apparatus for extracorporeal treatment of fluid and a process of setting up a medical apparatus for the delivery or collection of fluids are disclosed. According to the apparatus and the process, a control unit (10) is configured calculate set values of two or more of the fluid flow rates based on a fluid flow rate set by the operator and on a prescribed dose value (D.sub.set).

Claims

1. An apparatus for extracorporeal treatment of blood comprising: a filtration unit including a primary chamber and a secondary chamber separated by a semi-permeable membrane; a blood withdrawal line in fluid communication with an inlet of the primary chamber; a blood return line in fluid communication with an outlet of the primary chamber, said blood withdrawal and return lines configured to connect to a patient; a blood pump configured to pump blood through at least one of the blood lines; an effluent fluid line in fluid communication with an outlet of the secondary chamber; at least two further fluid lines selected from a group including a pre-dilution infusion fluid line in fluid communication with the blood withdrawal line, a post-dilution infusion fluid line in fluid communication with the blood return line, a dialysis fluid line in fluid communication with an inlet of the secondary chamber, and a pre-blood pump infusion fluid line in fluid communication with the blood withdrawal line at a location upstream of the blood pump; a plurality of fluid pumps configured to pump fluid through said fluid lines; and a control unit operably connected to said pumps and to a memory, the control unit configured to: enter in the memory a set value for at least a first fluid flow rate selected from a group of fluid flow rates including a fluid flow rate Q.sub.rep1 through the pre-dilution infusion fluid line, a fluid flow rate Q.sub.rep2 through the post-dilution infusion fluid line, a fluid flow rate Q.sub.pbp through the pre-blood pump infusion fluid line, a fluid flow rate Q.sub.dial through the dialysis fluid line, and a fluid removal rate Q.sub.pfr from the patient, enter in the memory a set value for a prescribed dose D.sub.set to be delivered, calculate set values of at least a second and a third of the fluid flow rates of said group of fluid flow rates, based on said set value for at least a first fluid flow rate entered in the memory, said prescribed dose value D.sub.set, and a fluid balance equation establishing that a sum of the fluid flow rates through said pre-dilution infusion fluid line, post-dilution infusion fluid line, dialysis fluid line, and pre-blood pump infusion fluid line shall be equal to a fluid flow rate through the effluent fluid line Q.sub.eff, control one or more of said fluid pumps based on the calculated set values of the fluid flow rates, verify if a fluid flow rate has been set for at least one of the pre-dilution infusion fluid line or the pre-blood pump infusion fluid line, calculate a correction factor F.sub.dilution based on the fluid flow rate set for at least one of the pre-dilution infusion fluid line or the pre-blood pump infusion fluid line, and correct the convective dose flow rate value D.sub.conv_set to account for the effect of pre-dilution based on said correction factor, wherein said prescribed dose value D.sub.set is a convective dose flow rate value D.sub.conv_set, which is a prescribed mean value of the sum of the fluid flow rates through all infusion fluid lines Q.sub.rep1, Q.sub.rep2, Q.sub.pbp and the patient fluid removal rate Q.sub.pfr, wherein the control unit is configured to correct the convective dose flow rate value to account for the effect of pre-dilution based on said correction factor using the following formula:
D.sub.corr_conv_set=F.sub.dilutionD.sub.conv_set, where F.sub.dilution is the correction factor, D.sub.conv_set is the prescribed mean value of the sum of the fluid flow rates through all infusion fluid lines Q.sub.rep1, Q.sub.rep2, Q.sub.pbp and the patient fluid removal rate Qom, and D.sub.corr_conv_set is a corrected convective dose flow rate value, and wherein the correction factor F.sub.dilution is defined according to one of the following: a blood dilution factor,
Fdilution.sub.blood=Q.sub.blood/Qblood+Qpre, a plasma dilution factor,
Fdilution.sub.plasma=Q.sub.p/Q.sub.p+Q.sub.pre=(1Hct)Q.sub.blood/(1Hct)Q.sub.blood+Q.sub.pre, or a plasma water dilution factor,
Fdilution.sub.pw=Q.sub.pw/Q.sub.pw+Q.sub.pre=(1Hct)F.sub.pQ.sub.blood/(1Hct)F.sub.pQ.sub.blood+Q.sub.pre, where Q.sub.pre is total a pre-dilution infusion rate set for the pre-dilution infusion fluid line and the pre-blood pump infusion fluid line, Q.sub.blood is a blood flow rate, Q.sub.p is a plasma flow rate, Q.sub.pw is a plasma water flow rate, Hct is the haematocrit, and F.sub.p is a plasma water fraction, which is a function of total protein concentration.

2. The apparatus according to claim 1, wherein the blood pump is operable with a segment of the blood withdrawal line, and the apparatus includes the following fluid lines: the pre-dilution infusion fluid line in fluid communication with the blood withdrawal line between the blood pump segment and the filtration unit, the pre-blood pump infusion fluid line in fluid communication with the blood withdrawal line at a location upstream of the blood pump segment, the post-dilution infusion fluid line in fluid communication with the blood return line, and the dialysis fluid line in fluid communication with the inlet of the secondary chamber, wherein the control unit is configured to calculate the set value for the fluid flow rate through each of the above-listed infusion lines which is not set by the operator based on said first fluid flow rate set by the operator and on said prescribed dose value D.sub.set.

3. An apparatus for extracorporeal treatment of blood comprising: a filtration unit including a primary chamber and a secondary chamber separated by a semi-permeable membrane; a blood withdrawal line in fluid communication with an inlet of the primary chamber; a blood return line in fluid communication with an outlet of the primary chamber, said blood withdrawal and return lines configured to connect to a patient; a blood pump configured to pump blood through at least one of the blood lines; an effluent fluid line in fluid communication with an outlet of the secondary chamber; at least two further fluid lines selected from a group including a pre-dilution infusion fluid line in fluid communication with the blood withdrawal line, a post-dilution infusion fluid line in fluid communication with the blood return line, a dialysis fluid line in fluid communication with an inlet of the secondary chamber, and a pre-blood pump infusion fluid line in fluid communication with the blood withdrawal line at a location upstream of the blood pump; a plurality of fluid pumps configured to pump fluid through said fluid lines; and a control unit operably connected to said plurality of fluid pumps and to a memory, the control unit configured to enter in the memory a set value for at least a first fluid flow rate selected from a group including a fluid flow rate Q.sub.rep1 through the pre-dilution infusion fluid line, a fluid flow rate Q.sub.rep2 through the post-dilution infusion fluid line, a fluid flow rate Q.sub.pbp through the pre-blood pump infusion fluid line, a fluid flow rate Q.sub.dial through the dialysis fluid line, and a fluid removal rate Q.sub.pfr, from the patient, enter in the memory a set value for a prescribed dose D.sub.set to be delivered, calculate set values of at least a second and a third of the fluid flow rates of said group of fluid flow rates, based on said set value for at least a first fluid flow rate entered in the memory, said prescribed dose value D.sub.set, and a fluid balance equation establishing that a sum of the fluid flow rates through said pre-dilution infusion fluid line, post-dilution infusion fluid line, dialysis fluid line, and pre-blood pump infusion fluid line shall be equal to a fluid flow rate through the effluent fluid line Q.sub.eff, control the plurality of fluid pumps based on the calculated set values of the fluid flow rates, verify if a fluid flow rate has been set for at least one of the pre-dilution infusion fluid line or the pre-blood pump infusion fluid line, calculate a correction factor E.sub.dilution based on the fluid flow rate set for the at least one of the pre-dilution infusion fluid line or the pre-blood pump infusion fluid line, and correct the prescribed dose value D.sub.set to account for the effect of pre-dilution infusion based on said correction factor, wherein said prescribed dose value D.sub.set includes a prescribed value for a fluid flow rate or a combination of fluid flow rates, said prescribed dose value D.sub.set including a prescribed value for a dose selected from the group consisting of: an effluent dose flow rate D.sub.eff_set, which is a prescribed mean value of the fluid flow rate through the effluent line, a convective dose flow rate D.sub.conv_set, which is a prescribed mean value of the sum of the fluid flow rates through all infusion fluid lines Q.sub.rep1, Q.sub.rep2, Q.sub.pbp and the patient fluid removal rate Q.sub.pfr, a diffusive dose flow rate D.sub.dial_set, which is a prescribed mean value of the fluid flow rate through the dialysis fluid line Q.sub.dial, a urea dose D.sub.urea_set, which is a prescribed mean value for an estimated urea clearance, and a clearance dose K.sub.solute_set, which is a prescribed mean value for an estimated clearance for a given solute wherein the correction factor F.sub.dilution is defined according to one of the following: a blood dilution factor,
Fdilution.sub.blood=Q.sub.blood/Qblood+Qpre, a plasma dilution factor,
Fdilution.sub.plasma=Q.sub.p/Q.sub.p+Q.sub.pre=(1Hct)Q.sub.blood/(1Hct)Q.sub.blood+Q.sub.pre, or a plasma water dilution factor,
Fdilution.sub.pw=Q.sub.pw/Q.sub.pw+Q.sub.pre=(1Hct)F.sub.pQ.sub.blood/(1Hct)F.sub.pQ.sub.blood+Q.sub.pre, wherein Q.sub.pre is a total pre-dilution infusion rate set for the pre-dilution infusion fluid line and the pre-blood pump infusion fluid line, Q.sub.blood is a blood flow rate, Q.sub.p is a plasma flow rate, Q.sub.pw is a plasma water flow rate, Hct is the haematocrit, and F.sub.p is a plasma water fraction, which is a function of total protein concentration.

4. The apparatus of claim 3, wherein the control unit is configured to determine a corrected dose value that corrects the prescribed dose value to account for the effect of pre-dilution infusion based on said correction factor using the following formula:
D.sub.corr_set=F.sub.dilutionD.sub.set, where F.sub.dilution is the correction factor, D.sub.set is the prescribed dose value, and D.sub.corr_set is the corrected dose value.

5. The apparatus according to claim 3, wherein the blood pump is operable with a segment of the blood withdrawal line, and wherein the apparatus further includes the following: the pre-dilution infusion fluid line is connected to the blood withdrawal line between the blood pump segment and the filtration unit, the pre-blood pump infusion fluid line is connected to the blood withdrawal line at a location upstream of the blood pump segment, the post-dilution infusion fluid line is connected to the blood return line, and the dialysis fluid line is connected to the inlet of the secondary chamber, wherein the control unit is configured to calculate a set value for the fluid flow rate through each of the above-listed infusion lines which is not based on said set value for at least a first fluid flow rate entered in the memory and on said prescribed dose value D.sub.set.

6. An apparatus for extracorporeal treatment of blood comprising: a filtration unit including a primary chamber and a secondary chamber separated by a semi-permeable membrane; a blood withdrawal line in fluid communication with an inlet of the primary chamber; a blood return line in fluid communication with an outlet of the primary chamber, said blood withdrawal and return lines configured to connect to a patient cardiovascular system; a blood pump configured to pump blood through at least one of the blood lines; an effluent fluid line in fluid communication with an outlet of the secondary chamber; at least two further fluid lines selected from a group including: a pre-dilution infusion fluid line in fluid communication with the blood withdrawal line, a post-dilution infusion fluid line in fluid communication with the blood return line, a dialysis fluid line in fluid communication with an inlet of the secondary chamber, and a pre-blood pump infusion fluid line in fluid communication with the blood withdrawal line at a location upstream of the blood pump; a plurality of fluid pumps configured to pump fluid through said fluid lines; and a control unit operably connected to said plurality of fluid pumps and to a memory, the control unit configured to enter in the memory a set value for at least a first fluid flow rate selected from a group of fluid flow rates including a fluid flow rate Q.sub.rep1 through the pre-dilution infusion fluid line, a fluid flow rate Q.sub.rep2 through the pre-dilution infusion fluid line, a fluid flow rate Q.sub.pbp through the pre-blood pump infusion fluid line, a fluid flow rate Q.sub.dial through the dialysis fluid line, and a fluid removal rate Q.sub.pfr from the patient, store in said memory at least one of (i) one or more mathematical relations correlating fluid flow rates selected in said group of fluid flow rates, and (ii) one or more optimization criteria directed to optimize treatment and including, a first optimization criterion imposing that an emptying time of at least one among fresh fluid containers connected to said further fluid lines or a filling time of a waste container connected to said effluent fluid line is substantially the same as or a multiple of the emptying time of one or more of the other fresh fluid containers, a second optimization criterion imposing that fluid consumption through said further fluid lines is minimized, a third optimization criterion imposing that a life time of said filtration unit is maximized, and a fourth optimization criterion imposing that urea clearance or dialysance of a given solute is maximized, detect a user selection of at least one from a group consisting of (i), and at least one from a group consisting of (ii), determine if said at least one selection from the group consisting of (i) and at least one selection from the group consisting of (ii) are compatible or conflicting, and if said selections are compatible, calculate set values of at least a second and a third of the fluid flow rates of said group of fluid flow rates, based on at least two of said one or more mathematical relations and said one or more optimization criteria, and further based on said set value for at least a first fluid flow rate entered in the memory, and a fluid balance equation establishing that a sum of the fluid flow rates through said pre-dilution infusion fluid line, post-dilution infusion fluid line, dialysis fluid line, and pre-blood pump infusion fluid line shall be equal to a fluid flow rate through the effluent fluid line Q.sub.eff, and control the plurality of fluid pumps based on the calculated set values of the fluid flow rates.

7. The apparatus according to claim 6, wherein the control unit is further configured to: if said at least one selection from the group consisting of (i) and at least one selection from the group consisting of (ii) are conflicting, execute one or more of the following sub-steps: inform a user of the apparatus, allow the user to assign a priority to each of the selected criteria or mathematical relations, assign a priority ranking to the selected optimization criteria and/or mathematical relations, said priority ranking being either predetermined or set by the user at the time of user selection, and then ignore the criteria or mathematical relations when the fluid flow rates have been calculated from the prioritized criteria or mathematical relations, and define a compromise between conflicting optimization criteria and mathematical relations using preset rules.

8. The apparatus according to claim 6, wherein the blood pump is operable with a segment of the blood withdrawal line, and wherein the apparatus includes the following: the pre-dilution infusion fluid line connected to the blood withdrawal line between the blood pump segment and the filtration unit, the pre-blood pump infusion fluid line connected to the blood withdrawal line at a location upstream of the blood pump segment, the post-dilution infusion fluid line connected to the blood return line, and the dialysis fluid line connected to the inlet of the secondary chamber.

Description

DESCRIPTION OF THE DRAWINGS

(1) Aspects of the invention are shown in the attached drawings, which are provided by way of non-limiting example, wherein:

(2) FIGS. 1-4 show schematic representations of blood treatment apparatuses according to aspects of the invention;

(3) FIG. 5 is a flowchart showing calculation of set flow rates in a medical apparatus, e.g. of the type of FIGS. 1-4, according to an aspect of the invention;

(4) FIG. 6 is a flowchart showing calculation of set flow rates in a medical apparatus, e.g. of the type of FIGS. 1-4, according to another aspect of the invention;

(5) FIG. 7A shows a chart, relative to the emptying profiles of three bags/containers in accordance with the flowchart of FIG. 6, where the vertical axis represents the weight of each one of three bags/containers and the horizontal axis represents the emptying time; as it may be seen although the initial weight of each bag may be different, all bags/containers are emptied at the same time;

(6) FIG. 7B shows a chart, relative to three set flow rates as function of time for three pumps withdrawing fluid from respective bags/containers in order obtain the emptying profiles shown in FIG. 7A;

(7) FIG. 8A shows a chart, relative to the emptying profiles of three bags/containers in accordance with the flowchart of FIG. 6, where the vertical axis represents the weight of each one of three bags/containers and the horizontal axis represents the emptying time;

(8) FIG. 8B shows a chart, relative to the set flow rates as a function of time for the three pumps withdrawing fluid from respective bags/containers in order obtain the emptying profiles shown in FIG. 8A;

(9) FIG. 9 represents a flowchart showing calculation of set flow rates in a medical apparatus, e.g. of the type of FIGS. 1-4, according to a further aspect of the invention;

(10) FIG. 10 shows a chart, relative to the emptying profiles of three bags/containers in a case where certain flow rates have been imposed for each one of the lines leading to the three bags/containers; the vertical axis in FIG. 10 represents the weight of each one of three bags/containers and the horizontal axis represents the emptying time;

(11) FIG. 11 shows a chart, relative to the emptying profiles of three bags/containers in accordance with the flowchart of FIG. 9, where the vertical axis represents the weight of each one of three bags/containers and the horizontal axis represents the emptying time;

(12) FIG. 12A shows a chart, relative to the emptying profiles of bags in accordance with a state of the art solution in a case where certain flow rates have been imposed for each one of the lines leading to the three bags/containers; also in FIG. 12A the vertical axis represents the weight of each one of three bags and the horizontal axis represents the emptying time;

(13) FIG. 12B shows a chart, relative to the set flow rates as a function of time for the three pumps withdrawing fluid from respective bags in order obtain the emptying profiles shown in FIG. 12A; and

(14) FIG. 13 is a flowchart showing calculation of set flow rates in a medical apparatus, e.g. of the type of FIGS. 1-4, according to another aspect of the invention.

DETAILED DESCRIPTION

(15) FIGS. 1-4 show exemplifying embodiments of apparatus for extracorporeal treatment of blood according to aspects of the invention. Note that same components are identified by same reference numerals in the figures. Also note thatalthough the present invention is described with specific reference to blood treatment apparatusesthe invention may also refer to apparatuses for handling a plurality of medical fluids, such as nutrients, replacement solutions, serum, or other fluids which need to be controllably injected into or withdrawn from a patient's body.

(16) FIG. 1 shows an extracorporeal blood treatment apparatus 1 which is designed for delivering any one of treatments like hemodialysis, hemofiltration, hemodiafiltration, ultrafiltration. The apparatus 1 comprises a filtration unit 2 having a primary chamber 3 and a secondary chamber 4 separated by a semi-permeable membrane 5; depending upon the treatment the membrane of the filtration unit may be selected to have different properties and performances.

(17) A blood withdrawal line 6 is connected to an inlet of the primary chamber 3, and a blood return line 7 is connected to an outlet of the primary chamber 3. In use, the blood withdrawal line 6 and the blood return line 7 are connected to a needle or to a catheter or an implanted port or other access device (not shown) which is then placed in fluid communication with the patient vascular system, such that blood may be withdrawn through the blood withdrawal line, flowed through the primary chamber and then returned to the patient's vascular system through the blood return line. An air separator, such as a bubble trap 8, may be present on the blood return line; moreover, a safety clamp 9 controlled by a control unit 10 may be present on the blood return line downstream the bubble trap 8. A bubble sensor 8a, for instance associated to the bubble trap 8 or coupled to a portion of the line 7 between bubble trap 8 and clamp 9 may be present: if present, the bubble sensor is connected to the control unit 10 and sends to the control unit signals for the control unit to cause closure of the clamp 9 in case one or more bubbles are detected. As shown in FIG. 1, the blood flow through the blood lines is controlled by a blood pump 11, for instance a peristaltic blood pump, acting either on the blood withdrawal line (as shown e.g. in FIG. 1) or on the blood return line. An operator may enter a set value for the blood flow rate Q.sub.BLOOD through a user interface 12 and the control unit 10, during treatment, is configured to control the blood pump based on the set blood flow rate. Note that, alternatively, the blood pump 11 may be automatically controlled with no need of user input: in that case control unit may control the blood pump at a prefixed flow rate or at a flow rate calculated based on other parameters such as, for instance, pressure detected upstream the blood pump; if the blood pump 11 is controlled based on the pressure signal detected upstream the blood pump then a pressure sensor 6b is present in the tract 6a of bloodline upstream the blood pump 11: for instance the control unit 10 may be designed to drive the blood pump in a manner to keep the pressure detected by pressure sensor 6b within a prefixed range, or below a prefixed threshold.

(18) Going back to FIG. 1, an effluent fluid line 13 is connected, at one end, to an outlet of the secondary chamber 4 and, at another end, to an effluent fluid container 14 collecting the fluid extracted from the secondary chamber. The embodiment of FIG. 1 also presents a predilution fluid line 15 connected to the blood withdrawal line: this line 15 supplies replacement fluid from an infusion fluid container 16 connected at one end of the pre-dilution fluid line. Note that a post-dilution fluid line 25 may also be present connecting an infusion fluid container 26 to the blood return line, for instance in correspondence of bubble trap 8. When the apparatus (as in FIG. 1) includes both a pre-dilution 15 and a post infusion fluid line 25 each infusion fluid line may be connected to a respective infusion fluid container or the two infusion fluid lines could receive infusion fluid from a same infusion fluid container or other fluid source. An effluent fluid pump 17 operates on the effluent fluid line under the control of said control unit 10 to regulate the flow rate Q.sub.eff across the effluent fluid line. Furthermore, an infusion pump 18 operates on the infusion line 15 to regulate the flow rate Q.sub.rep1 through the pre-dilution fluid line 15. Note that in case of two infusion fluid lines (pre-dilution and post-dilution) each fluid line 15, 25 may cooperate with a respective infusion pump 18, 27 to regulate the flow rate Q.sub.rep1 and Q.sub.rep2 through the respective lines. The apparatus of FIG. 1, further includes a dialysis fluid line 19 connected at one end with a dialysis fluid container 20 and at its other end with the inlet of the secondary chamber 4 of the filtration unit. A dialysis pump 21 works on the dialysis fluid line 19 under the control of said control unit 10, to supply fluid from the dialysis liquid container to the secondary chamber at a flow rate Q.sub.dial.

(19) The dialysis fluid pump 21, the infusion fluid pump 18 (or pumps 18, 27) and the effluent fluid pump 17 are part of means for regulating the flow of fluid through the respective lines and, as mentioned, are operatively connected to the control unit 10 which controls the pumps as it will be in detail disclosed herein below. The control unit 10 is also connected to a memory 10a and to user interface 12, for instance a graphic user interface, which receives operator's inputs and displays the apparatus outputs. For instance, the graphic user interface 12 may include a touch screen, a display screen and/or hard keys for entering user's inputs or a combination thereof.

(20) The embodiment of FIG. 2 shows an alternative apparatus 1 where the same components described for the embodiment of FIG. 1 are also present and are identified by same reference numerals and thus not described again. Additionally, the apparatus 1 shown in FIG. 2 presents a further infusion line connected, at one end, with a tract 6a of the blood withdrawal line 6 positioned upstream the blood pump 11 and, at its other end, with a further infusion fluid container 23, which for instance may contain a drug, or a regional anticoagulant such as a citrate solution, or a nutrients solution or other. This further infusion line is herein referred to as pre-blood pump infusion line 22. The means for regulating comprises a pump 24, for instance a peristaltic pump controlled by control unit 10, acting on a segment of the pre-blood pump infusion line to regulate a pre-blood pump infusion rate Q.sub.pbp.

(21) The apparatus of FIG. 2 may also present a post-dilution line 25 similar to that of the apparatus of FIG. 1: the infusion line 25 in FIG. 2 is connected to the blood return line 7 in a location between the bubble trap 8 and the exit of the filtering unit 2; alternatively the infusion line may be directly connected to bubble trap 8.

(22) The apparatus of FIG. 3 is similar to that of FIG. 1 but includes only either the post-dilution line 25 with its pump 27 and infusion fluid container 26 or the pre-dilution line 15 with its pump and container (see phantom line).

(23) A further embodiment is shown in FIG. 4. In this embodiment, compared to that of FIG. 2, a line switch 101 operates (such as a 3-way valve or a clamp mechanism) on the dialysis fluid line 19 which allows the dialysis line to be selectively coupled either to the inlet of the second chamber 4 or to the return line 7: in this latter case the dialysis line would work as a post-dilution line. Moreover a further line switch 100 operates on the infusion line 15 which allows the infusion line 15 to be selectively coupled either to the blood withdrawal line or to the blood return line. A further post-dilution line 27 (see phantom line in FIG. 4) may or may not be present.

(24) Of course the above described blood treatment apparatus are of exemplifying character only and further variants may be envisaged without departing from the scope of the invention.

(25) For instance the above apparatuses may also include a syringe pump S connected via a respective line to one of the blood lines 6 and 7. In FIGS. 1 and 3 the syringe pump S is connected to the blood withdrawal line 6, upstream the blood pump. Syringe pump S may be used to inject medicaments, anticoagulants or other fluids. Although not shown also the circuits shown in FIGS. 2 and 4 may include a syringe connected either to the blood withdrawal line or to the blood return line.

(26) The means for regulating have been described as one or more pumps (in particular of the peristaltic type); however it is not to be excluded that other flow regulating means such as valves or combinations of pumps and valves may be used.

Dose Definitions

(27) In the present specification, dose refers to a flow rate or to a combination of flow rates.

(28) For example, one of the following magnitudes may be used as dose: effluent dose D.sub.eff: the flow rate across the effluent line Q.sub.eff, convective dose D.sub.conv: the sum of the flow rates Q.sub.rep+Q.sub.pbp+Q.sub.pfr, where Q.sub.pfr represents the patient fluid removal rate, Q.sub.rep is the flow rate through the infusion line or lines (e.g. Q.sub.rep1+Q.sub.rep2) connected directly to the patient or connected to the blood circuit downstream the blood pump and Q.sub.pbp is the flow rate through the pre-blood pump infusion line, diffusive dose D.sub.dial: the flow rate Q.sub.dial of fluid supplied to the filtration unit secondary chamber. urea dose D.sub.urea: estimated urea clearance; note that a first approximated expression assumes that filter Urea clearance is more or less identical to effluent flow rate Q.sub.eff; alternatively a urea monitor could be placed on the effluent line in order to measure an actual value of the urea clearance; in a further alternative, an estimate of urea clearance more accurate than Q.sub.eff, especially when operating with large flow rates or small filters (paediatric conditions), may be provided by the following equations: a) For purely diffusive mode (where there is no infusion of replacement fluid and where the patient fluid removal rate is zero or substantially zero) and counter-courant flow configuration (fluids in the chambers of the filtration unit 2 are countercurrent):

(29) Z = Qpw inlet Qdial NT = S / RT Qpw inlet K ( Qpw inlet , Qdial ) = Qpw inlet exp [ NT ( 1 - Z ) ] - 1 exp [ NT ( 1 - Z ) ] - Z if Z 1 K ( Qpw inlet , Qdial ) = Qpw inlet NT NT + 1 if Z = 1 where: S (effective surface area) is dependent on the hemodialyzer (as filtration unit 2) in use; RT is total mass transfer resistance dependent of the hemodialyzer in use (membrane properties, filter design) and the solute of interest, in this case urea; and Qpw.sub.inlet is the plasma water flow rate at the inlet of the filtration unit 2. b) In case of presence of both Q.sub.dial and of one or more infusions of fluid, then:

(30) = exp ( SC Qfil S / RT ) - 1 f = ( Qpw inlet - SC Qfil Qpw inlet Qdial + SC Qfil Qdial ) 1 / K ( Qpw inlet , Qdial , Qfil ) = Qpw inlet Qdial - f ( Qpw inlet - SC Qfil ) ( Qdial + SC Qfil ) Qdial - f ( Qpw inlet - SC Qfil ) where: S (effective surface area) is dependent on the hemodialyzer in use; Q.sub.til=Q.sub.pbp+Q.sub.rep+Q.sub.pfr (again, Q.sub.pfr represents the patient fluid removal rate, Q.sub.rep is the flow rate through the infusion line or lines connected directly to the patient or connected to the blood circuit downstream the blood pump and Q.sub.pbp is the flow rate through the pre-blood pump infusion line); and Qpw.sub.inlet is the plasma water flow rate at the inlet of the filtration unit 2. clearance dose: an estimated clearance for a given solute; for certain solutes a first approximated expression assumes that filter solute clearance is more or less identical to effluent flow rate Q.sub.eff; alternatively solute clearance may be estimated as function of all flow settings and of dialyzer/filter related parameters; alternatively appropriate sensors could be placed to measure conductivity or concentration and thereby allow calculation of an actual clearance for a given solute (e.g. sodium), for instance using one of the methods described in EP patent n.0547025 or EP patent n.0658352 or EP patent n.0920887. In a further alternative the equations of above paragraphs a) and b) as described for the urea clearance could be used with RT and SC adapted to take into account the specific solute.

(31) In the course of the following description reference will be made to the above dose definitions which are relating to doses not normalized to patient body weight (BW) or patient surface area (PA). Of course the same principles and formulas below described could be normalized to body weight or patient surface area by dividing the dose value by either body weight BW or surface area PA.
Normalized Dose=Dose/BW
or
NDose=Dose/PA1.73 (when normalised to a 1.73 m.sup.2 surface area patient)

(32) Furthermore, the above defined doses could be corrected to take into account the predilution effect, when a fluid replacement line is present upstream the treatment unit, such as lines 15 and 22 in the enclosed drawings. Each of the above defined doses could be corrected multiplying the dose value times a dilution factor F.sub.dilution:
Dose.sub.corr_xxx=F.sub.dilutionDose_.sub.xxx (with xxx=eff, conv, dial, etc)

(33) The dilution factor F.sub.dilution may be defined according to one of the following:

(34) Blood dilution factor : Fdilution blood = Qblood Qblood + Qpre Plasma dilution factor : Fdilution plasma = Qp Qp + Qpre = ( 1 - Hct ) Qblood ( 1 - Hct ) Qblood + Qpre Plasma water dilution factor : Fdilution pw = Qpw Qpw + Qpre = ( 1 - Hct ) Fp Qblood ( 1 - Hct ) Fp Qblood + Qpre

(35) Where Q.sub.pre is the total predilution infusion rate (where two infusion lines are present upstream the treatment unit, as lines 15 and 22, Q.sub.pre combines PBP infusion 15 and pre-replacement infusion 22)

(36) Q.sub.BLOOD: blood flow rate

(37) Q.sub.PLASMA: plasma flow rate

(38) Q.sub.pw: plasma water flow rate

(39) Hct: haematocrit

(40) F.sub.p: plasma water fraction, which is a function of total protein concentration (typical value Fp=0.95)

(41) In practice, the effluent dose corrected for the predilution effect would be: Dose.sub.corr_eff=F.sub.dilutionDose_.sub.eff.

The Control Unit

(42) The control unit 10 is connected to the various sensors, to the means for regulating the flow rate through the various lines (in the above examples this means comprises the pumps active on the lines and the switch valves) and to the user interface. The control unit 10 may comprise a digital processor (CPU) and necessary memory (or memories) such as memory 10a, an analogical type circuit, or a combination thereof. In the course of the present description it is indicated that the control unit is configured or programmed to execute certain steps: this may be achieved in practice by any means which allow configuring or programming the control unit. For instance, in case of a control unit comprising one or more CPUs, a program may be stored in an appropriate memory containing instructions which, when executed by the control unit, cause the control unit to execute the steps herein described. Alternatively, if the control unit is of an analogical type, then the circuitry of the control unit may be designed to include circuitry configured in use to execute the steps herein disclosed.

(43) In the example of FIG. 1, the control unit 10 is configured to execute a flow-rate setup procedure as described here below. This procedure comprises to receive a prescribed dose value D.sub.set, a prescribed value for the a fluid removal rate Q.sub.pfr from the patient, and a setting for the blood flow rate Q.sub.BLOOD (see step 200 in FIG. 5).

(44) The memory 10a associated with or connected to the control unit 10 stores a plurality of mathematical relations correlating the fluid flow rates Q.sub.rep1, Q.sub.rep2 and Q.sub.dial. The mathematical relations stored in said memory may be the following: a convection-diffusion relation, relating the total fluid flow rate through said infusion fluid lines+patient fluid removal rate Q.sub.rep1+Q.sub.rep2+Q.sub.pfr with the fluid flow rate through said dialysis fluid line Q.sub.dial; the convection-diffusion relation may define in practice a first ratio R.sub.1=(Q.sub.rep1+Q.sub.rep2+Q.sub.pfr)/(Q.sub.dial), a blood pre-dilution relation, relating the flow rate of blood or of plasma Q.sub.BLOOD or Q.sub.PLASMA and the fluid flow rate infused in the blood withdrawal line Q.sub.rep1 through said pre-dilution infusion fluid line 15; the blood pre-dilution relation may define a second ratio R.sub.2=Q.sub.BLOOD/(Q.sub.rep1) or R.sub.2=Q.sub.PLASMA/(Q.sub.rep1); a pre-post relation, relating the fluid flow rates Q.sub.rep1 through pre-dilution infusion fluid line with the fluid flow rate through the post-dilution infusion line Q.sub.rep2, the pre-post relation may define in practice a third ratio R.sub.3=(Q.sub.rep1)/(Q.sub.rep2).

(45) The control unit 10 allows the user, e.g. through user interface 12, to select e.g. two of said relations (step 201 in FIG. 5) and then may calculate the set values of all flow rates Q.sub.rep1, Q.sub.rep2, Q.sub.dial and Q.sub.eff (step 203 in FIG. 5) by applying the set value of the dose D.sub.set and the set value of fluid removal rate Q.sub.pfr entered by the operator to the mathematical relations selected by the user and to the following fluid balance equation which needs to be satisfied in order to maintain the fluid balance in line with the prescription:
Q.sub.rep1+Q.sub.rep2+Q.sub.dial+Q.sub.pfr=Q.sub.eff(FBE)

(46) In case a syringe pump (not shown in FIGS. 1-4) is also present for injecting an auxiliary fluid, e.g. heparin, in the blood withdrawal line, then the above equation should be modified accordingly to account for the syringe flow rate.

(47) Note that preset values for each one of said first, second and third ratios R.sub.1, R.sub.2, R.sub.3 may be pre-stored in the memory or that the control unit may allow entry by an operator of a set value for each one of said first, second and third ratios R.sub.1, R.sub.2, R.sub.3, e.g. via the user interface 12. In this last case, the control unit may be configured to: display on the graphic user interface an indicium prompting a user to select the value for said first flow rate, display on the graphic user interface an indicium allowing selection of the mathematical relations the user intends to select, detecting selection of a mathematical relation and display an indicium allowing selection of a set value or of a range for the corresponding ratio.

(48) In one alternative, the memory 10a of the apparatus of FIG. 1 may store a plurality of optimization criteria, which the control unit 10 may use to calculate the set values for Q.sub.rep1, Q.sub.rep2, Q.sub.dial, Q.sub.eff in alternative or in combination with the above ratios R.sub.1, R.sub.2, R.sub.3 (step 203).

(49) For instance, optimization criteria stored in memory 10a may comprise a first optimization criterion imposing that an emptying time of at least one among the containers of fresh fluid 16, 20, 21, 26 and/or a filling time of the waste container is substantially same as, or multiple of, or proportional to the emptying time of one or more of the other containers of fresh fluid (See below section synchronization of containers emptying or filling). A second optimization criterion stored in the memory 10a may impose that fluid consumption through the fluid lines is minimized. A third optimization criterion stored in memory 10a may impose that a life time of filtration unit 2 is maximized. A fourth optimization criterion stored in the memory 10a may impose that urea clearance or dialysance of a given solute is maximized.

(50) In practice, if optimization criteria are stored in memory 10a, the control unit 10 may be configured to allow the user to select (step 202), e.g. via the user interface 12, the criteria he wants to have satisfied and may be further configured to calculate the set values for Q.sub.rep1, Q.sub.rep2, Q.sub.dial, Q.sub.eff based on the selected optimization criteria and on the above mentioned fluid balance equation (FBE).

(51) Alternatively, the control unit may be configured to allow the user to select one or more of said criteria, e.g. maximization of fluid consumption, and one of the mathematical relations (e.g. the value for ratio R1). Then the control unit would calculate the set values for Q.sub.rep1, Q.sub.rep2, Q.sub.dial, Q.sub.eff using said selected criterion and mathematical relation account being taken of above mentioned fluid balance equation (FBE).

(52) If the memory 10a stores a plurality of mathematical relations and a plurality of optimization criteria, and if the user contemporaneously selects a number of optimization criteria together with a number of relations, then the control unit 10 may also be configured to determine if said selected criteria and said selected mathematical relations are compatible or conflicting (see conflict check step 205 in FIG. 5). In case the selected criteria and the selected mathematical relations are compatible, then the set flow rates are calculated based on both the selected mathematical relations and optimization criteria. On the other hand, in case the selected criteria and selected mathematical relations are conflicting, the control unit may be configured to execute one or more of the following sub-steps: inform the user; the user has then the power to re-enter compatible selections; assign a priority ranking to the selected criteria and mathematical relations; the priority ranking is either predetermined or user adjustable: in any case the control unit is configured to ignore criteria or mathematical relations as soon as flow rates have been calculated from the prioritized criteria/mathematical relations; define a compromise between conflicting criteria or mathematical relations using preset rules.

(53) In accordance with a variant, as already explained in the summary section the control unit may use the flow-rate setup procedure to initially calculate the flow rates set values through the various lines and during a first interval in the treatment control the means for regulating using said calculated set values. Then, after a certain time interval or upon detection of a user input, the control unit may recalculate the set values for the flow rates through the various lines exclusively based on one or more optimization criteria and, apply the newly calculated set values during a second time period subsequent to the first time period. For instance the flow-rate setup procedure may allow setting of the flow rates such that a certain delivered dose is attained. On the other hand, if at a certain point the user wants to privilege bag-emptying synchronization he may select to impose the first optimization criteria so that the control unit may recalculate the set values of the flow-rates allowing to synchronize as possible the emptying of the fluid bags.

(54) In the example of FIG. 2, the apparatus has a further line 22 and a further fluid flow rate Q.sub.pbp needs to be set. The features disclosed above in connection with FIG. 1 are also present in the apparatus of FIG. 2. The control unit 10 is configured to receive a prescribed dose value D.sub.set, a prescribed value for the a fluid removal rate Q.sub.pfr from the patient, and a setting for the blood flow rate Q.sub.BLOOD (see step 200 in FIG. 5). The control unit will then repeat the steps described in connection with the embodiment of FIG. 1 with the difference that one more mathematical relation or one more optimization criteria needs to be selected and used by the control unit 10 because the set values to calculate are Q.sub.rep1, Q.sub.rep2, Q.sub.dial, Q.sub.eff and Q.sub.pbp.

(55) Note that in this case the memory 10a associated with or connected to the control unit 10 stores a plurality of mathematical relations correlating the fluid flow rates Q.sub.rep1, Q.sub.rep2, Q.sub.pbp and Q.sub.dial. The mathematical relations stored in said memory may be the following: a convection-diffusion relation, relating the total fluid flow rate through said infusion fluid lines+the patient fluid loss rate Q.sub.rep1+Q.sub.rep2+Q.sub.pbp+Q.sub.pfr with the fluid flow rate through said dialysis fluid line Q.sub.dial; the convection-diffusion relation may define in practice a first ratio R.sub.1=(Q.sub.rep1+Q.sub.rep2+Q.sub.pbp+Q.sub.pfr)/(Q.sub.dial), a blood pre-dilution relation, relating the flow rate of blood or of plasma Q.sub.BLOOD or Q.sub.PLASMA and the fluid flow rate infused in the blood withdrawal line Q.sub.rep1+Q.sub.pbp through said pre-dilution infusion fluid line 15 and through said pre-blood pump infusion line 21; the blood pre-dilution relation may define a second ratio R.sub.2=Q.sub.BLOOD/(Q.sub.rep1+Q.sub.pbp) or R.sub.2=Q.sub.PLASMA/(Q.sub.rep1+Q.sub.pbp); a pre-post relation, relating the fluid flow rates Q.sub.rep1+Q.sub.pbp through pre-dilution infusion fluid line 15 and pre-blood pump infusion line 21 with the fluid flow rate Q.sub.rep2 through the post-dilution infusion line; the pre-post relation may define in practice a third ratio R.sub.3=(Q.sub.rep1+Q.sub.pbp)/(Q.sub.rep2).

(56) In the example of FIG. 3, the apparatus has one line (line 15 or 25) less than the apparatus of FIG. 1. The features disclosed above in connection with FIG. 1 are also present in the apparatus of FIG. 3. The control unit 10 is configured to receive a prescribed dose value D.sub.set, a prescribed value for the a fluid removal rate Q.sub.pfr from the patient, and a setting for the blood flow rate Q.sub.BLOOD (see step 200 in FIG. 5). The control unit will then repeat the steps described in connection with FIG. 1 with the difference that one less mathematical relation or one less optimization criteria needs to be selected and used by the control unit 10 because the set values to calculate are Q.sub.rep, Q.sub.dial, and Q.sub.eff. Note that in this case the memory 10a associated with or connected to the control unit 10 stores a plurality of mathematical relations correlating the fluid flow rates Q.sub.rep and Q.sub.dial. The mathematical relations stored in said memory may include a convection-diffusion relation, relating the fluid flow rate through said infusion fluid line Q.sub.rep+the patient fluid loss rate Q.sub.pfr with the fluid flow rate through said dialysis fluid line Q.sub.dial; the convection-diffusion relation may define in practice a first ratio R.sub.1=(Q.sub.rep+Q.sub.pfr)/(Q.sub.dial).

(57) In the example of FIG. 4, compared to the apparatus of FIG. 1, a further line 22 is present and a thus further fluid flow rate Q.sub.pbp needs to be set. The features disclosed above in connection with FIG. 1 are also present in the apparatus of FIG. 4. The control unit 10 is configured to receive a prescribed dose value D.sub.set, a prescribed value for the a fluid removal rate Q.sub.pfr from the patient, and a setting for the blood flow rate Q.sub.BLOOD (see step 200 in FIG. 5). The control unit will then repeat the steps described in connection with FIG. 1 with the difference that one more mathematical relation or one more optimization criteria may be selected and used by the control unit 10 because the set values to calculate are Q.sub.rep1, Q.sub.rep2, Q.sub.dial, Q.sub.eff and Q.sub.pbp. Note that in this case the memory 10a associated with or connected to the control unit 10 stores a plurality of mathematical relations correlating the fluid flow rates Q.sub.rep1, Q.sub.rep2, Q.sub.pbp and Q.sub.dial. The mathematical relations stored in said memory may be the following: a convection-diffusion relation, relating the total fluid flow rate through said infusion fluid lines+the patient fluid removal rate Q.sub.rep1+Q.sub.rep2+Q.sub.pbp+Q.sub.pfr with the fluid flow rate through said dialysis fluid line Q.sub.dial; the convection-diffusion relation may define in practice a first ratio R.sub.1=(Q.sub.rep1+Q.sub.rep2+Q.sub.pbp+Q.sub.pfr)/(Q.sub.dial), a blood pre-dilution relation, relating the flow rate of blood or of plasma Q.sub.BLOOD or Q.sub.PLASMA and the fluid flow rate infused in the blood withdrawal line Q.sub.rep1 through said pre-dilution infusion fluid line 15 and through said pre-blood pump infusion line 21; the blood pre-dilution relation may define a second ratio R.sub.2=Q.sub.BLOOD/(Q.sub.rep1+Q.sub.pbp) or R.sub.2=Q.sub.PLASMA/(Q.sub.rep1+Q.sub.pbp); a pre-post relation, relating the fluid flow rates Q.sub.rep1+Q.sub.pbp through pre-dilution infusion fluid line 15 and pre-blood pump infusion line 21 with the fluid flow rate Q.sub.rep2 through the post-dilution infusion line; the pre-post relation may define in practice a third ratio R.sub.3=(Q.sub.rep1+Q.sub.pbp)/(Q.sub.rep2).

Optimization Criterion: Synchronization of the Emptying and/or Filling Time of the Containers

(58) Again referring to the circuits of FIGS. 1-4, the control unit may be configured to store and use optimization criteria for the calculation of the set flow rates: as mentioned the optimization criteria may be used in combination with mathematical relations, e.g. in combination with use of ratios R.sub.1, R.sub.2, R.sub.3. In the example of FIG. 1, the control unit 10 may be configured to calculate set values of fluid flow rate Q.sub.rep1 through the pre-dilution infusion fluid line 15, of fluid flow rate Q.sub.rep2 through the post-infusion fluid line 25, and of fluid flow rate Q.sub.dial through the dialysis fluid line 27, by imposing that an emptying time of the containers of fresh fluid 16, 20, 26 is either identical to, or proportional to, or multiple of the emptying time of one of the other containers of fresh fluid. In the example of FIG. 2, the control unit 10 may be configured to calculate set values of fluid flow rate Q.sub.rep1 through the pre-dilution infusion fluid line 15, of fluid flow rate Q.sub.rep2 through the post-infusion fluid line 25, of fluid flow rate Q.sub.dial through the dialysis fluid line 27, and of Q.sub.pbp through line 22 by imposing that an emptying time of the containers of fresh fluid 16, 20, 23, 26 is either identical to or multiple of or proportional to the emptying time of one of the other containers of fresh fluid. In the example of FIG. 3, the control unit 10 may be configured to calculate set values of fluid flow rate Q.sub.rep2 through the post-infusion fluid line 25, of fluid flow rate Q.sub.dial through the dialysis fluid line 27 by imposing that an emptying time of one of the containers of fresh fluid 20, 26 is either identical to or multiple of or proportional to the emptying time of the other container of fresh fluid 26, 20. Finally, in the example of FIG. 4, the control unit 10 may be configured to calculate set values of fluid flow rate Q.sub.rep1 through the pre-dilution infusion fluid line 15, of fluid flow rate Q.sub.dial through the dialysis fluid line 27, and of Q.sub.pbp through line 22 by imposing that an emptying time of the containers of fresh fluid 16, 20, 23 is either identical to or proportional to or multiple of the emptying time of one of the other containers of fresh fluid. In other words, the control unit may be configured to calculate the set flow rates through the various lines of fresh fluid such as to either synchronize the emptying time of all containers (e.g. bags) or to make sure that the emptying time of each container is a multiple of a reference emptying time so that the frequency of bag/container substitutions is minimized or at least reduced. In a further aspect which may be combined to the above synchronization criteria, the control unit may also be configured to calculate the set value of the fluid flow rate Q.sub.eff through the effluent fluid line 13, by imposing that the filling time of the waste container 14 is substantially same as, proportional to, or multiple of the emptying time of one or more of the other containers of fresh fluid.

(59) In accordance with a first solution, see the flowchart of FIG. 6, the control unit 10 is configured to allow selection by an operator of a set value for the treatment dose D.sub.set to be delivered to the patient during the treatment (step 300). Alternatively, the set value of the dose may be received through an external channel or be pre-stored in a memory connected to the control unit. This set value may be for instance an effluent dose flow rate D.sub.eff_set, which is the prescribed mean value of the flow rate through the effluent line, or a convective dose flow rate D.sub.conv_set, which is the prescribed mean value of the sum of the flow rates Q.sub.rep1, Q.sub.pbp, Q.sub.rep2 through any infusion fluid line and the patient fluid removal rate Q.sub.pf.sub.r, or a diffusive dose flow rate D.sub.dial_set, which is the prescribed mean value of the flow rate through the dialysis fluid line Q.sub.dial. The control unit also receives the readings of the scales and thus knows the values W.sub.i of the initial weights of each container (step 301). Note that the volumes V.sub.i of each of the containers may be used as an alternative to the weights in below description of this first solution. Then the set value Q.sub.iset namely the flow rate to be set in each fluid line is calculated (step 302). Depending upon the set value D.sub.set which has been entered or received, the control unit is configured to calculate a reference time value T.sub.r in different ways, namely: if D.sub.dial_set is being set, T.sub.r is calculated by dividing the initial weight W.sub.i of the fresh dialysate container 20 by the dose flow rate D.sub.dial_set of the line leading to the same container, or if D.sub.conv_set is being set, T.sub.r is calculated by dividing the sum of the initial weights W.sub.i of the replacement fluid containers (depending upon the circuit structure those present among containers 16, 23, 26) by the dose flow rates of the lines D.sub.conv_set leading to the same containers, or if D.sub.eff_set is being set, T.sub.r is calculated by dividing the sum of the initial weights of the first, second, third, and fourth containers (depending upon the circuit structure those present among containers 16, 20, 23, 26) by the effluent dose flow rate D.sub.eff_set.

(60) Once the reference time T.sub.r is calculated (step 303), the control unit is configured to determine the fluid flow rate in each one of the fresh fluid lines by dividing a weight W.sub.i of the respective container by the value of reference time T.sub.r (step 304). For the sake of simplicity, the description given above in connection with steps 303 and 304 was restricted to the simultaneous emptying of all the bags/containers being used (see also FIGS. 7A and 7B). In most cases this results in having all the pumps running at the same flow rate considering that all fluid bags have roughly the same initial weight.

(61) To give more flexibility to the system, it is possible to attribute a weighting factor per pump/bag in such a manner that the emptying time of a given bag could be a multiple of the emptying time of one or more bags. FIGS. 8A and 8B show a second solution where the time required for emptying one of the bags is twice that required for the other 2 bags. Thus, in general and as shown in FIG. 6, it is possible associating a multiplying weighing coefficient c.sub.i to each weight W.sub.i of the respective container when calculating the value for T.sub.r. Note that the volumes V.sub.i of each of the containers may be used as an alternative to the weights also for this second solution. Moreover, note c.sub.i is an integer: when all c.sub.i values are imposed to be equal to 1 then all containers empty at the same time, while if for instance, as in FIG. 8A, one of the c.sub.i values is imposed to be equal to 2 and the others equal to 1, then two bags empty twice as faster than the other. In general c.sub.i (normally equal to 1, 2, 3, or 4 or 5) may be used to customize the control by allowing the emptying times of the various bags to be one multiple of one the remaining bags. In this case T.sub.r would be calculated as follows:
T.sub.r=(W.sub.i.Math.c.sub.i)/Dose Q.sub.iset, namely the flow rate to be set in each fluid line, is then computed also taking the value of each coefficient c.sub.i into account as:
Q.sub.iset=W.sub.i/(T.sub.r.Math.c.sub.i)

(62) Once the Q.sub.iset values are calculated, following one or the other of the above sequence of steps, they are stored in a memory (step 305) and then applied to control the pump speeds as described herein below in greater detail with reference to certain embodiments (step 307). In accordance with an optional aspect the control unit may issue a signal to the user interface 12 requesting a confirmation (306) from the user before actually applying the calculated values of Q.sub.iset to control the pumps.

(63) In accordance with a third alternative solution, which is shown in the flowchart of FIG. 9, the control unit 10 may be configured to work in a situation where a number of proposed values Q.sub.i for the flow rates through each one of the lines are available. This may happen before start of the treatment or at a certain moment during the treatment. For instance the proposed Q.sub.i values could be values set by the user (step 400), or values calculated by the control unity to accomplish targets other than synchronization of the emptying of the fluid bags. The set value of the treatment dose D.sub.set to be delivered to the patient during the treatment may be either calculated by the control unit based on the flow rates Q.sub.i or set by the user and communicated by to the control unit (step 401). Alternatively, the set value of the dose may be received through an external channel or be pre-stored in a memory connected to the control unit. The blood pump flow rate may be set by the user (step 400) or calculated by the control unit (see below section Blood pump setting). The control unit also receives the readings of the scales and thus knows the values W.sub.i of the initial weights of each container (step 402). Note that the volumes V.sub.i of each of the containers may be used as an alternative to the weights also for this third solution. Then, the set value Q.sub.iset namely the flow rate to be set in each fluid line may be calculated by the control unit (step 403) dividing a weight (W.sub.i) of the respective container by the value of a reference time (T.sub.r) multiplied by a respective weighing coefficient (c.sub.i) for each respective container using formula:
Q.sub.iset=(W.sub.i/c.sub.i)/T.sub.r, where T.sub.r(W.sub.i.Math.c.sub.i)/Dose

(64) On its turn, c.sub.i for each respective container may be calculated as a function of an intermediary factor b.sub.i obtained (see step 404) by dividing either the dose or the sum of said proposed values Q.sub.i of the flow rates by the respective proposed value Q.sub.i. In the example of FIG. 9, each weighing coefficient c.sub.i for each respective container is calculated (step 405) using formula:
c.sub.i=Round [b.sub.i/min(b.sub.i . . . b.sub.n)], where min(b.sub.i . . . b.sub.e) is a function selecting the minimum among the b.sub.i factors, and

(65) Round is a function determining the natural number nearest to the result of quotient b.sub.i/min(b.sub.i . . . b.sub.n).

(66) Once the Q.sub.iset values are calculated, they may be stored in a memory (step 406) and then applied to control the pump speeds as described herein below in greater detail with reference to certain embodiments (step 408). In accordance with an optional aspect the control unit may issue a signal to the user interface 12 requesting a confirmation (407) from the user before actually applying the calculated values of Q.sub.iset to control the pumps.

(67) As a further variant applicable to the above described three alternative solutions, the calculation of the reference time T.sub.r may be done as follows: the control unit may be configured to allow entry of the treatment time T, and calculate the reference time T.sub.r either as the treatment time T or as a sub-multiple of the treatment time T. As disclosed hereinbefore once T.sub.r has been calculated, each flow rate may be set as Q.sub.iset=W.sub.i/T.sub.r or as Q.sub.iset=W.sub.i/(T.sub.r.Math.c.sub.i) where c.sub.i is an integer from e.g. 1 to 5. In another variant for the calculation of T.sub.r, the control unit 10 may be configured to receive one set value set by an operator for one fluid flow rate through one of the lines present in the blood treatment apparatus. For instance, the operator may set the fluid flow rate Q.sub.repi through the pre-dilution infusion fluid line 15, or the fluid flow rate Q.sub.rep2 through the post-infusion fluid line 25, or the fluid flow rate Q.sub.pbp through the pre-blood pump infusion fluid line 21, a fluid flow rate Q.sub.dial through the dialysis liquid fluid line 27. The setting may be done through the user interface or via any other input. Once the input of a flow rate to a certain fluid line is set, the control unit is configured to identify the container associated to the fluid line for which the fluid flow rate has been set and to detect the respective initial weight. Then, the control unit may calculate the reference time T.sub.r dividing the initial weight W.sub.i of the identified container by the set value of the fluid flow rate set by the operator. Once T.sub.r has been calculated, each flow rate may be set as W.sub.i/T.sub.r or as Q.sub.iset=W.sub.i/(T.sub.r.Math.c.sub.i) where c.sub.i is an integer from e.g. 1 to 5.

(68) In accordance with a fourth alternative solution, the control unit may be configured to execute a synchronization algorithm able to combine the use of proposed values for the set flow rates (for instance initially set by the user or calculated using one or more of the mathematical relations, as above described) with at least a certain degree of synchronization in the emptying of the containers; in other words, a purpose of the algorithm is to minimize the number of user interventions while keeping the flow rates in the neighborhood of some initial settings (which may be manual or computed settings). In practice this algorithm is designed to change according to a certain set percentage the initially set or calculated flow rates in order to reduce as possible the number of container/bag changes across a certain time period, e.g. 24 hours, without substantially changing the initially set or calculated flow rates.

(69) The starting point of the algorithm (see FIG. 13) is the knowledge of: the full set of proposed flow rates Q.sub.i (coming either from user settings or from a previous computation stepstep 500); the full set of bag/container weight or volume data W.sub.i or V.sub.i providing the initial weight or volume of each container (again either entered by the user or measured with appropriate sensorsstep 502).

(70) Also the blood flow rate setting for the blood pump may be entered or calculated by the control unit, see step 500.

(71) At step 503, an allowed adjustment parameter A is defined as maximum relative change allowed on bag/container change periods in order to optimize bag synchronization and reduce number of user interventions (step 503A). The algorithm also considers ratios of interest R0.sub.k which are parameters defined in the algorithm as ratios between change periods (time between one container change and the next change of the same container) of pairs of containers (step 503B). Ratios of interest are defined for each pair of lines and respective containers. K is an integer which may vary from 1 to M, and M may be pre-stored in the control unit memory or the control unit may be configured to receive it from a user input. The algorithm takes into account that more interventions (container changes) are saved when identifying a 1 to 1 container synchronization ratio between two lines (because in that case the containers of the two lines are changed at the same time), than when having a 1 to 4 ratio.

(72) Next table 1 provides the list of the optimum ratios of interest when considering all synchronization ratios up to order 5 in relation with a pair of containers indicated as bag1 and bag2. The first 8 R0.sub.k values are used in some examples reported at the end of the detailed description.

(73) TABLE-US-00001 TABLE 1 period ratios of interest ranked by efficiency Period ratio % bag k Bag 1 Bag 2 Bag1/Bag2 (R0.sub.k) change saved 1 1 1 1.00 50% 2 1 2 2.00 33% 3 1 3 3.00 25% 4 1 4 4.00 20% 5 2 3 1.50 20% 6 1 5 5.00 17% 7 3 4 1.33 14% 8 2 5 2.50 14% 9 3 5 1.67 13% 10 4 5 1.25 11%

(74) In the above table referring for instance to the third more interesting ratio (corresponding to k=3), it is possible to see that k=3 matches with Bag1-Bag2=1 to 3, meaning that Bag2 is changed 3 times while Bag1 is changed once. This corresponds to a change bag period of Bag1 which is 3.0 times longer than the change bag period for Bag2: thus, one user intervention out of 4 is saved compared to a situation where no synchronization at all would be present. Indeed, with k=3 there would be 2 single bag changes of Bag2+1 simultaneous bag changes of Bags 1 and 2 with a total of 3 interventions, whilst in case of no synchronization there would be 3 single bag changes of Bag2+1 single bag change of Bag2, meaning a total of 4 interventions. As K increases the degree of synchronization goes down and, consequently, the number of bag or container changes saved also goes down.

(75) Referring now to the general case of a treatment apparatus with N lines leading to respective N bags or containers, the control unit may be configured to execute the following steps, after the value of A has been selected or predefined (at step 503, see FIG. 13):

(76) Step 504: calculate T.sub.i container change period T.sub.i=V.sub.i/Q.sub.i and rank each circuit according to the calculated container change period, where i=1 to N (T.sub.i increasing with i),

(77) Step 505: compute all period ratios R.sub.ij=T.sub.i/T.sub.j, with i>j

(78) Step 506: compare each period ratio R.sub.ij to the preset list of ratios of interest R0.sub.k, k=1 to M,

(79) Step 507: compute the number of degrees of freedom NF; this number if given by the sum of the number of lines less the number of constraints (see further below),

(80) Step 508: for each ratio R.sub.ij where a k value exists verify that (1A).Math.R0.sub.k<R.sub.ij<(1+A).Math.R0.sub.k, compute the number of daily saved container changes,

(81) Step 509: Select the NF ratios R.sub.ij providing the largest number of saved container changes; the selection of the best R.sub.ij has to ensure the definition of NF independent relations between NF+1 variables (with the NF+1.sup.th relation: Q.sub.eff=Q.sub.iset), Step 510: Apply these ratios to compute the optimized flow rates, keeping Q.sub.eff=Q.sub.iset unchanged, and optionally store the calculated Q.sub.iset, Step 511: optionally request for confirmation by a user of the calculated Q.sub.iset, Step 512: apply the calculated values Q.sub.iset to control each one of the respective pumps.

(82) Concerning the mentioned degrees of freedom NF (step 507 above), the following should be noted. In an apparatus having N lines (e.g. a number of infusion lines, a dialysate line, a line leading to a syringe and an effluent line), then the effluent line flow rate may verify condition Q.sub.eff=/Q.sub.iset; moreover the syringe line may have a fixed flow rate; the N2 other lines are infusion or dialysate lines leading to respective containers having fixed volume. In the case where both effluent and syringe bag/container volumes are fixed, the associated bag change periods are also fixed and the N2 bag change periods for the other lines remain to be defined. As these N2 periods/flow rates are already linked by the relation Q.sub.eff=/Q.sub.iset, only NF=N3 relations may be considered for defining all the flow rates. In the scenario where both effluent and syringe bag/container volumes are let free, then the number of degrees of freedom is NF=N1, since effluent bag volume (V.sub.eff) and syringe volume (V.sub.syr) are two additional variables in the system.

(83) In accordance with an aspect, the selection of the NF ratios R.sub.ij (step 509 above) providing for the highest number of saved bag changes considers also the degrees of freedom issue. The selection of the best R.sub.ij has to ensure the definition of NF independent relations between NF+1 variables (with the NF+1th relation being Q.sub.eff=/Q.sub.i).

(84) Note that irrespective of which one of the above described sequences of steps is used for the determination of Q.sub.iset, once these set values Q.sub.iset have been calculated (e.g. using one or more mathematical relations and/or one or more optimization criteria), then the control unit 10 may be configured to display the calculated set values. As mentioned, the control unit may also be configured to ask, or wait, for a confirmation which may be entered by the user, e.g. through action onto the user interface 12. The control unit 10 is designed to control the means for regulating the flow rate based on the calculated set values either automatically (i.e. with no need of any action on the part of an operator), or after the appropriate confirmation is entered and a confirmation signal received at the control unit.

(85) The control unit 10 may also be configured store, e.g. in the memory 10a connected to the same control unit, the maximum volume of fluid which may be contained in each container of fresh fluid. The control unit may also be configured to store in a memory connected to the same control unit the maximum volume of fluid which may be contained in said waste container. The volume each container may host may be detected by a sensor associated to each respective container and connected to the control unit, or may be entered by an operator for each respective container through a user interface connected to the control unit, or determined by the control unit associating an identification code (indicia such as a bar code, an RFID or other identification means may be associated to the container) on each respective container to a respective volume, or said volume may be pre-stored in said memory. By knowing the volume of fluid that may be hosted in each container, the control unit may be configured to generate an alarm signal and/or to stop the treatment when the minimum quantity of fluid in one fresh fluid container (i.e. in one among the infusion fluid containers 16, 23, 26 and the dialysis fluid container 20) is reached, corresponding to a empty container threshold. In this situation, the user knows that he is supposed to substitute all fresh fluid containers (if the user selected the simultaneous emptying criteria and the emptying is simultaneous on all bags/containers as shown in FIGS. 7A, 7B) or to substitute a known number of the fresh fluid containers (if the user selected the simultaneous emptying criteria and the emptying of the bags or containers is synchronized to happen for two or more containers at prefixed intervals, as shown in FIG. 8A, 8B). The control unit may also be configured to generate an alarm signal and/or to stop the treatment when the maximum quantity of fluid has been reached in the effluent fluid container (corresponding to a full container threshold). By treatment stop it is meant a condition where the control unit is configured to stop at least the pumps delivering fresh and spent fluid (namely pumps 18, 21, 24, 27, 17 in the embodiments of FIGS. 2 and 4; pumps 18, 21, 27, 17 in the embodiment of FIG. 1; pumps 21, 27, 17 or 21, 18, 17 in the embodiment of FIG. 3) and optionally also the blood pump 11.

(86) In the embodiments of FIGS. 1-4 a respective scale (or other force sensor) is associated to the support of each container for detecting in real time the actual weight, and thus the current volume of fluid, of each container. In this manner the control unit, which is connected to the scales, may determine when the volume of fluid in each respective container is approaching or passing the respective thresholds (empty or full) as above described. Of course alternative sensors (e.g. level sensors) depending upon the circumstances and or the structure of the containers.

Blood Pump Setting

(87) In the above description the it has been indicated that the blood pump may be controlled by the control unit 10 using a set value of the blood flow rate Q.sub.BLOOD entered by the user (step 200 in FIG. 5). More in general, the control unit 10 may allow entry by an operator of the set value for a blood flow Q.sub.BLOOD through the blood withdrawal or blood return line, or it may be configured to calculate the set value for the blood flow to be set. In this latter case the calculated value for the set blood flow could be calculated based on the value of the flow rate determined in one of the fluid lines: for instance the blood flow rate could be calculated to be proportional to calculated value of the flow rate through pre-blood pump infusion line (or vice versa the pre-blood pump infusion line flow rate could be calculated to be proportional to Q.sub.BLOOD). Alternatively, the blood flow rate may be calculated based on a sensed value of a patient parameter or of a treatment parameter, e.g. by way of non-limiting examples: the pressure sensed by pressure sensor 6b in tract 6a of the blood withdrawal line, a measured blood recirculation fraction re-circulating from the blood return line 7 into the blood withdrawal line 6, a measured value of hemo-concentration measured in correspondence of one of the blood lines 6, 7, a measured value of transmembrane TMP pressure across the filter semipermeable membrane 5.

(88) In any case, the control unit 10 may control the blood pump using either the entered or the calculated set value for the blood flow Q.sub.BLOOD.

Safety Features

(89) It should be noted that the control unit may be designed to include some safety features: for instance the filtration fraction is an important factor to be considered. Since the flow rates may automatically be set by the control unit 10, it is may be convenient to ensure that all pumps infusing in post-dilution do not cause an excessive filtration fraction (e.g. post-dilution flow rate>20% of blood flow rate). In this respect the control unit 10 may be configured to check if the calculated set value for the fluid flow rate through the post-dilution infusion line is higher than a prefixed fraction of the blood flow rate and in the affirmative activate a correction procedure. The correction procedure may comprise issuing a warning to the user interface, or it may comprise issuing a command to stop the treatment, or it may comprise correcting the delivery of fluid through one or more of the other lines, or (in case for instance the blood treatment apparatus includes a switch on the post-dilution line) issuing a command to switch 100 and/or 101 to temporary connecting a post-dilution fluid line to the blood withdrawal line. For instance referring to FIG. 4, the control unit could switch one or more lines infusing in post-dilution to pre-dilution or dialysate mode (acting on switch valves 100 and 101). The switch could be accompanied by an increase in the flow rate of the pump(s) that have been switched and by a reduction in the flow rates of the other pumps. For instance if line 15 was initially in post dilution configuration, said line may be switched to pre-dilution by acting on valve 100: the switched condition may be maintained until the weight of the container 16 decreases to a level making it possible to infuse in post-dilution without exceeding the maximum allowed filtration fraction. Alternatively, it is possible to have the control unit 10 configured to simply decrease the flow rate through one or more post-dilution lines to an extent sufficient to avoid problems in term of filtration fraction: in this case the emptying time for the concerned containers may be differed.

Composition of the Fluid Containers

(90) All containers of fresh fluid may comprise a fluid (e.g. a replacement solution) having a same composition. The fact that the flow rates are not set individually implies that if the same type of composition is used during the treatment for containers there is no unexpected outcome regarding the electrolytic balance and/or acid-base equilibrium of the patient.

(91) It may be envisaged that a container of fresh fluid comprises a fluid having a composition different from that of the other containers of fresh fluid: for instance the fourth container may contain an anticoagulant, such as a citrate solution; in this case the control unit 10 is configured to calculate the set value of fluid flow rate through the pre-blood pump infusion line to be proportional to the set or calculated value of the blood pump flow rate for achieving an adequate anticoagulation level. The other pump flow rates are adjusted so as to become follow the relations selected or the optimization criteria selected: for instance, if the optimization criteria of synchronous emptying time has been selected, the lines leading to the remaining bags/containers may be controlled such as these other containers empty at the same time as the citrate bag/container. Alternatively, the control unit could use the citrate bag/container in a way that it is not synchronized with the emptying of the other fluid bags/containers and is thus managed separately (e.g. flow rate is proportional to blood flow rate). In a further alternative, fourth bag/container emptying is synchronized with the other bags/containers and the blood pump flow rate setting is adjusted so as to be proportional to the citrate pump flow rate. Of course one could also envisage that all infusion bags/containers used be citrate-containing bags/containers: in this case synchronization may be made with no problems.

EXAMPLE 1

(92) Reference is made to an apparatus as shown in FIG. 3, provided with 3 fluid pumps (Dialysate pump 21, Replacement pump 27, Effluent pump 17) and thus capable of running a HDF therapy.

(93) It is assumed that the following prescription is entered by the user via user interface 12: Patient: BW (body weight)=80 kg blood flow rate: Q.sub.BLOOD=200 ml/min patient fluid removal rate: Q.sub.pfr=100 ml/h CRRT dose D.sub.eff-set=35 ml/kg/h, where the dose is an effluent dose per kg

(94) The following criteria are stored in memory 10a: dialysate flow rate (Q.sub.dial): 0 to 6000 ml/h replacement flow rate (Q.sub.rep): 0 to 4000 ml/h no specific hemofilter/dialyzer related data R1 optimization criteria as disclosed above for embodiments of FIGS. 1-4

(95) The operator selects: diffusion/convection ratio: R1=1.0 maximize filter life time

(96) The control unit 10 then computes the flow rates as follows: Effluent flow rate: Q.sub.eff=3580=2800 ml/h, Q.sub.dial, Q.sub.rep2 defined through the 2 below equations:
R.sub.1=Q.sub.dial/(Q.sub.rep2+Q.sub.pfr)=1.0
Q.sub.dial+Q.sub.rep2+Q.sub.pfr=Q.sub.eff=2800
Leading to Q.sub.dial=1400 ml/h, Q.sub.rep2=1300 ml/h

(97) In order to maximize filter life time, replacement is set in PRE-dilution, rather than POST-dilution.

EXAMPLE 2

(98) Reference is made to an apparatus as shown in FIG. 1, provided with 4 fluid pumps (Dialysate pump 21, Replacement pump 27, Replacement pump 15, Effluent pump 17) and thus capable of running a HDF therapy.

(99) Prescription: Patient: BW=65 kg blood flow rate: Q.sub.BLOOD=220 ml/min patient fluid removal rate: Q.sub.pfr=100 ml/h CRRT dose D.sub.eff-set=38 ml/kg/h, where the is defined as Urea dose

(100) The following criteria are stored in memory 10a: dialysate flow rate (Q.sub.dial): 0 to 6000 ml/h PRE-replacement flow rate (Q.sub.rep1): 0 to 4000 ml/h POST-replacement flow rate (Q.sub.rep2): 200 to 4000 ml/h no specific hemofilter/dialyzer related data

(101) The operator selects: blood predilution ratio: R.sub.2>0.10 minimize fluid consumption

(102) The control unit 10 then computes the flow rates as follows:
Q.sub.eff=Q.sub.dial+Q.sub.rep1+Q.sub.rep2+Q.sub.pfr to be minimizedEq. 1:
D.sub.set-urea=Q.sub.BLOOD/(Q.sub.BLOOD+Q.sub.rep1)Q.sub.eff=6538=2470 ml/hEq. 2:
Q.sub.rep2>200 ml/minEq. 3:
R.sub.2>0.10Eq. 4:

(103) In order to meet the Urea dose target while minimizing fluid consumption (Q.sub.eff), it is necessary to maximize the ratio Q.sub.BLOOD/(Q.sub.BLOOD+Q.sub.rep1)

(104) According to the set constraints, this requires to set Q.sub.rep1=0.10Q.sub.BLOOD=1320 ml/h (from eq.4).

(105) Equation 2 allows to define Q.sub.eff=2470(1+0.10/1)=2717 ml/h.

(106) Q.sub.dial and Q.sub.rep2 have then to be defined from:
Q.sub.dial+Q.sub.rep2=27171001320=1297 ml/hEq.1bis:
Q.sub.rep2>200 ml/hEq.3:

(107) As no selected constraints allow fixing Q.sub.dial and Q.sub.rep2 values among the multiple solutions of equations 1bis and 3, the control unit may be configured to: offer intermediate values as default (typically Q.sub.dial=700 ml/h and Q.sub.rep2=600 ml/h in the example with rounding to the next ten of ml/h), or let the opportunity to the operator select to change this default within the computed range of solutions (Q.sub.dial from 0 to 1100 ml/h).

EXAMPLE 3

(108) Referring to FIG. 1 the equipment comprises three fresh fluid containers 16, 20, 26. The control unit may be configured to adopt the emptying profiles shown in FIG. 7A, thereby synchronizing the emptying of the three containers. At the beginning of the treatment, the scales inform the control unit about the quantity of fluid present in each bag. Then, an overall dose D.sub.eff of 5000 ml/h is received by the control unit and a first reference time T.sub.r1 calculated as sum of the weights of the bags divided by the total dose: (5000+4500+3500)ml/5000 ml/h=2.6 h

(109) Each pump flow rate is then calculated as:
Q.sub.rep1=5000/2.6=1923 ml/h
Q.sub.dial=4500/2.6=1730 ml/h
Q.sub.rep2=3500/2.6=1346 ml/h

(110) The above flow rates are then set as set values, and the respective pumps 18, 21 and 27 controlled accordingly by the control unit 10, as shown in FIG. 7B. After 2.6 hours all bags or containers 16, 20, 26 are simultaneously empty and the control unit is configured to stop the treatment and allow the containers to be substituted with new ones. In FIG. 7A it appears that the new containers have the same weight of 5000 ml and therefore the flow rate of each pump is set at the same flow rate of 5000/T.sub.r2=1750, as T.sub.r2 is 3 hours

EXAMPLE 4

(111) Again referring to FIG. 1, the control unit may alternatively be configured to adopt the emptying profiles shown in FIG. 8A, thereby synchronizing the emptying of two of containers after a first interval and synchronizing the emptying of all three containers after a second interval. At the beginning of the treatment, the scales inform the control unit about the quantity of fluid present in each bag. Then, an overall dose D.sub.eff of 3000 ml/h is received by the control unit and a first reference time T.sub.r calculated as sum of the weights of the bags divided by the total dose:
T.sub.r=(5000.Math.c.sub.1+5000.Math.c.sub.2+5000.Math.c.sub.3)ml/3000 ml/h=4.17 h

(112) where c.sub.1, c.sub.2 and c.sub.3 are weighing factors in this case respectively set equal to 1, 1 and 2.

(113) Each pump flow rate is then calculated as:
Q.sub.rep1=5000/(4.17.Math.c.sub.1)=1200 ml/h
Q.sub.dial=5000/(4.17.Math.c.sub.2)=1200 ml/h
Q.sub.rep2=5000/(4.17.Math.c.sub.3)=600 ml/h

(114) The above flow rates are then imposed as set values and the respective pumps 18, 21 and 27 controlled accordingly by the control unit 10, as shown in FIG. 8B. After 4.17 hours two of the bags/containers 16, 20, 26 are simultaneously empty and the control unit is configured to stop the treatment and allow the two containers to be substituted with new ones. After about other 4.17 hours all three containers are empty and the control unit is configured to stop the treatment and allow the three containers to be substituted with new ones.

EXAMPLE 5

(115) Referring to the circuit of FIG. 1 and to the flowchart of FIG. 9, it may occur that proposed values Q.sub.i for the flow rates through each one of the 3 lines 15, 19 and 25 are available, e.g. after having been calculated by the control unity to accomplish certain ratios R1, R2, R3. In this example the following proposed Q.sub.i values are given:
Q.sub.1=1900 ml/hproposed flow rate for Q.sub.DIAL through line 19
Q.sub.2=650 ml/hproposed flow rate for Q.sub.REP1 through line 15
Q.sub.3=450 ml/hproposed flow rate for Q.sub.REP2 through line 25

(116) Each container 20, 16 and 26 is a 5 L bag, and the set dose is the sum of the above Q.sub.i values, namely 3000 ml/h.

(117) In the case where no synchronization is implemented, then the situation would be as per FIG. 10, where 14 interventions for bag changes are required every 24 hours.

(118) According to this example where the machine attempts to achieve a certain degree of synchronization without substantially changing the proposed flow rates, c.sub.1, c.sub.2 and c.sub.3 are calculated as follows:

(119) First the control unit calculates intermediary parameters Bi using the formula:
b.sub.i=Dose/Q, (where is the flow rate of the ith pump)

(120) The following results are obtained:
b.sub.1=3000/1900=1.58
b.sub.2=3000/650=4.62
b.sub.3=3000/450=6.67

(121) The value of c.sub.i are obtained by normalizing the values of bi with respect to their minimum and rounding the result to the closest natural number, using the formula:
c.sub.i=Round(b.sub.i/min(b.sub.1 . . . b.sub.n))

(122) With the following results:
c.sub.1=Round(1.58/1.58)=1
c.sub.2=Round(4.62/1.58)=3
c.sub.3=Round(6.67/1.58)=4

(123) From c.sub.1, c.sub.2 and c.sub.3 the flow rate Q.sub.i of a given pump is calculated as follows:
T.sub.r=(W.sub.i/c.sub.i)/Dose
Q.sub.i=(W.sub.i/c.sub.i)/T.sub.r, where Wi is the initial weight of the Bag
T.sub.r=(5000/1+5000/3+5000/4)/3000=2.6389 h
Q.sub.1set=(5000/1)/2.6389=1895 ml/h
Q.sub.2set=(5000/3)/2.6389=632 ml/h
Q.sub.3set=(5000/4)/2.6389=474 ml/h

(124) As shown in FIG. 11, the number of interventions for bag changes during 24 hours goes down to 9, while keeping the flow rates quite close to the initially proposed flow rates.

EXAMPLE 6

(125) The following is a general example according to the fourth synchronization solution described above which follows the general flowchart of FIG. 13.

(126) Q.sub.BLOOD and the proposed Q.sub.i values are set by the user or calculated by the control unit at step 500. At this step, the patient fluid removal rate Q.sub.PFR is fixed or entered by the user at 100 ml/h. Then the dose value is set or calculated (step 501) and the volume of the of each bag detected or entered by the user (step 502).

(127) The following parameters are selected or preprogrammed (step 503): number ratios of interest 1 to 8 (M=8), allowed flow rate adjustment of 10% (A=0.10) on the initially proposed Q.sub.i.

(128) It is assumed that the apparatus comprises a circuit similar to that of FIG. 2 with a syringe pump connected to the blood return line instead of infusion line 25. Effluent and Syringe bag/container volumes are fixed.

(129) At step 504 the T.sub.i values are calculated and ranked by the control unit.

(130) Table 2 below recaps the initial flow rates Q.sub.i (2.sup.nd column), the bag volumes (3.sup.rd column), the change bag periods T.sub.i (4.sup.th column) using the initial Q.sub.i values and the corresponding number of daily bag changes (5.sup.th column).

(131) TABLE-US-00002 TABLE 2 flow rate change bag nb of daily (initial) bag volume period bag changes circuit (ml/h) (ml) (h) (day.sup.1) PBP 1000 5000 5.00 4.80 Dial 1200 5000 4.17 5.76 Rep 350 3000 8.57 2.80 syringe 15 50 3.33 7.20 PFR 100 Effluent 2665 5000 1.88 12.79 Total 33.35

(132) Table 3 below ranks the change bag periods Ti from the shortest to the longest.

(133) TABLE-US-00003 TABLE 3 Shortest Longest period period Circuit index i 1 2 3 4 5 Circuit ID Effluent syringe Dial PBP Rep Period (h) 1.88 3.33 4.17 5.00 8.57 nb daily bag changes (day.sup.1) 12.79 7.20 5.76 4.80 2.80

(134) At step 505, the R.sub.ij=T.sub.i/T.sub.j (i>j) are calculated by the control unit. Table 4 provides the computation of period ratios R.sub.ij=T.sub.i/T.sub.j (i>j)

(135) TABLE-US-00004 TABLE 4 j i 1 2 3 4 5 1 2 1.78 3 2.22 1.25 4 2.67 1.50 1.20 5 4.57 2.57 2.06 1.71

(136) Then at step 506, the control unit compares the R.sub.ij ratios to the ratios of interests R0.sub.k of table 1 creating the ratios R.sub.ij/R0.sub.k. Table 5 shows the ratios R.sub.ij/R0.sub.k; At step 508 the control unit table 5 also checks the ratios R.sub.ij/R0.sub.k which stay within the A criterion, namely those which verify the condition:
(1A).Math.R0.sub.k<R.sub.ij<(1+A).Math.R0.sub.k.

(137) Note that table 5 also includes an identification of ratios which result within A criterion (see cells with underlined values, namely those which verify the condition: (1A).Math.R0.sub.k<R.sub.ij<(1+A).Math.R0.sub.k).

(138) TABLE-US-00005 TABLE 5 R0k R.sub.21 R.sub.31 R.sub.41 R.sub.51 R.sub.32 R.sub.42 R.sub.52 R.sub.43 R.sub.53 R.sub.54 R0.sub.1 1.78 2.22 2.67 4.57 1.25 1.50 2.57 1.20 2.06 1.71 R0.sub.2 0.89 1.11 1.33 2.28 0.63 0.75 1.29 0.60 1.03 0.86 R0.sub.3 0.59 0.74 0.89 1.52 0.42 0.50 0.86 0.40 0.69 0.57 R0.sub.4 0.44 0.56 0.67 1.14 0.31 0.38 0.64 0.30 0.51 0.43 R0.sub.5 1.18 1.48 1.78 3.05 0.83 1.00 1.71 0.80 1.37 1.14 R0.sub.6 0.36 0.44 0.53 0.91 0.25 0.30 0.51 0.24 0.41 0.34 R0.sub.7 1.33 1.67 2.00 3.43 0.94 1.13 1.93 0.90 1.54 1.29 R0.sub.8 0.71 0.89 1.07 1.83 0.50 0.60 1.03 0.48 0.82 0.69

(139) At step 507 (this step may be executed at any time before step 509 below described), the control unit computes the degrees of freedom NF. Table 6 indicates the number of degrees of freedom (NF).

(140) TABLE-US-00006 TABLE 6 Degrees of circuit Flow rate Bag volume freedom NF PBP adjustable fixed Yes NF = 3 1 = 2 Dial adjustable fixed Yes Rep adjustable fixed Yes syringe fixed fixed No Effluent fixed fixed No

(141) Then the control unit provides a computation of the number of bag change saved for all R.sub.ij within the above criterion for the A parameter and identifies the most effective combinations complying also with the available NF=2 degrees of freedom.

(142) Table 7 shows this computation of the number of bag change saved and identifies (see arrow) of the NF=2 most effective combinations.

(143) TABLE-US-00007 TABLE 7 nb daily nb saved i/j Bag 1 Bag 2 bag changes bag changes custom character 5/3 1 2 8.6 2.9 4/2 2 3 12.0 2.4 custom character 5/1 1 5 15.6 2.6 3/2 3 4 13.0 1.9 4/3 3 4 10.6 1.5 4/1 2 5 17.6 2.5 5/2 2 5 10.0 1.4

(144) Then the control unit calculates and optionally stores the flow rates

(145) Table 8 provides a summary of selected R.sub.ij ratios and flow rate relations obtained using below Equations:

(146) T i = V i Q i R ij = T i T j

(147) Flow rate relations derived from selected R.sub.ij and related R0.sub.k values:

(148) Q i = V i V j Q j R 0 k

(149) TABLE-US-00008 TABLE 8 R.sub.ij ID Target R0.sub.k R0.sub.k value Flow rate relation* R.sub.53 R0.sub.2 2.00 Q5 = 0.30 Q3 R.sub.51 R0.sub.6 5.00 Q5 = 0.12 Q1

(150) Then follows the computation of flow rates using R.sub.ij ratios selected in table 8. The adjusted flow rates are recapped in Table 9 below which clarifies how with a relatively small adjustment to the initially proposed flow rates a certain degree of synchronization in the container emptying has been achieved thus saving significant time in container changes.

(151) TABLE-US-00009 TABLE 9 flow rate Adjusted nb of daily Number of saved (initial) flow rate bag changes user interven- circuit (ml/h) (computed) day.sup.1 tions per day PBP 1000 1164 5.59 Dial 1200 1066 5.12 2.56 Rep 350 320 2.56 2.56 syringe 15 15 7.20 PFR 100 100 Effluent 2665 2665 12.79 Total 33.26 5.12 Daily number of user interventions 28.1

EXAMPLE 7

(152) Reference is made to an apparatus as shown in FIG. 1, provided with 4 fluid pumps (Dialysate pump 21, Replacement pump 27, Replacement pump 15, Effluent pump 17) and thus capable of running a HDF therapy.

(153) Prescription: Patient: BW=65 kg blood flow rate: Q.sub.BLOOD=220 ml/min patient fluid removal rate: Q.sub.pfr=100 ml/h CRRT dose D.sub.eff-set=38 ml/kg/h, where the is defined as Urea dose

(154) The following criteria are stored in memory 10a: dialysate flow rate (Q.sub.dial): 0 to 6000 ml/h PRE-replacement flow rate (Q.sub.rep1): 0 to 4000 ml/h POST-replacement flow rate (Q.sub.rep2): 200 to 4000 ml/h no specific hemofilter/dialyzer related data

(155) The operator selects: blood predilution ratio: R.sub.2>0.10 minimize fluid consumption

(156) The control unit 10 then computes the flow rates as follows:
Q.sub.eff=Q.sub.dial+Q.sub.rep1+Q.sub.rep2+Q.sub.pfr to be minimizedEq.1:
D.sub.set-urea=Q.sub.BLOOD/(Q.sub.BLOOD+Q.sub.rep1)Q.sub.eff=6538=2470 ml/hEq.2:
Q.sub.rep2>200 ml/minEq.3:
R.sub.2>0.10Eq.4:

(157) In order to meet the Urea dose target while minimizing fluid consumption (Q.sub.eff), it is necessary to maximize the ratio Q.sub.BLOOD/(Q.sub.BLOOD+Q.sub.rep1)

(158) According to the set constraints, this requires to set Q.sub.rep1=0.10Q.sub.BLOOD=1320 ml/h (from eq. 4).

(159) Equation 2 allows to define Q.sub.eff=2470(1+0.10/1)=2717 ml/h.

(160) Q.sub.dial and Q.sub.rep2 have then to be defined from:
Q.sub.dial+Q.sub.rep2=27171001320=1297 ml/hEq.1bis:
Q.sub.rep2>200 ml/hEq.3:

(161) From the above first phase of computation, the following has been defined:
Q.sub.eff=2717 ml/h,
Q.sub.rep1=1320 ml/h, a relation between Qdial and Q.sub.rep2 (Qdial+Q.sub.rep2=1297 ml/h, directly derived from Qeff=Qi), a condition on Q.sub.rep2(>200 ml/h).

(162) In other words some flow rates are not completely defined. As above discussed in connection with the fourth solution of synchronization, a synchronization algorithm may be performed by the control unit from an arbitrary set of values; for example the above calculated flow rates where Qdial=550 ml/h (=>Qrep2=747 ml/h). The issue in this case is the choice of the allowed adjustment parameter A, since a specific flow rate range is defined for Qdial [0;1297], allowing for a large range of bag change period. For this application case, the value of A is selected at 0.3 (while 0.1 was used in example 6).

(163) Qrep1, as well as Veff, are fixed; then number of degrees of freedom is NF=43=1 and consequently one single synchronization relation may be introduced. The initial input data to the synchronization algorithm are indicated in Table 10 while in Table 11 a ranking of change bag periods Ti is given.

(164) TABLE-US-00010 TABLE 10 flow rate change nb of daily (initial) bag volume bag period bag changes circuit (ml/h) (ml) (h) (day.sup.1) Pre 1320 5000 3.79 6.34 Dial 550 5000 9.09 2.64 Post 747 5000 6.69 3.59 PFR 100 Effluent 2717 5000 1.84 13.04 Total 25.60

(165) TABLE-US-00011 TABLE 11 Shortest Longest period period Circuit index i 1 2 3 4 Circuit ID Effuent Qpre Qpost Qdial Period (h) 1.84 3.79 6.69 9.09 nb daily bag changes (day.sup.1) 13.04 6.34 3.59 2.64

(166) Then the control unit computes period ratios R.sub.ij=T.sub.i/T.sub.j (i>j). Table 12 recaps the computed values for R.sub.ij=T.sub.i/T.sub.j.

(167) TABLE-US-00012 TABLE 12 j i 1 2 3 4 1 2 2.06 3 3.64 1.77 4 4.94 0.70 1.36

(168) Then the control unit compares the R.sub.ij ratios to the ratios of interests R0.sub.k of table 1 creating the ratios R.sub.ij/R0.sub.k and also checks the ratios R.sub.ij/R0.sub.k which stay within the A criterion, namely those which verify the condition:

(169) (1A).Math.R0.sub.k<R.sub.ij<(1+A).Math.R0.sub.k. Below table 13 an identification of ratios which result within A criterion (see cells with underlined values, namely those which verify the condition: (1A).Math.R0.sub.k<R.sub.ij<(1+A).Math.R0.sub.k).

(170) TABLE-US-00013 TABLE 13 R0k R.sub.21* R.sub.31** R.sub.41** R.sub.32** R.sub.42** R.sub.43*** R0.sub.1 2.06 3.64 4.94 1.77 0.70 1.36 R0.sub.2 1.03 1.82 2.47 0.88 0.35 0.68 R0.sub.3 0.69 1.21 1.65 0.59 0.23 0.45 R0.sub.4 0.51 0.91 1.24 0.44 0.17 0.34 R0.sub.5 1.37 2.42 3.29 1.18 0.46 0.91 R0.sub.6 0.41 0.73 0.99 0.35 0.14 0.27 R0.sub.7 1.54 2.73 3.71 1.33 0.52 1.02 R0.sub.8 0.82 1.45 1.98 0.71 0.28 0.54 *not considered as Q.sub.eff and Q.sub.rep1 assumed already fixed **selection with adjustment coefficient of 0.3 (ratio depending on Q.sub.dial or Q.sub.rep2) ***selection with adjustment coefficient of 0.5 (ratio depending on Q.sub.dial and Q.sub.rep2)

(171) The number of degrees of freedom NF is then identified. Table 14 indicates the number of degrees of freedom (NF).

(172) TABLE-US-00014 TABLE 14 Degrees of circuit Flow rate Bag volume freedom NF Pre fixed fixed No NF = 2 1 = 1 Dial adjustable fixed Yes Post adjustable fixed Yes Effluent fixed fixed No

(173) Then the control unit identifies the best relation with NF=1 and respecting the limitations on the A value as well as the fixed parameters. Tables 15 and 16 indicate that the best relation to introduce is Q.sub.rep2=Q.sub.eff/3, allowing to save more than 4 user interventions a day (/17%). Note that relation 2/1 (Qrep1Q.sub.eff) is discarded since both Q.sub.eff and Q.sub.rep1 are fixed.

(174) Relation 4/2 (Q.sub.dialQ.sub.rep1) leads to Q.sub.dial=Q.sub.pre which is not compatible with Q.sub.eff=Q.sub.i

(175) TABLE-US-00015 TABLE 15 nb daily nb saved i/j Bag 1 Bag 2 bag changes bag changes 4/2 1 1 9.0 4.49 4/3 1 1 6.2 3.11 2/1 1 2 19.4 6.46 3/2 1 2 9.9 3.31 4/3 1 2 6.2 2.08 custom character 3/1 1 3 16.6 4.16 3/1 1 4 16.6 3.33 4/1 1 4 15.68 3.14 3/2 2 3 9.92 1.98 4/3 2 3 6.23 1.25

(176) TABLE-US-00016 TABLE 16 R.sub.ij ID Target R0.sub.k R0.sub.k value Flow rate relation* R.sub.31 R0.sub.3 3.00 Q3 = 0.333 Q1

(177) The above selected R.sub.ij ratios and flow rate relations (table 16) are used by the control unit for computation of flow rates Q.sub.iset (in this case Q.sub.3 and Q.sub.1 respectively corresponding to Q.sub.rep2=391.3 ml/h and Q.sub.dial=905.7 ml/h) as per below table 17.

(178) TABLE-US-00017 TABLE 17 flow rate Adjusted nb of daily Number of saved (initial) flow rate bag changes user interven- circuit (ml/h) (computed) day.sup.1 tions per day Pre 1320 1320 6.34 Dial 550 905.7 4.35 4.35 Post 747 391.3 1.88 PFR 100 100 Effluent 2717 2717 13.04 Total 25.60 4.35 Daily number of user interventions 21.3

(179) To secure the result, the algorithm might be repeated using a different set of initial flow rates; in this case it is verified that the same result is obtained with Q.sub.dial=100 ml/h (=>Q.sub.rep2=1197) as initial flow rate (same result except permutation of Q.sub.rep2 and Q.sub.dial values).

(180) Note that in the above example, in the case adjustment of Q.sub.rep1 is allowed, then NF=2 and 6.5 additional user interventions may be saved by setting Q.sub.rep1=Q.sub.eff/2 (computation steps not reported).

(181) One positive aspect of the present invention is a simplification in setting of treatment prescription.

(182) Moreover, the setting is more intuitive for the medical personnel.

(183) In accordance with certain aspects, frequency of bag/container changes is reduced, with a positive impact on the treatment since lesser interruptions help in providing more continuous and accurate treatment.

(184) Here below the components and corresponding reference numerals used in the detailed description are listed.

(185) TABLE-US-00018 Part Reference numeral extracorporeal blood treatment apparatus 1 filtration unit 2 primary chamber 3 secondary chamber 4 semi-permeable membrane 5 blood withdrawal line 6 blood return line 7 tract 6a bubble trap 8 bubble sensor 8a clamp 9 control unit 10 blood pump 11 user interface 12 an effluent fluid line 13 an effluent fluid container 14 pre-dilution fluid line 15 infusion fluid containers 16, 23, 26 dialysis fluid line 19 dialysis fluid container 20 dialysis pump 21 a post-dilution fluid line 25 effluent fluid pump 17 infusion pumps 18, 27 pre-blood pump infusion line 22 pump on pre-blood pump infusion line 24 line switches 100, 101