Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PARAMETER MONITORING IN MEDICAL TREATMENT SYSTEMS
Document Type and Number:
WIPO Patent Application WO/2018/045102
Kind Code:
A1
Abstract:
A blood treatment system with pressure sensors may be configured to control blood flow to and from the patient and use readings of the pressure sensors to determine a change in a pressure drop across a flow restriction in the blood circuit to estimate a condition of the machine or the patient, or outputting data responsive to the estimation. Further embodiments employ measurement of pressure drop to detect abnormal viscosity or viscosity variations in order to detect possible infection.

Inventors:
WYETH MARK T (US)
MCCARTY ROBERT PAUL (US)
YANTZ GREGORY (US)
JOHNSON JAMES IAN (US)
TURK JOSEPH E (US)
BRUGGER JAMES M (US)
BURBANK JEFFREY H (US)
Application Number:
PCT/US2017/049489
Publication Date:
March 08, 2018
Filing Date:
August 30, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NXSTAGE MEDICAL INC (US)
International Classes:
A61M1/16
Domestic Patent References:
WO2007109537A22007-09-27
WO2000066197A12000-11-09
WO2016092913A12016-06-16
Foreign References:
US20140148750A12014-05-29
US20120273415A12012-11-01
US5837905A1998-11-17
US20100028208A12010-02-04
US5928179A1999-07-27
US20100191164A12010-07-29
US20150005699A12015-01-01
US20170296727A12017-10-19
US20120297869A12012-11-29
US5591399A1997-01-07
Other References:
See also references of EP 3506962A4
Attorney, Agent or Firm:
CATAN, Mark A. (US)
Download PDF:
Claims:
What is claimed is:

1. A blood treatment system, comprising:

a machine comprising one or more pumps;

a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from a patient, respectively;

at least two pressure sensors in at least one of the inlet line or the outlet line; and

a controller configured to control the one or more pumps to convey blood to and from the patient, the controller further configured to use readings of the at least two pressure sensors to determine a change over time in a pressure drop across a flow restriction in the blood circuit and perform a function responsive to the change in the pressure drop, the function comprising at least one of: generating a notification, adjusting a blood flow rate in the blood circuit, outputting an estimation of a condition of the machine or the patient, or outputting data responsive to said estimation.

2. The system of claim 1 , wherein the controller is configured to sample the pressure drop at multiple times over a period of time comprising a single treatment or multiple treatments and store data responsive thereto, wherein the change in the pressure drop is determined based on a trend over time of the stored data.

3. The system of claim 2, wherein the controller, responsively to said trend, generates a user notification, caution, or alarm, indicating that the trend is exceeding a limit.

4. The system of claim 2, wherein the inlet line comprises an arterial line and the outlet line comprises a venous line.

5. The system of claim 2, wherein the inlet line and the outlet line are connected to an inlet and an outlet, respectively, of a treatment device configured to treat blood.

6. The system of claim 2, wherein the machine is adapted to control a balance of fluid in the patient by regulating a ratio of a total volume of fluid removed from the patient to a total volume of fluid supplied to the patient.

7. The system of claim 6, wherein the controller is programmed to estimate said ratio from said stored data.

8. The system of claim 6, wherein the controller is programmed to estimate said ratio independently of said stored data by using a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume.

9. The system of claim 2, wherein the controller calculates a patient fluid volume or a rate of fluid volume loss from said stored data.

10. The system of claim 9, wherein the relationship is derived from historical data for the patient or for a class of patients corresponding to the patient.

11. The system of claim 9, wherein the controller stores a function of hematocrit versus viscosity-dependent parameter or hemoglobin versus viscosity, wherein the controller calculates hematocrit or hemoglobin responsively to said function and responsively to the stored data and wherein the controller outputs said hematocrit or hemoglobin.

12. The system of claim 11 , wherein the function is a lookup table.

13. The system of claim 2, wherein the at least one pressure sensor includes two pressure sensors upstream and downstream of the flow restriction.

14. The system of claim 2, wherein the stored data is stored over multiple treatments for said patient to generate a historical record for said patient.

15. The system of claim 14, wherein the stored data over said multiple treatments indicates a trend over a course of treatment, said trend being stored over the multiple treatments for said patient to generate a historical record of trends for said patient.

16. The system of claim 15, wherein the trends are stored as an average or a curve fit to viscosity over time to provide a baseline trend, wherein the baseline trend is compared by said controller to a current trend, and a result of the comparison is output as a signal.

17. The system of claim 2, wherein the controller is configured to output said stored data to a treatment log.

18. The system of claim 1 , wherein the at least one pressure sensor includes pressure pods.

19. The system of claim 1 , wherein the flow restriction is a length of tubing with a predefined shape and inner diameter, a combination of an orifice and a rigid channel, or a precisely sized port with a shaped inlet and outlet.

20. The system of claim 1 , further comprising a viscosity sensor, wherein the viscosity sensor draws a sample of blood from said fluid circuit and applies the sample to a viscometer.

21. The system of claim 20, wherein the viscosity sensor draws the sample periodically throughout a treatment.

22. The system of claim 1 , further comprising at least one other sensor including a temperature sensor, a blood oximeter, an optical hematocrit sensor, a scale adapted for measuring the patient's weight, a patient heart rate, a galvanic skin resistance sensor, an audio of a treatment area, or a video of the treatment area, wherein the controller performs the function further responsive a measurement of the at least one other sensor.

23. The system of claim 1 , wherein the controller performs the function further responsive to a measured activity level of the patient.

24. The system of claim 23, wherein the patient activity level is detected by at least one of an accelerometer or a force sensor in the patient's bed or chair, a video stream classifier receiving input from a live view of the patient's body, a detected Internet activity attributed to a patient's Internet-connected terminal, a force sensor, a detected telephone usage, or a classifier receiving input from a live audio stream from a microphone in the vicinity of the patient.

25. The system of claim 1 , wherein the controller is programmed to implement a classifier whose inputs include the change in the pressure drop and whose output is applied by the controller for performing the function.

26. The system of claim 1 , wherein the controller is programmed to implement a classifier whose inputs include the change in the pressure drop and whose output includes a signal indicating a diagnosis including at least one of: a patient infection, a patient's excess fluid level, or a patient's weight above dry weight.

27. The system of claim 1 , wherein the controller is configured to determine patient volume status by reducing or halting an ultrafiltration rate and monitoring a resulting change in the pressure drop.

28. The system of claim 27, wherein the resulting change in the pressure drop indicates a change in fluid volume of blood in the patient.

29. The system of claim 27, wherein, when the resulting change is a decrease in the pressure drop, the controller determines that more patient fluid volume can be removed and generates a corresponding signal.

30. The system of claim 27, wherein, when there is no resulting change in the pressure drop, the controller determines that the patient is at a dry weight and no further ultrafiltration is required.

31. The system of claim 27, wherein the controller reduces or halts the ultrafiltration rate and records resulting changes in the pressure drop over one or more periods of time covering periods of different ultrafiltration rates.

32. The system of claim 1 , wherein the controller detects changes in pressure in fluid from the patient and in fluid returned to the patient.

33. The system of claim 1 , wherein the controller receives samples of a first pressure signal and a second pressure signal, respectively, from a first pressure sensor upstream of the flow restriction and a second pressure sensor downstream of the flow restriction.

34. The system of claim 33, wherein the controller is configured to store said samples to generate at least one dynamic parameter associated with a property of blood flowing in said fluid circuit through said flow restriction.

35. The system of claim 34, wherein said samples are received and parameter data responsive thereto stored, during a treatment, said at least one dynamic parameter being generated responsively to said parameter data.

36. The system of claim 34, wherein the controller includes a data store that stores at least one predicted parameter that corresponds to an acceptable range of said dynamic parameter.

37. The system of claim 36, wherein the controller is programmed further to classify at least one condition of a current treatment or at least one condition of a current patient responsively to said at least one dynamic parameter and said at least one predicted parameter.

38. The system of claim 37, wherein said at least one dynamic parameter includes a curve-fit to a time series obtained from the samples and said predicted parameter includes a definition of a curve, the controller comparing the definition with the curve-fit to classify said at least one condition.

39. The system of claim 37, wherein said at least one stored parameter includes a curve-fit to a time series obtained from said samples from prior treatments.

40. The system of claim 37, wherein said at least one stored parameter includes a curve-fit to a time series obtained from said samples from prior treatments of a unique patient, multiple patients, or a unique class of patients.

41. The system of claim 37, wherein said at least one stored parameter includes a curve-fit to a time series obtained from said samples from prior peritoneal dialysis treatments of a unique patient, multiple patients, or a unique class of patients.

42. The system of claim 37, wherein said at least one stored parameter includes a patient model.

43. The system of claim 37, wherein said at least one stored parameter includes a patient model, the patient model including parameters of an individual patient, multiple patients, or a class of patients.

44. The system of claim 1 , wherein the pressure drop across the flow restriction is measured at a given fluid flow rate of blood in the blood circuit.

45. The system of claim 1 , wherein the controller determines and records viscosity estimates over a period of time comprising a single treatment or multiple treatments, based on measurements of the change in the pressure drop across the flow restriction.

46. The system of claim 45, wherein the controller determines whether a current viscosity estimate differs from the recorded viscosity estimates beyond a predefined magnitude.

47. The system of claim 46, wherein, when the current viscosity estimate differs from the recorded viscosity estimates beyond the predefined magnitude, the controller performs at least one of: indicating to the patient to collect an effluent sample, indicating to the patient to contact their health care provider, or recording said indication in the patient's treatment record.

48. The system of claim 1 , wherein a patient condition is estimated by the controller responsively to a combination of two or more of the change in the pressure drop, a heart rate, a hematocrit, a blood oxygen level, a patient weight, a galvanic skin resistance, a blood viscosity, or a blood temperature, as detected by a respective sensor and applied to the controller and a responsive signal generated by the controller.

49. The system or method of claim 48, wherein the controller is programmed to implement a classifier to estimate said condition, wherein the classifier has inputs including said combination and outputs said responsive signal for display, control, or treatment logging.

50. The system or method of claim 48, wherein the condition includes an infection.

51. The system of claim 1 , further comprising a flow diverter connected to be controlled by said controller responsively to said change in the pressure drop across the restriction.

52. The system of claim 51 , wherein the flow diverter is connected to a sample chamber that is preconnected to the blood circuit.

53. The system of claim 52, wherein the controller is programmed to divert a sample of blood from the blood circuit when an anomalous condition is indicated by said change in the pressure drop.

54. The system of claim 1 , wherein the controller is programmed to implement a renal replacement therapy.

55. The system of claim 1 , wherein the outputting data comprises at least one of outputting corresponding information to a user interface, a log file, a data store, or a data streams.

56. The system of claim 1 , wherein at least one of the pressure sensors is used for volumetric control.

57. The system of claim 1 , wherein at least one of the pressure sensors is used for volumetric control by pressure compensation.

58. The system of claim 2, wherein the controller detects changes in hematocrit or viscosity based on the change in the pressure drop across the restriction and indicate when the patient plateaus responsively thereto.

59. The system of claim 2, the controller being programmed to detect and store time-resolved displacement data responsive to displacement of a bodily fluid, or a treatment fluid in contact therewith, by means of a filter, with the bodily fluid, the controller being further programmed to calculate one or more trends in said stored data and said displacement data and to control the flow of blood in said inlet line and said outlet line responsively to said one or more trends.

60. The system of claim 1 , wherein the inlet line is an arterial blood line and the outlet line is a venous blood line, wherein the at least two pressure sensors comprises a first pair of pressure sensors in the arterial blood line and a second pair of pressure sensors in the venous blood line.

61. The system of claim 60, wherein the controller compares measurements of the first pair of pressure sensors with the second pair of pressure sensors and estimates therefrom a rate of ultrafiltration and outputs the rate of ultrafiltration.

62. A method for performing a medical treatment involving the transfer of fluid from a patient, comprising:

drawing a fluid from a patient; using a controller of a treatment machine and at least one sensor, detecting a viscosity-dependent parameter of the drawn fluid at multiple times in the course of a treatment and/or in the course of several treatments and storing time-resolved viscosity-dependent parameter data responsively to the detecting, wherein the time- resolved viscosity-dependent parameter data includes multiple measurements over time accompanied by time indications so as to reveal a trend with respect to time; estimating from the time-resolved viscosity-dependent parameter data whether the patient has an infection; and

outputting a result of said estimating.

63. The method of claim 62, wherein the detecting viscosity-dependent parameter includes detecting a pressure drop along a length of a fluid line connecting the patient with the treatment machine.

64. The method of claim 62, wherein the detecting viscosity-dependent parameter includes detecting a pressure drop across a flow restriction in a fluid path through which the drawn fluid is drawn, the fluid path connecting the patient with the treatment machine.

65. The method of claim 62, wherein the drawn fluid is spent peritoneal dialysate and the treatment machine is a peritoneal dialysis cycler.

66. The method of claim 62, wherein the drawing is performed over multiple discontinuous cycles in a single treatment, said time-resolved viscosity-dependent parameter data indicating time-varying viscosity-dependent parameter during a single one of said discontinuous cycles, and said estimating including generating, and using for said estimating, at least one statistic from said time-varying viscosity- dependent parameter, the at least one statistic including a magnitude of variability of the time-varying viscosity-dependent parameter, an average of the time-varying viscosity-dependent parameter, a peak rate of variation of the time-varying viscosity- dependent parameter, a statistic of a frequency distribution of the time-varying viscosity-dependent parameter, and/or a peak magnitude of the time-varying viscosity-dependent parameter.

67. The method of claim 62, wherein the drawing is performed over multiple treatments, said time-resolved viscosity-dependent parameter data indicating time- varying viscosity-dependent parameter during a single one of said discontinuous cycles, and said estimating including generating, and using for said estimating, at least one statistic from said time-varying viscosity-dependent parameter, the at least one statistic including a magnitude of variability of the time-varying viscosity- dependent parameter, an average of the time-varying viscosity-dependent parameter, a peak rate of variation of the time-varying viscosity-dependent parameter, a statistic of a frequency distribution of the time-varying viscosity- dependent parameter, and/or a peak magnitude of the time-varying viscosity- dependent parameter.

68. The method of claim 66 or 67, wherein the estimating includes comparing the at least one statistic to a predefined threshold.

69. The method of claim 62, 66, or 67, wherein the outputting includes outputting on a user interface of said controller, to a log file updated by the controller, to an Internet-connected server, on a display, or to an audio output.

70. The method of claim 62, 66, or 67, wherein the outputting includes outputting an instruction to a user to obtain a sample of the drawn fluid.

71. The method of claim 62, 66, or 67, wherein the outputting includes outputting an instruction to a sampling element of the treatment machine to automatically extract a sample of the drawn fluid to a sample container.

72. The method of claim 62, wherein the detecting includes using the controller to control a flow rate of the drawing to establish a flow rate of the drawn fluid falling in a predefined range such that said flow rate is constant within a range for each of said multiple times.

73. A blood circuit, comprising:

an arterial or venous line having a tubing segment, an access end for connecting to a patient access line, and a treatment device end connected to, or connectable to, the treatment device;

a first blood pressure sensor element positioned near the treatment device end; and

a second blood pressure sensor element positioned more remotely from the treatment device end than the first blood pressure sensor such that a predefined length of tubing runs between and connects them.

74. The circuit of claim 73, wherein the arterial or venous line is a venous line.

75. The circuit of claim 73, wherein the arterial or venous line is an arterial line.

76. The circuit of claim 73, wherein the pressure sensors include pressure pod type elements with air lines attached along a length of said arterial or venous line.

77. The circuit of claim 73, wherein the predefined length is a tube having a higher manufacturing tolerance than a reminder of said arterial or venous line.

78. The circuit of claim 73, wherein the first and second pressure sensors are configured to indicate the pressure of blood flowing through the predefined length of tubing.

79. The circuit of claim 73, wherein the first and second pressure sensors are configured to indicate a pressure drop due to blood flowing through the predefined length of tubing.

80. A blood treatment system, comprising:

a machine comprising one or more pumps;

a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from a patient, respectively; and a controller configured to control the one or more pumps to convey blood to and from the patient, the controller further configured to determine a change in a blood viscosity-dependent parameter in the blood circuit and adjust a blood flow rate in the blood circuit responsive to said change in the blood viscosity-dependent parameter.

81. The system of claim 80, further comprising at least two pressure sensors in at least one of the inlet line or the outlet line, wherein the controller is further configured to use readings of the at least two pressure sensors to determine a change in a pressure drop across a flow restriction in the blood circuit, wherein the controller is further configured to determine the change in the blood viscosity- dependent parameter based on the change in the pressure drop.

82. The system of claim 80, wherein the controller is configured to sample the pressure drop at multiple times over a period of time comprising a single treatment or multiple treatments and store data responsive thereto, wherein the change in the blood viscosity-dependent parameter is determined based on a trend over time of the stored data.

83. The system of claim 82, wherein the machine is adapted to control a balance of fluid in the patient by regulating a ratio of a total volume of fluid removed from the patient to a total volume of fluid supplied to the patient, wherein the controller is programmed to estimate said ratio from said stored data.

84. The system of claim 83, wherein the controller is programmed to further estimate said ratio independently of said stored data by using a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume.

85. The system of claim 82, wherein the controller calculates a patient fluid volume or a rate of fluid volume loss from said stored data.

86. The system of claim 82, wherein the stored data is stored over multiple treatments for said patient to generate a historical record for said patient, wherein the stored data over said multiple treatments indicates a trend over a course of treatment, said trend being stored over the multiple treatments for said patient to generate a historical record of trends for said patient, wherein the trends are stored as an average or a curve fit to viscosity-dependent parameter over time to provide a baseline trend, wherein the baseline trend is compared by said controller to a current trend, and a result of the comparison is output as a signal.

87. The system of claim 80, wherein the controller is configured to determine patient volume status by reducing or halting an ultrafiltration rate and monitoring a resulting change in the blood viscosity-dependent parameter, wherein the resulting change in the blood viscosity-dependent parameter indicates a change in fluid volume of blood in the patient, wherein, when the resulting change is a decrease in viscosity-dependent parameter, the controller determines that more patient fluid volume can be removed, wherein, when there is no resulting change in viscosity- dependent parameter, the controller determines that the patient volume status is neutral and no further ultrafiltration is required, the controller generating a signal corresponding to a result of the volume status.

88. A blood treatment system, comprising:

a machine comprising one or more pumps;

a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from a patient, respectively;

at least two pressure sensors in at least one of the inlet line or the outlet line; and

a controller configured to control the one or more pumps to convey blood to and from the patient, the controller further configured to use readings of the at least two pressure sensors to determine a pressure drop across a flow restriction in the blood circuit at a given blood flow rate, the controller further configured to sample the pressure drop at multiple times over a period of time comprising a single treatment or multiple treatments and store data responsive thereto, the controller further configured to calculate a patient fluid volume or a rate of patient fluid volume loss based on a time-resolved trend of the stored data.

89. The system of claim 88, wherein the machine is adapted to control a balance of fluid in the patient by regulating a ratio of a total volume of fluid removed from the patient to a total volume of fluid supplied to the patient.

90. The system of claim 89, wherein the controller is programmed to estimate said ratio from said stored data.

91. The system of claim 89, wherein the controller is programmed to estimate said ratio independently of said stored data by using a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume.

92. A blood treatment system, comprising:

a machine comprising one or more pumps;

a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from a patient, respectively; and a controller configured to control the one or more pumps to convey blood to and from the patient, the controller further configured to determine a first blood viscosity-dependent parameter in the inlet line and a second blood viscosity- dependent parameter in the outlet line, the controller further configured to estimate an ultrafiltration rate of the blood treatment system by comparing the first blood viscosity-dependent parameter with the second blood viscosity-dependent parameter and perform a function responsive to said estimate ultrafiltration rate, the function comprising at least one of: generating a notification, adjusting a flow rate of blood in the blood circuit, or outputting data responsive to said estimate.

93. The system of claim 92, wherein the controller is configured to sample the first blood viscosity-dependent parameter and the second blood viscosity-dependent parameter at multiple times over a period of time comprising a single treatment or multiple treatments and store data responsive thereto, wherein the estimate ultrafiltration rate is determined based on a trend over time of the stored data.

94. The system of claim 93, wherein the machine is adapted to control a balance of fluid in the patient by regulating a ratio of a total volume of fluid removed from the patient to a total volume of fluid supplied to the patient.

95. The system of claim 94, wherein the controller is programmed to estimate said ratio from said stored data.

96. The system of claim 94, wherein the controller is programmed to estimate said ratio independently of said stored data by using a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume.

97. A blood treatment system, comprising:

a machine comprising one or more pumps;

a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from a patient, respectively; and a controller configured to control the one or more pumps to convey blood to and from the patient, the controller further configured to reduce or halt an

ultrafiltration rate of the blood treatment system and determine a resulting change in a blood viscosity-dependent parameter in the blood circuit, the controller further configured to use the resulting change in the blood viscosity-dependent parameter to determine whether to remove more fluid volume from the patient.

98. The system of claim 97, wherein the resulting change in the blood viscosity-dependent parameter indicates a change in fluid volume of blood in the patient.

99. The system of claim 97, wherein, when the resulting change is a decrease in the blood viscosity-dependent parameter, the controller determines that more patient fluid volume can be removed and generates a corresponding signal.

100. The system of claim 97, wherein, when there is no resulting change in the blood viscosity-dependent parameter, the controller determines that the patient volume status is neutral and no further ultrafiltration is required.

101. The system of claim 97, wherein the controller reduces or halts the ultrafiltration rate and records resulting changes in the blood viscosity-dependent parameter over one or more periods of time covering periods of different

ultrafiltration rates.

102. A blood treatment system, comprising:

a machine comprising one or more pumps;

a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from a patient, respectively; and a controller configured to control the one or more pumps to convey blood to and from the patient, the controller further configured to determine a change in a pressure drop across a flow restriction in the blood circuit at a given blood flow rate, the controller further configured to sample the pressure drop at multiple times over a period of time comprising a single treatment or multiple treatments and store data responsive thereto, the controller further configured to indicate that an effluent blood sample be collected when a time-resolved trend of the stored data deviates from a baseline trend beyond a threshold.

103. The system of claim 102, further comprising a flow diverter connected to be controlled by said controller responsively to said change in the pressure drop across the restriction.

104. The system of claim 103, wherein the flow diverter is connected to a sample chamber that is preconnected to the blood circuit.

105. The system of claim 104, wherein the controller is programmed to divert a sample of blood from the blood circuit when an anomalous condition is indicated by said change in the pressure drop.

106. A blood treatment system, comprising:

a machine comprising one or more pumps;

a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from a patient, respectively;

a first pressure sensor upstream of a flow restriction and a second pressure sensor downstream of the flow restriction in the blood circuit; and a controller configured to control the one or more pumps to convey blood to and from the patient, the controller further configured to read the first pressure sensor and the second pressure to determine a pressure drop across the flow restriction at one or more pre-determined blood flow rates and perform a function responsive to the pressure drop, the function comprising at least one of: generating a notification, adjusting a blood flow rate in the blood circuit, outputting an estimation of a condition of the machine or the patient, or outputting data responsive to said estimation.

107. The system of claim 106, wherein the notification is indicative of blood viscosity-dependent parameter in the blood circuit based on the pressure drop.

108. The system of claim 106, wherein the controller is further configured to determine at least two blood pressure drop values under at least two blood flow rates above and below a pre-defined rate, normalize each of the at least two pressure drop values with respect to a square of corresponding blood flow rates, and determine a blood viscosity-dependent parameter based on an average of the normalized pressure drop values.

109. The system of claim 108, wherein the at least two blood flow rates include a first flow rate 25ml/min above the pre-defined rate and a second flow rate 25ml/min below the pre-defined rate.

110. The system of claim 108, wherein the at least two blood flow rates include a first flow rate 50ml/min above the pre-defined rate and a second flow rate 50ml/min below the pre-defined rate.

11 1. The system of claim 106, wherein the one or more pre-determined blood flow rates include a blood flow rate that provides laminar flow.

112. A method comprising:

controlling one or more pumps of a machine by a controller of a blood treatment system to convey blood to and from a patient via a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from the patient, respectively;

reducing or halting an ultrafiltration rate of the blood treatment system;

determining a resulting change in a blood viscosity-dependent parameter in the blood circuit; and

using the resulting change in the blood viscosity-dependent parameter to determine whether to remove more fluid volume from the patient.

113. The method of claim 112, wherein the resulting change in the blood viscosity-dependent parameter indicates a change in fluid volume of blood in the patient.

114. The method of claim 112, further comprising determining that more patient fluid volume can be removed when the resulting change is a decrease in the blood viscosity-dependent parameter and generating a corresponding signal responsive to the determining.

115. The method of claim 112, further comprising determining that the patient volume status is neutral and no further ultrafiltration is required when there is no resulting change in the blood viscosity-dependent parameter.

116. The method of claim 1 12, further comprising reducing or halting the ultrafiltration rate and recording resulting changes in the blood viscosity-dependent parameter over one or more periods of time covering periods of different ultrafiltration rates.

117. A method comprising:

controlling one or more pumps of a machine by a controller of a blood treatment system to convey blood to and from a patient via a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from the patient, respectively;

determining a change in a blood viscosity-dependent parameter in the blood circuit; and adjusting a blood flow rate in the blood circuit responsive to said change in the blood viscosity-dependent parameter.

118. The method of claim 1 17, further comprising using readings of at least two pressure sensors in at least one of the inlet line or the outlet line to determine a change in a pressure drop across a flow restriction in the blood circuit and determining the change in the blood viscosity-dependent parameter based on the change in the pressure drop.

119. The method of claim 1 18, further comprising sampling the pressure drop at multiple times over a period of time comprising a single treatment or multiple treatments and storing data responsive thereto, wherein the change in the blood viscosity-dependent parameter is determined based on a trend over time of the stored data.

120. The method of claim 1 19, further comprising controlling a balance of fluid in the patient by regulating a ratio of a total volume of fluid removed from the patient to a total volume of fluid supplied to the patient, wherein said ratio is estimated from said stored data.

121. The method of claim 120, further comprising estimating said ratio independently of said stored data by using a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume.

122. The method of claim 120, further comprising calculating a patient fluid volume or a rate of fluid volume loss from said stored data.

123. The method of claim 119, wherein the stored data is stored over multiple treatments for said patient to generate a historical record for said patient, wherein the stored data over said multiple treatments indicates a trend over a course of treatment, said trend being stored over the multiple treatments for said patient to generate a historical record of trends for said patient, wherein the trends are stored as an average or a curve fit to the viscosity-dependent parameter over time to provide a baseline trend, wherein the baseline trend is compared by said controller to a current trend, and a result of the comparison is output as a signal.

124. The method of claim 117, further comprising determining patient volume status by reducing or halting an ultrafiltration rate and monitoring a resulting change in the blood viscosity-dependent parameter, wherein the resulting change in the blood viscosity indicates a change in fluid volume of blood in the patient.

125. The method of claim 124, further comprising, when the resulting change is a decrease in the viscosity-dependent parameter, determining that more patient fluid volume can be removed and generating a corresponding signal.

126. The method of claim 124, further comprising, when there is no resulting change in the viscosity-dependent parameter, determining that the patient volume status is neutral and no further ultrafiltration is required.

127. A method comprising:

controlling one or more pumps of a machine by a controller of a blood treatment system to convey blood to and from a patient via a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from the patient, respectively;

determining a first blood viscosity-dependent parameter in the inlet line and a second blood viscosity-dependent parameter in the outlet line;

estimating an ultrafiltration rate of the blood treatment system by comparing the first blood viscosity-dependent parameter with the second blood viscosity- dependent parameter; and

performing a function responsive to said estimate ultrafiltration rate, the function comprising at least one of: generating a notification, adjusting a flow rate of blood in the blood circuit, or outputting data responsive to said estimate.

128. The method of claim 127, further comprising sampling the first blood viscosity-dependent parameter and the second blood viscosity-dependent parameter at multiple times over a period of time comprising a single treatment or multiple treatments and storing data responsive thereto, wherein the estimate ultrafiltration rate is determined based on a trend over time of the stored data.

129. The method of claim 127, further comprising controlling a balance of fluid in the patient by regulating a ratio of a total volume of fluid removed from the patient to a total volume of fluid supplied to the patient.

130. The method of claim 129, wherein said ratio is estimated from said stored data.

131. The system of claim 129, wherein said ratio is estimated independently of said stored data by using a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume.

132. A computer-readable medium storing instructions that, when executed by a processor, cause the processor to:

control one or more pumps of a machine by a controller of a blood treatment system to convey blood to and from a patient via a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from the patient, respectively;

reduce or halt an ultrafiltration rate of the blood treatment system;

determine a resulting change in a blood viscosity-dependent parameter in the blood circuit; and

use the resulting change in the blood viscosity-dependent parameter to determine whether to remove more fluid volume from the patient.

133. The computer-readable medium of claim 132, wherein the resulting change in the blood viscosity-dependent parameter indicates a change in fluid volume of blood in the patient.

134. The computer-readable medium of claim 132, wherein the instructions, when executed by the processor, further cause the processor to determine that more patient fluid volume can be removed when the resulting change is a decrease in the blood viscosity-dependent parameter and to generate a corresponding signal.

135. The computer-readable medium of claim 132, wherein the instructions, when executed by the processor, further cause the processor to determine that the patient volume status is neutral and no further ultrafiltration is required when there is no resulting change in the blood viscosity-dependent parameter.

136. The computer-readable medium of claim 132, wherein the instructions, when executed by the processor, further cause the processor to reduce or halt the ultrafiltration rate and record resulting changes in the blood viscosity-dependent parameter over one or more periods of time covering periods of different

ultrafiltration rates.

137. A computer-readable medium storing instructions that, when executed by a processor, cause the processor to:

control one or more pumps of a machine by a controller of a blood treatment system to convey blood to and from a patient via a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from the patient, respectively;

determine a change in a blood viscosity-dependent parameter in the blood circuit; and

adjust a blood flow rate in the blood circuit responsive to said change in the blood viscosity-dependent parameter.

138. The computer-readable medium of claim 137, wherein the instructions, when executed by the processor, further cause the processor to use readings of at least two pressure sensors in at least one of the inlet line or the outlet line to determine a change in a pressure drop across a flow restriction in the blood circuit and determine the change in the blood viscosity-dependent parameter based on the change in the pressure drop.

139. The computer-readable medium of claim 138, wherein the instructions, when executed by the processor, further cause the processor to sample the pressure drop at multiple times over a period of time comprising a single treatment or multiple treatments and store data responsive thereto, wherein the change in the blood viscosity-dependent parameter is determined based on a trend over time of the stored data.

140. The computer-readable medium of claim 139, wherein the instructions, when executed by the processor, further cause the processor to control a balance of fluid in the patient by regulating a ratio of a total volume of fluid removed from the patient to a total volume of fluid supplied to the patient, wherein said ratio is estimated from said stored data.

141. The computer-readable medium of claim 140, wherein the instructions, when executed by the processor, further cause the processor to estimate said ratio independently of said stored data by using a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume.

142. The computer-readable medium of claim 140, wherein the instructions, when executed by the processor, further cause the processor to calculate a patient fluid volume or a rate of fluid volume loss from said stored data.

143. The computer-readable medium of claim 139, wherein the stored data is stored over multiple treatments for said patient to generate a historical record for said patient, wherein the stored data over said multiple treatments indicates a trend over a course of treatment, said trend being stored over the multiple treatments for said patient to generate a historical record of trends for said patient, wherein the trends are stored as an average or a curve fit to viscosity-dependent parameter over time to provide a baseline trend, wherein the baseline trend is compared by said controller to a current trend, and a result of the comparison is output as a signal.

144. The computer-readable medium of claim 137, wherein the instructions, when executed by the processor, further cause the processor to determine patient volume status by reducing or halting an ultrafiltration rate and monitoring a resulting change in the blood viscosity-dependent parameter, wherein the resulting change in the blood viscosity-dependent parameter indicates a change in fluid volume of blood in the patient.

145. The computer-readable medium of claim 144, wherein the instructions, when executed by the processor, further cause the processor to, when the resulting change is a decrease in the viscosity-dependent parameter, determine that more patient fluid volume can be removed and to generate a corresponding signal.

146. The computer-readable medium of claim 124, wherein the instructions, when executed by the processor, further cause the processor to, when there is no resulting change in viscosity-dependent parameter, determine that the patient volume status is neutral and no further ultrafiltration is required.

147. A computer-readable medium storing instructions that, when executed by a processor, cause the processor to:

control one or more pumps of a machine by a controller of a blood treatment system to convey blood to and from a patient via a blood circuit in engagement with the one or more pumps and having an inlet line and an outlet line for conveying blood to and from the patient, respectively;

determine a first blood viscosity-dependent parameter in the inlet line and a second blood viscosity-dependent parameter in the outlet line;

estimate an ultrafiltration rate of the blood treatment system by comparing the first blood viscosity-dependent parameter with the second blood viscosity-dependent parameter; and

perform a function responsive to said estimate ultrafiltration rate, the function comprising at least one of: generating a notification, adjusting a flow rate of blood in the blood circuit, or outputting data responsive to said estimate.

148. The computer-readable medium of claim 147, wherein the instructions, when executed by the processor, further cause the processor to sample the first blood viscosity-dependent parameter and the second blood viscosity-dependent parameter at multiple times over a period of time comprising a single treatment or multiple treatments and store data responsive thereto, wherein the estimate ultrafiltration rate is determined based on a trend over time of the stored data.

149. The computer-readable medium of claim 147, wherein the instructions, when executed by the processor, further cause the processor to control a balance of fluid in the patient by regulating a ratio of a total volume of fluid removed from the patient to a total volume of fluid supplied to the patient.

150. The computer-readable medium of claim 149, wherein said ratio is estimated from said stored data.

151. The computer-readable medium of claim 149, wherein said ratio is estimated independently of said stored data by using a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume.

152. A blood treatment method executed by the system of any of the foregoing system claims.

Description:
Parameter Monitoring in Medical Treatment Systems

Background

[0001] The present invention relates generally to medical treatments, and more specifically to the control of medical treatments based on the detection of the properties of fluids involved in treatment.

[0002] Due to disease or injury, a patient's renal system may lose sufficient function to sustain life. The failure can cause a water imbalance and the

accumulation of toxic elements that are no longer properly eliminated. For example, end products of nitrogen metabolism (e.g., urea, creatinine, uric acid, and others) can accumulate in blood and tissues.

[0003] There are various forms of renal replacement therapy that can be used to treat renal failure. For example, dialysis removes waste, toxins, and excess water from the body that would otherwise have been removed normally. Dialysis treatment can be life-saving. Hemodialysis, hemofiltration, and peritoneal dialysis are three types of dialysis therapies generally used to replace renal function.

[0004] Hemodialysis removes waste, toxins, and water directly from the patient's blood by flowing blood and dialysate through an extracorporeal circuit, and exchanging fluids, solutes, and molecular species across a membrane by diffusion and convection. A patient is connected to a treatment machine and the patient's blood is pumped through a blood circuit. A patient access using needles or catheters may provide access to veins and arteries for the supply and return of blood to and from the treatment machine. The membrane is housed in a dialyzer, a type of filter. As blood passes through the dialyzer, the waste, toxins, and excess water from the patient's blood are removed and the cleansed blood is returned to the patient. During a treatment, as much as 90-120 liters of dialysate may be

consumed. Treatments may last several hours and may be performed daily or two to three times per week.

[0005] Hemofiltration is similar to hemodialysis but differs in relying more on convection of fluid from the blood and replacement of the fluid with a replacement fluid. Hemofiltration is better at removing larger molecules. To an extent, convection and diffusion play a role in the function of the treatment in both hemodialysis and hemofiltration, and there are treatments that lie in the middle called hemodiafiltration. [0006] Peritoneal dialysis infuses dialysate into the peritoneum, effectively using the peritoneal membrane as the filter to exchange water and dissolved species with the dialysate. The transfer of waste, toxins, and excess water from the bloodstream into the dialysate occurs due to diffusion and osmosis during a dwell period. The spent dialysate is later drained to remove the excess water and other materials.

[0007] There are a variety of peritoneal dialysis modalities. Automated peritoneal dialysis includes a drain, fill, and dwell cycle. However, a dialysis machine performs multiple cycles of fill and drain on a schedule that includes a dwell interval. This may be done overnight while the patient sleeps. With automated peritoneal dialysis, the treatment machine connects to an implanted catheter and to a source of fluid and a drain. The machine pumps spent dialysate from the peritoneal cavity, through the catheter, to the drain, and then pumps fresh dialysate through the catheter to the peritoneum. A computer controller may be used to control the machine.

[0008] In all renal replacement therapy systems, there is a dire need to maintain sterility to prevent infection. Also, there is a perennial need for improved safety because of the risks associated with repeated treatments and the fact that the patient's blood and peritoneum are so vulnerable to exposure. Still further, there may be further opportunities to extract relevant information about a patient's health and the efficacy of treatments. Still further, there may exist opportunities to use information that is available or which can be extracted readily during treatment in real-time and continuously or discontinuously to aid in the management of equipment, patient health, and treatment efficacy.

Summary

[0009] The disclosed subject matter includes devices, methods, and systems for detecting a patient or treatment system status or event, such as a diagnosis of an infection or a patient's fluid status, based on parameters detected using the treatment system. The disclosed embodiments relate to fluid treatment systems or other bodily fluid treatment systems in which a fluid is removed from a patient.

Examples include extracorporeal blood treatment systems and peritoneal dialysis systems. According to embodiments, a property of a fluid from a patient is detected and stored as data over a period of time, for example, over a treatment cycle or over multiple treatment cycles. Data from multiple treatments may be stored and used to extract a prediction of temporal profiles expected for future treatments. This predicted profile can be compared to a current profile and used to determine if it indicates a remarkable treatment status or patient status, for example, an infection. Parameters may include temperature and viscosity of the fluid or any other parameter indicative of a physical or chemical property of the fluid. In embodiments, the parameter may be proportional to viscosity. These may be absolute parameters or relative parameters - an outgoing fluid parameter taken relative to an ingoing fluid parameter. Trends in these parameters may be combined with other parameters measured otherwise to allow them to be correlated for specific patients. For example, fluid volume status may be correlated with viscosity and hematocrit to create a custom model that can predict one of these given one or more of the others. In addition, dynamic trends in these parameters and others may be combined over a treatment or over one or more days/treatments, the parameters including, for example, pH, hematocrit or hemoglobin level, heart rate, blood pressure, blood oxygenation, as well as other parameters either directly measured or stored in a data log. Conditions may be automatically changed and time trends recorded to yield additional diagnostic data. For example, a temporary reduction or halting of ultrafiltration during a treatment with time-based sampling of blood viscosity can indicate the rate of movement of fluid from the interstitial compartment to the blood compartment, and/or indicate whether further ultrafiltration is needed.

[0010] It will be observed that the methods, devices, and systems disclosed may be employed in various combinations to, among other things:

a. improve the diagnosis of a patient undergoing a treatment, and in

particular, a renal replacement therapy or extracorporeal blood treatment; b. using single or multiple real-time sensor signals alone or in combination with logged data, detect correct or incorrect operation of medical treatment equipment or operator error that could lead to incorrect operation of medical treatment equipment;

c. improve renal replacement therapy or extracorporeal blood treatment outcomes; and

d. detect patient water content and/or ultrafiltration rate during a blood

treatment continuously or discontinuously and in real-time. [0011] Objects and advantages of embodiments of the disclosed subject matter will become apparent from the following description when considered in conjunction with the accompanying drawings.

Brief Description of the Drawings

[0012] Embodiments will hereinafter be described in detail below with reference to the accompanying drawings, wherein like reference numerals represent like elements. The accompanying drawings have not necessarily been drawn to scale. Where applicable, some features may not be illustrated to assist in the description of underlying features.

[0013] Fig. 1 is a schematic illustration of a peritoneal dialysis or hemodialysis system, according to embodiments of the disclosed subject matter.

[0014] Fig. 2 is a graph showing the relationship between viscosity and hematocrit level.

[0015] Fig. 3 shows a schematic illustration of a feature of a hemodialysis system, according to embodiments of the disclosed subject matter.

[0016] Fig. 4 shows a schematic illustration of a feature of a further hemodialysis system, according to embodiments of the disclosed subject matter.

[0017] Figs. 5 and 6 show embodiments of systems that automatically divert a sample of fluid responsively to an estimation signal indicating the presence of, or a probability of, a condition of interest such as a patient infection.

[0018] Fig. 7 A is a figurative illustration of the time- variation of a parameter related to (preferably proportional) to viscosity which may occur over a course of a drain cycle of a peritoneal dialysis treatment for purposes of discussing statistics that may be used to identify a potential infection, according to embodiments of the disclosed subject matter.

[0019] Fig. 7B is a figurative frequency domain signal derived from the time variation of a parameter related to (preferably proportional) to viscosity which may be based on a window function spanning seconds to minutes occur over a course of a drain cycle of a peritoneal dialysis treatment for purposes of discussing features that may be used to identify a potential infection, according to embodiments of the disclosed subject matter.

[0020] Fig. 8 shows a metric of a parameter related to viscosity over multiple treatments or multiple cycles with each bar 402, 404, 406 showing a given treatment or a different drain cycle of peritoneal dialysis all develop over time in order to illustrate that remarkable changes in the parameter in a given cycle or a given treatment may be used to identify a possible condition such as an infection of the peritoneum.

[0021] Fig. 9 is a block diagram of an example computer system according to embodiments of the disclosed subject matter.

[0022] Fig. 10 shows a "double pod" article of manufacture that may be used in place of a single pressure sensor in a fluid circuit such as a blood circuit for pressure detection and viscosity-dependent pressure loss measurement.

Detailed Description

[0023] A generalized system 100 is shown in Fig. 1. A treatment system 104, which may include a blood treatment device that transfers a fluid, such as blood, from and to a patient 122. The system may also represent a peritoneal dialysis machine that transfers peritoneal dialysate to the patient 122 and withdraws peritoneal dialysate from the patient 122. Fluid is conveyed via a fluid circuit 101 that includes lines 112 that engage, or expose contents to, one or more sensors 109, 11 1 , 108, 1 10. Sensor signals of sensors 109, 1 11 , 108, 110 are conveyed to a controller 1 16 which may control pumps such as pump 102, and other pumps not shown, as required. Sensor signals of sensors 109, 11 1 , 108, 1 10 may also be used by controller 1 16 to display and/or record patient status/data, transmit patient status/data to a healthcare provider or any other person, device, or entity (e.g., via paging, email, text messaging, treatment log, network server), control delivery of a medicine to the patient (e.g., by controlling an IV or a substance added to the fluid in lines 1 12).

[0024] Fluid may be conveyed through flow restrictions 107, 115 to facilitate measurement of a parameter of the fluid, for example, a viscosity of a respective one of blood or peritoneal dialysate in various embodiments. However, any other known means of measuring viscosity may be used in alternative embodiments, such as any known viscometer or rheometer or by using an optical technique. Captured measurements may be stored by the controller 116 on a non-volatile data store 118 that resides locally or in the cloud.

[0025] With regard to any of the embodiments disclosed herein, including the claims, pressure loss through the flow restriction may be used to detect a fluid's viscosity. The calculation may involve the use of an empirical conversion constant for the flow restriction 107, 115 obtained from experiments with the particular fluid and low regime (i.e., turbulent vs laminar) of interest. Some fluids, such as blood, have a viscosity that varies with the shear rate so comparable viscosities may be measured at predefined flow rates or within predefined ranges of flow rates. The pressure loss for a predefined configuration, flow rate, and fluid properties (e.g. density, for turbulent flow) other than viscosity may be identical, or made to be identical by the controller (e.g., flow rate) from one measurement to the next. The controller may control a pump or pumps to establish a predefined flow rate stored in a memory by the controller for purposes of performing a viscosity measurement. The flow rate may be temporarily established for the purpose of measurement and controlled to other flow rates at other times. Preferably viscosity is measured at Reynolds numbers in the laminar regime (<2100 or <2300) which makes the pressure loss invariant with respect to density. Since blood density is proportional to total protein, the water loading of the blood compartment of the patient will be density sensitive. Thus the laminar flow regime simplifies the measurement of viscosity. As pointed out elsewhere, since for a predefined flow system (restriction 107, 115 including the pressure sensors, the restriction for example being a straight length of tubing or a curved tube having a predefined diameter, an orifice, a smooth contraction, or other type of restriction) and a predefined flow rate, the pressure difference indicated by the pressure sensors is simply proportional to viscosity for laminar flow, thresholds for response can be established in terms of pressure drop. In other words it is not necessary to convert pressure drop to viscosity because the latter differs from pressure drop only by a constant of proportionality. To extend the embodiments to turbulent flow (Re>2000) the pressure loss depends on density. The above features are well-known from empirical equations for calculating pressure drop in fluid flow fixtures, for example, Darcy Weisbach equation and Hagen- Poiseuille equation.

[0026] The controller 116 may or may not have control functions such as operating the pump 102 or pumps and may be embodied in a stand-alone processor. Alternatively, controller 116 may control the treatment system 104 and/or the pump 102, in order to take an action responsively to a detected status or to enhance the acquisition of data relating to the patient or treatment being administered. [0027] In embodiments, the one or more sensors 109, 111 , 108, 110 may include one or more pressure sensors or pressure pods, blood oxygen level sensors, pulse sensors (which may be combined as pulse-oximeter), temperature sensors, pH sensors, or other sensor types that measure a physical, chemical, or other parameter of a fluid. System 104 may alternatively or additionally include a weight scale 113 that provides a signal indicative of the weight of the patient 122, and the controller 1 16 may use such signal, instead of or in combination with signals produced by the one or more sensors 109, 1 11 , 108, 110, to implement any functionality described herein with reference to a treatment of the patient 122. As indicated elsewhere, the flow restriction 107, 1 15 may include tubing or all or part of the pressure sensors 109, 11 1 , 108, 1 10.

[0028] In some alternative or additional embodiments, system 100 may transfer a fluid other than blood or peritoneal dialysate from and to the patient 122, such as urine, lymph, cerebrospinal fluid, amniotic fluid, synovial fluid, etc. In these embodiments, sensors 109, 1 11 , 108, 110 may measure any physical, chemical, or other property of the fluid, and thus may be used by controller 116, alone or in combination with other sensor data from any other sensors, to display and/or record patient status/data, transmit patient status/data to a healthcare provider or any other entity (e.g., via paging, email, text messaging, etc.), control delivery of a medicine to the patient (e.g., by controlling an IV or a substance added to the fluid in lines 112), etc. Again, the fluid may be conveyed through flow restrictions 107, 1 15 to facilitate measurement of viscosity. However, any other known means of measuring viscosity may be used in alternative embodiments.

[0029] As indicated, certain embodiments relate to peritoneal dialysis treatments. As discussed in United States Patent Application US20140018727 (incorporated by reference in its entirety herein), a peritoneal fill/drain line may include a distal fluid pressure sensor located near the patient connection and a fluid pressure sensor near the inlet to a peritoneal dialysis (PD) cycler. The fluid path between the two sensors creates a restriction such that when fluid is pumped to or from the patient, a pressure differential is produced that indicates the fluid viscosity. The viscosity can indicate various processes that may require intervention, including disease, fluid level, or other factors that may affect treatment or patient health.

[0030] Embodiments provide improvements on this art. In embodiments, by measuring pressure drop across elements of a fluid circuit that are already in place for treatment, the cost of consumables is minimized. For example pressure sensors may be present for other purpose such as detection of arterial or venous pressure, out-of-bounds operating conditions, for pump inlet pressure compensation for accurate flow conversion from pump speed to flow rate base on pump curves, or other purposes, if separated by a flow path that can function as a flow restriction (all flow paths can but preferably such a flow path provides laminar flow) and the only additional components needed are those that are required for detecting pressure. Such pressure sensors may thus already define a structure such as discussed above with respect to pressure sensor 109 and pressure sensor 1 11 linked by a flow restriction 107 (similarly for pressure sensor 108 and 1 10 linked by flow restriction 115). In other embodiments, the existence of a pressure sensor and a flow path that provides resistance may be supplemented by a single additional pressure sensor to provide the components needed for measurement of viscosity. In either case, a controllable pump may also be in place in the treatment system for performing treatment.

[0031] Thus, in embodiments, the pressure sensor or sensors may be pressure sensors that perform functions other than viscosity measurement. The line through which pressure drop is measured may include a blood line. The viscosity may be used alone or in combination with other data to generate parameters for detecting a condition of the treatment or the patient. In embodiments, using pressure pods allows a separation of the transducer, which can be permanent and connected to the treatment machine, and allows the placement of the pod anywhere on the circuit.

[0032] Examples of other purposes for which the pressure sensors of the embodiments may be used include (1) testing line or connection integrity by pressure-decay testing, (2) peristaltic pump flow control based on inlet pressure compensation, (3) pressure monitoring for out-of-bound conditions, (4) blood or peritoneal cavity pressure measurement. In such cases, the pressure sensors may also provide for viscosity detection and for other functions as described herein.

Using A Flow Restriction

[0033] The pressure sensor arrangement of Figs. 2A, 3A, 3B, 4A, 4B, 6A through 6K of US20140018727 and other embodiments provide proximal and distal pressure sensors which are used to measure pressure drop along the PD fill/drain line. Such arrangement of the PD fill/drain line, including the amount and degree of curvature of the flow path, whether it is pinched in places or not, can vary from treatment to treatment.

[0034] In some embodiments, to avoid problems with using the fill/drain line (or separate fill and drain lines, if present), a flow restriction that is resistant to variation from one treatment session or tubing set to another may be provided. Pressure detection through this repeatable flow restriction is used to obtain pressure drop data that may be used to detect viscosity or variations thereof (e.g., hemoglobin or hematocrit) as described herein. A rigid tube length with low manufacturing tolerance (lower than other portions of the fluid circuit) may be provided. In embodiments, a single housing with two pressure pods joined by a rigid injection- molded port or tube length may be provided, the latter defining a flow restriction (e.g., 107, 1 15). Such a "double pod" may be used in any fluid circuit having a portion where a pressure measurement is required (e.g., pump inlet pressure compensation, venous pressure, or arterial pressure). Fig. 10 shows a "double pod" 502 article of manufacture that may be used in place of a single pressure sensor in a fluid circuit such as a blood circuit for pressure detection and viscosity-dependent pressure loss measurement. A first pressure pod 506 is joined to a second pressure pod 504 by a flow path element 510 which defines a restriction as discussed elsewhere in the present disclosure. These elements may be formed of a single housing. Air sensor lines 508 and 510 connected to pressure transducers. Fluid, such as blood, flows through ports connected to inlet and outlet lines 512 and 514.

[0035] In embodiments, examples of flow restrictors which may be added to those of Figs. 2A, 3A, 3B, 4A, 4B, 6A through 6K of US20140018727, hereby incorporated by reference as if fully set forth herein, or as alternatives thereto, include an orifice and a rigid channel. Pressure sensors may be arranged on either end of the flow restriction. One or both of the pressure sensors that measure the pressure drop may include any pressure sensor known in the art such as any of those shown in the Figs. 2A, 3A, 3B, 4A, 4B, 6A through 6K of US20140018727. In embodiments, the flow area of the fill/drain line between the flow restriction and the pressure sensor may be large enough such that the flow restriction presents a much greater restriction to flow than the rest of the fill/drain line. With such a configuration, variability in the arrangement of the PD fill/drain line, inner diameter, the amount and degree of curvature of the flow path, whether it is pinched in places or not, for example, may introduce a minor and tolerable variation in the viscosity calculated from the pressure drop. In embodiments, the flow restriction may be sized to create a pressure drop that is a predefined number of times greater that the greatest typical variation created by variations in the above parameters.

Indicating A Trend in Viscosity

[0036] In embodiments, as an additional feature that may be provided to improve a function to detect conditions indicated by viscosity changes and magnitudes, the system may capture and analyze historical trends of viscosity (and optionally combine historical trends with other data as discussed later). In embodiments, the pressure drop data is recorded during a treatment, including, optionally at least, at multiple times during a single treatment to create a record over time of the pressure drop data. These pressure data may be used with predefined configuration data stored as a model or with empirically-derived data to generate a trend or instance of viscosity over time during a treatment. As indicated, the pressure drop can be used without conversion, in embodiments. The trend or instant (or statistic derived from a trend) may be stored in a patient profile and referred to during each treatment for comparison by a microprocessor. In embodiments, when a viscosity associated with a current treatment is different according to a predefined characteristic from a predefined prediction of viscosity based on historical pattern, an indication of the departure may be generated and output to a user interface, a physician, a technician, a treatment log, a nurse, a nurse station, or any other receiving person or device. Further, such data may generate a response in the PD system such as a warning or shutdown.

[0037] Still another alternative or additional embodiment monitors the pressure drop caused by flowing blood in an extracorporeal blood treatment system such as a hemodialysis system. Using a similar system attached to measure pressure loss in a blood line or flow restrictor, the change in the blood viscosity can be monitored, predictions based on historical trends generated, and so on as discussed above. Since blood is non-Newtonian (shear-thinning), a viscosity description may be generated and stored for comparison to measured conditions during a treatment. For example, an empirical prediction model such as: a normalized stress/strain profile or, assuming a controlled flow geometry, pressure loss/mass flow profile, may be generated from historical pressure data for comparison to instant conditions during a treatment. The prediction of pressure drops (or shear) may be further refined based on hematocrit measured using a sensor or stored data. In alternatives, viscosity, or pressure-drop alone, may be detected and compared to thresholds for predefined flow geometry (between the pressure sensors) and conditions such as flow rate and blood temperature. In other embodiments, the viscosity may be measured at multiple flow rates and compared as independent parameters or the viscosity at the multiple flow rates may be averaged. Instead of viscosity, the pressure drop divided by flow rate may be used for laminar flow.

[0038] In embodiments, blood viscosity data are collected in combination with blood flow rate data to indicate the instant blood flow rate at each viscosity measurement. Alternatively, viscosity (or pressure drop) is measured at a predefined flow rate. In embodiments, blood viscosity measurements are performed at controlled blood flow rate levels. For example, embodiments first

reduces/increases the blood flow rate in lines 112 to reach a pre-defined level and then measures blood viscosity at the pre-defined blood flow rate level. Embodiments repeats blood viscosity measurements to obtain a reliable measurement, for example, by discarding outlier measurements, by averaging all or a subset of the measurements.

[0039] During PD therapy, there is a drain phase in which used dialysate

(effluent) from the patient is pumped to drain. This phase typically includes a period during which fluid is removed from the patient at a fixed rate (typically between 200 and 400ml_/min). For a fixed pumping rate, the pressure drop between the distal pressure sensor and the pump inlet sensor is proportional to the viscosity. The cycler can measure the pressure at these two sensors (at a suitably high sampling rate) and calculate an average pressure drop, which can be converted to a value that is proportional to the effluent's viscosity.

[0040] By recording the average pressure drop during certain portions of each drain cycle, a profile can be generated for a given patient that reflects his or her typical effluent viscosity for each drain cycle. Over a period of time, this data can be used to statistically characterize that patient's "viscosity as a function of drain cycle" profile.

[0041] The values computed for a given day's treatment can be communicated to a relevant health care professional (HCP) as part of a daily treatment record, along with a comparison to the patient's average "viscosity vs. drain cycle" profile or prediction. [0042] If, on a given day or at a given time, there is a significant deviation (indicated by a change beyond a predefined range stored in the controller) in the patient's viscosity, that fact can be highlighted by the controller in the output to the patient's daily treatment record, signaling to the HCP that there has been a significant change indicated by a detected difference from a predefined threshold. Significant changes in effluent viscosity can be triggered by the onset of infection, hence this can provide HCP's with an early indication of infection, allowing for rapid intervention / mitigation. In embodiments, a significant change is a change that is beyond a predefined magnitude. In embodiments, the predefined magnitude is determined based upon a statistics derived from viscosity or other measurements in a group of patients or from historical viscosity or other measurements of a single patient.

[0043] During hemodialysis (HD) therapy, a similar approach can be used during the course of a treatment to monitor changes in the viscosity of a patient's blood during the course of treatment. Generally, blood viscosity varies with hematocrit levels. When pumping blood, any pair of inline pressure sensors may detect pressure differentials across a flow restriction such as an orifice or length of tubing, while pumping; these pressure differentials will be proportional to the blood's viscosity, and hence, to the hematocrit concentration. Normal values for Hematocrit are known in the art, for example, as follows:

[0044] Renal patients may have abnormal, usually low, hematocrit. This is often treated with medication. Even normal patients vary, but in general there is a trend as follows:

. Male: 40.7 to 50.3%

. Female: 36.1 to 44.3

Normal results for children vary, but in general are as follows.

• Newborn: 45 to 61 %

. Infant: 32 to 42%

[0045] Fig. 2 shows an example graph of a relationship between viscosity and hematocrit compared to the Einstein theoretical model for a dilute suspension. It shows that the viscosity is more sensitive to the concentration of blood cells than would be predicted by the model. Patient treatment logs or other output such as on a user interface may include the output of hematocrit or hemoglobin based on a conversion from the viscosity or pressure drop data. The hematocrit or hemoglobin may be compared to predefined ranges stored by the controller to indicate abnormal conditions which may be highlighted in the output data or cause the controller to generate a corresponding indication.

Indicating Whether Dry Weight Has Been Reached

[0046] In embodiments, by monitoring changes in blood viscosity (and hence, hematocrit concentration) during the course of an HD treatment, a treatment system or connected digital monitoring system determines when a patient has reached their dry weight, and adjust the therapy such that the rate at which ultrafiltration occurs is appropriately related to the rate at which the patient's body is able to replace blood fluid volume. Dry weight indicates a normal level of water in the patient. It may be characterized by reference to the patient's weight when the normal fluid levels are achieved or by the normal concentration of blood constituents. Ideally, a patient should leave a dialysis treatment at his or her dry weight. An increase in viscosity above this "plateau" can provide an early indication that the patient might be about to experience a hypotensive episode or "crash" due to low blood fluid volume.

[0047] When using viscosity measurement of the blood during an extracorporeal treatment that also includes fluid removal from the patient (i.e., ultrafiltration or UF), besides continuously monitoring the rate of change in hematocrit for values that exceed predefined limits as described above, the UF can be reduced or completely halted for a brief period of time to allow the cellular/interstitial fluid volume to equilibrate with the blood. If the patient's measured pressure drop, hematocrit, and/or viscosity does not change (or shows a change smaller than a predefined range) during the reduced/halted UF period, the patient may be determined by the controller to be at the patient's dry weight. More specifically, the controller 116 may store multiple samples of pressure drop information (or the pressure data reduced to viscosity or hematocrit according to a stored formula or lookup table) to determine a trend in viscosity and/or hematocrit during the reduced/halted UF period. If the patient's measured indicator falls during the reduced/halted UF period, the patient may be determined to have not reached their dry weight, and therefore more fluid can be removed. The amount of this "rebound" of viscosity/hematocrit can be used by an automated controller to cause a change in the UF rate including halting UF altogether. If the viscosity/hematocrit does not change during the reduced/halted UF period, the controller 116 may generate an indicator that the patient may have reached their dry weight and it may cease further ultrafiltration as well as indicate the detected condition via the user interface 130. This effect, called rebound, is detected indirectly using pressure drop, viscosity, and/or hematocrit. The magnitude of this rebound in hematocrit indicated by viscosity can also be used by the controller 1 16 to alter the rate of UF as well. For example, the UF rate may be controlled by the controller 116 such that the rate is constant and such that the patient reaches their dry weight at the end of a scheduled termination of treatment or at a predefined time before a scheduled end of treatment.

[0048] Referring to Fig. 3, a blood circuit 141 has a venous line 140 and an arterial line 142 connectable to a patient 122. A pump 132 pumps blood through the arterial line 142, through a treatment device 130, through the venous line 140 back to the patient 122. The arterial line 142 has a viscosity detector 138 that includes an upstream pressure sensor 144 and a downstream pressure sensor 148 with a flow restriction 146 between them. Similarly, the venous line 140 has a viscosity detector 136 that includes an upstream pressure sensor 144 and a downstream pressure sensor 148 with a flow restriction 146 between them. The flow restrictors 146 may be a tube with a predefined shape and inner diameter, a precisely sized port with a shaped inlet and outlet or any other suitable device for generating a viscosity- indicating pressure change when fluid flows through it.

[0049] The configuration of Fig. 3 provides an arrangement in which the viscosity of blood may be determined at the entry of the treatment device 130 and at the exit of the treatment device 130 so that the viscosity and/or derived hematocrit properties in and out of the treatment device may be compared by the controller 116. The viscosity may be used by the controller as an indicator of a change in hematocrit by converting the viscosity to a hematocrit using a function such as represented by Fig. 2. The hematocrit level can be converted to an estimate of the water content of the blood. The water content levels entering and leaving the treatment device 130 can provide an independent estimate of an instantaneous ultrafiltration rate. The latter may be numerically cumulated over time to estimate the total fluid gained or lost during a treatment. Estimating Ultrafiltration Rate

[0050] Many extracorporeal blood treatments, such as renal replacement therapy, remove water as part of their treatment function. In embodiments, by calculating the instantaneous ultrafiltration rate, the controller 116 may be enabled to control the rate, for example to limit it to a predefined rate and no higher or to limit the cumulated fluid gained or lost according to a prescription. As for the rate of fluid removal or ultrafiltration rate, it may be advantageous to limit this parameter for a number of reasons, including to limit the risk of forming clots in the fluid circuit including the treatment device and/or to limit the imbalance between the patient water level in the blood and interstitial compartments. To draw water at a desired rate and also provide a precise control of the total volume withdrawn during a treatment, extracorporeal blood treatment machines are required to maintain precise control of the difference between the volume of arterial blood drawn from a patient and the volume of venous blood returned to the patient. Balancing mechanisms are known in the art for this purpose, but none are perfect. Balancing mechanisms may generate an independent estimate of ultrafiltration rate based on a pump speed, fluid weight, flow rate, or other mechanism, depending on the type of balancing mechanism and according to known principles.

[0051] However, in embodiments, such estimations may be combined with ultrafiltration rate estimated as described herein (e.g., based on direct hematocrit measurement or based indirect hematocrit measurement as a function of viscosity - or other) to detect a treatment error or to verify or improve estimates, for example by averaging the two estimations and controlling ultrafiltration responsively to the average. The ability to monitor hematocrit continuously provides an additional way of control and insurance against flawed functioning of the fluid balance system of the extracorporeal treatment system.

[0052] In embodiments, the controller 116 may compare the hematocrits of blood entering and leaving the blood treatment device 130 and compare to an estimate of the fluid balancing component used to determine the ultrafiltration rate. If the estimates of these two subsystems vary by a predetermined amount, the controller 116 may output an indicator of the variance. This indicator may be used by the controller to shut down an ongoing treatment automatically and/or create a signal to an operator. [0053] Fig. 4 illustrates an embodiment which is the same as Fig. 3 except that the system 136 includes two blood pumps, a venous blood pump 133 and an arterial blood pump 132. The volume per unit time pumped by each pump determines the net rate of fluid removal from the patient 122. It will be evident to the skilled person that a variety of mechanisms are available in the art for controlling, under control of the controller 116, the net rate of fluid removal and that the example shown is only one of these. The system of Fig. 4 may be used to allow the controller to select a current rate of UF at any point during a treatment and to vary it according to a selected control scheme. This function may be used to provide a reduction or pause in UF during treatment to allow the measurement and recording of a trend in viscosity over time or a trend in hematocrit by deriving and recording the same from multiple viscosity measurements over time. The rebound of hematocrit after a period of UF is known to be an indicator of whether it is safe to remove additional fluid from a patient.

[0054] The present system allows this determination to be made automatically during a treatment and at multiple times by building into the operational profile a series of positive UF intervals with UF reductions/pauses between them. The controller 1 16 may generate an indicator of a rebound magnitude and rate, for example a graph, and use that to make an automatic determination of whether to halt or reduce the rate of UF or to increase it. The indicator may also be displayed on a user interface.

[0055] Note that although embodiments described detect viscosity by using a flow restrictor and pressure sensors, through which all of the blood being treated flows, there are other mechanisms for continuously sampling viscosity. For example, microfluidic samples can be removed from a flow stream at intervals and applied to a viscometer that detects viscosity and generates a signal thereby. Destructive testing can be used where they rely on very small sample sizes. A sampling event may be triggered by a command to test the blood viscosity or the event may be triggered automatically by the controller 1 16. There are a variety of technologies suitable for measuring blood viscosity, and pressure drop across a restriction (such as a capillary) is only one.

[0056] As mentioned above, the pressure sensors used to detect viscosity (and changes thereto) can be arranged in various ways. In embodiments, for example, two sensors may be placed in series in the arterial bloodline, post blood pump, pre- dialyzer, in examples, separated by a molded tube which may act as a flow restrictor with appropriate properties for the purpose. Another embodiment may use a patient arterial blood line as a flow restrictor in a manner that is similar to the use of the fill/drain line described for PD.

Using Data Profiles And Classifiers

[0057] For PD treatments, the use of data to create an average "viscosity versus drain cycle" profile for a given patient, and comparing a given day's data to that average to flag significant deviations, may provide an early indicator of infection (peritonitis) or other complications related to PD therapy such as bleeding.

[0058] In HD treatments, data may be developed during treatment to establish a baseline viscosity/hematocrit level. Later, this baseline data may be compared to subsequent treatments to detect changes. Viscosity/hematocrit may be monitored throughout a treatment, and a trend therein over the course of a current treatment may be compared to trends, or an average trend (baseline average trend or baseline trends), during previous treatments of the same patient, multiple patients, or a corresponding class of patients.

[0059] A baseline temporal profile of viscosity/hematocrit can take the form of a viscosity/hematocrit level and/or an error range, both of which may be developed using statistics cumulated over multiple treatments over a period of time. In addition to, or as an alternative to, a temporal curve of mean or error band, other statistics may be generated. For example, a worst-case rate of change of viscosity may be developed using a patient's previous history, and data responsive to the worst-case change (over time and during a single treatment) in viscosity can be compared to a current temporal profile of viscosity versus time. Other features of a curve can also be extracted and generalized, including the parameters of fits to functions (e.g., orthogonal series, power series, least squares fit to other functions such a

Gaussians) may be used to represent both a current evolving time series of viscosity/hematocrit measurements and a baseline.

[0060] The baseline parameters may be derived from the treatment of a particular patient so that each establishes a custom individual baseline.

Alternatively, patients can be classified and a baseline can be shared among the patients in a respective class. The temporal profile of viscosity/hematocrit over time may define a multi-dimensional feature space that can be applied to a classifier to diagnose various conditions including a pinched line, hypovolemia, low HCT, high HCT, a disease, a correct or incorrect dialysate composition, and other conditions. Generally, a classification is a problem in machine learning and statistics that aims to classify an observation as a member of a number of known classes. A classifier may be trained given a set of known classes and a set of observations with known class memberships. In embodiments, the feature space may be augmented with other inputs such as patient weight, measured HCT, cardiac rate, blood oxygen level, respiration rate, galvanic skin resistance, core temperature, skin temperature, peripheral temperature, measured patient activity level, and/or other parameters. Measured patient activity level may be detected by accelerometers or force sensors in the patient's bed or chair, a video stream classifier receiving input from a live view of the patient's body, detected Internet activity attributed to a patient's Internet- connected terminal, detected telephone usage, a classifier receiving input from a live audio stream from a microphone in the vicinity of the patient, and/or other parameters.

[0061] In the above embodiments, a viscosity of a fluid from a patient is monitored directly or indirectly over a period of time during a treatment. All of the above embodiments may be modified to monitor and use temperature of the fluid in the same way. According to such embodiments, temporal temperature profiles may be stored as curves for each patient and compared to a current trend of temperature during a treatment. Other conditions of the treatment such as the temperature of the fluid going to the patient may also be combined with the temperature of fluid being withdrawn from the patient and/or with the fluid mass flow rate to generate a heat loss or gain output to the fluid. These temperature-based parameters may be used in the same way as discussed with respect to viscosity to classify a condition of the treatment or a condition of the patient. For example, a patient with a fever may output more heat than a patient that is afebrile.

[0062] In the above embodiments, a viscosity or temperature of a fluid from a patient is monitored over a period of time during a treatment. All of the above embodiments may be modified to monitor and use temperature of the fluid, in the same way, in combination with the viscosity. According to such embodiments, temporal temperature profiles and viscosity profiles may be stored as curves for each patient and compared to a current trend of temperature and/or viscosity during a treatment. Other conditions of the treatment such as the temperature and viscosity of the fluid going to the patient may also be combined with the temperature and viscosity of fluid being withdrawn from the patient and/or with the fluid mass flow rate to generate a change in the respective parameter including heat loss or gain output to the fluid. These combined parameters may be used in the same way as discussed with respect to viscosity to classify a condition of the treatment or a condition of the patient. For example, a patient with a fever may output more heat than a patient that is afebrile. By combining a classification signal indicating a fever with a classification signal indicating a change in viscosity, both generated relative to a baseline expectation, the classification estimate's reliability can be increased. For example, if both temperature and viscosity tend to indicate an infection, the classification by the controller of the existence of an infection is more reliable.

[0063] In any of the embodiments above, the viscosity and/or temperature flow to the patient, as well as returning from the patient, may be monitored to determine a change in the respective property which may be stored in addition to the respective property or instead of the respective property. The stored baseline data representing predicted parameters may be attended by, or replaced by, stored baseline data for prediction of the respective change from patient-ingoing to patient-outgoing fluid parameters.

[0064] The mapping of measured changes in viscosity, along with other parameters, to conditions, may be generated using various methods including artificial intelligence techniques. Examples include supervised and unsupervised learning techniques to generate classifiers including naive Bayesian classifiers, self- organizing maps, and neural networks.

Example Implementation

[0065] One example embodiment implements a fill/drain line for PD or a blood line for extracorporeal blood treatment. The example embodiment includes a 12 ft. PD fill/drain line created from tubing - Teknor Apex MD-50263 thermoplastic elastomer, 4.0 mm x 7.0 mm ID/OD. In the example embodiment, non-contacting pressure sensors are installed at the beginning and end of this line to measure pressure drop and calculate viscosity from the pressure drop and flow rate based on empirical or theoretical data. In respective embodiments, the pressure sensors may be located on either side of a flow restrictor, which may be a length of the fill/drain line or some flow restriction element in the fill/drain line. [0066] In any of the foregoing embodiments, a treatment system may be controlled to modify the rate of flow of fluid, or to halt the flow of fluid for an interval, in order to increase an effect such as heat transfer to the fluid or the recruitment of viscosity changing elements into the fluid from the patient's body. This may increase the property signal and make machine classification diagnosis more reliable. In embodiments, the controller may first make a classification based on unmodified flow rates or flow regimens (e.g., in the absence of any halting of the flow), and then in response to a weak diagnostic reliability estimate of the classification, modify the rate of flow of fluid or halt the flow of fluid for an interval, thereby enhancing the parameter change that is monitored.

[0067] In any of the foregoing embodiments, hematocrit can be measured directly using an optical sensor. Optical sensor technologies capable of measuring the volume concentration of red blood cells are known. For example, they may employ optical coherence tomography and may detect absolute magnitudes in a fluid line carrying blood or changes in the body by means of a low-penetration sensor applied to the skin. Such independent indications of hematocrit level may be combined with those described above calculated from viscosity or used as an alternative thereto. The hematocrit may thus be measured at the inlet and outlet of the treatment device and an ultrafiltration rate may be calculated from these. More traditional hematocrit measurement methods may be employed as well, for example, automatically extracting a small sample for centrifugation and measurement of a packed cell volume therefrom.

[0068] In any of the foregoing embodiments, the personal profile data of a patient may be stored as a fit to predictive model of a patient - treatment device system. In such embodiments, the predictive model may be adapted to account for the impact of the flow rate or ultrafiltration rate modification. The predictive model may permit the estimation of an ideal ultrafiltration and flow rate or any other treatment parameter. The predictive model may receive, as parameters, additional data relating to the patient, such as weight, body mass index, sensitivity to pyrogens, body fat, circulatory health, peritoneum health or indicia such as PD treatment history, etc. These additional data may be parameters of the model of the patient that are used to customize the model for the patient, thereby improving the accuracy of classification based on the model. Fluid Sampling

[0069] Any of the foregoing embodiments may include a mechanism for conditionally capturing fluid for further testing in response to an estimation, during a treatment, of a notable condition such as patient infection. Figs. 5 and 6 show embodiments of systems 300A and 300B, respectively, that automatically divert a sample of fluid responsively to an estimation signal indicating an existing or possible condition of interest such as a patient infection. A treatment machine 300 may be a renal replacement therapy machine such as a hemodialysis, a hemofilter, a peritoneal dialysis machine, or any other type of machine for administration of medical treatments. Respective fluid circuits 301 or 303 include one or more lines including inlet and outlet lines 304 and 302, respectively. The treatment machine may include sensors and pumps (not shown) effective for providing and regulating a flow of fluid such as blood or peritoneal dialysate through the one or more lines. A flow diverter 306 is controlled by the treatment machine 300 as indicated by a dashed line 312. In the system 300A, a sample container 308 receives a sample of fluid in response to an estimate of a condition by the treatment machine 300. For example, the treatment machine (e.g., an internal controller on the treatment machine) may detect an infection as discussed above in response to a viscosity or temperature or other signals. In response, the flow diverter may be activated to generate a sample of fluid which is stored in the container 308. The flow diverter 306 may be combined in embodiments with the container 308. For example, the combination may be embodied in a syringe with a passive seal that is opened when the syringe is activated to draw a sample. The fluid may be blood, spent dialysate, or any other fluid described herein. In the system of Fig. 300B, the sample container 318 that receives the sample of fluid through a sample connection 316 is part of a fluid pack 322 which may include fresh dialysate concentrate or dry solute used for the preparation of dialysate.

[0070] Fig. 7 A is a figurative illustration of the time- variation of a parameter 398 related to (preferably proportional) to viscosity of a spent peritoneal dialysate solution during a drain cycle of a cycler assisted treatment or other treatment. The parameter may be viscosity, proportional to viscosity or otherwise depend on viscosity, for example, pressure drop across a flow restriction. The flow restriction and pressure sensors may be structurally as identified with any of the disclosed embodiments, including blood circuit embodiments. The time-resolved signal may be samples from an A/D converter stored in a controller. The samples may represent a moving average or raw samples. The parameter may be derived from pressure signals. The pressure signals may be low-pass filtered (analog or digital). The parameter may be a sample or multiple samples at a predefined flow rate to minimize error when comparing samples taken at different times over a course of a drain cycle of a peritoneal dialysis treatment. The controller of the peritoneal dialysis cycler may convert the samples to a statistic and apply the statistic to an algorithm that indicates a potential of an infection. Examples of statistics may be the max value of the parameter, the average, a max value of a moving average defined by a selected averaging kernel, a measure of variability such as standard deviation or variance. Other statistics may be generated as well.

[0071] Because of a lack of mixing of the contents of the peritoneal cavity during the dwell phase, the viscosity of the spent dialysate residing at different regions of the peritoneal cavity such that as the spent dialysate is pumped out, corresponding variations in the time-resolved viscosity may appear. Even where there is little spatial variation in the viscosity of the spent fluid at the time of or just before draining, the maximum value and average statistics may reveal a magnitude of viscosity is indicative of infection. Thus, a controller may store threshold values for any of the statistics or others which may be compared to the statistic derived from the time- based parameter. A statistic whose value exceeds the threshold may cause the controller to generate a signal indicating a probability of an infection that is output by the controller. Multiple thresholds may be defined each corresponding to a probability as indicated by a table stored in the controller.

[0072] In response to the signal indicating a probability of an infection, the controller may output instructions for taking a sample of may automatically divert a sample to a container as taught in the present disclosure. Any of the other responses to a signal indicating a risk of infection discussed elsewhere herein may be taken by the controller, including outputting a message on a display of a user interface, storing an indication in a treatment log, reporting the result to a remote physician via a text message, email, telephone message or equivalent.

[0073] Fig. 7B is a figurative frequency domain signal derived from the time variation of a parameter related to (preferably proportional) to viscosity which may be based on a window function spanning seconds to minutes occur over a course of a drain cycle of a peritoneal dialysis treatment. The benefit of identifying a fluctuation in viscosity that may be revealed by such a filter (PSD stands for power spectral density in the figure), for example observing a peak 399 in a predefined frequency range, is that it can reveal inhomogeneous concentrations of thicker fluid or lumpiness in the spent peritoneal dialysate. While a similar capability may be attributed to a statistic based on the time-varying signal, such a filter may provide a more well-defined signature that is characteristic of certain infections. Of course, a pressure difference signal can be bans pass or high pass filtered to obtain a similar output.

[0074] Fig. 8 shows a metric of a parameter related to viscosity over multiple peritoneal dialysis treatments or multiple cycles of a single peritoneal dialysis treatment. Each bar 402, 404, 406 illustrates the value of the parameter, or a statistic thereof, for the given treatment of multiple treatments or for the different drain cycle of a single treatment. The controller may store these values with respect to time in order to identify any remarkable changes in the parameter in a given cycle relative to multiple cycles or for a given treatment of multiple treatments. The significant change (indicated by a change beyond a predefined threshold stored by the controller) may be used to identify a possible condition such as an infection of the peritoneum. Here then, the relative value of the parameter is the indicator rather than the absolute value alone. The relative change detection may be combined with the absolute value to provide an additional indicator. For example the threshold for a relative change may depend on the absolute magnitude of the parameter value.

[0075] In any of the foregoing and following embodiments, including the claims, where viscosity is identified as a parameter of interest, the viscosity may be replaced by a parameter that is related to it, for example proportional to viscosity with corresponding adjustments to any related thresholds. For example, rather than detecting viscosity, in any embodiment, a pressure difference may be detected and employed without further modification or reduction. It should be readily apparent that such embodiments may function in the same manner as described for embodiments where viscosity is directly detected or derived from a sensor signal such as a pressure difference signal. Also in any embodiment, including the claims, the parameter may be compared to predefined thresholds for a given flow rate or normalized against flow rate.

[0076] According to embodiments, the disclosed subject matter includes a fluid treatment system with a machine that has one or more pumps and a controller. The machine may include further actuators and sensors and may be adapted for administration of a medical treatment. A fluid circuit is in engagement with the one or more pumps and having inlet and outlet lines for conveying a fluid to and from a patient respectively. A viscosity sensor is present in at least the outlet line. The viscosity sensor generates a viscosity signal indicative of viscosity of fluid in the at least the outlet line. The controller is programmed to sample, at multiple times, the viscosity signal and store parameter data responsive thereto. The controller is further programmed to control the flow of fluid in the inlet and outlet lines

responsively to the stored parameter data.

[0077] The embodiments further include variations of the foregoing embodiments in which the viscosity sensor in at least the outlet line is a viscosity sensor in the inlet and outlet lines. The embodiments further include variations of the foregoing embodiments in which the inlet line and outlet lines are blood lines. The

embodiments further include variations of the foregoing embodiments in which the inlet line and outlet lines are peritoneal dialysate lines. The embodiments further include variations of the foregoing embodiments in which the inlet and outlet lines are blood lines connected to an inlet and outlet, respectively, of a treatment device.

[0078] The embodiments further include variations of the foregoing embodiments in which the machine is adapted to control a balance of fluid the patient by regulating a ratio of total volume of fluid removed from the patient to total volume supplied to the patient.

[0079] The embodiments further include variations of the foregoing embodiments in which the controller is programmed to estimate the ratio. The embodiments further include variations of the foregoing embodiments in which the controller is further programmed to estimate the ratio from the stored parameter data.

[0080] The embodiments further include variations of the foregoing embodiments in which the controller is further programmed to estimate the ratio independently of the stored parameter data. The embodiments further include variations of the foregoing embodiments in which the controller is further programmed to estimate the ratio from a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume. The embodiments further include variations of the foregoing embodiments in which the controller calculates a patient fluid volume or rate of fluid volume loss from the parameter data. [0081] The embodiments further include variations of the foregoing embodiments in which the controller calculates the patient fluid volume or rate of fluid volume loss from the parameter data, where the parameter data includes data responsive to viscosity and a predefined relationship between hematocrit and viscosity wherein the relationship is derived from historical data for the specific patient.

[0082] The embodiments further include variations of the foregoing embodiments in which the controller calculates a rate of fluid volume loss from the parameter data, the parameter data including hematocrit of blood entering and leaving the treatment device.

[0083] The embodiments further include variations of the foregoing embodiments in which the controller stores a function of hematocrit vs. viscosity and calculates hematocrit responsively to the function. The embodiments further include variations of the foregoing embodiments in which the function is a lookup table. The

embodiments further include variations of the foregoing embodiments in which the viscosity sensors include pressure sensors upstream and downstream of a flow restriction. The embodiments further include variations of the foregoing embodiments in which the stored parameter is stored over multiple treatments for the patient to generate an historical record for the patient.

[0084] The embodiments further include variations of the foregoing embodiments in which the stored parameter over the multiple times is effective to indicate a trend over a course of treatment, the trend being stored over multiple treatments for the patient to generate an historical record of trends for the patient.

[0085] The embodiments further include variations of the foregoing embodiments in which the trends are stored as an average or a curve fit to viscosity over time to define a baseline trend which is compared by the controller to a current trend, and a result of the comparison output as a signal. The embodiments further include variations of the foregoing embodiments in which the controller is configured to output the parameter data to a treatment log. The embodiments further include variations of the foregoing embodiments in which the pressure sensors include pressure pods.

[0086] The embodiments further include variations of the foregoing embodiments in which the flow restriction is a length of tubing. The embodiments further include variations of the foregoing embodiments in which the viscosity sensor draws a sample of fluid from the fluid circuit and applies the sample to a viscometer. The embodiments further include variations of the foregoing embodiments in which the viscosity sensor draws a sample periodically throughout a treatment.

[0087] According to another main embodiment, the disclosed subject matter includes a fluid treatment system with a machine that has one or more pumps and a controller. A fluid circuit is in engagement with the one or more pumps and having inlet and outlet lines for conveying a fluid to and from a patient respectively. One or more fluid parameter sensors is present, at least one of which is in at least the outlet line. The one or more fluid property sensors generates a fluid property signal indicative of one or more properties of fluid in the at least the outlet line. The controller is programmed to sample, at multiple times, the fluid property signal and store parameter data responsive thereto. The controller is further programmed to one of, responsively to the stored parameter data, control the flow of fluid in the inlet and outlet lines or output an estimation of a condition of the machine or the patient and output data responsive to the estimation.

[0088] The embodiments further include variations of the foregoing embodiments in which the one or more fluid parameter sensors includes viscosity sensors in the inlet and outlet lines. The embodiments further include variations of the foregoing embodiments in which the inlet line and outlet lines are blood lines. The

embodiments further include variations of the foregoing embodiments in which the inlet line and outlet lines are peritoneal dialysate lines.

[0089] The embodiments further include variations of the foregoing embodiments in which the inlet and outlet lines are blood lines connected to an inlet and outlet, respectively, of a treatment device. The embodiments further include variations of the foregoing embodiments in which the machine is adapted to control a balance of fluid the patient by regulating a ratio of total volume of fluid removed from the patient to total volume supplied to the patient.

[0090] The embodiments further include variations of the foregoing embodiments in which the controller is programmed to estimate the ratio independently of the parameter data. The embodiments further include variations of the foregoing embodiments in which the controller is further programmed to estimate the ratio from the stored parameter data. The embodiments further include variations of the foregoing embodiments in which the controller is further programmed to estimate the ratio independently of the stored parameter data. [0091] The embodiments further include variations of the foregoing embodiments in which the controller is further programmed to estimate the ratio from a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume. The embodiments further include variations of the foregoing embodiments in which the controller calculates a rate of fluid volume loss from the parameter data.

[0092] The embodiments further include variations of the foregoing embodiments in which the controller calculates the patient fluid volume or rate of fluid volume loss from the parameter data, where the parameter data includes data responsive to viscosity and a predefined relationship between hematocrit and viscosity wherein the relationship is derived from historical data for the specific patient.

[0093] The embodiments further include variations of the foregoing embodiments in which the controller stores a function of hematocrit vs. viscosity and calculates hematocrit responsively to the function. The embodiments further include variations of the foregoing embodiments in which the function is a lookup table. The

embodiments further include variations of the foregoing embodiments in which the viscosity sensors include pressure sensors upstream and downstream of a flow restriction.

[0094] The embodiments further include variations of the foregoing embodiments in which the stored parameter is stored over multiple treatments for the patient to generate an historical record for the patient. The embodiments further include variations of the foregoing embodiments in which the stored parameter over the multiple times is effective to indicate a trend over a course of treatment, the trend being stored over multiple treatments for the patient to generate an historical record of trends for the patient.

[0095] The embodiments further include variations of the foregoing embodiments in which the trends are stored as an average or a curve fit to viscosity over time to define a baseline trend which is compared by the controller to a current trend. The embodiments further include variations of the foregoing embodiments in which the controller is configured to output the parameter data to a treatment log.

[0096] The embodiments further include variations of the foregoing embodiments in which the one or more fluid parameter sensors include a temperature sensor, a blood oximeter, an optical hematocrit sensor, a scale adapted for measuring the patient's weight, patient heart rate, galvanic skin resistance, and audio and/or video of a treatment area. The embodiments further include variations of the foregoing embodiments in which the controller is programmed to implement a classifier whose inputs include the fluid parameter signal and whose output is applied by the controller for display, control, or treatment log.

[0097] The embodiments further include variations of the foregoing embodiments in which the controller is programmed to implement a classifier whose inputs include the fluid parameter signal and whose output includes a signal indicating at least one of: a diagnosis including a patient infection and the patient's excess fluid level or weight above dry weight.

[0098] The embodiments further include variations of the foregoing embodiments in which the controller is programmed to automatically change or halt an ultrafiltration rate and record a series of the parameter data corresponding indicating a change in the fluid property over time. The embodiments further include variations of the foregoing embodiments in which the fluid circuit is a blood circuit and the series of parameter data indicates a change in fluid volume of blood.

[0099] The embodiments further include variations of the foregoing embodiments in which the controller is programmed to automatically change or halt an ultrafiltration rate and record a series of the parameter data corresponding indicating a change in the fluid property over one or more periods of time covering periods of different ultrafiltration rates. The embodiments further include variations of the foregoing embodiments in which the fluid circuit is a blood circuit and the series of parameter data indicates a change in fluid volume of blood.

[0100] According to yet another main embodiment, the disclosed subject matter includes a fluid treatment method that includes pumping fluid through a fluid circuit, the pumping conveying fluid to and from a patient for a medical treatment. The method includes detecting viscosity of the fluid from the patient. The method further includes sampling the viscosity detected in the detecting, at multiple times during a treatment, and storing parameter data responsive to viscosity samples resulting therefrom and controlling a flow of fluid in the fluid circuit responsively to the stored parameter data.

[0101] The embodiments further include variations of the foregoing embodiments in which the detecting includes detecting viscosity in fluid from the patient and fluid returned to the patient. The embodiments further include variations of the foregoing embodiments in which the fluid from the patient is blood. [0102] The embodiments further include variations of the foregoing embodiments in which the fluid from the patient is spent peritoneal dialysate. The embodiments further include variations of the foregoing embodiments in which the fluid circuit conveys the fluid to a treatment device and returns it to the patient. The

embodiments further include variations of the foregoing embodiments that include controlling a balance of fluid the patient by regulating a ratio of total volume of fluid removed from the patient to total volume supplied to the patient.

[0103] The embodiments further include variations of the foregoing embodiments that include estimating the ratio using a controller that controls the pumping. The embodiments further include variations of the foregoing embodiments that include using the controller estimating the ratio from the stored parameter data.

[0104] The embodiments further include variations of the foregoing embodiments that include using the controller estimating the ratio independently of the stored parameter data. The embodiments further include variations of the foregoing embodiments that include the controller to estimate the ratio from a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume.

[0105] The embodiments further include variations of the foregoing embodiments that include, using the controller, calculating a rate of fluid volume loss from the parameter data. The embodiments further include variations of the foregoing embodiments that include, using the controller, calculating a rate of fluid volume loss from the parameter data, the parameter data including hematocrit of blood entering and leaving the treatment device.

[0106] The embodiments further include variations of the foregoing embodiments that include, using the controller, storing a function of hematocrit vs. viscosity and calculating hematocrit responsively to the function. The embodiments further include variations of the foregoing embodiments in which the function is a lookup table. The embodiments further include variations of the foregoing embodiments in which the detecting viscosity includes detecting pressure upstream and downstream of a flow restriction in the fluid circuit.

[0107] The embodiments further include variations of the foregoing embodiments in which the detecting viscosity includes detecting pressure upstream and downstream of a flow restriction in the fluid circuit. The embodiments further include variations of the foregoing embodiments in which the storing parameter data includes storing parameter data over multiple treatments for the patient to generate an historical record for the patient.

[0108] The embodiments further include variations of the foregoing embodiments in which the stored parameter is effective to indicate a trend over a course of treatment, the trend being stored over multiple treatments for the patient to generate an historical record of trends for the patient.

[0109] The embodiments further include variations of the foregoing embodiments in which the trends are stored as an average or a curve fit to viscosity over time to define a baseline trend which is compared by the controller to a current trend. The embodiments further include variations of the foregoing embodiments in which the controller is configured to output the parameter data to a treatment log. The embodiments further include variations of the foregoing embodiments in which the detecting pressure includes detecting pressure using a pressure pod.

[0110] The embodiments further include variations of the foregoing embodiments in which the flow restriction includes a length of tubing. The embodiments further include variations of the foregoing embodiments in which the detecting viscosity includes drawing a sample of fluid from the fluid circuit and applying the sample to a viscometer. The embodiments further include variations of the foregoing

embodiments in which the detecting viscosity includes drawing a sample at regular intervals from the fluid circuit and applying the sample to a viscometer.

[0111] According to yet another embodiment, the disclosed subject matter includes a fluid treatment method that includes pumping fluid through a fluid circuit, the pumping conveying fluid to and from a patient for a medical treatment. The method further includes detecting one or more fluid properties of the fluid from a patient to generate a fluid property signal. The method further includes using a controller, sampling automatically at multiple times during a treatment, the fluid property signal and storing parameter data responsive thereto. The method further includes using the controller, responsively to the stored parameter data, controlling the flow of fluid in the inlet and outlet lines and outputting an estimation of a condition of the machine or the patient and output data responsive to the estimation.

[0112] The embodiments further include variations of the foregoing embodiments in which the one or more fluid parameters includes viscosity. The embodiments further include variations of the foregoing embodiments in which the fluid circuit includes blood lines and he fluid from the patient is blood. The embodiments further include variations of the foregoing embodiments in which the fluid from the patient is spent peritoneal dialysate.

[0113] The embodiments further include variations of the foregoing embodiments in which the fluid circuit conveys the fluid to a treatment device and returns it to the patient. The embodiments further include variations of the foregoing embodiments that include, controlling a balance of fluid the patient by regulating a ratio of total volume of fluid removed from the patient to total volume supplied to the patient.

[0114] The embodiments further include variations of the foregoing embodiments that include, estimating the ratio using a controller that controls the pumping. The embodiments further include variations of the foregoing embodiments that include, using the controller estimating the ratio from the stored parameter data. The embodiments further include variations of the foregoing embodiments that include, using the controller estimating the ratio independently of the stored parameter data.

[0115] The embodiments further include variations of the foregoing embodiments that include, the controller to estimate the ratio from a signal indicating a pump speed, a fluid weight, a flow rate, or a fluid volume. The embodiments further include variations of the foregoing embodiments that include, using the controller, calculating a rate of fluid volume loss from the parameter data. The embodiments further include variations of the foregoing embodiments that include, using the controller, calculating a rate of fluid volume loss from the parameter data, the parameter data including hematocrit of blood entering and leaving the treatment device. The embodiments further include variations of the foregoing embodiments that include, using the controller, storing a function of hematocrit vs. viscosity and calculating hematocrit responsively to the function.

[0116] The embodiments further include variations of the foregoing embodiments in which the function is a lookup table. The embodiments further include variations of the foregoing embodiments in which the detecting viscosity includes detecting pressure upstream and downstream of a flow restriction in the fluid circuit.

[0117] The embodiments further include variations of the foregoing embodiments in which the detecting viscosity includes detecting pressure upstream and downstream of a flow restriction in the fluid circuit. The embodiments further include variations of the foregoing embodiments in which the storing parameter data includes storing parameter data over multiple treatments for the patient to generate an historical record for the patient. The embodiments further include variations of the foregoing embodiments in which the stored parameter is effective to indicate a trend over a course of treatment, the trend being stored over multiple treatments for the patient to generate an historical record of trends for the patient.

[0118] The embodiments further include variations of the foregoing embodiments in which the trends are stored as an average or a curve fit to viscosity over time to define a baseline trend which is compared by the controller to a current trend. The embodiments further include variations of the foregoing embodiments in which the controller is configured to output the parameter data to a treatment log. The embodiments further include variations of the foregoing embodiments in which the detecting pressure includes detecting pressure using a pressure pod.

[0119] The embodiments further include variations of the foregoing embodiments in which the flow restriction includes a length of tubing. The embodiments further include variations of the foregoing embodiments in which the detecting viscosity includes drawing a sample of fluid from the fluid circuit and applying the sample to a viscometer.

[0120] The embodiments further include variations of the foregoing embodiments in which the detecting viscosity includes drawing a sample at regular intervals from the fluid circuit and applying the sample to a viscometer.

[0121] According to embodiments, the disclosed subject matter further includes a fluid treatment system with a fluid circuit having a control unit and a fluid line adapted for connection to a patient access. First and second pressure sensors are positioned along a flow path on either side of a flow restriction. The control unit is connected to receive samples of first and second pressure signals, respectively, from the first and second pressure sensors. The control unit is programmed to store the samples to generate at least one dynamic parameter associated with a property of a fluid flowing in the fluid line through the flow restriction. The samples being received and parameter data responsive thereto stored, during a treatment, the at least one dynamic parameter being generated responsively to the parameter data. The control unit has a data store that stores at least one predicted parameter that corresponds to an acceptable range of the dynamic parameter. The control unit programmed further to classify at least one condition of a current treatment or at least one condition of a current patient responsively to said at least one dynamic parameter and said at least one predicted parameter. [0122] The embodiments further include variations of the foregoing embodiments in which the at least one dynamic parameter includes a curve-fit to a time series obtained from the samples and the predicted parameter includes a definition of a curve, the control unit comparing the definition with the curve-fit to classify the at least one condition. The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments.

[0123] The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments of a unique patient. The

embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments.

[0124] The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments of a unique patient. The

embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior peritoneal dialysis treatments of a unique class of patients. The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior peritoneal dialysis treatments of multiple patients.

[0125] The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a patient model. The

embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a patient model, the patient model including parameters of an individual patient. The embodiments further include variations of the foregoing embodiments in which the parameters of an individual patient include metrics related to obesity.

[0126] The embodiments further include variations of the foregoing embodiments in which the parameters of an individual patient include metrics related to a rate of recruitment of factors that affect patient temperature, heat, and viscosity of a fluid from the patient's body. [0127] According to further embodiments, the disclosed subject matter includes a blood treatment system with a blood circuit. The system has a control unit and a blood line adapted for connection to a patient access. First and second pressure sensors are positioned along a flow path on either side of a flow restriction. The control unit is connected to receive samples of first and second pressure signals, respectively, from the first and second pressure sensors. The control unit is programmed to store the samples to generate at least one dynamic parameter associated with a property of a blood flowing in the blood line through the flow restriction. The samples are received and stored, during a treatment, the at least one dynamic parameter being generated responsively to multiple ones of the samples. The control unit has a data store that stores at least one predicted parameter that corresponds to an acceptable range of the dynamic parameter. The control unit is programmed further to classify at least one condition of a current treatment or at least one condition of a current patient responsively to the at least one dynamic parameter and the at least one predicted parameter.

[0128] The embodiments further include variations of the foregoing embodiments in which the at least one dynamic parameter includes a curve-fit to a time series obtained from the samples and the predicted parameter includes a definition of a curve, the control unit comparing the definition with the curve-fit to classify the at least one condition.

[0129] The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments. The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments of a unique patient. The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments.

[0130] The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments of a unique patient. The

embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a patient model. The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a patient model, the patient model including parameters of an individual patient.

[0131] The embodiments further include variations of the foregoing embodiments in which the parameters of an individual patient include metrics related to obesity. The embodiments further include variations of the foregoing embodiments in which the parameters of an individual patient include metrics related to a rate of recruitment of factors that affect patient temperature, heat, and viscosity of a blood from the patient's body.

[0132] According to further embodiments, the disclosed subject matter includes a method of treating a patient using a fluid treatment system. The method includes using a fluid circuit with a control unit and a fluid line adapted for connection to a patient access. The fluid circuit has first and second pressure sensors positioned along a flow path on either side of a flow restriction. The control unit is connected to receive samples of first and second pressure signals, respectively, from the first and second pressure sensors. The method further includes using the control unit, storing the samples to generate at least one dynamic parameter, associated with a property of a fluid flowing in the fluid line through the flow restriction. The method further includes receiving the samples being received and stored, during a treatment, the at least one dynamic parameter being generated responsively to multiple ones of the samples. The method further includes using the control unit, storing at least one predicted parameter that corresponds to an acceptable range of the dynamic parameter in a data store of the control unit. The method further includes using the control unit, classifying at least one condition of a current treatment or at least one condition of a current patient responsively to the at least one dynamic parameter and the at least one predicted parameter.

[0133] The embodiments further include variations of the foregoing embodiments in which the at least one dynamic parameter includes a curve-fit to a time series obtained from the samples and the predicted parameter includes a definition of a curve, the control unit comparing the definition with the curve-fit to classify the at least one condition.

[0134] The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments. The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments of a unique patient. The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments.

[0135] The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior treatments of a unique patient. The

embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior peritoneal dialysis treatments of a unique class of patients.

[0136] The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a curve-fit to a time series obtained from the samples from prior peritoneal dialysis treatments of multiple patients. The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a patient model.

[0137] The embodiments further include variations of the foregoing embodiments in which the at least one stored parameter includes a patient model, the patient model including parameters of an individual patient. The embodiments further include variations of the foregoing embodiments in which the parameters of an individual patient include metrics related to obesity.

[0138] The embodiments further include variations of the foregoing embodiments in which the parameters of an individual patient include metrics related to a rate of recruitment of factors that affect patient temperature, heat, and viscosity of a fluid from the patient's body. The embodiments further include variations of any of the foregoing systems or methods where a patient condition is estimated by the controller responsively to a combination of two or more of heart rate, hematocrit, blood oxygen, patient weight, galvanic skin resistance, blood or spent peritoneal dialysate viscosity, and blood temperature, as detected by a respective sensor and applied to the controller and a responsive signal generated by the controller.

[0139] The embodiments further include variations of the foregoing embodiments in which the controller is programmed to implement a classifier to estimate the condition where the classifier has inputs include the combination and outputs the responsive signal for display, control, or treatment logging. The embodiments further include variations of the foregoing embodiments in which the condition includes an infection of the patient.

[0140] Embodiments of the disclosed subject matter include any combination or subcombination of the limitations of the following dependent claims, that depend from a common independent claim, with the limitations of that common independent claim.

[0141] Further embodiments include any of the following claims that recite a viscosity-dependent parameter, where the viscosity-dependent parameter includes a pressure drop indicated by detecting the pressure different across a blood circuit element.

[0142] It will be appreciated that the modules, processes, systems, and sections described above can be implemented in hardware, hardware programmed by software, software instruction stored on a non-transitory computer readable medium or a combination of the above. For example, a method for determining a patient or treatment condition can be implemented, for example, using a processor configured to execute a sequence of programmed instructions stored on a non-transitory computer readable medium. For example, the processor can include, but not be limited to, a personal computer or workstation or other such computing system that includes a processor, microprocessor, microcontroller device, or is comprised of control logic including integrated circuits such as, for example, an Application Specific Integrated Circuit (ASIC). The instructions can be compiled from source code instructions provided in accordance with a programming language such as Java, C++, C#, .net, or the like. The instructions can also comprise code and data objects provided in accordance with, for example, the Visual Basicâ„¢ language, LabVIEW, or another structured or object-oriented programming language. The sequence of programmed instructions and data associated therewith can be stored in a non-transitory computer-readable medium such as a computer memory or storage device which may be any suitable memory apparatus, such as, but not limited to, read-only memory (ROM), programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), flash memory, disk drive, and the like.

[0143] Furthermore, the modules, processes, systems, and sections can be implemented as a single processor or as a distributed processor. Further, it should be appreciated that the steps mentioned above may be performed on a single or distributed processor (single and/or multi-core). Also, the processes, modules, and sub-modules described in the various figures of and for embodiments above may be distributed across multiple computers or systems or may be co-located in a single processor or system. Exemplary structural embodiment alternatives suitable for implementing the modules, sections, systems, means, or processes described herein are provided below.

[0144] The modules, processors or systems described above can be implemented as a programmed general purpose computer, an electronic device programmed with microcode, a hard-wired analog logic circuit, software stored on a computer-readable medium or signal, an optical computing device, a networked system of electronic and/or optical devices, a special purpose computing device, an integrated circuit device, a semiconductor chip, and a software module or object stored on a computer-readable medium or signal, for example.

[0145] Embodiments of the method and system (or their sub-components or modules), may be implemented on a general-purpose computer, a special-purpose computer, a programmed microprocessor or microcontroller and peripheral integrated circuit element, an ASIC or other integrated circuit, a digital signal processor, a hardwired electronic or logic circuit such as a discrete element circuit, a programmed logic circuit such as a programmable logic device (PLD), a

programmable logic array (PLA), a field-programmable gate array (FPGA), a programmable array logic (PAL) device, or the like. In general, any process capable of implementing the functions or steps described herein can be used to implement embodiments of a method, a system, or a computer program product (software program stored on a non-transitory computer readable medium).

[0146] Furthermore, embodiments of the disclosed method, system, and computer program product may be readily implemented, fully or partially, in software using, for example, object or object-oriented software development environments that provide portable source code that can be used on a variety of computer platforms. Alternatively, embodiments of the disclosed method, system, and computer program product can be implemented partially or fully in hardware using, for example, standard logic circuits or a very-large-scale integration (VLSI) design. Other hardware or software can be used to implement embodiments depending on the speed and/or efficiency requirements of the systems, the particular function, and/or particular software or hardware system, microprocessor, or microcomputer being utilized. Embodiments of the method, system, and computer program product can be implemented in hardware and/or software using any known or later developed systems or structures, devices and/or software by those of ordinary skill in the applicable art from the function description provided herein and with a general basic knowledge of control and measurement systems, machine-assisted diagnosis, and/or computer programming arts.

[0147] Moreover, embodiments of the disclosed method, system, and computer program product can be implemented in software executed on a programmed general-purpose computer, a special purpose computer, a microprocessor, or the like.

[0148] The foregoing descriptions apply, in some cases, to examples generated in a laboratory, but these examples can be extended to production techniques. For example, where quantities and techniques apply to the laboratory examples, they should not be understood as limiting.

[0149] Features of the disclosed embodiments may be combined, rearranged, omitted, etc., within the scope of the invention to produce additional embodiments. Furthermore, certain features may sometimes be used to advantage without a corresponding use of other features.

[0150] Fig. 9 is a block diagram of an example computer system 1000 according to an embodiment. In various embodiments, all or parts of system 1000 may be included in a medical treatment device/system such as a renal replacement therapy system. In these embodiments, all or parts of system 1000 may provide the functionality of a controller of the medical treatment device/systems. In some embodiments, all or parts of system 1000 may be implemented as a distributed system, for example, as a cloud-based system.

[0151] System 1000 includes a computer 1002 such as a personal computer or workstation or other such computing system that includes a processor 1006.

However, alternative embodiments may implement more than one processor and/or one or more microprocessors, microcontroller devices, or control logic including integrated circuits such as ASIC.

[0152] Computer 1002 further includes a bus 1004 that provides communication functionality among various modules of computer 1002. For example, bus 1004 may allow for communicating information/data between processor 1006 and a memory 1008 of computer 1002 so that processor 1006 may retrieve stored data from memory 1008 and/or execute instructions stored on memory 1008. In embodiments, such instructions may be compiled from source code/objects provided in accordance with a programming language such as Java, C++, C#, .net, Visual Basicâ„¢,

LabVIEW, or another structured or object-oriented programming language. In embodiments, the instructions include software modules that, when executed by processor 1006, provide renal replacement therapy functionality according to any of the embodiments disclosed herein.

[0153] Memory 1008 may include any volatile or non-volatile computer-readable memory that can be read by computer 1002. For example, memory 1008 may include a non-transitory computer-readable medium such as ROM, PROM,

EEPROM, RAM, flash memory, disk drive, etc. Memory 1008 may be a removable or non-removable medium.

[0154] Bus 1004 may further allow for communication between computer 1002 and a display 1018, a keyboard 1020, a mouse 1022, and a speaker 1024, each providing respective functionality in accordance with various embodiments disclosed herein, for example, for configuring a treatment for a patient and monitoring a patient during a treatment.

[0155] Computer 1002 may also implement a communication interface 1010 to communicate with a network 1012 to provide any functionality disclosed herein, for example, for alerting a healthcare professional and/or receiving instructions from a healthcare professional, reporting patient/device conditions in a distributed system for training a machine learning algorithm, logging data to a remote repository, etc. Communication interface 1010 may be any such interface known in the art to provide wireless and/or wired communication, such as a network card or a modem.

[0156] Bus 1004 may further allow for communication with a sensor 1014 and/or an actuator 1016, each providing respective functionality in accordance with various embodiments disclosed herein, for example, for measuring signals indicative of a patient /device condition and for controlling the operation of the device accordingly. For example, sensor 1014 may provide a signal indicative of a viscosity of a fluid in a fluid circuit in a renal replacement therapy device, and actuator 1016 may operate a pump that controls the flow of the fluid responsively to the signals of sensor 1014.

[0157] It is, thus, apparent that there is provided, in accordance with the present disclosure, diagnosis based on viscosity changes in treatment systems. Many alternatives, modifications, and variations are enabled by the present disclosure. Features of the disclosed embodiments can be combined, rearranged, omitted, etc., within the scope of the invention to produce additional embodiments. Furthermore, certain features may sometimes be used to advantage without a corresponding use of other features. Accordingly, Applicants intend to embrace all such alternatives, modifications, equivalents, and variations that are within the spirit and scope of the present invention.