Fluid preparation and treatment devices, methods, and systems

Automated peritoneal dialysis systems with sterile filters and precise fluid control address sterility and accuracy issues, enhancing safety and efficacy in preparing dialysis fluids.

JP7559129B2Active Publication Date: 2024-10-01NXSTAGE MEDICAL INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023063941
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-05-24
Filing Date
2023-04-11
Publication Date
2024-10-01
Estimated Expiration
2039-02-28

AI Technical Summary

Technical Problem

Peritoneal dialysis systems face challenges in maintaining sterility and accuracy due to risks of overpressurization, overfilling, and errors in fluid balance calculations, which can compromise patient health.

Method used

The development of automated peritoneal dialysis systems with integrated sterile filters, disposable fluid circuits, and precise control mechanisms for preparing dialysis fluids at the point of care, ensuring sterility and accuracy through separate concentrate containers and a simplified connection platform.

Benefits of technology

Enhances the safety and efficacy of peritoneal dialysis by reducing contamination risks, minimizing waste, and improving fluid preparation accuracy, thereby ensuring patient well-being.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559129000002
    Figure 0007559129000002
  • Figure 0007559129000003
    Figure 0007559129000003
  • Figure 0007559129000004
    Figure 0007559129000004
Patent Text Reader

Abstract

To provide automated systems, methods, and devices for preparing peritoneal dialysis fluid, precision, safety, and ease of use of such systems being improved.SOLUTION: Peritoneal dialysis fluid is prepared at a point of use automatically using a daily sterile disposable fluid circuit and one or more long-term concentrate containers 105A, 105B that are changed only after multiple days (e.g. weekly). The daily disposable may have concentrate containers that are initially empty and are filled from the long-term concentrate containers once per day at the beginning of a treatment.SELECTED DRAWING: Figure 1G
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001]

[0001] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 636,404, filed February 28, 2018, and U.S. Provisional Patent Application No. 62 / 676,098, filed May 24, 2018, all of which are incorporated by reference in their entirety into this specification. [Background technology]

[0002]

[0002] The subject matter disclosed relates generally to the treatment of end-stage renal failure, and more particularly to devices, methods, systems, improvements, and components for performing peritoneal dialysis.

[0003]

[0003] Peritoneal dialysis is a mature technology that has been in use for many years. It is one of two common forms of dialysis, the other being hemodialysis, which uses an artificial membrane to directly purify the kidney patient's blood. Peritoneal dialysis uses the natural membrane of the peritoneum to allow the removal of excess water and toxins from the blood.

[0004]

[0004] In peritoneal dialysis, sterile peritoneal dialysis fluid is infused into the patient's peritoneal cavity using a catheter inserted through the abdominal wall. The fluid remains in the peritoneal cavity for a dwell period. Osmotic exchange with the patient's blood occurs across the peritoneal membrane, removing urea and other toxins as well as excess water from the blood. Ions that need to be regulated are also exchanged across the membrane. Removal of excess water results in more fluid being removed from the patient than is infused. The net excess is called ultrafiltrate, and the removal process is called ultrafiltration. After a dwell time, the dialysis fluid is removed from the body cavity through the catheter.

[0005]

[0005] Peritoneal dialysis requires strict maintenance of sterility due to the high risk of peritoneal infection.

[0006] In one form of peritoneal dialysis, sometimes called cycler-assisted peritoneal dialysis, an automatic cycler is used to infuse and drain dialysis fluid. This form of treatment can be performed automatically at night while the patient is asleep. One safety feature for such treatment is the monitoring of the amount of ultrafiltrate by the cycler. The cycler performs this monitoring function by measuring the amount of fluid infused and the amount removed to electronically calculate the net water removal rate.

[0007]

[0007] The treatment sequence typically begins with an initial drain cycle to empty the peritoneal cavity of spent dialysis fluid, except on so-called "dry days" when the patient begins automatic treatment without the peritoneal cavity being filled with dialysis fluid. The cycler then performs a series of fill, dwell, and drain cycles, typically concluding with a fill cycle.

[0008]

[0008] The fill cycle presents a risk of overpressurization or overfilling of the peritoneal cavity, which has a low tolerance for excessive pressure. In conventional peritoneal dialysis, the dialysis fluid container is elevated to a certain level above the patient's abdomen so that the fill pressure is determined by the elevation difference. Automated systems sometimes use pumps that cannot generate pressure above a certain level, but this system is not foolproof because the patient-cycler level difference can increase the height of the fluid column and cause overpressure. The reverse elevation difference can also result in errors in the fluid balance calculation as a result of incomplete drainage.

[0009] Modern cyclers can fill by adjusting the fill volume during each cycle. The volume can be input into a controller based on a prescription. The prescription, which also determines the composition of the dialysis fluid, can be based on the patient's size, weight, and other criteria. Errors can cause the prescription to be inaccurate or imperfectly implemented, resulting in a loss of patient well-being and health. Summary of the Invention

[0010]

[0010] Embodiments of peritoneal dialysis systems, devices, and methods are described herein. Features relate, in some cases, to automated peritoneal dialysis, and in particular to systems, methods, and devices that prepare peritoneal dialysis fluid in a safe and automated manner at the point of care. Other features relate to the accuracy, safety, and ease of use of such systems.

[0011]

[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 explanation of the drawings]

[0012] [Figure 1A] 1 illustrates a peritoneal dialysis fluid proportioner / cycler according to respective embodiments of the disclosed subject matter. [Figure 1B] 1 illustrates a peritoneal dialysis fluid proportioner / cycler according to respective embodiments of the disclosed subject matter. [Figure 1C] 1 illustrates a peritoneal dialysis fluid proportioner / cycler according to respective embodiments of the disclosed subject matter. [Figure 1D] 1 illustrates a peritoneal dialysis fluid proportioner / cycler according to respective embodiments of the disclosed subject matter. [Figure 1E]

[0013] 1A-1D illustrate series testable filter configurations that can be substituted for the filters used in the embodiment of FIGS. 1A-1D. [Figure 1F]

[0014] An embodiment similar to that of Figures 1A-1D is shown and further details are provided. [Figure 1G] An embodiment similar to that of Figures 1A-1D is shown and further details are provided. [Figure 1H] An embodiment similar to that of Figures 1A-1D is shown and further details are provided. [Figure 2A]

[0015] 1 illustrates a disposable fluid circuit for use with certain embodiments of the peritoneal dialysis fluid proportioner / cycler disclosed herein. [Figure 2B]

[0016] 1 illustrates an actuator portion of a peritoneal dialysis fluid proportioner / cycler according to an embodiment of the disclosed subject matter. [Figure 2C]

[0017] 1 illustrates a connection platform between a purified water source and a peritoneal dialysis fluid proportioner / cycler according to an embodiment of the disclosed subject matter. [Figure 2D]

[0018] 1 illustrates a peristaltic pumping actuator that allows for the use of straight pumping tube segments within a generally planar cartridge, as used as a feature of embodiments disclosed herein. [Figure 2E]

[0019] 1 illustrates a disposable fluid circuit for a peritoneal dialysis fluid proportioner / cycler according to an embodiment of the disclosed subject matter, where concentrate is extracted from a disposable component separate from the cycler / preparation fluid circuit. [Figure 2F]

[0020] 1 illustrates a liquid concentrate disposable component for use with an embodiment of the disclosed subject matter. [Figure 2G] 1 illustrates a liquid concentrate disposable component for use with an embodiment of the disclosed subject matter. [Figure 2H]

[0021] 1 illustrates a disposable fluid circuit for a peritoneal dialysis fluid proportioner / cycler according to an embodiment of the disclosed subject matter, where concentrate is extracted through respective filtration lines from a disposable component separate from the cycler / preparation fluid circuit. [Figure 2I]

[0022] 10A-10C illustrate respective embodiments of a connection platform between a purified water source and a separate concentrate source according to embodiments of the disclosed subject matter, and an embodiment of a peritoneal dialysis fluid proportioner / cycler disclosed herein. [Figure 2J] 10A-10C illustrate respective embodiments of a connection platform between a purified water source and a separate concentrate source according to embodiments of the disclosed subject matter, and an embodiment of a peritoneal dialysis fluid proportioner / cycler disclosed herein. [Figure 2K]10A-10C illustrate respective embodiments of a connection platform between a purified water source and a separate concentrate source according to embodiments of the disclosed subject matter, and an embodiment of a peritoneal dialysis fluid proportioner / cycler disclosed herein. [Figure 2L]

[0023] 2C shows details of a variation of the embodiment described with reference to FIG. 2K. [Figure 2M] 2C shows details of a variation of the embodiment described with reference to FIG. 2K. [Figure 3]

[0024] 2B illustrates a method for manufacturing a disposable circuit such as that disclosed in FIG. 2A. [Figure 4A]

[0025] 1 illustrates a peritoneal dialysis fluid proportioner / cycler according to an embodiment of the disclosed subject matter. [Figure 4B]

[0026] 4B illustrates the peritoneal dialysis fluid proportioner / cycler of FIG. 4A in a first stage of fluid preparation, where an osmotic agent concentrate is added to the mixing container, according to an embodiment of the disclosed subject matter. [Figure 4C]

[0027] 4B illustrates the peritoneal dialysis fluid proportioner / cycler of FIG. 4A in a second stage of fluid preparation, where a dialysis fluid precursor is obtained by diluting and mixing the contents of a mixing container, according to an embodiment of the disclosed subject matter. [Figure 4D]

[0028] 4B illustrates the peritoneal dialysis fluid proportioner / cycler of FIG. 4A in a third stage of fluid preparation, in which the properties of the peritoneal dialysis fluid precursor are verified, according to an embodiment of the disclosed subject matter. [Figure 4E]

[0029] 4B illustrates the peritoneal dialysis fluid proportioner / cycler of FIG. 4A in a fourth stage of fluid preparation, in which the dialysis fluid precursor is further prepared by the addition of an electrolyte concentrate to the mixing container, according to an embodiment of the disclosed subject matter. [Figure 4F]

[0030] 4B illustrates the peritoneal dialysis fluid proportioner / cycler of FIG. 4A in a fifth stage of fluid preparation, in which end-use dialysis fluid is prepared by adjusting the dilution of the mixing container contents, according to an embodiment of the disclosed subject matter. [Figure 4G]

[0031] 4B illustrates the peritoneal dialysis fluid proportioner / cycler of FIG. 4A at a sixth stage of fluid preparation, in which the dialysis fluid in the mixing container is verified, according to an embodiment of the disclosed subject matter. [Figure 4H]

[0032] 4B illustrates the peritoneal dialysis fluid proportioner / cycler of FIG. 4A in various peritoneal dialysis treatment modes, according to an embodiment of the disclosed subject matter. [Figure 4K] 4B illustrates the peritoneal dialysis fluid proportioner / cycler of FIG. 4A in various peritoneal dialysis treatment modes, according to an embodiment of the disclosed subject matter. [Figure 4L]

[0033] 4B shows a peritoneal dialysis fluid proportioner / cycler similar to that of FIG. 4A in which a single mixing container line connects the valve network to the mixing container. [Figure 5A]

[0034] 1 illustrates the structure and use of a multi-function connector according to an embodiment of the disclosed subject matter. [Figure 5B] 1 illustrates the structure and use of a multi-function connector according to an embodiment of the disclosed subject matter. [Figure 5C] 1 illustrates the structure and use of a multi-function connector according to an embodiment of the disclosed subject matter. [Figure 5D] 1 illustrates the structure and use of a multi-function connector according to an embodiment of the disclosed subject matter. [Figure 5E]

[0035] 5 illustrates features of a modified duplex connector 500 that protects against contamination. [Figure 6A]

[0036] 1 illustrates mechanical aspects and control and sensor systems for a cut-and-seal device with actuation, temperature, and force control features according to an embodiment of the disclosed subject matter. [Figure 6B]

[0037] 1 illustrates various embodiments of a cut and seal device. [Figure 6C] 1 illustrates various embodiments of a cut and seal device. [Figure 6D]1 illustrates various embodiments of a cut and seal device. [Figure 6E] 1 illustrates various embodiments of a cut and seal device. [Figure 6F] 1 illustrates various embodiments of a cut and seal device. [Figure 6G] 1 illustrates various embodiments of a cut and seal device. [Figure 7A]

[0038] 10A-10C illustrate various jaw configurations for a cut and seal device according to different embodiments of the disclosed subject matter. [Figure 7B] 10A-10C illustrate various jaw configurations for a cut and seal device according to different embodiments of the disclosed subject matter. [Figure 7C] 10A-10C illustrate various jaw configurations for a cut and seal device according to different embodiments of the disclosed subject matter. [Figure 7D] 10A-10C illustrate various jaw configurations for a cut and seal device according to different embodiments of the disclosed subject matter. [Figure 8A]

[0039] 10 shows details of a chamber portion of a fluid circuit according to an embodiment of the disclosed subject matter. [Figure 8B] 10 shows details of a chamber portion of a fluid circuit according to an embodiment of the disclosed subject matter. [Figure 8C]

[0040] 10 illustrates various features for promoting mixing of fluids within a mixing container according to embodiments of the disclosed subject matter. [Figure 8D] 10 illustrates various features for promoting mixing of fluids within a mixing container according to embodiments of the disclosed subject matter. [Figure 8E] 10 illustrates various features for promoting mixing of fluids within a mixing container according to embodiments of the disclosed subject matter. [Figure 8F] 10 illustrates various features for promoting mixing of fluids within a mixing container according to embodiments of the disclosed subject matter. [Figure 8G] 10 illustrates various features for promoting mixing of fluids within a mixing container according to embodiments of the disclosed subject matter. [Figure 9A]

[0041] 1 illustrates a manifold according to an embodiment of the disclosed subject matter. [Figure 9B]

[0042] 1 illustrates a peritoneal dialysis fill / drain line according to an embodiment of the disclosed subject matter. [Figure 10A]

[0043] 1 illustrates the structure of a valve network portion of a fluid circuit according to an embodiment of the disclosed subject matter. [Figure 10B] 1 illustrates the structure of a valve network portion of a fluid circuit according to an embodiment of the disclosed subject matter. [Figure 11]

[0044] 1 illustrates a fluid circuit for peritoneal dialysis according to an embodiment of the disclosed subject matter. [Figure 12]

[0045] 1 illustrates a method of priming a fluid circuit according to an embodiment of the disclosed subject matter. [Figure 13A]

[0046] 1 shows an embodiment of a fluid circuit having a source of concentrate that is provided with different compositions for priming. [Figure 13B] 1 shows an embodiment of a fluid circuit having a source of concentrate that is provided with different compositions for priming. [Figure 14]

[0047] FIG. 1 shows a block diagram of an exemplary computer system in accordance with an embodiment of the disclosed subject matter. [Figure 15A]

[0048] 1 illustrates a mixing method according to an embodiment of the disclosed subject matter. [Figure 15B] 1 illustrates a mixing method according to an embodiment of the disclosed subject matter. [Figure 15C]

[0049] 1 illustrates an optimization point for a mixing method according to an embodiment of the disclosed subject matter. [Figure 15D]

[0050] 15B illustrates a different mixing method than that of FIG. 15A according to a further embodiment of the disclosed subject matter. [Figure 15E]

[0051] 10 is a flow chart in schematic form for conductivity error recovery for various mixing methods described herein. [Figure 16A]

[0052] FIG. 1 is a flow diagram illustrating a method for mixing medications in which an electrolyte concentrate is first added to a mixing container, according to an embodiment of the disclosed subject matter. [Figure 16B] FIG. 1 is a flow diagram illustrating a method for mixing medications in which an electrolyte concentrate is first added to a mixing container, according to an embodiment of the disclosed subject matter. [Figure 16C] FIG. 1 is a flow diagram illustrating a method for mixing medications in which an electrolyte concentrate is first added to a mixing container, according to an embodiment of the disclosed subject matter. [Figure 17A]

[0053] 1 illustrates an embodiment of a compounding / treatment system in which a long-term, multi-treatment container of concentrate is used to form a ready-to-use peritoneal dialysis fluid, according to an embodiment of the disclosed subject matter. [Figure 17B] 1 illustrates an embodiment of a compounding / treatment system in which a long-term, multi-treatment container of concentrate is used to form a ready-to-use peritoneal dialysis fluid, according to an embodiment of the disclosed subject matter. [Figure 17C] 1 illustrates an embodiment of a compounding / treatment system in which a long-term, multi-treatment container of concentrate is used to form a ready-to-use peritoneal dialysis fluid, according to an embodiment of the disclosed subject matter. [Figure 17D] 1 illustrates an embodiment of a compounding / treatment system in which a long-term, multi-treatment container of concentrate is used to form a ready-to-use peritoneal dialysis fluid, according to an embodiment of the disclosed subject matter. [Figure 18A]

[0054] 1 illustrates an embodiment of a compounding / treatment system in which a long-term, multi-treatment container of concentrate is used to fill disposables used during treatment to form a ready-to-use peritoneal dialysis fluid, according to one embodiment of the disclosed subject matter. [Figure 18B]

[0055] 18B shows a single flowchart that, when linked together, defines a process for making a batch of dialysis fluid based on the embodiment of FIG. 18A. [Figure 18C]18B shows a single flowchart that, when linked together, defines a process for making a batch of dialysis fluid based on the embodiment of FIG. 18A. [Figure 18D] 18B shows a single flowchart that, when linked together, defines a process for making a batch of dialysis fluid based on the embodiment of FIG. 18A. [Figure 18E]

[0056] 18B shows a variation of a detail of the embodiment of FIG. 18A for supplying concentrate or water to a fluid circuit according to an embodiment of the disclosed subject matter. [Figure 18F] 18B shows a variation of a detail of the embodiment of FIG. 18A for supplying concentrate or water to a fluid circuit according to an embodiment of the disclosed subject matter. [Figure 18G] 18B shows a variation of a detail of the embodiment of FIG. 18A for supplying concentrate or water to a fluid circuit according to an embodiment of the disclosed subject matter. [Figure 18H] 18B shows a variation of a detail of the embodiment of FIG. 18A for supplying concentrate or water to a fluid circuit according to an embodiment of the disclosed subject matter. [Figure 19A]

[0057] A first apparatus and corresponding method for controlling water supply to a peritoneal dialysis fluid treatment device according to an embodiment of the disclosed subject matter is described. [Figure 19B] A first apparatus and corresponding method for controlling water supply to a peritoneal dialysis fluid treatment device according to an embodiment of the disclosed subject matter is described. [Figure 19C] A first apparatus and corresponding method for controlling water supply to a peritoneal dialysis fluid treatment device according to an embodiment of the disclosed subject matter is described. [Figure 19D]

[0058] A second device and corresponding method for controlling water supply to a peritoneal dialysis fluid treatment device according to an embodiment of the disclosed subject matter is described. [Figure 19E] A second device and corresponding method for controlling water supply to a peritoneal dialysis fluid treatment device according to an embodiment of the disclosed subject matter is described. [Figure 19F]A second device and corresponding method for controlling water supply to a peritoneal dialysis fluid treatment device according to an embodiment of the disclosed subject matter is described. [Figure 19G]

[0059] A third apparatus and corresponding method for controlling water supply to a peritoneal dialysis fluid treatment device according to embodiments of the disclosed subject matter is described. [Figure 19H] A third apparatus and corresponding method for controlling water supply to a peritoneal dialysis fluid treatment device according to embodiments of the disclosed subject matter is described. [Figure 19J] A third apparatus and corresponding method for controlling water supply to a peritoneal dialysis fluid treatment device according to embodiments of the disclosed subject matter is described. [Figure 19K]

[0060] A fourth apparatus and corresponding method for controlling the water supply to a peritoneal dialysis fluid treatment device is described according to embodiments of the disclosed subject matter. [Figure 19L] A fourth apparatus and corresponding method for controlling the water supply to a peritoneal dialysis fluid treatment device according to embodiments of the disclosed subject matter is described. [Figure 19M] A fourth apparatus and corresponding method for controlling the water supply to a peritoneal dialysis fluid treatment device is described according to embodiments of the disclosed subject matter. [Figure 20A]

[0061] 10A-10C illustrate mechanisms for providing sterile filtration in various peritoneal preparation / treatment systems of various disclosed embodiments. [Figure 20B] 10A-10C illustrate mechanisms for providing sterile filtration in various peritoneal preparation / treatment systems of various disclosed embodiments. [Figure 20C] 10A-10C illustrate mechanisms for providing sterile filtration in various peritoneal preparation / treatment systems of various disclosed embodiments. [Figure 20D] 10A-10C illustrate mechanisms for providing sterile filtration in various peritoneal preparation / treatment systems of various disclosed embodiments. [Figure 20E] 1 illustrates mechanisms for providing sterile filtration in various peritoneal preparation / treatment systems of various disclosed embodiments. [Figure 20F]

[0062] 1 shows a device for measuring conductivity with minimal fluid loss by positioning a conductivity cell within a disposable at the point where the fluid exits a mixing container, according to an embodiment of the disclosed subject matter. [Figure 20G]

[0063] A system and method is shown that may be applied to any of the embodiments in which a pressure sensor used for flow control provides the additional capability of pressure testing the filter membrane by opening a specific set of valves that define a path from the fluid side of the filter to the pressure sensor. [Figure 21A]

[0064] 1 shows a flow chart for creating a water and concentrate mixture and correcting for errors therein according to an embodiment of the disclosed subject matter. [Figure 21B] 1 shows a flow chart for creating a water and concentrate mixture and correcting for errors therein according to an embodiment of the disclosed subject matter. [Figure 21C] 1 shows a flow chart for creating a water and concentrate mixture and correcting for errors therein according to an embodiment of the disclosed subject matter. [Figure 22A]

[0065] 22A and 22B show a water filtration system having a flushing mode and a priming mode controlled by a controller commanded by a cycler controller according to an embodiment of the disclosed subject matter, and show a product having a flushable filter. [Figure 22B] 22A and 22B show a water filtration system having a flushing mode and a priming mode controlled by a controller commanded by a cycler controller according to an embodiment of the disclosed subject matter, and show a product having a flushable filter. [Figure 22C]

[0066] 22A and 22B illustrate several additional features that may be added to form variations of the various embodiments disclosed herein, including the embodiment of FIGS. 22A and 22B. [Figure 23]

[0067] 1 illustrates an embodiment of a compounding and treatment system in which sampling of spent dialysate is supplemented by a mechanism that allows for sampling and testing of spent dialysate aliquots rather than the full treatment volume of spent dialysate. [Figure 24]

[0068] A peritoneal dialysis system connected to a remote device is shown for purposes of illustrating various features that may be used with the disclosed embodiments to form additional disclosed embodiments. [Figure 25]

[0069] 1 shows a flowchart illustrating one embodiment based on the premise that discrepancies between measured and expected conductivity according to embodiments of the disclosed subject matter may result from a decrease in the water content of one or both of the pre-packaged liquid concentrates, e.g., water loss due to evaporation. [Figure 26A]

[0070] SUMMARY OF THE INVENTION Systems and methods for using a compounding system to infuse medicines or other substances into a pharmacy are illustrated. [Figure 26B] SUMMARY OF THE INVENTION Systems and methods for using a compounding system to infuse medicines or other substances into a pharmacy are illustrated. [Figure 26C] SUMMARY OF THE INVENTION Systems and methods for using a compounding system to infuse medicines or other substances into a pharmacy are illustrated. Detailed Description

[0013]

[0071] Embodiments are described in detail below with reference to the accompanying drawings, in which like reference numerals represent like elements. The accompanying drawings are not necessarily drawn to scale. Where applicable, some features may not be illustrated to aid in the description of the underlying features.

[0014]

[0072] 1A-1D illustrate a peritoneal dialysis fluid proportioner / cycler according to respective embodiments of the disclosed subject matter. Referring now to FIG. 1A, medical fluid preparation and peritoneal dialysis fluid proportioner / cycler system 90A includes a purified water source 104 that supplies water suitable for peritoneal dialysis to a peritoneal dialysis fluid proportioner / cycler 103 connected to a disposable component 100A. Purified water source 104 also provides a connection to a drain (shown only in FIG. 1A but similar in FIGS. 1B-1D). Peritoneal dialysis fluid proportioner / cycler 103 meters concentrate from one or more concentrate containers 101 (one container is shown, but multiple containers may be present), adds it to a mixing container 102, and dilutes it with purified water in mixing container 102. Concentrate container 101 and mixing container 102 form part of a single disposable, which may also include a switchable fluid circuit (not shown) that forms part of disposable component 100A. The mixed dialysis fluid (or other medication) is pumped through connected lines to the patient 101A by the peritoneal dialysis fluid proportioner / cycler 103, for example, for peritoneal dialysis. The configuration of FIG. 1A allows the sterile concentrate and the fluid circuit and containers used for preparation and short-term storage to be provided as a single, sealed, sterile disposable item with a few pre-defined connections to external devices. These may include a connection to a purified water source 104 and a connection to an external medication consumer. The few connections minimize the risk of contamination. By diluting and mixing the concentrate at the time of use, the amount of fluid that must be stored at the peritoneal dialysis treatment site is also minimized. In peritoneal dialysis embodiments, the disposable component 100A may be configured with enough concentrate to perform multiple fill / drain cycles of a single peritoneal dialysis treatment. For example, the disposable component 100A may have enough concentrate for multiple fill cycles of daily automated peritoneal dialysis treatments (APD).

[0015]

[0073] Referring now to FIG. 1B, medical preparation and peritoneal dialysis fluid proportioner / cycler system 90B is similar to medical fluid preparation and peritoneal dialysis fluid proportioner / cycler system 90A, except that disposable component 100B, which has a fluid circuit for compounding, diluting, and delivering a product medication, does not include a concentrate. This reduces the size and mass of disposable component 100B, which is handled frequently, e.g., daily, making it easier for the patient and / or user to handle and store. It can also make disposable component 100B more economical by reducing waste and providing packaging and manufacturing savings. To supply the concentrate, a separate disposable component 100E is provided, which includes one or more concentrate containers 101. Disposable component 100E may have a large capacity and may be replaced on a schedule even less frequent than that of disposable component 100B. For example, disposable component 100B may be replaced after each daily peritoneal dialysis treatment. This may be referred to as a "daily disposable component." For example, disposable component 100E may be replaced once a month and thus referred to as a "monthly disposable," or replaced weekly and therefore referred to as a "weekly disposable." The exact volume and length of time a disposable typically lasts are not limiting features of the disclosed subject matter. What is relevant is that disposable component 100E (and others disclosed below) have sufficient capacity for multiple treatments, each treatment comprising multiple fill / drain cycles of peritoneal dialysis treatment.

[0016]

[0074] Disposable component 100B may also have a sterile filter 115 as part of the fluid circuit contained therein, the sterile filter 115 being of a type having an air line 118 that allows pressure testing of its membrane. This latter type of filter test may be performed automatically by the controller of peritoneal dialysis fluid proportioner / cycler 103 on a more frequent replacement schedule than the replacement schedule for disposable component 100E. In embodiments, sterile filter 115 is integrated and therefore may be replaced along with disposable component 100B. This allows sterile filter 115 to be sealed and sterilized with disposable component 100B and mixing container 102 as a single unit along with the switchable fluid circuit (not shown). Note that details of a suitable configuration for the switchable fluid circuit may be found in International Patent Application Publication No. WO2013141896 to Burbank et al.

[0017]

[0075] The function provided by the sterile filter 115 is to provide safety when a new sterile disposable component 100B is attached to the concentrate 101 for each peritoneal dialysis treatment. A similar filter can be used in all embodiments for the line indicated at 107, which carries purified water to the peritoneal dialysis fluid proportioner / cycler 103. Because a new connection is required each time the disposable component 100B is replaced, there is a risk of contamination from the new connection. The sterile filter 115 (and others) can be provided as a sterile barrier to protect the sterile interior of the disposable component 100B, thereby ensuring that any contamination resulting from a newly made connection does not enter the interior of the disposable component 100B. Additionally, automated testing of the filter provides assurance that the integrity of the sterile filter 115 provided the expected sterile fluid. Thus, testability serves as assurance of the filter's sterile function. Testing of the sterile filter using a pressurized air test can be done in a variety of ways; for example, a bubble point test can be performed. Alternatively, a pressure decay test can be performed, in which a fluid is pumped through the membrane and the pressure drop is measured and compared to a pressure drop representative of an intact filter; or, the pressure is increased on one side, pumping is stopped, and the rate of pressure decay is compared to a predetermined curve representative of an intact filter. In other embodiments, the filter is housed in an airtight container, and the container is pressurized to a level below the expected bubble point but high enough to ensure the membrane is sterilization grade. Because the filter has a vent, this pressurizes the membrane. The rate of (air) pressure decay is then measured; if the rate of decay is greater than a predetermined threshold rate, the filter is indicated as having failed. Other means of testing the integrity of the filter can be used; for example, the concentrate can contain large molecule excipients, the presence of which can be detected using automated chip-based analyte detection (e.g., attachment of the fluid sample to a selective fluorophore after flowing through the filter and optical detection after concentration).As noted above, a feature of embodiments that use a filter to provide assurance is that the filter forms part of a sterile unit that is otherwise hermetically sealed or protected by one or more additional sterile filters. Thus, in embodiments, the entire sealed and sterilized circuit may have sterile filters at (1) all openings to its interior, or at least (2) all openings through which fluids enter from the external environment.

[0018]

[0076] Referring now to FIG. 1C, medical preparation and peritoneal dialysis fluid proportioner / cycler system 90C is similar to medical fluid preparation and peritoneal dialysis fluid proportioner / cycler system 90B in that disposable component 100C, which has a fluid circuit for compounding, diluting, and delivering product medication, does not contain a concentrate. As in peritoneal dialysis fluid proportioner / cycler system 90B, a separate disposable component 100F is provided containing one or more concentrate containers 101; in this example, first concentrate container 105A and second concentrate container 105B are shown. These may be in the form of canisters held by a single package wrapper 105C, or they may be replaced separately when expired or depleted. As in peritoneal dialysis fluid proportioner / cycler system 90B, disposable component 100C may have a large capacity and may be replaced on a less frequent schedule than that of disposable component 100B. For example, first concentrate container 105A and / or second concentrate container 105B may be sized to be replaced on a monthly basis. In medical fluid preparation and peritoneal dialysis fluid proportioner / cycler system 90C, disposable component 100C may also have two sterile filters (collectively shown as sterile filters 115) as part of the fluid circuit contained therein, each of which is of a type having an air line 118 that allows pressure testing of its membrane. Each of the concentrates from first concentrate container 105A and second concentrate container 105B may thereby be sterile filtered, and the filters tested separately for each. As in peritoneal dialysis fluid proportioner / cycler system 90B, this configuration allows sterile filter 115 to be sealed and sterilized with disposable component 100C and mixing container 102 as a single unit along with the switchable fluid circuit (not shown). As in any of the embodiments, a sterile filter may be used in the water supply line, as shown at 107.

[0019]

[0077] Referring now to FIG. 1D , medical preparation and peritoneal dialysis fluid proportioner / cycler system 90D is similar to medical fluid preparation and peritoneal dialysis fluid proportioner / cycler system 90C in that disposable component 100C, which has a fluid circuit for compounding, diluting, and delivering product medication, does not include a concentrate. As in peritoneal dialysis fluid proportioner / cycler system 90C, a separate disposable component 100G is provided, which includes a first concentrate container 105A and a second concentrate container 105B. As in any of the embodiments, the number of concentrates may be greater or fewer. The concentrates may be held in canisters, which may have a single package wrapper 105C, or may be replaced separately when expired. As in peritoneal dialysis fluid proportioner / cycler system 90C, disposable component 100G may have a large capacity and, as a result, may be replaced on a less frequent schedule than that of disposable component 100D. For example, first concentrate container 105A and / or second concentrate container 105B may be sized to be replaced on a monthly basis. In medical fluid preparation and peritoneal dialysis fluid proportioner / cycler system 90D, disposable component 100D may also have a sterile filter 115 as part of the fluid circuit contained therein, also of a type having an air line 118 that allows pressure testing of its membrane. To sterile filter each of the concentrate from first concentrate container 105A and second concentrate container 105B, a connection platform enables peritoneal dialysis fluid proportioner / cycler 103 to selectively withdraw purified water from first concentrate container 105A or second concentrate container 105B by closing valves on all but one of them at a time by connection platform 106 under the control of peritoneal dialysis fluid proportioner / cycler 103. As in peritoneal dialysis fluid proportioner / cycler system 90B, this configuration allows the sterile filter 115 to be sealed and sterilized with the disposable component 100D and mixing container 102 as a single unit along with the switchable fluid circuit (not shown).The switching fluid circuit of the connection platform 106 may be part of a disposable item that is replaced along with the first concentrate container 105A and the second concentrate container 105B.

[0020]

[0078] In this and any of the embodiments, the long-term concentrate containers (e.g., monthly disposables) may be replaced on a separate schedule and therefore need not be packaged as a single disposable. This may provide further savings when one concentrate is used by some patients at a lower rate than others, thus allowing the concentrate to be completely consumed before replacement.

[0021]

[0079] It should be apparent that there is potential for reducing concentrate waste by structuring batch preparation components to allow replacement of concentrates independently of one another at intervals covering multiple peritoneal dialysis treatment sessions. Each concentrate container can be used until depleted. In embodiments, depletion may be defined as a condition in which insufficient concentrate remains in a single container to allow preparation of a complete batch of peritoneal dialysis fluid, with a full batch, in embodiments, being the amount of concentrate component sufficient for a single fill cycle. In other embodiments, a concentrate container may be depleted when there is not enough concentrate to make enough dialysis fluid for a complete treatment or to make a predetermined number of batches. When two concentrates are mixed to form a batch, each component concentrate may be replaced when its required contribution to the formula to make a single batch exceeds the remaining volume in a particular container. The residual volume threshold associated with this shortage is a fixed amount, so that the percentage of the total volume available from a full container is smaller for larger containers than for smaller containers. Thus, in embodiments in which a concentrate container is replaced only when a threshold is reached, the container holds a large total volume, e.g., sufficient for multiple fill cycles, or better yet, sufficient for multiple peritoneal dialysis treatments, each involving multiple fill cycles, resulting in even less overall waste than disposable components containing concentrate for a single peritoneal dialysis treatment. An example of the latter is described below with reference to FIGS. 8A and 8B. Furthermore, because each concentrate container can be replaced separately, the fixed residual volume thresholds of the multiple concentrate containers are independent of each other, since each container can be replaced independently of the other. In contrast, in the embodiment of FIGS. 8A and 8B, if one container reaches its minimum volume before the other, the contents of either concentrate container cannot be further used.

[0022]

[0080] In this embodiment, the concentrate container is sized to allow for a single peritoneal dialysis treatment. For convenience and convention, a single peritoneal dialysis treatment is considered to be a day's worth of peritoneal dialysis treatment, e.g., a series of overnight PD cycles ending with a fill. Thus, a day's worth of peritoneal dialysis treatment is equivalent to a sufficient amount of fluid to perform multiple fill and drain cycles. The embodiment in which the concentrate container is sized for a day's worth of peritoneal dialysis treatment differs from that described with reference to the embodiment of FIGS. 8A and 8B in that the concentrate can be replaced independently, thereby achieving a potential savings in the first concentrate used at a rate such that the remaining amount of the first concentrate can be more fully utilized, as described above. More specifically, if the concentrate container is sized such that at least a given batch of a formula requires more of the first concentrate component than the second concentrate component, and such that at least one batch, or at least one day's worth of batches, can be completed after replacing the first concentrate component while leaving sufficient residual concentrate of the second component to make at least one additional batch, or additional day's worth of batches, savings in the second concentrate can be enjoyed. In embodiments, the total concentrate in the most frequently used container of a multi-component concentrate system is sufficient for at least:

[0023]

[0081] Multiple batches, where the batch is sufficient for a single peritoneal cycle (filling of the peritoneum for a given class of patient (e.g., children, adults, adults of a certain size, etc.))

[0024]

[0082] Same as 1, but where multiple batches are sufficient for a single peritoneal dialysis treatment with multiple fill-drain cycles;

[0025]

[0083] 2, except that the most frequently used concentrate container is sufficient to make enough dialysis fluid for multiple peritoneal dialysis treatments;

[0026]

[0084] Same as 2, except that the most frequently used concentrate container is sufficient to make enough dialysis fluid for multiple days of peritoneal dialysis treatments, where a single day's supply is not equivalent to a single peritoneal dialysis treatment;

[0027]

[0085] A full week of peritoneal dialysis treatments, or

[0028]

[0086] A full month of peritoneal dialysis treatments or some other interval of one or several months.

[0029]

[0087] FIGS. 1F-1H illustrate an embodiment similar to that of FIGS. 1A-1D and detail it in further detail. Referring now to FIG. 1F, a fluid circuit is shown at 112. The fluid circuit 112 engages a peritoneal dialysis fluid proportioner / cycler 114 by a valve actuator 123 and one or more pumping actuators 125 that engage the fluid circuit elements of the fluid circuit 112 without wetting the actuator components. For example, some type of valve actuator, such as a linear motor-driven pinch clamp, can open and close tubing for flow therethrough, and peristaltic pump rollers can engage pumping tubing segments. The configuration is not limited to such examples; many configurations are known in the art, any of which may be used in this embodiment. The fluid circuit 112 has water suitable for peritoneal dialysis and drain lines 126, 127. Water suitable for peritoneal dialysis flows through a line with a sterile filter 115 according to any of the disclosed embodiments, including a testable filter and two sterile filters in series. The only connections that need to be made to supply fluid or drain fluid are those shown at 129. Water and drain lines 126, 127 suitable for peritoneal dialysis may be formed as part of the fluid circuit 112. In embodiments, the fluid circuit 112, concentrate container(s) 101, and mixing container 102 may be pre-connected to form a complete disposable fluid circuit 100A containing concentrate.

[0030]

[0088] 1G, further details of peritoneal dialysis fluid proportioner / cycler system 90C are shown. A separate disposable component 100F includes concentrate containers 105A and 105B and connects to peritoneal dialysis fluid proportioner / cycler 114 by connector 121, which may include a dual connector or other types as described in the embodiments described herein. Peritoneal dialysis fluid proportioner / cycler 114 has a pumping actuator 125 and a valve actuator 123 that engage fluid circuit 112. Here, peritoneal dialysis fluid proportioner / cycler 114 provides a feed-through connection for the concentrate, and a sterile filter 115 on concentrate line 130 forms part of disposable component 100C, including fluid circuit 112 and mixing container 102. That is, peritoneal dialysis fluid proportioner / cycler 114 connects concentrate line 131 to concentrate lines 155A and 155B, respectively, of fluid circuit 112. Again, connectors for air lines 130A and 130B are provided to peritoneal dialysis fluid proportioner / cycler 114, where an air pump (not shown) can generate positive pressure and a pressure sensor can measure the positive pressure. A filter integrity test can be performed after flowing fluid through the fluid circuit. During setup, disposable component 100C can be connected by connecting water and drain lines 116, 117, concentrate lines 155A and 155B, and air lines 130A and 130B suitable for peritoneal dialysis, while connector 121 can remain in place throughout the entire long-term disposable cycle, i.e., until separate disposable component 100F expires. Since the latter are replaced less frequently, connector 121 can remain in place for a relatively long period of time, and frequent replacement can be limited to replacing connectors 122, 120, as well as connectors for water and drain lines 116, 117 suitable for peritoneal dialysis, and air lines 130A and 130B. In an embodiment, for convenience, all of these connections can be provided in the form of interlocking connectors for making and breaking multiple connections at once.The concentrate containers 105A and 105B may connect to a connection platform (not shown as a unit, but may include connectors and supports for the concentrate containers 105A and 105B) and holder for the peritoneal dialysis fluid proportioner / cycler 114. See additional connection platform embodiments for details.

[0031]

[0089] Referring to FIG. 1H, a simplified configuration is possible if disposable component 100G is connected to peritoneal dialysis fluid proportioner / cycler 114 by connector 121, but all concentrate and water enter fluid circuit 112 via fluid line 135, and all of these fluids are filtered by sterile filter 115. To accommodate this, a connection platform having its own controller (not shown separately) may be provided and connected to peritoneal dialysis fluid proportioner / cycler, the combination being illustrated at 119. The connection platform portion of the combined peritoneal dialysis fluid proportioner / cycler and connection platform 119 may be, for example, as described with reference to FIGS. 2K-2M. The connection platform portion of the combined peritoneal dialysis fluid proportioner / cycler and connection platform 119 selects one of the fluids at a given time by blocking the other fluids and opening the fluid path to the selected one of water, concentrate A, and concentrate B. As shown, more or fewer concentrates may be used herein and in any embodiment. There is a drain line 135. A communications interface may be provided to allow commands to be sent from the fluid circuit 112 to the peritoneal dialysis fluid proportioner / cycler and connection platform 119.

[0032]

[0090] FIG. 2A shows a disposable fluid circuit 200 having fluid lines and components 200A and a cartridge portion 205 including a fluid flow director portion 200B and a manifold portion 200E. The disposable fluid circuit 200 is used as a replaceable disposable component with a peritoneal dialysis fluid proportioner / cycler according to embodiments disclosed herein. This disposable fluid circuit 200 may be used, for example, with a peritoneal dialysis fluid proportioner / cycler system 90A. The two concentrate containers 111A and 111B and the mixing container 102 are connected as a pre-connected unit with other portions of the fluid circuit. The two concentrate containers 111A and 111B and the mixing container 102 may be provided as a welded double-panel sheet with welded seams defining the respective chambers. The mixing container 102 has two lines: an inlet line 165 and an outlet line 166. The first concentrate container 111A has a line 167, which may be pre-connected, and the second concentrate container 111B has a line 164, which may be pre-connected. This embodiment is for a peritoneal dialysis fluid proportioner / cycler and has a pre-connected fill-drain line 160 with a dialysis fluid line 172 attached to an air line 129. The latter may be formed as a single unit by co-extrusion. The air line 129 is attached to a pressure-sensing pod 162 located at the distal end of the pre-connected fill-drain line 160. A connector 185 at the distal end of the pre-connected fill-drain line 160 is sealed. Another dual line 161 has the air line 129 and a fluid line 171. The fluid line 171 receives fluid from the peritoneal dialysis fluid proportioner / cycler 114, and the air line is used to test the filter membrane. Two air lines 129 connect to respective ports 191 that automatically connect to actuator portion 140 of any of the preferred peritoneal dialysis fluid proportioner / cycler embodiments. Actuator portion 140 may be described with reference to FIG. 2B. Sample ports are provided at 168 at the ends of sample fluid lines 132 and 133 for extracting fluid from respective chambers 175 and 176 of manifold 174.Two chambers 175 and 176 are separated by a barrier 134 and connected by a pumping tubing segment 137. A pressure pod 178 is installed in each of the two chambers 175 and 176 to measure the pressure on the suction and pressure sides of the pumping tubing segment 137. The dialysis fluid line 172 has two branches 136 and 139. The waste line 128 and the fluid line 171 connect via a dual connector 181. Lines 132, 128, 165, and branch 136 connect to chamber 175. Lines 133, 164, 166, 167, 171, and branch 139 connect to chamber 176.

[0033]

[0091] Duplex connector 181 supports lines 171 and 128 and provides a pair of connectors 186 and 187 to allow connection of lines 171 and 128 to the water supply inlet and fluid outlet line ports on peritoneal dialysis fluid proportioner / cycler 114. Connectors 186 and 187 are sealed by cap 180. A recess 5251 (see FIGS. 5A and 5B) that engages a detente pin (not shown, but which may be a spring-loaded pin within the opening that receives duplex connector 181) provides tactile confirmation of full engagement of duplex connector 181. Duplex connector 181 has a window 183 that provides access to a cut-and-seal actuator (not shown in this view, but shown at 210 in FIGS. 2I-2K). When segments 182 and 184 of lines 171 and 128 are disconnected, the duplex connector can remain in place and seal the water supply inlet and fluid outlet line ports until it is removed immediately prior to connecting a new duplex connector 181. This provides a barrier to prevent contaminants from entering the water supply inlet and fluid outlet line ports, which in turn protects the sterile fluid pathways used by the peritoneal dialysis fluid proportioner / cycler or connection platform.

[0034]

[0092] Both first concentrate container 111A and concentrate container 111B are sealed by frangible seals 154 in each of lines 164 and 167. The seals are automatically broken by an actuator after manifold cartridge 205 is loaded into a receptacle that engages the interface shown in FIG. 1B. Holes 170 are provided in cartridge support 169, which holds the lines in a predetermined position. Holes 170 provide access to a pinch actuator that selectively opens and closes line 177. Certain lines, such as line 177, engage with valve actuators to function as valve segments. Holes 179 provide access to an actuator that breaks frangible seal 154. Note that cartridge support 169 is bridged to manifold 174 by a series of tubing, collectively indicated at 200C. Even though the polymer of the tubes is flexible, their length and number are such that the entire structure, including cartridge support 169 and manifold 174, is sufficiently rigid so that it can be easily inserted into the receiving slots.

[0035]

[0093] FIG. 2B illustrates an actuator portion 140 of a peritoneal dialysis fluid proportioner / cycler according to an embodiment of the disclosed subject matter. Referring to FIG. 2B, a receiving slot 158 ​​receives cartridge portion 205 and aligns it with the various actuators and sensors identified herein. The various actuators and sensors include a pinch clamp actuator 141 that selectively compresses selected tubing to provide a valve function. The actuators and sensors further include a frangible seal actuator 142 that breaks a frangible seal 154 in the concentrate line, which includes a frangible seal. The frangible seal actuator 142 can be simultaneously activated to open the line between the pump and the concentrate container once the pump (e.g., an eight-roller peristaltic pump 143, note that the number of rollers can be any number) is engaged with the pumping tubing segment 137. The actuators and sensors further include an air sensor 150, e.g., an optical air sensor, that partially wraps around the tubing segment of branch 136 above the hole indicated at 124. Ports 146 and 147 connect vacuum or pressure pumps to respective ports 191 .

[0036]

[0094] 2C shows a connection platform 219 that serves as an interface between a purified water source and a peritoneal dialysis fluid proportioner / cycler according to an embodiment of the disclosed subject matter. The connection platform 219 is one embodiment that can provide connections to the inlet and outlet lines 116 and 117 of the embodiment of FIGS. 1G and 1H, as well as connectors for the concentrate containers 105A and 105B for interfacing with the peritoneal dialysis fluid proportioner / cycler 114. The connection platform 219 allows the purified water source 104 to be connected to different devices, such as different peritoneal dialysis treatment devices. Shown here is a configuration adapted for peritoneal dialysis medication preparation and, optionally, also for peritoneal dialysis treatment.

[0037]

[0095] Water from the purified water source 104 is received in a water supply line 245 via a connection 244 and flows through an ultrafilter 237. The pressure of the water suitable for peritoneal dialysis supply is monitored by a pressure sensor 218. A valve 234 selectively controls the flow of water suitable for peritoneal dialysis to a duplex connector 215. The purified water source terminates in a purified water connector 224 of the duplex connector 215. The duplex connector 215 also has a drain terminal connector 225 that splits at a junction 220 into two paths: one that flows to a pair of conductivity sensors 230 and then joins at a junction 238 and continues to a drain 236, and the other that flows directly to the drain 236. The selected path is controlled by valves 232, 240, and 242, which are controlled by the controller 210. The aforementioned duplex connector 181 is received in a slot 214 to which connections to the purified water connector 224 and the drain terminal connector 225 are made. A detent mechanism 216 provides tactile and audible feedback to the operator when the home (fully connected) position of the duplex connector 181 is achieved by insertion into the receiving slot 214. The receiving slot 214A has a cut and seal actuator 212, driven by the controller 210, that cuts the tubing through a window in the duplex connector 181. The connector 239 serves as an adapter to allow connection to various types of drains. The connection platform 219 is also provided with sensors, including a moisture sensor 249 positioned to detect leaking fluid within the connection platform 219 and a tilt sensor 226 that indicates the proper orientation of the connection platform 219, and a user interface that interacts with the controller 210. The connection platform 219 can be received within the receiving slot 231 and formed as a single, replaceable component. If a sterility or leakage problem occurs, the connection platform 219 can be easily replaced.

[0038]

[0096] FIG. 2D illustrates a peristaltic pumping actuator 143, a feature of the embodiments disclosed herein, that allows for the use of straight pumping tube segments within a generally planar cartridge. Rollers 145 are attached to a rotor with recesses that allow clearance for the expansion of adjacent pumping tube segments disposed between the races 148 and the rollers 145. Unlike other peristaltic pump rollers, the rollers 145 are not spring-loaded and rotate on fixed bearings 1472. Instead, the races 148 are spring-loaded by springs 144 that urge the races against the pumping tube segments pinched by the rollers 145. This is a specific embodiment of the pump, and at least some embodiments are not limited based on whether the rollers or races are spring-loaded. The rotor 149 can be moved toward the races 148 to engage the pumping tube segments, or the races 148 can be moved toward the rotor 149. Sufficient clearance at 1492 allows a cartridge, such as cartridge portion 200B with a pumping tube segment, to slide in without interference during loading. Race 148 is constrained to tilt (in the plane of the drawing) and translate up and down in the plane of the drawing by pin 152 received in guide 153.

[0039]

[0097] 2E shows a disposable fluid circuit for a peritoneal dialysis fluid proportioner / cycler according to one embodiment of the disclosed subject matter, where the concentrate is extracted from disposable components separate from the cycler / preparation fluid circuit. Disposable fluid circuit 300 has fluid lines and components 300A and a cartridge portion 305 including a fluid flow director portion 300B and a manifold portion 300E. Disposable fluid circuit 300 is for use with certain embodiments of the peritoneal dialysis fluid proportioner / cycler disclosed herein. This disposable is one embodiment that may be used, for example, with peritoneal dialysis fluid proportioner / cycler system 90B or 90D, where two concentrate containers 105A and 105B (not shown in this view, but shown in FIGS. 1B and 1H, and again, shown here by way of example only, and therefore not a limitation of disposable fluid circuit 300) are provided as a separate unit from disposable fluid circuit 300, which has mixing container 102 but no concentrate container. Mixing container 102 may be provided as a welded double-panel sheet with a welded seam that defines a chamber. Mixing container 102 may have two lines, inlet line 165 and outlet line 166. In an alternative embodiment, mixing container 102 may have only a single line for both inlet and outlet.

[0040]

[0098] This embodiment is for a peritoneal dialysis fluid proportioner / cycler and includes a pre-connected fill-drain line 160 with a dialysis fluid line 172 attached to an air line 129. The latter may be formed as a single unit by co-extrusion. In an alternative embodiment, the fill-drain lines may be separate and connectable with separate connectors. In this embodiment, the air line 129 is attached to a pressure-sensing pod 162 positioned at the distal end of the pre-connected fill-drain line 160. The connector 185 at the distal end of the pre-connected fill-drain line 160 is sealed. Another dual line 161 includes the air line 129 and a fluid line 171. The fluid line 171 receives fluid from the peritoneal dialysis fluid proportioner / cycler 114, and the air line is used to test the filter membrane. The two air lines 129 connect to respective ports 191 that automatically connect to the actuator portion 140, as described with reference to FIG. 2B. Sample ports are provided at 168 at the ends of sample fluid lines 132 and 133 for extracting fluid from respective chambers 175 and 176 of manifold 174. The two chambers 175 and 176 are separated by barrier 134 and connected by pumping tubing segment 137. A pressure pod 178 is installed in each of the two chambers 175 and 176 to measure the pressure on the suction and pressure sides of pumping tubing segment 137. Dialysis fluid line 172 has two branches 136 and 137. Waste line 128 and fluid line 171 connect via dual connector 181. Lines 132, 128, 165, and branch 136 connect to chamber 175. Lines 133, 164, 166, 167, 171, and branch 139 connect to chamber 176.

[0041]

[0099] Duplex connector 181 supports lines 171 and 128 and provides a pair of connectors 186 and 187 to enable connection of lines 171 and 128 to the water supply inlet and fluid outlet line ports on peritoneal dialysis fluid proportioner / cycler 114. Connectors 186 and 187 are sealed by cap 180. Detent pin-engaging recesses provide tactile confirmation of full engagement of duplex connector 181. Duplex connector 181 has a window 183 that provides access to a cut-and-seal actuator (not shown in this view). When segments 182 and 184 of lines 171 and 128 are disconnected, the duplex connector can remain in place and seal the water supply inlet and fluid outlet line ports on peritoneal dialysis fluid proportioner / cycler 114 until removed just prior to connecting a new duplex connector 181. This provides a barrier to prevent contaminants from entering the connection platform 219 fluid pathways, which in turn protects the sterile fluid pathways used by the peritoneal dialysis fluid proportioner / cycler 114. The connection platform 219 selects the fluid to be delivered to the fluid line 171. Holes 170 are provided in the cartridge support 169 that hold the lines in a predetermined position. Holes 170 provide access to a pinch actuator that selectively opens and closes line 177. Note that the cartridge support 169 is bridged to the manifold 174 by a series of tubing, collectively indicated at 300C. Even though the polymer of the tubing is flexible, the cartridge support 169 and manifold 174 can be easily inserted into the receiving slots.

[0042]

[0100] 2F and 2G illustrate a liquid concentrate disposable component for use with embodiments of the disclosed subject matter. Referring to FIG. 2F, a liquid concentrate package 206, e.g., a cardboard box, includes a pair of liquid concentrate containers 262 and 264. Each of the liquid concentrate containers 262 and 264 can be connected to a respective port 265, 266 of a dual connector 181B, which can be one of those described above (FIGS. 2A, 2E) or below (e.g., FIGS. 5A-5E), or another type of connector or connector pair. For example, a simple two-port connector 273 can be used. Separate connectors can also be used to allow the containers to be exchanged independently of each other. In embodiments, the dual ports can be connected to a receiving device 287 such that each liquid concentrate 262 or 264 can be placed in the receiving device 287 independently of the other, while the dual connector 181B remains connected to the receiving device 287, as shown in FIG. 2G. Receiving device 287 has fluid connectors 285 for connecting to corresponding connectors on concentrate containers 262 and 264, so that once each of containers 262 or 264 is installed, fluid can be drawn through ports 288A and 288B of two-port connector 273. The latter can be connected to connection platform 219, for example, as shown in FIG. 2I.

[0043]

[0101] FIG. 2H shows a disposable fluid circuit 310 for a peritoneal dialysis fluid proportioner / cycler according to an embodiment of the disclosed subject matter, in which concentrate is extracted from disposable components separate from the cycler / preparation fluid circuit through respective filtration lines. The disposable fluid circuit 310 includes fluid lines and components 310A and a cartridge portion 315 including a fluid flow director portion 310B and a manifold portion 310E. The disposable fluid circuit 310 is for use with certain embodiments of the peritoneal dialysis fluid proportioner / cycler disclosed herein. This disposable is one embodiment that can be used with a peritoneal dialysis fluid proportioner / cycler system 90C in which two concentrate containers 105A and 105B are provided as separate disposables from that shown in 100C with only the mixing container 102. The mixing container 102 can be provided as a welded double-panel sheet with a welded seam defining the chamber. The mixing container 102 has two lines: an inlet line 165 and an outlet line 166. This embodiment is for a peritoneal dialysis fluid proportioner / cycler and has a pre-connected fill-drain line 160 with a dialysis fluid line 172 attached to an air line 129. The fill-drain line 160 with the dialysis fluid line 172 attached to the air line 129 can be formed as a single unit by co-extrusion of both lines. The air line 129 is attached to a pressure-sensing pod 162 located at the distal end of the pre-connected fill-drain line 160. A connector 185 at the distal end of the pre-connected fill-drain line 160 is sealed. Another dual line 161 has the air line 129 and a fluid line 171. The fluid line 171 receives fluid from the peritoneal dialysis fluid proportioner / cycler 114, and the air line is used to test the filter membrane. The two air lines 129 connect to respective ports 191 which automatically connect to actuator portions such as 140 as described with reference to FIG. 2B (see 146 and 147 in FIG. 2B).Sample ports are provided at 168 at the ends of sample fluid lines 132 and 133 for extracting fluid from respective chambers 175 and 176 of manifold 174. The two chambers 175 and 176 are separated by barrier 134 and connected by pumping tubing segment 137. A pressure pod 178 is installed in each of the two chambers 175 and 176 to measure the pressure on the suction and pressure sides of pumping tubing segment 137. Dialysis fluid line 172 has two branches 136 and 139. Waste line 128 and fluid line 171 connect via a duplex connector 181. Lines 132, 128, 165, and branch 136 connect to chamber 175. Lines 133, 164, 166, 167, 171, and branch 139 connect to chamber 176. Fluid line 171 connects to a water supply.

[0044]

[0102] Duplex connector 181 supports lines 171 and 128 and provides a pair of connectors 186 and 187 to enable connection of lines 171 and 128 to the water supply inlet and fluid outlet line ports on peritoneal dialysis fluid proportioner / cycler 114. Connectors 186 and 187 are sealed by cap 180. Detent pin-engaging recesses provide tactile confirmation of full engagement of duplex connector 181. Duplex connector 181 has a window 183 that provides access to a cut-and-seal actuator (not shown in this view). When segments 182 and 184 of lines 171 and 128 are disconnected, the duplex connector can remain in place and seal the water supply inlet and fluid outlet line ports on peritoneal dialysis fluid proportioner / cycler 114 until removed immediately prior to connecting a new duplex connector 181. This provides a barrier to prevent contaminants from entering the connection platform fluid pathways, which in turn protects the sterile fluid pathways used by peritoneal dialysis fluid proportioner / cycler 114. The connection platform 219 selects the fluid to be delivered to the fluid line 171. Holes 170 are provided in the cartridge support 169 (which may be vacuum formed) that holds the line in place. The holes 170 provide access to a pinch actuator that selectively opens and closes the line 177. Note that the cartridge support 169 is bridged to the manifold 174 by a series of tubing, collectively designated 310C. Even though the tubing polymer is flexible, the cartridge support 169 and manifold 174 can be easily inserted into the receiving slots. Two concentrates are received through lines 164 and 167, respectively. Each of the lines is filtered by filter 115, as described with reference to FIG. 1G. Respective holes 170 are provided to control the flow of concentrate through each of the lines 164 and 167. FIGS. 2I and 2J show an example of the connection platform 219 for connecting to a dual connector 181A to allow concentrate to be drawn through lines 164 and 167.

[0045]

[0103] It should be noted that the actuators and sensors of the embodiments of Figures 2I, 2J, 2K, 2L, and 2M may be controlled, for example, by a single controller.

[0046]

[0104] 2I, 2J, and 2K illustrate respective embodiments of a connection platform interfacing between a purified water source and a separate concentrate source according to embodiments of the disclosed subject matter, and an embodiment of a peritoneal dialysis fluid proportioner / cycler disclosed herein. Referring now to FIG. 2I, connection platform 219 is one embodiment of an interface providing water supply and drain connections (116, 117; see FIGS. 1G and 1H) between purified water source 104 and peritoneal dialysis fluid proportioner / cycler 114. Connection platform 219 allows purified water source 104 (FIGS. 1F-1G) to be connected to different devices, such as different peritoneal dialysis treatment devices. Shown here is a configuration adapted for peritoneal dialysis medication preparation and, optionally, peritoneal dialysis treatment. This configuration differs from the configuration of FIG. 2C in that it includes a mechanism for connecting a circuit, such as the disposable fluid circuit 310 of FIG. 2H, that draws concentrate from a duplex connector 181A that mates with slot 214A and receives concentrate through port 283. The duplex connector 181A also has a detent mechanism 216 for providing feedback to an operator when the home (fully connected) position of the duplex connector 181A is achieved by insertion into the receiving slot 214A. The receiving slot 214A has a cut and seal actuator 212, driven by the controller 210, that cuts the tubing through windows in the duplex connectors 181, 181A. The ports 283 may be supported on an interchangeable duplex connector 273 as described in FIG. 2F, such that the ports are provided by interchangeable connectors as part of the concentrate package 260 shown in FIG. 2F, which includes concentrate containers 262 and 264, or are mated to the receiving device 287 described above with reference to FIG. 2G. In an alternative embodiment, port 283 may be part of connection platform 219. In that case, tubes 290 and 292 may be part of connection platform 219, and separate connectors may be provided for connecting tubes 293 and 294 of concentrate containers 262 and 264 (FIG. 2F), or similarly for connecting receiving device 287.

[0047]

[0105] Similar to the embodiment of FIG. 2C , water from purified water source 104 is received in water supply line 245 via connection 244 and flows through ultrafilter 237. The pressure of the water suitable for peritoneal dialysis supply is monitored by pressure sensor 218. A valve 234 selectively controls the flow of water suitable for peritoneal dialysis to duplex connector 215. The purified water source terminates in purified water connector 224 of duplex connector 215. Duplex connector 215 also has drain terminal connector 225, which splits at junction 220 into two paths: one that flows to a pair of conductivity sensors 230 and then joins at junction 238 and continues to drain 236, and the other that flows directly to drain 236. The selected path 247 is controlled by valves 232, 240, and 242, which are controlled by controller 210. The aforementioned duplex connector 181 is received in slot 214, through which connections to purified water connector 224 and drain terminal connector 225 are made. A detent mechanism 216 provides tactile and audible feedback to the operator when the home (fully connected) position of the duplex connector 181 is achieved by insertion into the receiving slot 214. The connector 239 serves as an adapter to allow connection to various types of drains. The connection platform 219 is also provided with sensors, including a moisture sensor 249 positioned to detect leaking fluid within the connection platform 219 and a tilt sensor 226 to indicate the proper orientation of the connection platform 219, and a user interface for interacting with the controller 210. The connection platform 219 can be received within the receiving slot 231 and formed as a single replaceable component. In the event of sterility or leakage issues, the connection platform 219 can be easily replaced.

[0048]

[0106] Note that the configuration of FIG. 2I provides a simple, clean connection between the large concentrate container and the disposable. However, there is no reason why a direct connection could not be provided. That is, the long-term concentrate disposable could be provided with its own connector for connecting to the duplex connector 181A or a similar connector or a pair of connectors. In another variation shown in FIG. 2J, a connection platform 219 provides a receiving connector for a concentrate connector 181B, which can be attached to a receiving device 287 of a concentrate container as shown in FIGS. 2F and 2G. In the connection platform 219 of FIG. 2J, a pair of lines 280 and 281 connect the duplex connectors 181A and 181B so that concentrate can be drawn by a peritoneal dialysis fluid proportioner / cycler 114 according to any of the various embodiments. In effect, the connection platform 219 in this case functions as a throughway. The connection with the duplex connector 181B can be made on an infrequent basis depending on the size of the concentrate container, while the connection with the duplex connector 181A can be made on a per-peritoneal dialysis treatment basis (or other schedule), whenever the mixing container 102 and associated fluid circuitry (e.g., 310) is changed. FIG. 2K shows another mechanism for connecting and controlling the flow of concentrate to the peritoneal dialysis fluid proportioner / cycler 114. Here, connector 289 connects to a manifold 297 having a controllable valve 279 that opens and closes under the control of controller 213 to admit only a selected one of water suitable for peritoneal dialysis from a water supply line 296, a first concentrate from a first concentrate line 295A, and a second concentrate from a second concentrate line 295B. Each of these can be drawn through a common fluid line 298 that passes through connector 224. Thus, pumping actuator 125 of peritoneal dialysis fluid proportioner / cycler 114 (FIGS. 1F and 1G) can draw each of the fluids. The controller of the peritoneal dialysis fluid proportioner / cycler 114 can be adapted to control the valve 279 by communicating with the controller 213 via the user interface 312 .The functionality of controller 213 and user interface 312 (optional) may be the same except as indicated differently throughout Figures 2I, 2J, and 2K. Note that a single controller for peritoneal dialysis fluid proportioner / cycler 103 (410, 109), or a separate controller common to both (e.g., as shown by 109 in Figures 1A-1H), may be used to control the described functionality of peritoneal dialysis fluid proportioner / cycler systems 90A-90D.

[0049]

[0107] 2L and 2M show a modification of the connection platform of FIG. 2K that provides for water and concentrate to be supplied through a common fluid line 298. Referring to FIG. 2L, instead of a single manifold such as manifold 297, a pair of junctions 222 are used, one joining first concentrate line 295A and second concentrate line 295B. The concentrate is pumped according to the selection of valves 250A and 250B, respectively, which are automatically controlled by the controller of peritoneal dialysis fluid proportioner / cycler 103, or via a separate controller 109, or via an interface with dedicated controller 213 of connection platform 219 (or the variation illustrated in FIGS. 2L and 2M). When fluid circuits 100B, 110D are used that have a testable type of filter, such as filter 115 (e.g., FIGS. 1B, 1C) having an air side and a fluid side separated by a membrane, the fluid can be advantageously pumped by pump 221 in a push configuration against the filter (located downstream of pump 221, similar to filter 115), rather than relying solely on suction provided by a pumping actuator through pumping tubing segment 137. A particular concentrate is selected by valves 250A and 250B. Control valve 250C is also operated by the controller to control flow in water supply line 296. In any of the embodiments, if water is supplied through filtration plant 223, the water can be advantageously pumped by push pump 246. For example, water can be filtered through reverse osmosis, deionization, activated carbon, and other types of filters in filter plant 223 to produce water suitable for peritoneal dialysis from potable water. Pumps 221 and 246 may be controlled as described above with respect to valves 250A and 250B to operate in tandem with the pumping actuators of a peritoneal dialysis fluid proportioner / cycler (e.g., 103). Thus, this variation of the connection platform of FIG. 2K functions to select one of multiple fluids from among water and one or more concentrates, thereby allowing all fluids to pass into the fluid circuit through a single inlet line (e.g., as in the fluid circuit of FIG. 2E).This allows a single filter to be used for sterilization. Another variation of the embodiment of FIG. 2M, i.e., the connection platform 219 of FIG. 2K, may be advantageously used when a push pump, such as push pump 246 (as in FIG. 2L), is not needed to draw water, for example, if a premixed dialysis fluid is connected to one of the inlets rather than using a cycler to prepare the dialysis fluid, and instead the controller is suitably programmed to allow flow from only one of the premixed containers at a time. Here, control valve 279 selects the fluid to be drawn each time, and pump 221 draws the selected fluid and pushes it through the filter. Note that in the embodiment of FIG. 2L, pressure sensor 218 may be used for feedback control of push pump 246.

[0050]

[0108] FIG. 3 illustrates a method for manufacturing a disposable circuit such as that disclosed in FIG. 2A. First, a concentrate container is filled in S10. The concentrate container is then sealed in S12 with a frangible element that forms an airtight seal. This isolates the contents of the concentrate container from the external environment and protects them from the ingress of contaminants. The concentrate container is then connected to the remainder of the fluid circuit, e.g., disposable fluid circuit 200, in S14. The remainder of the fluid circuit is sealed by ensuring end caps are placed on any line terminations that are not interconnected within the circuit. For example, caps are present on connector 185, sample port 168, and connectors 186 and 187. Finally, optionally, in S16, the entire circuit assembly with the concentrate can be sterilized by radiation or other means.

[0051]

[0109] FIG. 4A illustrates a peritoneal dialysis fluid proportioner / cycler according to an embodiment of the disclosed subject matter. These FIGS. 4A-4K generalize the various embodiments disclosed above for purposes of illustrating its operational use for preparing peritoneal dialysis fluid and treating a patient using the above-described structure. Referring now to FIG. 4A, peritoneal dialysis fluid proportioner / cycler 400 may correspond to any of the previously described embodiments described for producing dialysis fluid by mixing concentrate and water. Note, for example, embodiments 90A-90D. Here, peritoneal dialysis fluid proportioner / cycler 400 produces custom peritoneal dialysis fluid according to a prescription stored in controller 410 (corresponding to the controller described above). The prescription may be entered into the controller via user interface 401, via a remote terminal and / or server 403, or by other means, such as a smart card or barcode reader (not shown). The controller applies control signals to the fluid conveyor and valve network 416 and the water purifier 420, and receives signals from distal and proximal pressure sensors 413 and 414, respectively, on the fill / drain line 450, which may be according to the previously described embodiments.

[0052]

[0110] Fluid circuit 416 with pump and valve network is a fluid circuit element having one or more sensors, actuators, and / or pumps effective to transport fluid between selected lines 442, 444, 446, 448, 450, and 418 in response to control signals from controller 410. While exemplary embodiments are described herein, many details are known from the prior art for making such devices and will not be detailed herein.

[0053]

[0111] Multi-container unit 441 includes a pre-filled, pre-sterilized osmotic agent concentrate container 402 for the osmotic agent concentrate and a separate electrolyte concentrate container 404 for the electrolyte concentrate. Multi-container unit 441 also includes a mixing container 406 (which is empty) that is large enough to hold a sufficient amount of dialysis fluid for the completion of at least one fill cycle of an automated peritoneal dialysis treatment. Containers 402, 404, and 406 may be flexible bag-type containers that collapse as fluid is drawn from them, thus eliminating the need for any means for venting air that enters them as they are evacuated.

[0054]

[0112] The osmotic agent concentrate container 402, the electrolyte concentrate container 404, and the mixing container 406 are all connected to a fluid circuit 416 having a pump and valve network by respective lines 442, 448, 444, and 446. A fill / drain line (or lines) 450 and a drain line 418 for used fluid (and other fluids) having a conductivity sensor 428 may also be connected to the fluid circuit 416 having a pump and valve network. The fluid circuit 416 also has a purified water line 431 for receiving water. The water purifier 420 may be a purifier or any source of sterilized and purified water, including a container or containers of pre-sterilized water. In a preferred configuration, the water purifier 420 may be configured as described in WO2007 / 118235 (PCT / US2007 / 066251) and US20150005699, which are incorporated herein by reference in their entireties. For example, water purifier 420 may include the flow circuit components of Figure 22A of WO2007 / 118235, including the water purification stage, and generally conform to the mechanical package design shown in Figure 24 of WO2007 / 118235.

[0055]

[0113] It will be apparent that 416 is a generalization of elements of the peritoneal dialysis fluid proportioner / cycler 114 and fluid circuits, such as fluid circuit 112, and connection platform 219. It will also be apparent that 402 and 404 represent concentrate containers according to any of the disclosed embodiments, including concentrate containers 101 and 102, 262 and 264, and 105A and 105B. Mixing container 406 corresponds to any of the mixing container embodiments (102) described above. Other elements will become apparent from their description, understanding that the diagram represents a generalization thereof for purposes of illustrating functionality. It will also be understood that the number and types of concentrates may differ from this illustration, which is disclosed by way of example only. While the examples of concentrates described herein are glucose and electrolyte concentrates, it will also be apparent that they may be one or more or other concentrates in other embodiments. The osmotic agent concentrate or glucose concentrate is also assumed herein to include an electrolyte concentrate marker, allowing the concentration of the osmotic agent to be inferred from measurements of the conductivity of the diluted drug, using a priori knowledge of the ratio of the osmotic agent concentrate to the electrolyte concentrate in the osmotic agent concentrate (stored in memory used by the controller). See US20150005699. In an alternative embodiment, the osmotic agent is not provided with an electrolyte marker, and the peritoneal dialysis fluid proportioner / cycler 400 may rely on volumetric proportioning for osmotic agent delivery. Note also that the order of concentrate addition may be reversed, with the electrolyte solution added first.

[0056]

[0114] FIG. 4B illustrates a preliminary step in fluid preparation prior to peritoneal dialysis treatment, according to one embodiment of the disclosed subject matter. Controller 410 reads the prescription and, in response to a start peritoneal dialysis treatment preparation command, generates a command to flow osmotic agent concentrate from osmotic agent concentrate container 402 to mixing container 406. The command is applied to fluid circuit 416 having a pump and valve network to connect osmotic agent concentrate line 442 to batch fill line 444 and also to convey osmotic agent concentrate into mixing container 406. This may be done by one or more valve actuators and one or more pumps forming fluid circuit 416 having a pump and valve network. Fluid circuit 416 having a pump and valve network may be configured to meter the amount of osmotic agent concentrate precisely according to the expected amount of dilution with electrolyte concentrate and water to produce the desired prescription fluid. Metering may be done by a positive displacement pump within fluid circuit 416 having a pump and valve network, or by other means, such as measuring the weight of osmotic agent concentrate container 402 or the mixing container, or a volumetric flow measurement device.

[0057]

[0115] In an alternative embodiment, a portion of water (less than the total amount used for dilution, as described below with reference to FIG. 4C) is first added to the mixing container before the osmotic agent concentrate and electrolyte concentrate (if necessary) are pumped into the mixing container.

[0058]

[0116] Referring now to FIG. 4C , the dilution step is performed using a peritoneal dialysis fluid proportioner / cycler 400. A controller 410 generates commands to flow purified water from a water purifier 420 to a mixing container 406 according to the prescription. The commands are applied to a fluid circuit 416 having a pump and valve network to connect a purified water line 431 to the mixing container 406 and add a measured amount of water to dilute the osmotic agent concentrate in the mixing container 406. The controller 410 may control the fluid circuit 416 having a pump and valve network to ensure the correct amount of water is delivered. Alternatively, the water purifier may incorporate a flow measurement device or a metering pump or other suitable mechanism to deliver the correct amount of water. The controller 410 may be connected to the water purifier 420 to achieve the dilution result. The fluid circuit 416 having a pump and valve network may also be configured to circulate the diluted osmotic agent concentrate solution through lines 444 and 446 either simultaneously with the dilution or after the dilution water has been transferred to the mixing container 406 according to an alternative embodiment. The circulation mixes the contents of the mixing container 406 .

[0059]

[0117] The relative amounts of water, osmotic agent concentrate, and electrolyte concentrate can be achieved based on the ratiometric proportioning characteristics of the pump. Because a single pump tubing is used to deliver all liquids into the mixing container, most sources of offset from the expected pumping speed (e.g., based on shaft rotation) relative to the actual pumping speed affect all fluids approximately equally.

[0060]

[0118] Referring now to FIG. 4D , the diluted osmotic agent concentrate solution in the mixing container 406 is tested to ensure the correct concentration of osmotic agent is achieved. In one embodiment, the osmotic agent concentrate 402 has a quantity of electrolyte concentrate to generate a conductivity signal using a conductivity sensor 428 when the fluid from the mixing container 406 is conveyed by a fluid circuit 416 having a pump and valve network to a discharge line 418 past the conductivity sensor. The amount of electrolyte concentrate premixed with the osmotic agent concentrate may be the lowest ratio of electrolyte concentrate to osmotic agent concentrate that a given formulation may require. The fluid circuit 416 having a pump and valve network may perform its functions using one or more valve actuators and one or more pumps that form the fluid circuit 416 having a pump and valve network. The fluid circuit 416 having a pump and valve network may be configured to accurately meter the amount of water, or that function may be provided by a water purifier 420. The controller 410 may add additional water or osmotic agent concentrate and test the conductivity again if the measured concentration of the osmotic agent and / or, if applicable, electrolyte is inaccurate. In addition to using a combined osmotic agent and electrolyte concentrate in the osmotic agent concentrate container 402, in an alternative embodiment, the osmotic agent concentrate container 402 holds an osmotic agent concentrate without electrolytes, and the osmotic agent concentration is optionally measured directly by other means, such as specific gravity (hydrometer), refractive index (refractometer), polarized light, infrared absorption, or other spectroscopic techniques.

[0061]

[0119] FIG. 4E illustrates the electrolyte concentrate addition stage of fluid preparation prior to peritoneal dialysis treatment, according to one embodiment of the disclosed subject matter. Controller 410 reads the prescription and generates commands to flow electrolyte concentrate from container 404 to mixing container 406. The commands are applied to fluid circuit 416 having a pump and valve network to connect electrolyte concentrate line 448 to filling line 444 of mixing container 406 and also to convey electrolyte concentrate into mixing container 406. This may be done by one or more valve actuators and one or more pumps forming fluid circuit 416 having a pump and valve network. Fluid circuit 416 having a pump and valve network may be configured to meter the amount of electrolyte concentrate precisely according to the previously determined osmotic agent concentrate and the expected dilution with water that should be in mixing container 406 to achieve the prescription. Metering may be done by a positive displacement pump within fluid circuit 416 having a pump and valve network, or by other means, such as measuring the weight of electrolyte concentrate container 404 or mixing container 406, or a volumetric flow measurement device.

[0062]

[0120] Referring now to FIG. 4F, the electrolyte concentrates can be mixed using closed-loop batch fill and discharge lines 446 and 444. If necessary, further dilution can be performed as described above, depending on how much dilution occurred during the osmotic agent concentrate dilution process. The final formulation can be achieved by the process illustrated in FIG. 4F. The final electrolyte concentration of the mixture in mixing container 406 can then be determined using conductivity sensor 428 by running a sample therethrough, as illustrated in FIG. 4G.

[0063]

[0121] While weight and tracer / conductance sensing have been described as devices for ensuring proper blending and dilution ratios to achieve the target formulation, it will be apparent that any embodiment of the peritoneal dialysis fluid proportioner / cycler disclosed herein may also employ ratiometric blending, particularly when positive displacement pumping is employed. Ratiometric blending takes advantage of the volume repeatability and predictability of a particular pump. For example, a particular pump may deliver a highly reproducible amount of fluid over a given number of pumping cycles (e.g., pump revolutions in the case of a peristaltic pump, or cycles in the case of a diaphragm pump). If all dialysis fluid components (e.g., water, osmotic agent concentrate, and electrolyte concentrate) are delivered to a mixing container using the same pump, including, for example, the pumping tubing segments of a peristaltic pump, the volumetric ratio of the components is determined entirely by the number of pump cycles used to deliver each component, after adjusting for possible flow path and / or viscosity differences, as described below.

[0064]

[0122] Ratiometric dispensing may supplement or replace fluid conductance or density measurements or other measurements. Calibration may be performed and / or flow path (including fluid property) compensation parameters may be used to convert the number of pump cycles to actual transferred mass or volume. Flow path compensation parameters may be specific to each specific fluid flow path and / or fluid type, or may be the same for all fluid paths and fluid types. To provide increased accuracy, one or more pump calibration and / or flow path compensation parameters may be generated through a calibration procedure. Typically, flow path compensation coefficients will be established and stored in non-volatile memory. Typically, one or more flow path calibration procedures are performed when the peritoneal dialysis fluid proportioner / cycler is used by a patient. Calibration procedures may be performed after each new fluid set is installed, before each batch preparation cycle, or even multiple times during the preparation of a single batch. Disposable fluid sets may be installed daily. Calibration procedures may be performed using water. The calibration may sequentially pump the fluid through one or more of the stages provided in Table 1.

[0065] [Table 1]

[0066]

[0123] In the calibration procedure, fluid is pumped between any or all of the above-identified paths. A separate calibration coefficient can be generated for each path. The calibration coefficient can be stored in memory or a non-volatile data store, for example, as a parameter representing ml / pump revolution (or diaphragm pump cycles) or as a proportional ratio to a specific reference flow path. The actual fluid volume transported during the calibration phase can be measured by any suitable device (flow sensor), including a volumetric or mass measuring device, or direct flow measurement with integration, for example, using a laser Doppler velocimeter, thermal transit time, magnetohydrodynamics, propeller hydrometer, positive displacement flow measurement, differential pressure across a resistance such as a venturi, nozzle, orifice plate, or other flow obstruction, variable area or rotameter, Pitot or impulse tube, vortex frequency counting, ultrasound, or other device. A particularly advantageous device for flow calibration is measuring the transit time of a fluid property perturbation between spaced fluid property sensors, as described below. Any of the disclosed embodiments may employ a flow sensor, where at least a portion of the fluid carrying portion is disposable, so that the flow rate (or total transferred fluid volume) can be input to the controller, while enabling the use of disposable fluid circuits. Examples include ultrasonic soft-tube flow meters made by Strain Measurement Devices (SMD), which non-invasively measure flow rate in soft tubing via a slotted transducer into which a length of tubing can be inserted during installation of the fluid circuit. In the case of cartridge embodiments, the PD cycler may employ a moving transducer stage that engages the cartridge's exposed tubing length after passive insertion of the cartridge.

[0067]

[0124] The pumping system may also be sufficiently reproducible to allow accurate ratios to be established without calibration, depending on predefined tolerances. If manufacturing tolerances, including materials, are sufficiently controlled, the desired level of control over the ratio may be achieved without point-of-care calibration. A particularly sensitive component in ensuring reproducibility is the pumping tubing segments of the peristaltic pump. In a first embodiment, the peristaltic pump tubing segments are fabricated from materials whose mechanical and material tolerances are controlled within predefined limits. The lengths and mechanical parameters of the tubing circuit elements are also controlled within their respective predefined limits. Calibration can then be performed outside of the peritoneal dialysis treatment context, for example, in a laboratory, to calculate accurate values ​​for converting pump cycles to fluid volume transferred for a single lot of replaceable fluid circuits. Calibration can be performed for multiple lots. Calibration can also be performed for each fluid circuit. Calibration can also be performed by a peritoneal dialysis fluid proportioner / cycler for each fluid circuit. Calibration can also be performed for each batch of peritoneal dialysis fluid prepared by the fluid circuit.

[0068]

[0125] Referring to FIG. 4H, following preparation of the contents of mixing container 406 as described above, fluid circuit 416 having a pump and valve network can be configured to drain fluid from patient 411 depending on the patient's previous status. Spent dialysis fluid can be drawn by fluid circuit 416 having a pump and valve network and transported through drain line 418. The contents of mixing container 406 can then be transported to the patient, as illustrated in FIG. 4K, where controller 410 configures fluid circuit 416 having a pump and valve network to flow fluid to patient 412.

[0069]

[0126] Referring now to FIG. 5A, duplex connector 181, 181A, and 181B are shown in detail as connector embodiment 500. A single monolithic member has a shape with at least one window, two of which are shown here as window 512. Body 506 has a ridge 507 that extends beyond frame 506, allowing the entire frame 506 to be easily grasped by a user for pushing or pulling to connect ports 515 and 516 to ports on a device (e.g., 219) to which lines 508 and 510 of fluid circuit 530 will be connected. A removable port cover 502 (see also cap 180) seals ports 525 and 526 to prevent contamination. Window 512 provides access to a cut-and-seal element that seals and disconnects lines 508 and 510 when duplex connector 500 is replaced. Lines 508 and 510 pass through holes 514 in frame 506. FIG. 5B shows duplex connector 500 after cutting and sealing, with one sealed end of the cut tubing forming a stub, designated 520 and 521, and the opposing ends designated 522 and 523. Ends 522 and 523 remain attached to the fluid circuit 530 to be replaced. Stubs 520 and 521 remain attached to the resulting stub connector 519, which may remain attached to a connected device after use, thereby acting as a cover and seal against environmental contamination of the connected device, such as connectors 224 and 225 of connection platform 219. Here, protected ports of the connected device are designated 525 and 526. While two fluid paths are shown, it will be apparent that the configuration can be modified to provide connections for any number of fluid paths, including one or more than two.

[0070]

[0127] 5C and 5D, use of connector 500 (which may be a duplex connector) involves a cut-and-seal operation in which a portion 540 of the connector (e.g., duplex connector 181) is left in place to act as a sterile barrier, beginning with the removal of the sterile barrier cap from the end of the connector (S32). For example, the sterile barrier may take the form of a dual removable port cover 502. Next, as S33, the sterile barrier formed by the previous cut and sealed connector (see FIGS. 6A-7D and elsewhere in this disclosure) is removed, and a new replacement connector of the same configuration as connector 500 is installed (S34). The circuit connected by the new connector is then used until it expires (S35). A cut-and-seal operation is initiated as S36, resulting in the separation of the fluid circuit (cut and sealed to form remnants 520, 521 and ends 522, 523) and the leaving of a new portion 640 of the new connector in place to act as a sterile barrier. The cut-and-seal operation may include cooling the cut ends of the tubing to accelerate the operation so that a delay for sufficient passive cooling is not required. The latter may also allow the cutting head to act as a mechanism for gripping the stubs 520 and 521 to prevent them from being removed before cooling. See, for example, the embodiment of Figures 6E and 6F, which has a wide, flat interface for gripping the end of the cut tubing 666.

[0071]

[0128] FIG. 5E illustrates features of a variation of the contamination-protective duplex connector 501. A male connector portion 541 mates with a female connector portion 543. A port 526 (male) passes through an opening 547 in a female port 548. A pin 545 is provided on the male connector portion 541, which is received in a recess 546. The female port 548 opens into the wall 524, as does an access 549 in the recess 546. A line 544 connects to the male connector portion 541. The remainder of the duplex connector 501 is as described with reference to the connector 500 shown in FIGS. 5C and 5D. The pin 545 may be sized to prevent the port 526 from accidentally contacting a flat surface, thereby preventing contact contamination. The pin 545 may also be asymmetrically shaped to prevent incorrect orientation of the connector. In variations, duplex connector 501 may be modified to have a greater or lesser number of tubes 508, 510, and connectors 547. Also, the number of pins 545 and recesses 546 may differ from those shown. For example, two pins and recesses may be provided on edge 527, with or without the pins and recesses illustrated. Note that in variations of the embodiment, male and female connectors may be swapped or intermixed on a given side of male connector portion 541 and female connector portion 543. One or more pins 545 may be provided on either side, as may openings 547, or may be intermixed.

[0072]

[0129] FIG. 6A illustrates the mechanical aspects and control and sensor systems for a cut-and-seal device with actuation, temperature, and force control features according to an embodiment of the disclosed subject matter. FIGS. 6B-6D illustrate the sealing and cutting operations provided by the embodiment of FIG. 6A. A pair of jaws 11 and 18 close on opposite sides of a tube 50 to cut and seal the tube 50, resulting in the tube 50 being divided into two sections with sealed ends 54A and 54B. Jaw 11 receives heating or cooling through multiple carriers 20B or 20A, which may be electrical conductors for a resistive heating element 14, or a combination of heating and cooling of a heat transfer fluid such as a molten salt and a refrigerant. The heating / cooling or current source is provided by source 6. Either jaw 11 or 18 can be heated to achieve the effects described in alternative embodiments. Drive 2, under the control of controller 4, moves at least one of jaws 11 and 18 toward or together with the other. Temperature sensors 16 and 12 may be provided to regulate temperature and provide feedback control for the cutting and sealing operations. The controller 4 can receive the temperature signal and control the drive 2. A force sensor 40 can indicate to the controller the magnitude of the force applied through the tube 50 for feedback control of the cutting operation or for error detection (e.g., excessive force). The cutting head can have a variety of shapes, as shown in FIGS. 7A-7D. FIG. 7A illustrates an opposing jaw shape having a jaw 604 with a flattened tip 606 and a jaw 602 with a flat surface. FIG. 7B illustrates an opposing jaw shape having a jaw 614 with a sharp tip 616 and a jaw 602 with a flat surface. FIG. 7C illustrates an opposing jaw shape having a jaw 624 with a rounded tip 626 and a jaw 622 with a flat surface. In FIG. 7D, a sharp ridge 636 is provided on jaw 634 and a recess 637 is provided on jaw 635. An alternative jaw 632 that can be used with jaw 634 has a flat surface 638.

[0073]

[0130] Figures 6E and 6F show a cut-and-seal configuration in which the cutting and sealing portions move partially independently. A cutting knife 662 cuts the tube 666 as the jaws 658 press up against it. Jaws 658 or 654 (or both) can be heated to melt the tube 666, resulting in the tube being cut and sealed in a single motion. A spring 664 ensures that a predetermined amount of force is maintained to heat the tube 666 during jaw closure. Figure 6G shows a configuration in which the jaws are rounded elements 670 and 672, where one or both jaws can be heated to cut and seal the tube 666. Cooling in the above embodiments can be provided to cool the jaws and tube cut end for safety or accelerated completion. The configurations in Figures 6A-6F are details that can be applied to the cut-and-seal actuator 212.

[0074]

[0131] 8A and 8B, the multi-chamber portion 200D of the disposable fluid circuit 200 (e.g., FIG. 2A) is shown in more detail. The features of this embodiment may be similarly applied to other fluid circuit portions, including a single mixing container 300C (FIG. 2E). The concentrate containers 953 and 954 and the mixing container 952 are formed from a single pair of sheets by welding a seal 962, shown as a pair of lines, around the entire circumference of the illustrated structure. The concentrate fill tube 964, concentrate outlet tubes 956 and 957, mixing container inlet 948 and outlet line 9541, and mixing container sample tube 958 are all welded together when the seal 962 is closed by solvent bonding, heat welding, polymer fill bonding, ultrasonic welding, or other means. The entire structure can then be folded to form a compact structure, as shown in FIG. 8B, either before or after a predetermined amount of concentrate is delivered through the concentrate fill tube 964 and the latter is sealed.

[0075]

[0132] A nozzle 950 may terminate the tubing of the mixing container inlet 948 that extends into the chamber. This injects the incoming fluid throughout the mixing container 952, stirring the contents and whipping the extended portion of the tubing around to promote effective mixing of the contents. The mixing container sample tubing 958 may terminate with a septum that allows for insertion of a hypodermic needle. The length of the extension may be at least 3 diameters into the container. The length may be 5, 7.5, 10, or 15 diameters. The length may be between 3 diameters and 25 diameters. The length may be at least 5 diameters. Here, the term diameter refers to the outer diameter of the tubing. Note that another alternative is for the inlet line to have a nozzle rather than an extension; i.e., the nozzle may be located in the wall of the mixing container and pointed toward the center of the mixing container.

[0076]

[0133] 8C-8F illustrate various features for promoting mixing of fluids within a mixing container according to embodiments of the disclosed subject matter. A mixing container 952 uses a single mixing container inlet and outlet line 949 that serves as the inlet and outlet lines 949 of the mixing container 952. FIG. 8C shows fluids exiting the mixing container 952, and FIG. 8D shows fluids entering the mixing container 952. A two-way header 924 allows the exiting fluids to be drawn into the inlet and outlet lines 949 of the mixing container 952 through openings 920, but has a check valve 918 that blocks outflow from openings 920. As fluids are pumped into the mixing container 952, check valve 918 closes, forcing all of the flow through the nozzle 924 and resulting in high velocity exit from the nozzle opening 922, as illustrated in FIG. 8D. As a result, mixing is promoted and substantial convection or jet currents are generated to transport the incoming flow away from openings 920, thereby promoting mixing. A similar effect is achieved in the embodiment of FIG. 8E, where the incoming flow is discharged from a tube 937 in the mixing container 952 through an opening 930 separate from opening 920. Also in this embodiment, a check valve 918 causes the incoming and outgoing flows to take different paths. While not shown, it should be noted that a check valve may be incorporated into the flow path of the tube 937 or nozzle 924 to block flow through openings 922 or 930 as fluid is pumped from the mixing container 952, enhancing the separation effect between the incoming and outgoing flows. FIG. 8F shows an embodiment in which container inlet and outlet lines 949 are attached to a header tube 934, similar in structure to a peritoneal catheter in that it has distributed openings along a portion of its length so that the incoming flow is distributed. Such a header tube 934 may be used as a single container inlet and outlet line, as in 949, or as an inlet line in combination with a dedicated outlet line 9542. In the above-described embodiments, the check valve may be replaced with a flexible member, such as a reed valve or flap valve as shown in FIG. 8G, that creates greater resistance to flow in one direction than another.Thus, flow does not necessarily need to be completely stopped in a selected direction to substantially achieve the above-described effect. In FIG. 8G , for example, a single part, which may be formed by 3D printing, assembled from parts, or directly molded, has a flap 921 that flexes in response to both suction and pressure resulting from pumping fluid from and into a mixing container 952, causing flow from the mixing container to be drawn in through an inlet covered by the flap 921 and expelled by a nozzle 924 as fluid is pumped into the mixing container, as described with reference to FIGS. 8C and 8D . Here, the flap 921 need not completely close or open, but in embodiments may simply create a differential resistance to the incoming and outgoing flow such that fluid pumped into the mixing container is expelled away from where it is drawn, thereby facilitating the mixing process.

[0077]

[0134] FIG. 4L schematically illustrates a variation of the peritoneal dialysis fluid proportioner / cycler 400 of FIG. 4A with the addition of an accumulator 447 connected by an accumulator line 449 to enable a pump, such as a peristaltic pump according to any of the disclosed embodiments, to provide mixing using a single mixing container line 445 connecting the mixing container 406. The controller 410 pumps fluid back and forth from the mixing container 406 to the accumulator 447 multiple times to mix the contents of the mixing container 406. This is in contrast to the disclosed embodiment in which two lines connect the mixing container 406 to the fluid circuit 416 having a pump and valve network. As shown, the use of a pump with the ability to accumulate fluid, such as a diaphragm pump, may allow fluid to be pumped into and out of the mixing container 406 without a separate accumulator 447 by pumping fluid from the internal volume of the diaphragm pump into the mixing container 406. Reference numeral 451 refers to arrows indicating separate incoming and outgoing flows to / from a mixing container, which may be provided by the above-described embodiments of a device for (at least partially) separating incoming and outgoing flows.

[0078]

[0135] Referring to FIG. 9A, manifold 900, which functions as manifold 174 (e.g., FIG. 2A), has two chambers 982 and 981 defined by the shape of a rigid housing 989 sealed by a welded or bonded film 986. The rigid housing 989 may be formed by molding, with the interior volume sealed by the bonded film. The film has an area 987 that overlaps the housing for pressure detection. A pressure transducer (not shown) contacts area 987 and detects the force exerted by the pressure in chambers 982 and 981 at either end of a pumping tubing segment 985 connecting the two chambers 982 and 981. Ports 983 for various fluids described herein according to different embodiments each deliver fluid to chambers 982 and 981, respectively. Tubing may be friction-fit or bonded to port 983. Ports 988 have air lines attached to them, which are each fluidly coupled to air ports 990 that sealingly engage pressure transducers (see 146 and 147 in FIG. 2B). In other embodiments, rigid housing 989 is replaced with a fully sealed housing (not shown) with pod-style pressure sensors embedded in it, and no film is required to seal the closed structure.

[0079]

[0136] 9B, dialysis fluid line 172 has pre-connected fill-drain line 160 and air line 129, as well as a pressure-sensing pod 162 near patient connector 995, which has an internal diaphragm that displaces in response to pressure changes in pre-connected fill-drain line 160. Movement of the internal diaphragm compresses or expands the volume of air in air line 129 that is delivered to connector 181. Patient connector 995 connects to a peritoneal catheter. A proximal end 997 of pre-connected fill-drain line 160 is attached or joined to a respective one of ports 983.

[0080]

[0137] 10A and 10B, a cartridge portion 910 of a fluid circuit according to various embodiments provides the manifold and pumping and pressure-sensing portions described above. The cartridge support 169 can be made from a single panel 912 that is folded at a pair of creases indicated at 914. Portions of the panel 912 include recesses for all tubing held between them, precisely controlling their position. The shape of the panel defines compartments to hold the rigid housing 989. FIG. 2A shows an alternative embodiment in which the manifold 174 is connected by a series of tubing, collectively indicated at 200C, so the double-panel structure is not directly attached to the manifold 174. FIG. 11 shows the single vacuum-formed panel 912 before it is closed around the pair of creases 914. FIG. 11 otherwise illustrates the completed fluid circuit 909, including how the features of 8A-10B are assembled in the completed fluid circuit 909.

[0081]

[0138] In any of the aforementioned disposable fluid circuits, the components may be integrally attached, meaning that, with the exception of removable caps on the inlets and outlets, the components may be permanently joined or otherwise locked together when delivered for use. In embodiments, only a single cap may be required to connect one or more concentrate inlets, and a single cap may be required to connect the peritoneal dialysis catheter to the integrally attached fill / drain lines. This helps ensure that the fluid circuit, when delivered, is less likely to be contaminated as a result of having only a few connections.

[0082]

[0139] Generally, in systems that process or treat fluids and return the treated or treated fluid to a patient, it is necessary to exclude air from the fluid circuit before and / or during use to avoid introducing air into the person receiving treatment. This can be accomplished by "priming" the fluid circuit, which refers to circulating fluid through the fluid circuit so that it is filled before treating the patient.

[0083]

[0140] In disclosed embodiments, preparing a complete batch (hereinafter referred to as the “main” batch) for a PD treatment cycle may require a certain minimum amount of time, depending on the number of components that need to be mixed, the amount of fluid required for patient treatment, the need for compounding error recovery, etc. For example, preparing a full batch of peritoneal dialysis fluid may require a significant portion of an hour. A full batch is also typically used to prime a new fluid circuit when it is loaded. Because the fluid circuit typically must be primed before connecting to a patient, the patient must begin preparing a full batch and then wait until the full batch is prepared before connecting and then engaging in some other activity, such as going to bed or relaxing. Thus, a patient wishing to connect to a cycler may be required to perform the initial activity, including attaching a new fluid circuit to the cycler, and then wait for the full treatment batch to be completely prepared before connecting to the fluid circuit. This delay can be inconvenient in situations where the patient is fatigued and wants to quickly connect to sleep or perform some other activity. In particular, this delay can cause sleep loss and affect the patient's health.

[0084]

[0141] In embodiments, a priming batch, significantly smaller in volume than the treatment batch, is first prepared and used to prime the fluid circuit, so that the patient does not have to wait for a full batch to be prepared before connecting the patient to the fluid circuit. The smaller amount of the priming batch may be just sufficient to prime the fluid circuit. In alternative embodiments, the smaller batch has a different composition that can be produced more quickly than the composition of the batch used for treatment. For example, in embodiments in which multiple concentrate components are diluted by combining with water to form the treatment batch, a subset of the multiple concentrates and water is used to form the priming batch. In embodiments, the subset may include only water. In further embodiments, the priming fluid may be a blood-normal fluid or may be formed from a concentrate different in composition from the treatment fluid. For example, the single component may be saline or a concentrate. Because the priming fluid is used only for priming, the benefit of including an osmotic agent concentrate, as typical PD fluids do, is minimal.

[0085]

[0142] Disposable fluid circuits containing small priming batches or small concentrate containers can be pre-attached and sealed to the disposable. After priming, the priming fluid can be flushed from the fluid circuit to the drain along with the spent dialysis fluid during the first treatment phase, so that the composition of the dialysis fluid delivered to the patient is not altered by the different composition of the priming fluid. Thus, a priming method can include priming the fluid circuit, including the fill-drain line, followed by immediately pumping the spent dialysis fluid from the patient to the drain and flushing any portion of the fluid circuit containing residual priming fluid with the fluid from the first treatment batch before filling the patient with a new batch. In this way, the amount and ratio of fluid for treatment need not take into account any influence of the composition of the priming fluid. This can be the case regardless of the type of fluid used, be it saline, pure electrolyte concentrate, purified water, or some other fluid.

[0086]

[0143] In a further embodiment, the disposable fluid circuit is provided with a priming fluid container. The latter may be filled with a single- or multi-component concentrate that is further diluted in preparation for priming, or may be provided fully diluted and ready to use. The priming fluid container may be pre-installed as described with reference to the concentrates described in the disclosed embodiments. Note that the weight- and volume-saving advantages of this embodiment may not be as significant for small amounts of priming fluid as for treatment, so a single-component concentrate container may be provided solely for priming.

[0087]

[0144] Thus, embodiments allow for quick priming and patient connection. In some embodiments, quick priming may be provided as a user-selectable option; if the user does not select the option, the system simply begins by preparing a treatment batch and using it to prime the fluid circuit.

[0088]

[0145] In embodiments, the priming batch is mixed in the same disposable unit used for the treatment batch. For example, referring to FIG. 1A, the dialysis fluid preparation / cycler unit 103 may generate the priming batch by metering concentrate from the concentrate container 101, adding it to the mixing container 102, and diluting it with purified water in the mixing container 102. However, in alternative embodiments, the priming batch may be stored separately from the treatment batch. In embodiments, the priming batch is formed from a subcombination of the complex components used to prepare the treatment batch. For example, the priming fluid may be formed from only the electrolyte concentrate component and water without mixing the osmotic agent concentrate. In this manner, time may be saved by only diluting and mixing a single component. In such embodiments, the composition of the single component used to make the priming batch may be selected to form a dialysis fluid suitable for treatment when mixed with a second component and to form the desired euthymic fluid when mixed with water alone.

[0089]

[0146] FIG. 12 illustrates a method of priming a fluid circuit according to an embodiment of the disclosed subject matter. In optional step 1202, the controller determines that the patient has selected an option for quick priming, for example, by activating a soft or hard key on a user interface in communication with the controller. Alternatively, quick priming may be performed by default without receiving an explicit instruction from the patient. If the patient chooses not to perform quick priming, the method of FIG. 12 is not performed. In embodiments, the controller may request an indication from the patient of whether the patient is full or dry, i.e., whether the patient's peritoneum is already full and therefore should be drained first, or whether the peritoneum is empty (dry), in which case the peritoneum should not be emptied. If empty, the quick priming operation is skipped and a full batch of treatment fluid is created. The purpose of quick priming is to allow the drain cycle to be initiated quickly, so the patient does not have to wait for the cycler to prepare a full batch of treatment fluid. For example, this may occur when the patient goes to bed.

[0090]

[0147] At 1204, the controller determines a composition for the priming fluid. For example, the composition may be based on a prescription or other data stored on a memory device connected to the controller. In embodiments, the composition may be configured by a physician or other medical professional via a user interface or through network communication with a server or central control system at a medical facility. In embodiments, the composition may be the same as that used for patient treatment, or another composition described elsewhere, or may be water or saline.

[0091]

[0148] At 1206, the controller determines the required amount of priming fluid. The determination may be a predetermined amount stored in a non-volatile data store connected to the controller. In embodiments, the required amount may be configured by a physician or other medical professional via a user interface or through network communication with a server or central control system at a medical facility. In embodiments, the required amount may be based on physical characteristics of the fluid circuit, such as the length and diameter of the fluid lines.

[0092]

[0149] At 1208, the controller operates the dialysis fluid preparation / cycler unit and corresponding connections / valves / pumps to prepare the required amount of priming fluid according to the composition. For example, with reference to FIG. 1A, the dialysis fluid preparation / cycler unit 103 may generate a priming batch by metering concentrate from concentrate container 101, adding it to mixing container 102, and diluting it with purified water in mixing container 102 according to methods described elsewhere in this disclosure or other methods such as those described in US 2015-0005699 A1, a copy of which is attached hereto as an Appendix.

[0093]

[0150] At 1210, the controller primes the fluid circuit with priming fluid. Priming may be done by pumping fluid as in the preparation step described above to produce a smaller-sized batch, and then pumping the resulting mixed batch through the fill / drain line (e.g., 450 in FIG. 4A) until a portion reaches a point near the end of the fill / drain line. In embodiments where only water is used, the water may be pumped into the mixing container and then into the fill / drain line, thereby filling the flow switching mechanism. The described flow diverter may also allow water to flow from the mixing container to a drain in preparation for making the first batch in a sequence for a procedure.

[0094]

[0151] At 1212, the controller indicates to the patient that the fluid circuit is primed and ready to be connected. This indication may be performed by generating a visual and / or audible alarm and corresponding text on the user interface, at which point the patient may connect to the fluid circuit. Alternatively, the patient may indicate when fluid has reached the end of the fill / drain line by entering a command through the user interface, which results in the system being ready to begin treatment after the patient indicates that they have made the connection to the peritoneal access.

[0095]

[0152] At 1214, the controller may confirm that the patient has connected the patient access to the fluid circuit, for example, by receiving an indication / confirmation via a user interface and / or by receiving a sensor input (proximity sensor, switch, etc.) indicating a physical connection of the fluid circuit to the catheter. A distal pressure sensor may be used by the system to confirm the connection by having the controller detect and respond to a pressure signal from the patient's breathing or pulse. At this point, the patient may place the system in treatment mode at 1216, allowing automatic treatment to proceed without further system attention. For example, the patient may go to sleep to receive overnight treatment.

[0096]

[0153] Referring to FIG. 13A, the fluid circuit is fitted with a priming fluid container 706. The fluid circuit includes a flow switching circuit 708 with a manifold and pre-attached fill / drain lines 710. Concentrate containers 703 and 704 are diluted as described to form a treatment batch that is filled into mixing container 702. Priming concentrate can be provided in container 706, or alternatively, a fully diluted priming fluid container 707 is attached. The latter can be used as described above. FIG. 13B shows a fluid circuit that can be used to supply a priming batch by mixing a special composition from a larger concentrate container 724 or alternatively, a fully diluted priming fluid container 725. The configuration can use multiple connectors 726, as described elsewhere, for connection to long-term concentrate containers 720 and 722 for treatment batch preparation. In still other embodiments, the fluid circuit can have pre-attached priming fluid containers (concentrate or diluted), and multi-use containers 724 or 725 can be omitted.

[0097]

[0154] In an alternative embodiment, a quick prime may be performed using the priming fluid remaining in the mixing container after the normal priming process is used to prime the fluid circuit. A normal fluid circuit priming process begins by pumping water through the fluid circuit, including circulating fluid in and out of the mixing container, thereby at least partially breaking in the pumping tubing segments and ultimately leaving, for example, a 400 ml volume in the mixing container. The sterile filter protecting the water inlet according to any of the aforementioned embodiments may then be tested to confirm its integrity after the priming operation. If the filter's integrity is confirmed by testing, this indicates that since the mixing container and fluid circuit are sterile when initially installed, the fluid in the mixing container that has passed through the sterile filter should also be sterile, at least with a high degree of certainty. That is, the only way contaminants can enter a pre-sterilized mixing container is through at least one filter (see the previous embodiment), which essentially guarantees that the contents are sterile. The quick prime operation may be performed using a portion of the contents of the mixing container. Other limitations of the quick prime, as described above, may be as indicated, except for the use of concentrates.

[0098]

[0155] Note that the quick priming procedure is contraindicated if the patient does not have an adequate peritoneal cavity to begin treatment. The term "sufficient" in this context does not specify a specific amount, except that it should be sufficient for treatment following the quick priming to begin with the first drainage cycle.

[0099]

[0156] In any of the claimed embodiments identifying an element, it is understood that the identification of the element does not exclude the claim from covering embodiments having a plurality of the elements. For example, in any of the claimed embodiments identifying a concentrate line or concentrate container, it is understood that the identification of a single concentrate line or container does not exclude the claim from covering a plurality of concentrate lines or containers. Further embodiments are contemplated, in which a plurality of the claimed elements may be provided to form additional embodiments, e.g., concentrate lines or containers. The same applies to method claims in which additional steps may be provided to form new embodiments, in which the additional steps repeat the operations performed by the recited steps and act on another material or article in an equivalent manner, e.g., additional concentrates.

[0100]

[0157] 15A-15C, embodiments of a method and system for compounding concentrate and water are described. FIG. 15A shows a flowchart of the compounding procedure next to a schematic diagram of mixing container contents 320. The diagram has rows 321-336 at each stage of the process, each showing a figurative representation of the electrolyte solution, osmotic agent, and water components contained by the container after the addition of fluid. In this example, the osmotic agent concentrate contains both osmotic agent and water, so its addition to the mixing container adds the osmotic agent, electrolytes, and water contained in the osmotic agent concentrate. See row 322, column 338. Row 321 indicates that the mixing container contains only water after the addition of water. Row 322 shows the electrolyte and osmotic agent plus water components contained by the osmotic agent concentrate, all of which are combined to form the osmotic agent concentrate plus electrolyte marker added in S108.

[0101]

[0158] Rows 322-336 are aligned with process steps S106-S122, with each row indicating the composition present in or achieved by the corresponding process step. Columns 338, 339, and 340 indicate the components of the concentrate and water. The concentrates are further categorized in columns to indicate their components. Again, osmotic agent concentrate 338 has components of water, osmotic agent, and electrolytes used as markers. These components are indicated by "E," "O," and "H2O." Electrolyte concentrate 339 has components of electrolytes and water indicated by "E" and "H2O."

[0102]

[0159] In the first operation, S100, the fluid circuit, including the manifold, if present (this method is not limited to the mechanical features of the aforementioned embodiment, as will become apparent from this presentation), is primed with water, which is circulated through the mixing container to condition the pump tubing segments. The sterile filter through which the water is drawn may be tested at this point to ensure its integrity. If a quick prime is performed in S102, the batch contents may be used for this purpose. In any case, the remaining batch contents are emptied to a drain in S104. The controller stores the final target amounts of water, osmotic agent concentrate, and electrolyte concentrate that will ultimately be transferred to the mixing container, mixed, and tested. Initially, the mixing container is empty. In S106, an initial amount of water is transferred to the mixing container. Before S106, the mixing container is essentially empty, although there may be slight residual traces from the priming operation. The resulting batch contents are shown alongside the S106 process in row 321. The amount of water may be optimized to minimize mixing time. In an embodiment, the amount of water may be 50% of the target water requirement. At S108, osmotic agent concentrate is transferred to the mixing container as required by the target composition. The transferred osmotic agent concentrate, illustrated at 322, indicates that the entire target amount of concentrate is transferred. Also illustrated at 322 is that an amount of water and an amount of electrolyte concentrate are also transferred as part of the osmotic agent concentrate 338.

[0103]

[0160] Note that the target amounts of electrolytes, osmotic agent, and water can be stored as amounts of electrolyte concentrate and osmotic agent concentrate or amounts of undissolved species, which can be converted between each, and can be stored as volume or mass or other suitable measure.

[0104]

[0161] In this embodiment, the amount of osmotic agent concentrate includes a marker electrolyte that contributes to the target electrolyte amount stored by the controller. If the final dialysis fluid does not require more electrolyte than that amount appearing in the osmotic agent concentrate to function as a marker, the amount of electrolyte concentrate transferred in this initial step is sufficient to form the final dialysis fluid. Next, in S110, the mixing container contents are mixed by pumping. In S112, the conductivity of the batch contents is tested to determine if the concentration is as expected. The controller may store a number indicating the number N of conductivity retests that can be performed if the conductivity test results are outside the expected range. To retest, the controller mixes the mixing container contents again. In embodiments, this later mixing may be for a predetermined interval that is shorter than the predetermined interval of operation S110. The testing and mixing may be repeated N times (N is the predetermined number), and if the final test fails, the preparation is stopped and a recovery action is invoked, such as outputting an indication to stop pumping and restart the preparation using a new disposable fluid circuit. From S108 to S112, the contents of the mixing container remain the same as shown at 324 and 326.

[0105]

[0162] If the final dialysate requires a higher ratio of electrolyte concentrate to osmotic agent concentrate than in the osmotic agent concentrate, a corresponding amount of electrolyte concentrate is added to the mixing container in S114. Otherwise, operations S114, S116, and S118 are skipped. Proceeding to S114, the mixing container contents are mixed in S116, and a conductivity check is performed in S118 for M iterations, where M can be any number including a number equal to N. The remainder of the water required to achieve the target is added in S120, at which point the final composition is obtained, as shown at 334 and 336. The mixing container contents are then mixed in S122, and a conductivity check is performed in S124 for L iterations, where L can be any number including a number equal to N or M, as described above. In final operation S126, one or more filters used to protect against contact contamination (depending on the configuration of the fluid circuit) are tested to confirm their integrity during the preparation of the fluid.

[0106]

[0163] Even if the ratio of electrolytes to osmotic agent in the osmotic agent concentrate is correct for the target dialysis fluid, the reason that only a small portion of the water is added initially in S106 is because mixing with some of the water first and then mixing again with the rest of the water may reduce the total mixing time compared to adding all of the water at once in S106.

[0107]

[0164] The method described above describes three steps of mixing and testing. Within any of these operations, a titration process can be used to adjust the amount of water or concentrate added to the mixing container or to adjust the calculation of the total amount of water added in the final dilution operation. For example, in S112, in embodiments, the amount of osmotic agent concentrate can be increased if conductivity measurements indicate that the amount is below the minimum mass of osmotic agent (solute) for the target dialysis fluid. Because it relies on ratiometric dispensing, such a correction assumes that the amount of water transferred is effectively quantified and that the amount of osmotic agent concentrate is imprecise. This correction is effective for such systems if testing indicates that the amount of osmotic agent concentrate is consistently less accurate or precise than water metered by pumping. In further embodiments, the controller can be programmed to make an adjustment in the concentrate only after a predetermined number of mixing / test retries. This can protect against concentration bias resulting from incomplete mixing. When dialysis fluid is being prepared in which the ratio of electrolyte to osmotic agent is the same as that in the osmotic agent concentrate containing the electrolyte concentrate as a marker, testing the batch contents in S112 is sufficient to indicate the concentrations of both the osmotic agent concentrate and the electrolyte concentrate, since the ratio is fixed in the osmotic agent concentrate. Many dialysis fluids are characterized by a standard ratio of osmotic agent to electrolyte concentrate. If the highest osmotic agent / electrolyte ratio of such a fixed set is equal to the ratio of the electrolyte concentrate used as a marker in the osmotic agent concentrate, this ability to confirm final dialysis fluid quality through conductivity testing is available. The controller can be programmed to control the formulation process so that the final batch is cleared only after confirmation of the final conductivity. For standard dialysis fluids with lower osmotic agent to electrolyte ratios, the system can rely on ratiometric formulation.

[0108]

[0165] FIG. 15D shows a flowchart of another compounding procedure next to a corresponding schematic diagram of mixing container contents 320. Similar to FIG. 15A, the diagram has rows 351-366 at each stage of processing, each showing a figurative representation of the components of an electrolyte concentrate, an osmotic agent concentrate without an electrolyte marker, and water. As described with reference to FIG. 15A, the concentrates contribute some water in addition to their respective electrolyte and osmotic agent components. Rows 351-366 are also aligned with process steps S206-S222, with each row indicating the composition present at the corresponding stage. Columns 368, 369, and 370 indicate the components of the concentrate and water. The concentrates are further classified within the columns to indicate their components. Osmotic agent concentrate 368 has only osmotic agent and water as components; no marker is used. Electrolyte concentrate 339 has electrolyte and water as components. The constituents are indicated by "E," "O," and "H2O," as in Figure 15A.

[0109]

[0166] In the first operation, S200, the fluid circuit, including the manifold, if present, is primed with water, which is circulated through the mixing container to condition the pump tubing segments. The sterile filter through which the water is drawn may be tested at this point to ensure sterility. If a quick prime is performed in S202, the batch contents may be used for this purpose. In any case, the remaining batch contents are emptied to a drain in S204. The controller stores the final target volumes of water, osmotic agent concentrate, and electrolyte concentrate that will ultimately be transferred to the mixing container, mixed, and tested. Initially, the mixing container is empty. In S206, an initial volume of water is transferred to the mixing container. Before S206, the mixing container is essentially empty, although there may be slight residual traces from the priming operation. The resulting batch contents are shown alongside the S206 process in line 351. The amount of water may be optimized to minimize mixing time. In an embodiment, the water volume may be 50% of the target required water volume. In S208, electrolyte concentrate is transferred to the mixing container as required by the target composition. This may be the total amount of electrolyte concentrate required in the target composition. The transferred electrolyte concentrate, illustrated at 352, indicates the amount of electrolyte solute transferred. Also illustrated at 352 is that a certain amount of water is also transferred as part of the electrolyte concentrate 369.

[0110]

[0167] Next, in S210, the mixing container contents are mixed by pumping. In S212, the conductivity of the batch contents is tested to determine if the concentration is as expected. The controller may store a number indicating the number of conductivity retests N that can be performed if the conductivity test results are outside the expected range. To retest, the controller mixes the mixing container contents again. In embodiments, this later mixing may be over a predetermined interval that is shorter than the predetermined interval of operation S210. The testing and mixing may be repeated N times, and if the final test fails, the preparation is stopped and a recovery action is invoked, such as outputting an indication to stop pumping and resume the preparation using a new disposable fluidic circuit. From S208 through S212, the contents of the mixing container remain the same as shown at 354 and 356.

[0111]

[0168] Proceeding to S214, an osmotic agent is added to the mixing container and the mixing container contents are mixed in S216. A conductivity check is then performed in S218 for M iterations, where M can be any number including a number equal to N. The amount of osmotic agent concentrate added can be verified in S218 because the combined effect of dilution with the water component and the osmotic agent component reduces the conductivity by a measurable amount depending on how much water and osmotic agent concentrate are added. This reduction in conductivity can be stored by the controller as a predetermined amount and compared to a measured level just like other conductivity measurements.

[0112]

[0169] The remainder of the water required to achieve the target mixture is added in S220, at which point the final composition is obtained, shown at 364 and 366. The mixing container contents are then mixed in S222, as described above, and conductivity checks are performed in S224 for L iterations, where L can be any number, including a number equal to N or M. In the final operation S226, one or more filters used to protect against contact contamination (depending on the configuration of the fluid circuit) are tested to confirm their integrity during the preparation of the fluid.

[0113]

[0170] The reason why only a small portion of the water is added initially in S206 is because mixing with a portion of the water first and then mixing again with the remainder of the water may reduce the total mixing time compared to adding all of the water at once in S206, however, in embodiments, mixing all of the water at once is a possible alternative embodiment.

[0114]

[0171] In all of the aforementioned conductivity measurement operations, the fluid conductivity and temperature can be directly converted to the concentration of electrolytes in the water, or, in the case of fluids containing both an electrolyte solution and an osmotic agent, to the concentration of either the electrolyte solution or the osmotic agent, or both. A similar result can be achieved by correcting the measured conductivity to account for the difference between the reference temperature and the temperature of the fluid to obtain the conductivity at a reference temperature. A table of various admixture concentrations versus conductivity at a reference temperature can then be stored in the controller to determine the concentrations for the purpose of making corrections in the dialysis fluid composition. In embodiments of the disclosed compounding system, the reference temperature can be human body temperature, and the compounding process can include controlling the temperature of the dialysis fluid to be at body temperature (e.g., 37°C) so that the actual temperature at the time of the conductivity measurement is close to the reference temperature. This greatly reduces the error in the corrected conductivity measurement because the actual temperature and the reference temperature are closer to the controlled dialysis fluid temperature.

[0115]

[0172] In method embodiments, the components are warmed to a delivery temperature prior to combining. In alternative embodiments, the components are warmed after combining but before testing. In embodiments, conductivity is used without compensation for comparison to a reference value. In embodiments, the estimated temperature at which the concentration or target conductivity is obtained is estimated room temperature. This is relevant when combining occurs before warming the product to a temperature for administration to a patient. Warming to body temperature may occur later. In embodiments, the conductivity levels and associated temperature compensation factors for each anticipated concentration target are obtained at 37°C.

[0116]

[0173] FIG. 15B schematically illustrates the relationship between conductivity and dextrose concentration during the compounding procedure described above with reference to FIG. 15A. Curves 1506A, 1506B, and 1506C represent dilution curves for each of three dialysis fluids having final concentrations of osmotic agent in the final diluted dialysis fluid. Each fully diluted concentrate curve may represent, for example, 4.25% dextrose for curve 1506A, 2.5% dextrose for curve 1506B, and 1.5% dextrose for curve 1506C, respectively. Other components, i.e., clinically accepted components carried in electrolyte concentrates, including sodium, magnesium, calcium chloride, etc., may be the same for all three. In other words, all points to the right of the final diluted dialysis fluid (diluted to a usable concentration) are overconcentrated solutions for 4.25%, 2.5%, and 1.5% dialysis fluid. By selecting the ratio of dextrose (or more generally osmotic agent concentrate) to electrolyte concentrate to result in a final dialysis fluid ratio characterized as 4.25% osmotic agent (dextrose) dialysis fluid, usable dialysis fluids can be formed without the addition of electrolyte concentrate, and other dialysis fluids can be formed by adding respective amounts of electrolyte concentrate.

[0117]

[0174] Presenting the dilution curve as shown in FIG. 15B emphasizes what was pointed out above, namely, that the step of gradually mixing the components has implications for mixing efficiency and, as described herein, for proper measurement of conductivity. The ability to make a clear conductivity measurement varies at different points in dilution versus conductivity space. For example, curve 1506A illustrates the dilution curve for a concentrated solution with the lowest ratio of electrolyte solution to osmotic agent, and it can be seen that certain conductivity values ​​indicate two different dilution levels. Ranges for efficient mixing are also shown in 1508. All representations are figurative, and the exact ranges will be determined experimentally.

[0118]

[0175] In the compounding procedure of FIG. 15A outlined above, the measurement zone is restricted to a range where the conductivity is a single-valued, optimized mixing efficiency region 1508. Referring also to FIG. 15A, water S106 is combined S108 with an electrolyte concentrate and an osmotic agent concentrate and mixed in a mixing container, and the conductivity is measured S112. This corresponds to point 1500, which corresponds to a composition of partially diluted 4.25% dextrose. Next, assume the target dialysis fluid is 2.5% dextrose dialysis fluid. Addition S114 of electrolyte concentrate brings the composition of the mixing container to point 1502 on curve 1506B, which corresponds to an over-concentrated 2.5% dextrose dialysis fluid. Final dilution in S120 brings the composition to point 1504, which is a 2.5% dextrose dialysis fluid ready for use. Measurement points 1500, 1502, and 1504 are all in the desired region of dilution / conductivity space. In the graph, the osmotic agent concentrate is identified as dextrose, but it can be other types of osmotic agent concentrates.

[0119]

[0176] In all of the foregoing embodiments, the final product can be obtained by ratiometrically balanced blending, which relies purely on the reproducibility of the amount delivered by pumping. In such embodiments, concentration does not need to be detected and blending can be performed independently of any concentration measurement. In further embodiments, the final composition can be verified through a single concentration sampling and measurement.

[0120]

[0177] Referring now to FIG. 15C, a graph shows mixing time versus dextrose concentration (note that other osmotic agent concentrates can be similarly represented), with the curve indicating the total pumping time required to transfer the total amount of water and concentrate required and mix the contents to a point that ensures complete mixing. The latter can be determined experimentally by periodically sampling the contents of the mixing container during mixing and identifying the time required for complete transfer and mixing (the "pumping time") as the point at which the concentration reads constant. The ratio of water to osmotic agent (e.g., dextrose) concentrate in the initial combination at 1500 in FIG. 15B can affect the total time required to produce the admixture, including the time to pump the water and concentrate and the time to mix the container contents. A minimum pumping time can be identified by requiring point 1500 to be in a range of water to osmotic agent concentrate ratios where the concentration measurement is monotonic and away from the osmotic agent's solubility limit. Thus, an optimal initial ratio of osmotic agent concentrate to water mass ratio can be found and used to define the combination identified in Figure 15B at point 1500. In embodiments of the disclosed subject matter, for example, the method of Figure 15D, point 1500 can be determined depending on these conditions.

[0121]

[0178] It should be noted that in any of the embodiments, the use of a peristaltic pump can be replaced by a metering pump using any of a variety of pumping mechanisms that can provide sufficient absolute accuracy to meet the prescribed treatment (i.e., the ratio of commanded to actual transfer volume is limited by a predetermined range that still falls within the admixture or allowed ratio of the final product dialysate components). This is in contrast to pumping mechanisms that rely on ratiometric accuracy, in that the ratio of components is accurate even if the ratio of commanded to actual rates (or volumes) is not as precise as the prescribed requirement.

[0122]

[0179] Referring to FIG. 16A , in another method embodiment for producing a batch of dialysis fluid, the electrolyte concentrate is pumped into a mixing container before the osmotic agent concentrate is added. This allows the electrolyte concentrate concentration to be tested and adjusted for the mixed batch before the osmotic agent concentrate is added. Because dialysis fluid formulations have tighter tolerances for variations in electrolyte concentrate concentration, e.g., + / - 2.5%, than the concentration of the osmotic agent concentrate (+ / - 5%), adding, checking, and adjusting only the electrolyte concentrate allows for tighter control of the formulation. In embodiments, additional water or concentrate may be added to ensure the concentration is within the limits of the electrolyte concentrate. In embodiments, the dose of the osmotic agent concentrate is controlled by volume control only. In embodiments, the amount of osmotic agent concentrate added during formulation is checked using conductivity measurements, but the amount is not titrated to adjust it based on the conductivity measurements.

[0123]

[0180] The method begins by pumping all or a portion of the water required for the batch into a mixing container 458. In a variation, an amount of water equal to a predetermined portion required for the final batch is pumped into the mixing container. For example, 50% of the target amount of water may be added. As noted elsewhere, this amount may be selected to minimize overall pumping time, or at least depending on the overall mixing time. Next, 100% of the required dose of electrolyte concentrate is pumped into the mixing container 459. The mixing container contents are then mixed at 460, and a sample of the mixing container is drawn and tested at 461, for example, by pumping the sample through one or more conductivity sensors, as described in the embodiments above. At 463, an osmotic agent concentrate dose is pumped into the mixing container, and the batch contents are mixed at 464. Mixing here, and in all method embodiments, may be performed by any of the mechanisms identified above, or by any suitable method. To reduce the number of roller collisions with the fluid circuit that would occur if pump mixing were used, magnetohydrodynamic mixing (an excitation circuit may be provided in the support for the mixing container for mixing and / or warming) may be used here. For example, as described in the above embodiment, a sample may be pumped from the mixing container and tested at 465 by pumping the sample through one or more conductivity sensors. If additional water is needed, depending on the amount originally added at 458, the last remaining water is pumped into the mixing container at 467 and a final dilution concentration check as at 465 is performed at 468.

[0124]

[0181] At 469, a pressure test of one or more sterile filters, depending on the embodiment (e.g., 115 in FIGS. 1A-1D, 2A, 2E, or 2H), may be performed, and the results of the test may condition the release of the batch for processing. That is, in the present method, all fluids added to the batch that are not otherwise pre-connected to the mixing container (as done in some, but not all, disclosed embodiments) may have an in-line sterile filter pre-connected between the external source and the mixing container. That is, the sterile filter is pre-connected such that its sterile filter membrane defines a barrier to the interior of the mixing container, such that any contact contamination resulting from making the connection to the mixing container is prevented by the filter membrane when fluid transfer occurs through the connection made. When the sterile filter(s) are pressure tested, i.e., when one or more sterile filters relied upon to define a sterile barrier are pressure tested, the controller makes a determination as to whether they passed the pressure test and then prevents or allows the batch to be used. In the method, the controller generates a message indicating the results of the pressure test(s). The controller may generate a message to be output on the display with an indication that the batch is not authorized for use. The controller may further prevent transition to a treatment mode in which the batch is to be used. In an alternative embodiment, the controller may transition to a mode for preparation of a new batch. In the latter case, the controller may output instructions to replace the failed disposable with a new one and begin preparation of a new batch.

[0125]

[0182] At 461, 465, and 468, the conductivity of the mixing container is detected and compared to an expected value to ensure that the blending process is proceeding correctly. If the comparison with the expected value stored in the controller fails, a recovery procedure may be performed as described with reference to FIGS. 15A and 15D, i.e., the batch may be mixed (for any length of time, or for an interval less than or equal to the mixing time of 460), and the batch contents sampled and tested again. Thus, one form of recovery is to recover from an invalid test rather than a bad mix. If, after some predetermined number of remixing / testing attempts, the conductivity differs from the stored expected value by more than a predetermined amount or percentage, the blending process may be stopped, and the controller may output a message to restart the blending process. In addition to stopping the blending process, the controller may prevent access to the batch by clamping the lines or take some other safety precaution to prevent misuse of the failed batch contents.

[0126]

[0183] An additional recovery process may be performed by the controller to adjust the batch's conductivity to compensate for the mixing error. When a conductivity test fails, i.e., when the measured conductivity is outside a predetermined range of the stored expected value, the controller may adjust the batch ratio by adding an amount of water or one or both concentrates depending on the magnitude of the error. As a first action, the controller may compare the error magnitude in combination with the formulation stage to determine whether adjustment is permitted. In embodiments, the controller stores a range of error magnitudes for each conductivity for each test (461, 465, and 468). The stored error magnitudes, which may differ for negative and positive errors, may be compared to the detected error in 461, 465, or 468, and the controller may proceed with the adjustment process if the error magnitude is below the stored error magnitude, or terminate the formulation if it is not. The error magnitude may advantageously be based on the last remix / test cycle for the particular operation 461, 465, or 468.

[0127]

[0184] The recovery procedure may also use a scale to measure the weight of the disposable unit. The disposable unit includes a mixing container and one or more concentrate containers, depending on the embodiment. Only water is added, and it is added to the mixing container. After obtaining a baseline weight after the disposable unit is placed on the scale, the amount of water added to the mixing container can be detected by weight. When the concentrate is transferred to the mixing container, no change in the total weight of the disposable unit occurs. Using the conductivity plus the weight of the disposable unit, in each operation 461, 465, or 468, the controller can accurately determine the amount of water or concentrate added needed to achieve the target ratio.

[0128]

[0185] In embodiments without a scale, or in embodiments where a scale is not used for dispensing control, the controller may perform the following operations to recover by altering the mixing container contents to correct for the erroneous reading: Referring to Figure 15E, a flow chart is shown schematically. This repeats elements of the other mixing methods presented herein, but is not a separate embodiment in that it can be added to (or substituted as needed for) any of the methods presented herein as a conductivity error recovery method.

[0129]

[0186] Referring to FIG. 15E, at 1.0, an initial dose of water is added to a mixing container. At 2.0, a first concentrate, which may be, for example, an osmotic agent concentrate or an electrolyte concentrate according to any of the embodiments, is added. At 3.0, the batch contents are mixed, and at 4.0, the conductivity is measured. At 4.1, the controller determines whether the conductivity measurement matches the expected value within a predetermined tolerance; if so, operation proceeds to 5.0. If not, at 4.2, error recovery method 4.2.1 calculates the actual first concentrate in the batch by assuming the correct amount of water was pumped into the container. This can be obtained because a relationship between concentration and conductivity is stored. This relationship can be stored as a lookup table, a power function fit, or some other method to allow a new amount of concentrate to be calculated from a given amount of water and the calculated concentration of the first concentrate. The new amount of concentrate (eg, volume, but units of calculation are not required) is used to calculate the new target amount of the second concentrate in 4.2.2.

[0130]

[0187] At 5.0, the second concentrate is added and mixed 6.0, and the conductivity of the batch contents is measured 7.0. If the conductivity value matches the expected conductivity based on the reset amount of concentrate transferred from 4.2.2 if this action had been taken previously, control proceeds to 8.0. If the conductivity is incorrect and was previously incorrect for the first concentrate, the compounding process is terminated and a recovery process is initiated at 7.2. At this point, the batch is a failed batch. If the conductivity measurement at 4.0 is within range and the conductivity measurement at 7.0 is not within range, control proceeds to 7.3. If the conductivity indicates that missing second concentrate was added to the batch container at 5.0, the additional amount to be added is calculated based on the magnitude of the conductivity measurement and then added to the mixing container. Control proceeds to 7.3.2.1. In 7.3.1, if the conductivity indicates that too much second concentrate has been added to the mixing container at 5.0, the additional amounts of first concentrate and water to be added are calculated based on the magnitude of the conductivity measurement and then added to the mixing container. The batch contents are mixed in 7.3.2.1 and the conductivity is measured again in 7.3.2.2. If the measurement is within the expected range, control proceeds to 8.0 in 7.3.2.2.1; if not, the compounding is terminated in 7.3.2.2.2.

[0131]

[0188] If hard termination of the formulation has not occurred, the remainder of the water is added at 8.0, the mixing container contents are mixed at 9.0, and the conductivity of the batch fluid is measured at 10.0. If the measurement is satisfactory at 10.1, control proceeds to 11.0. If the conductivity measurement is within the expected range, control proceeds to 11.0; otherwise, control proceeds to 10.1.1 or 10.1.2 based on whether the conductivity measurement at 8.0 indicated under- or over-dilution. If the conductivity measurement indicates over-dilution (i.e., the measured conductivity is lower than the expected threshold), at 10.1.1, both concentrates are added in the prescribed ratio as described in this disclosure. If under-dilution is indicated at 10.1.2, water is added as described in this disclosure. In both cases, the water deficit or excess can be estimated from the conductivity measurement based on the prescribed amounts of the concentrate components with any adjustments stored by the previous recovery operation. In this final adjustment step, water or concentrate may be added in increments and repeated tests may be performed to titrate the batch contents to the final target level of conductivity. The batch contents are mixed in 10.1.2.1 and the conductivity is measured again in 10.1.2.2. If the measurement is within the expected range, control proceeds to 11.0 in 10.1.2.2.1; if not, the formulation is terminated in 10.1.2.2.2.

[0132]

[0189] In 11.0, the filter or filters that ensure sterility of all fluids are tested, and if the test fails, the batch is terminated as described above, otherwise the batch is released in 12.0.

[0133]

[0190] Note that in all relevant operations in FIG. 15E, the magnitude of the error between the expected and measured conductivity is compared to an allowed range, and if outside that range, control may proceed to hard termination of the formulation, e.g., as in 7.2 and as described elsewhere.

[0134]

[0191] FIG. 17A shows a compounding and treatment system 700A for peritoneal dialysis. Two multi-treatment containers 736 and 738 contain electrolyte concentrate and osmotic agent concentrate, respectively. They are connected to a fluid circuit 701A by a sterile connector 730 via an osmotic agent concentrate line 744 and an electrolyte concentrate line 742, respectively. Non-sterile connectors may also be used. In embodiments where the connectors are non-sterile, the osmotic agent concentrate line 744 and the electrolyte concentrate line 742 may contain sterile filters. Due to the cost and number of filters required, this is not the preferred method for ensuring sterility. A final fill container 734 may also be connected to the fluid circuit 701A via a final fill line 740. The final fill container 734 may contain a specific medication for the final fill cycle of a multi-cycle treatment. The fluid circuit 701A includes a first manifold 758 and a second manifold 760 connected by pumping tubing 763. Manifolds 758 and 760 define selectable fluid pathways connecting various fluid sources to fluid consumers using clamps 751 under the control of controller 739. Flow switching details may be as described above with respect to similar embodiments. A purified water source 766 supplies purified water to manifold 758 through redundant sterile filters 731. Filters 731 may be replaced by a single testable filter that is automatically tested to ensure the batch is sterile, as described in embodiments of the disclosed method. Manifold 760 is connected by exhaust line 756 via non-sterile connector 729 to exhaust line circuit 765. The exhaust line circuit has a conductivity sensor 764 in its path, which, under the control of controller 739, allows measurement of the conductivity of a sample of fluid conveyed through manifold 760. Mixing container 732 is connected to manifolds 758 and 760 by inlet and outlet lines 746 and 750, respectively, allowing fluids to be pumped into and drawn from mixing container 732, allowing mixing through recirculation of the contents of mixing container 732. A pump 762 pumps fluids between manifolds 758 and 760.Pressure sensors 769 are positioned on either side of pump 762 to detect pump inlet and outlet pressure within pump tubing 763. A signal corresponding to the pressure is applied to controller 739 and used for pump pressure compensation and / or pump calibration, as described elsewhere in U.S. Patent Application Publication No. 2015-0005699, which is incorporated herein by reference in its entirety. A waste container 768 may be attachable to drain line circuit 765 by a non-sterile connector 729. A heater 770 contacts mixing container 732. In embodiments, heater 770 forms a platform on which mixing container 732 rests. A patient line 754 is connected to separate lines 748 and 752 by a Y-connector to allow filling and draining of patient 718 through patient line 754, which is connected to a catheter (not shown) by another sterile connector 730.

[0135]

[0192] Fluidic circuit 701A connects to compounding / cycling machine 772 via a mechanism that aligns clamp 751 with the clamped portions of lines 741, 740, 742, 744, 750, 746, 752, and 756. A variety of such mechanisms are known in the art, including supports that hold tubing segments in predetermined positions within cassettes and cartridges, as well as compact fluidic circuits that can be easily placed over a set of actuators and sensors. The manifolds and clamps can be replaced by a variety of different types of flow selector devices known in the art; thus, the present system is not limited to using flow selectors based on tubing clamps. If pump 762 is a peristaltic pump, the pumping tubing segment of line 763 can be aligned by connections in fluidic circuit 701A. Purified water source 766 can be housed within enclosure 767 along with drain line circuit 765 or any portion thereof. Waste container 768 may be housed within the same enclosure, or may not be, as illustrated. Concentrate containers 736 and 738 may contain enough concentrate for multiple fill / drain cycles, multiple days' worth of treatment each consisting of multiple fill / drain cycles, a week's worth of treatment, a month's worth of treatment, or some other schedule. Concentrate containers 736 and 738 may be independently interchangeable through the use of sterile connectors. The advantages of independent replacement are described elsewhere in this disclosure. The contents of final-fill drug container 734 may be fully diluted or may consist of or include concentrate requiring further dilution. Manifolds 758 and 760 may have minimal volumes to reduce waste when replacing fluids. In embodiments, the maximum hydraulic diameters of manifolds 758 and 760 are each less than five times the diameter of the largest line connecting them. In further embodiments, they are less than three times the diameter of the largest line, and in still further embodiments, less than two times the diameter.

[0136]

[0193] 16B and 17A, in a method for producing a batch of dialysis fluid, a set of priming operations is performed first. Operations 485, 486, 487, 488, and 489 collectively form an overall sequence of operations that fills the osmotic agent concentrate lines, electrolyte concentrate lines, and final fill lines 740, 742, and 744 with their respective fluids, and fills the inlet line 746 and outlet line 750 of mixing container 732, as well as manifold 758, pumping tubing 763, manifold 760, and water supply line 741 with purified water. The operations can be in any order, but in certain embodiments, water is primed through the manifold last.

[0137]

[0194] At 485, the first concentrate 736 or 738 is conveyed to a waste container 768 (which may be a waste drain rather than a container) by closing valves 751 for all lines except valves 751 allowing flow through the respective concentrate line 742 or 744 and valves 751 allowing flow through discharge line 756. Pump 762 is operated to establish flow until a predetermined condition is met. The predetermined condition may be detected by controller 739. The predetermined condition may be a detected amount of concentrate determined by controller 739, a number of cycles (e.g., number of revolutions) of the pump actuator, or a detected conductivity or rate of change thereof indicated by conductivity sensor 764. The condition may be selected to ensure that the respective concentrate line 742 or 744 is filled. The condition may further be selected to ensure that air is purged from the respective concentrate line 742 or 744. The absence of air in the respective concentrate line 742 or 744 may be established by an air detector, such as one located at the conductivity sensor 764 or located elsewhere along the path. The condition may include a combination of a threshold level of detected air (or no detected air) combined with a predetermined threshold value of conductivity.

[0138]

[0195] At 486, the second concentrate 736 or 738 (other than the first concentrate) is conveyed to a waste container 768 (which may be a waste drain rather than a container) by closing valves 751 for all lines except valves 751 allowing flow through the respective concentrate line 742 or 744 and valves 751 allowing flow through discharge line 756. Pump 762 is operated to establish flow until a predetermined condition is met. The predetermined condition may be detected by controller 739. The predetermined condition may be a detected amount of concentrate determined by controller 739, a number of cycles (e.g., number of revolutions) of the pump actuator, or a detected conductivity or rate of change thereof indicated by conductivity sensor 764. The condition may be selected to ensure that the respective concentrate line 742 or 744 is filled. The condition may further be selected to ensure that air is purged from the respective concentrate line 742 or 744. The absence of air in the respective concentrate line 742 or 744 may be established by an air detector, such as one located at the conductivity sensor 764 or located elsewhere along the path. The condition may include a combination of a threshold level of detected air (or no detected air) combined with a predetermined threshold value of conductivity.

[0139]

[0196] At 487, the final fill (either concentrate or ready-to-use chemical) is conveyed to a waste container 768 (which may be a waste drain rather than a container) by closing valves 751 for all lines except valve 751 allowing flow through final fill line 740 and valve 751 allowing flow through discharge line 756. Pump 762 is operated to establish flow until a predetermined condition is met. The predetermined condition may be detected by controller 739. The predetermined condition may be a detected amount of fluid determined by controller 739, a number of cycles (e.g., revolutions) of the pump actuator, or a detected conductivity or rate of change thereof indicated by conductivity sensor 764. The condition may be selected to ensure that final fill line 740 is filled. The condition may further be selected to ensure that air is purged from final fill line 740. The absence of air in final fill line 740 may be established by an air detector, for example, one located at conductivity sensor 764 or located elsewhere along the path. The conditions may include a combination of a threshold level of detected air (or no detected air) combined with a predetermined threshold of conductivity.

[0140]

[0197] At 488, purified water is conveyed to a waste container 768 (or waste drain) by closing valves 751 for all lines except valves 751 allowing flow through water supply line 741 and valves 751 allowing flow through discharge line 756. Pump 762 is operated to establish flow until a predetermined condition is met. The predetermined condition may be detected by controller 739. The predetermined condition may be a detected amount of water determined by controller 739, a number of cycles (e.g., revolutions) of the pump actuator, or a detected conductivity or rate of change thereof indicated by conductivity sensor 764. The condition may be selected to ensure that water supply line 741 is filled. The condition may further be selected to ensure that air is purged from water supply line 741. The absence of air in water supply line 741 may be established by an air detector, for example, located at conductivity sensor 764 or elsewhere along the path. The conditions may include a combination of a threshold level of detected air (or no detected air) combined with a predetermined threshold of conductivity.

[0141]

[0198] At 489, an optional step is performed to recirculate water through mixing container 732. In embodiments, this may occur before, during, or after the operation at 488. Valve 751 opening inlet line 746 and valve opening water supply line 741 are opened, but all other valves 751 are closed, so that water is pumped into mixing container 732 when pump 762 is operated. Valve 751 on water supply line 741 is then closed and valve 751 on outlet line 750 is opened, so that water can be continuously recirculated within mixing container 732 when pump 762 is operated. The controller enforces this flow configuration for a predetermined number of pump cycles or a predetermined time (which may depend on the flow rate). This operation breaks in pump tubing 763 for the peristaltic pump, thereby creating a more consistent relationship between pump cycle speed (e.g., RPM) and flow rate. This operation is useful when a new fluid circuit 701A is installed. After the break-in of pump tubing 763 is complete, inlet line 746 may be closed by corresponding valve 751 and exhaust line 756 is opened by corresponding valve, after which pump 762 operates to drain the mixing container. Whether the break-in of the pump is completed after, before, or during priming the manifold and exhaust line with water, the operation serves to prime inlet line 746 and outlet line 750, and also to prime exhaust line 756 and manifolds 758 and 760.

[0142]

[0199] It should be noted that instead of a conductivity detector at 764, other types of sensors may be used to detect the filling of the respective concentrate lines. For example, a flow sensor may be responsive to the density or viscosity of the fluid flowing through the discharge line 756. Another alternative is a temperature sensor where the temperature of the fluid reaching the sensor is different from the fluid being transported.

[0143]

[0200] In the embodiment of FIG. 16A , the electrolyte concentrate is pumped into the mixing container before the osmotic agent concentrate is added. However, in an alternative embodiment, the osmotic agent concentrate (which may contain an electrolyte that serves as a marker) is added to the mixing container before the remaining electrolyte concentrate. The method begins by pumping less than 100% of the water needed for the treatment batch into mixing container 732. By closing all valves 751 except those closing water supply line 741 and inlet line 750, a predetermined amount of water is pumped by pump 762 from purified water source 766, through sterile filter 731 (or a single testable filter, if present), optionally through sterile connector 730, through water supply line 741, manifold 758, through pumping tubing 763, into manifold 760, and through mixing container inlet line 746 into mixing container 732. The amount transferred can be controlled by a controller by controlling the number of cycles of pump 762 to a predetermined number of cycles (e.g., rotations of a peristaltic pump). The embodiment of FIG. 16B can be modified in a similar manner, except that the osmotic agent concentrate initially pumped into the mixing container may contain a sufficient amount of electrolyte concentrate to serve as a marker for testing the admixture at 473.

[0144]

[0201] To account for the exact amount of fluid pumped into mixing container 732, the controller's operation of pump 762 ensures that the transfer of residual amounts of fluid remaining in each portion of the fluid circuit is taken into account. Since manifolds 758 and 760 and inlet line 746 were previously primed in operation 470, the total amount entering the mixing container is equal to the amount transferred by pump 762 in this operation. Therefore, in this case, no additional calculations are reflected in the control of the pump. The pump is operated to transfer a target amount of water, and the controller can be programmed to make calculations based on a batch volume equal to the amount transferred during operation 470. For convenience in describing further operations in which the transfer of fluid also transfers another fluid remaining in fluid circuit 701A, the following identifiers are used:

[0145]

[0202] MIMO for the combined volumes of manifold 758, pump tubing 763, and manifold 760;

[0146]

[0203] MOTI for the volume of the inlet line 746 between the mixing container 732 and the manifold 760;

[0147]

[0204] SOMI for the volume of the outlet line 750 between the mixing container 732 and the manifold 758.

[0148]

[0205] At 471, electrolyte concentrate from electrolyte concentrate container 736 is pumped into mixing container 732 by opening the respective valves 751 for electrolyte concentrate line 742 and inlet line 746 and closing the other valves 751 to form a direct path including MOTI and MIMO. The electrolyte concentrate is pumped from electrolyte concentrate container 736 through manifold 758 by pump 762 by opening only clamp 751 closing electrolyte concentrate line 742. The pump draws electrolyte concentrate from manifold 758 through pump tubing 763 into manifold 760 and through inlet line 746 into mixing container 732. An amount equal to 100% of the required dose of electrolyte concentrate is pumped toward the mixing container 732, leaving behind a predetermined portion equal to MOTI and MIMO. Additionally, water equal to MOTI and MIMO is added to mixing container 732 through the pumping of the electrolyte concentrate. The controller uses a predetermined conductivity threshold for the mixed diluted electrolyte concentrate based on the amount of water added MOTI+MIMO, which allows testing at 473 and adjustment of the electrolyte concentrate concentration at 474 to be performed on the mixed batch before adding the osmotic agent concentrate, with the attendant tolerance benefits described above.

[0149]

[0206] The mixing container contents are then mixed at 472 by closing all valves 751 except those closing the inlet line 746 and outlet line 750 to the mixing container 732 so that fluid is circulated in and out of the mixing container 732. As a result, a portion of the electrolyte concentrate equal to MOTI and MIMO is incorporated into the batch contents, as is any water remaining in SOMI. For concentration measurement purposes, the total pumped volume of concentrate delivered at 471 is mixed with the total pumped volume of water delivered at 470, along with any additional dilution of the SOMI volume, to determine the expected concentration. For example, as described in the above embodiment, a sample of the mixing container is drawn and tested at 473 by pumping the sample through one or more conductivity sensors. This is done by closing all valves 751 except those controlling the outlet line 750 and discharge line 756, and operating pump 762 to pump a predetermined amount of fluid from the mixing container 732 to the conductivity sensor 764. The controller 739 may consider the amount removed when making adjustments to its internal model of the batch contents, including the ratios and total amounts of the components, at 474. The concentration of the electrolyte concentrate can be determined by the controller 739 by conductivity measurement, which allows the controller to add more water or electrolyte concentrate to change the concentration to meet the target. Alternatively, the internal model of the mixing container's composition stored by the controller 739 can be adjusted according to the measurement and later taken into account to change the amount of osmotic agent concentrate and / or water added to the mixing container 732 in a later operation to produce the target prescription fluid. If the batch contents are adjusted immediately according to the results of the concentration test at 474, water or additional electrolyte concentrate can be pumped into the mixing container 732 using the valve 751 settings identified above, depending on whether the concentration measurement indicated over-dilution or under-dilution. If less than 100% water dosage was used at 470 (as in the embodiment variation identified above), additional water can be added up to the requirements per prescription. Again, the remainder of such water may be added at 455 after 475 and 454.

[0150]

[0207] At 475, osmotic agent concentrate from osmotic agent concentrate container 738 is pumped into mixing container 732 by opening respective valves 751 for osmotic agent concentrate line 744 and inlet line 746 and closing the other valves 751 to form a direct path including MOTI and MIMO. Osmotic agent concentrate is pumped from osmotic agent concentrate container 738 through manifold 758 by pump 762 by opening only clamp 751 controlling osmotic agent concentrate line 744 and inlet line 746. The pump draws osmotic agent concentrate from manifold 758 through pump tubing 763 into manifold 760 and through inlet line 746 into mixing container 732. An amount equal to 100% of the required dose of osmotic agent concentrate is pumped toward the mixing container 732 at 471, leaving behind a predetermined portion equal to MOTI and MIMO. The required dose may be determined in part by the results of the conductivity test at 473 shown above. The transferred volume may also account for the volume of diluted electrolyte concentrate from the previous batch contents remaining in the MOTI and MIMO before the osmotic agent concentrate is pumped. Finally, the residual volume, if any, is transferred to mixing container 732 in a final dilution at 455, so that the volume of osmotic agent concentrate transferred to mixing container 732 is partially compensated to account for that additional volume. The batch contents are mixed using the valve settings specified in the description of operation 472. This mixes the residual MOTI and MIMO volumes of osmotic agent concentrate remaining after pumping the osmotic agent concentrate, as well as the SOMI volume of mixture before the addition of the osmotic agent concentrate.

[0151]

[0208] At 454, the batch contents may be sampled, as described in connection with operation 473, by setting the appropriate valves 751 and operating pumps 762. The conductivity determined from the sample indicates to the controller whether the batch is good and can be used for a treatment cycle, or whether the batch is bad and should be discharged and remade or some other recovery cycle performed. The addition of osmotic agent concentrate and associated water has a measurable effect on conductivity. The addition of osmotic agent concentrate tends to lower conductivity, depending on the particular type (e.g., dextrose). However, concentrates do affect conductivity, which can be predetermined and stored by the controller, so that the conductivity measurement at 454 can be used to determine whether the conductivity corresponds to an internal model or is outside a predetermined range around it. As described above, based on the conductivity result, the controller can allow the batch to be used for treatment or regenerated, prevent use by preventing the control system from progressing into treatment mode, generate an error signal, discharge and generate a new batch, or any combination thereof.

[0152]

[0209] If, at 455, less than 100% of the water required for the complete batch was added to mixing container 732 at 470, the remaining supplemental water is added at 455 using the settings described above for operation 470. The entire amount of water transferred is ultimately added to the batch, even if some initially remains in the MOTI and MIMO portions. This is due to an additional mixing operation at 476, where the MOTI and MIMO portions are mixed into the batch. The previous SOMI volume mixture obtained at the end of 475 is also mixed.

[0153]

[0210] At 475, an osmotic agent concentrate volume is transferred to mixing container 732. A single dose is pumped into mixing container 732 and the batch contents are mixed. At 454, the conductivity of the batch contents is measured, and if it is within limits, control passes to 455; if not, compounding ends. At 455, if less than 100% of the water was added at 470, a final amount of water is added to mixing container 732. At 476, the batch contents are mixed, and the MOTI and MIMO volumes of water are mixed, similar to the previous mixture from SOMI, to form the final mixed batch. At 456, the conductivity is tested using the procedure described above with reference to 473. At 457, any sterilizing filters responsible for ensuring the sterility of the fluid may be tested, or a redundant filter may be used. If the integrity of the filter(s) is confirmed, the batch is released; otherwise, the batch is not released. Possible responses to an out-of-range conductivity reading may be as described with reference to operation 454.

[0154]

[0211] Referring to FIG. 16C , in a further embodiment suitable for a pump system and / or method providing a high degree of volumetric accuracy, water, an osmotic agent concentrate, and an electrolyte concentrate are transferred to a mixing container and mixed 477-481 in a single set of operations dependent on volume control. At 477, 100% or a portion of the target water volume is pumped into the mixing container. At 478, 100% of the target amount of electrolyte solution is transferred to the mixing container. At 479, a quantity of osmotic agent is pumped into the mixing container. At 480, if less than 100% water is transferred at 477, a complementary amount of water is added to bring the total to 100%. At 480, the conductivity of the mixing container contents can be measured, and additional water is added if necessary. After mixing, the conductivity is measured. At 481, the mixing container contents are mixed. The operations may be followed by pressure testing of the sterile filter, as described with reference to other embodiments.

[0155]

[0212] FIG. 17B shows a compounding and treatment system 700B for peritoneal dialysis. Two multi-treatment containers 736 and 738 contain electrolyte concentrate and osmotic agent concentrate, respectively. They are connected to the fluid circuit 701B by a sterile connector 730 via an osmotic agent concentrate line 744 and an electrolyte concentrate line 742, respectively. Non-sterile connectors may also be used. In embodiments where the connectors are non-sterile, the osmotic agent concentrate line 744 and the electrolyte concentrate line 742 contain sterile filters. Due to the cost and number of filters required, this is not the preferred method for ensuring sterility. A final fill container 734 may also be connected to the fluid circuit 701B via a final fill line 740. The final fill container 734 may contain a specific medication for the final fill cycle of a multi-cycle treatment. The fluid circuit 701B includes a first manifold 758 and a second manifold 760 connected by pumping tubing 763. Manifolds 758 and 760 define selectable fluid pathways connecting various fluid sources to fluid consumers using clamps 751 under the control of controller 739. Flow switching details may be as described above for similar embodiments. A purified water source 766 supplies purified water to manifold 758 through redundant sterile filters 731. Filter 733 is a single testable filter that is automatically tested by pumping air through air line 737 with an air pump, measuring the pressure, detecting whether the filter's bubble point is exceeded, and if not, verifying the integrity of the filter membrane of filter 733. Alternative filter integrity tests, such as a pressure decay test, may also be provided. Testing filter 733 is used by controller 739 to verify the batch is sterile, as described in embodiments of the disclosed method. Manifold 760 is connected by exhaust line 756 to conductivity sensor module 714 via non-sterile connector 729. The conductivity sensor module 714 is a replaceable component that is interconnectable between the outlet manifold 760 and the waste container 768 (or waste outlet, such as a drain).The conductivity sensor module 714 has a pair of conductivity sensors 764 in the exhaust flow path 715. The conductivity sensors 764 provide independent indications of conductivity that can be compared to indicate a faulty sensor and / or to provide a mechanism for flow sensing based on the time of flight of conductivity perturbations in the flow through the exhaust flow path 715. The conductivity module 714 engages a compounding / cycler machine 772 that houses a valve actuator 721. The valve actuator 721 is not replaced when the conductivity module 714 is replaced. The conductivity module 714 can be a low-cost component by using a plastic conductivity cell, tubing with a connector, and a pinched portion that defines a valve 751 by separating the valve actuator 721 (shown controlling flow through the exhaust flow path 715) from the tubing pinched portion, and by selecting low-cost construction for the conductivity cell 764, the tubing that forms the exhaust flow path 715, the connector 729, and the housing or support shown at 714.

[0156]

[0213] The mixing container 732 is connected to manifolds 758 and 760 by inlet and outlet lines 746 and 750, respectively, allowing fluid to be pumped into and drawn from the mixing container 732, allowing mixing via recirculation of the contents of the mixing container 732. A pump 762 pumps fluid between the manifolds 758 and 760. A waste container 768 may be attachable to the drain line circuit 765 by a non-sterile connector 729. A heater 770 contacts the mixing container 732. In embodiments, the heater 770 forms a platform on which the mixing container 732 rests. A patient line 754 is connected to the separate lines 748 and 752 by a Y-connector, allowing filling and draining of the patient 718 through the patient line 754, which is connected to a catheter (not shown) by another sterile connector 730.

[0157]

[0214] All of Embodiments 17A-17D, as well as other embodiments, may be provided with the sampling configurations described herein. Although not shown in FIG. 17A, a sample line emanating from header 760 may be provided. Referring now to the embodiment of FIG. 17D, sample line 774 is connected to sample container 773 via non-sterile connector 729. Valve 751 controlling flow through sample line 757 is controlled by controller 739 to automatically sample fluid from header 760. In embodiments, the temperature of the dialysis fluid being discharged may be monitored for conditions indicative of infection or some other condition, and a sample may be automatically drawn and stored during discharge according to the condition. For details on how parameter monitoring of spent dialysis fluid may be used to detect conditions, see U.S. Patent Application Publication No. US20150005699 and International Patent Application Publication No. WO2018045102, both of which are incorporated by reference elsewhere herein.

[0158]

[0215] In conventional peritoneal dialysis systems, all of a patient's effluent is collected in a large sample bag that can hold, for example, 10 liters or more of fluid. In this embodiment, a small sample (less than the total volume of effluent) is sent to a small-volume sample collection container. Thus, an aliquot from each patient's drain cycle can be automatically generated in a small container (e.g., about 200 ml, but can be, for example, less or more). The collection container can be a bag. At the end of treatment, the system controller can output instructions to remove, seal, and deliver the collected sample. For example, the container can be delivered to the patient's dialysis center, where it will be analyzed to assess the adequacy of the treatment.

[0159]

[0216] According to the method, the following control scheme may be implemented by the proportioner / cycler controller 739. The controller 739 first initiates one drain cycle of a predetermined number of drain cycles for the entire treatment. A command indicating an aliquot volume or mass may be generated and used to control the proportioner / cycler pump 762. A command may also be generated to initiate a drain flow diversion while metering the size of the accumulating sample, and then indicate the initial volume or mass to pass to the waste container or drain 768 before switching the valve 751 to a configuration where spent peritoneal dialysis fluid is sent to the waste container or drain 768. The sequence may be implemented using the valve 751 and pump 762. The process of switching between the patient line 754 to the waste container or drain 768 and the patient line to the sample container 773 may include stopping the pump while the associated valve 751 is activated and deactivated to define the correct flow path. The amount drained before the aliquot is transferred to the sample container 773 may be determined by how long it takes to remove any residual fluid (e.g., new peritoneal dialysis fluid) in the MIMO. In embodiments, the sample container 773 may be replaced with each drain cycle to collect samples representing multiple cycles of a single treatment. The controller may also allow sampling to be performed in a manner that captures multiple portions throughout the drain cycle that will be stored in the sample container 773 by repeatedly diverting to the drain and then to the sample container 773 multiple times. This may allow the sample to better represent the composition of the total drained fluid, which may change throughout the drain cycle. These partial samples may also be stored in separate sample containers 773. Collection parameters that may be set by the patient, nurse, or physician accessing the controller 739 locally or remotely include the following: the amount of sample, The interval between samples (e.g., one interval would be a sample for each emission cycle, two intervals would refer to every other emission cycle), For spaced samples, the first discharge cycle to start sampling; the amount to be discarded before initiating a diversion into sample container 773; The date of taking one or more samples according to a predefined cluster of listed parameters; the number of allowed sampling reschedules, Schedule sampling by date, day of the week, date, or number of times per time interval; Number of samples per discharge cycle, Number of samples per treatment, Discharge flow rate.

[0160]

[0217] The controller 739 may store specific schedules for collecting samples, such as specific days of the week. The controller 739 may output reminders for the operator or patient to inform them of an upcoming scheduled sampling so that the user can prepare. For example, the system may notify the patient that today is the day to collect a sample. The notification may be accompanied by or followed by an input control that accepts input indicating whether the patient wants to override, comply, or reschedule. The controller 739 may automatically reschedule if the patient or other user does not or overrides sample collection. The controller 739 may store guided instruction scripts to help users set up and store samples after collection. The guided instructions may be stored on a web server and displayed on the proportioner / cycler via a browser so that the script can be centrally updated. The guided instructions may be prompted upon user command input indicating that the user wants to perform a scheduled or unscheduled sampling procedure.

[0161]

[0218] 26A, a preparation and treatment system 700G for peritoneal dialysis has a fluid circuit 705 that is identical to 701B, except for the connection of a drug container 759 at port 730 or port 729. While connections at both are shown, it is understood that only one may be connected at a given time; otherwise, ports 730 and 729 may be used for the purposes described above. Drug container 759 may contain a drug (e.g., an antibiotic), an anticoagulant, or other substance to be mixed with the peritoneal dialysis fluid. The substance may be mixed with the contents of mixing container 732 in an automated manner.

[0162]

[0219] 26B, in S900, the substance container 759 is connected to the first manifold 758. Then, in S902, the mixing container 732 is filled by preparing dialysis fluid. Then, in S904, the valve 751 is opened and the pump is operated to draw the substance from the substance container 759 into the mixing container 732. Then, in S906, the pump recirculates the contents of the mixing container 732 in a recirculating mixing mode to mix the substance with the dialysis fluid.

[0163]

[0220] 26C, in S908, the substance container 759 is connected to the second manifold 760. Then, in S914, the mixing container 732 is filled by preparing dialysis fluid. Then, in S916, the valve 751 is opened and the pump is operated in reverse to draw the substance from the substance container 759 into the mixing container 732. Then, in S918, the pump recirculates the contents of the mixing container 732 in a recirculating mixing mode to mix the substance with the dialysis fluid.

[0164]

[0221] Referring to FIG. 23 , in an embodiment, the drain is replaced by a container connected to a scale 771 that generates a weight indication that is stored by the controller 739. This total weight can be combined with a detected measure of the amount captured within the same container 773 to provide a cumulative total mass of collected peritoneal dialysis fluid. For example, the total mass can be obtained as an average of the mass calculated from the weight and the mass calculated from the volume measurement. These data can be associated by code with a code read from the sample container 773, such as by barcode, smart chip, RFID tag, or other means. Data indicating the cumulative total mass estimate can be uploaded to a laboratory website along with data representing the code of the sample container 773. Alternatively, upon shipping to the laboratory, a chip attached to the sample container 773 can carry the cumulative mass data so that the data can be read by the operator analyzing the sample. In an embodiment, the sample container 773 and waste container 768 can be attached to the scale 771 or formed as a single disposable unit in which the sample bag portion can be detached from the waste container 768.

[0165]

[0222] Fluidic circuit 701F connects to compounding / cycling machine 772 via a mechanism that aligns clamp 751 with the respective clamped portions of lines 741, 740, 742, 744, 750, 746, 752, and 756. A variety of such mechanisms are known in the art, including supports that hold tubing segments in predetermined positions within cassettes and cartridges, as well as compact fluidic circuits that can be easily placed over sets of actuators and sensors. The manifolds and clamps can be replaced by a variety of different types of flow selector devices known in the art; thus, the present compounding and treatment system is not limited to using flow selectors based on tubing clamps. If pump 762 is a peristaltic pump, the pumping tubing segment of line 763 can be aligned by connections in fluidic circuit 701F. Purified water source 766 can be housed within sealed container 767 along with drain line circuit 765 or any portion thereof. Waste container 768 may be housed within the same sealed container, or not, as illustrated. The concentrate containers 736 and 738 may contain enough concentrate for multiple fill / drain cycles, multiple days' worth of treatment each consisting of multiple fill / drain cycles, a week's worth of treatment, a month's worth of treatment, or some other schedule. The concentrate containers 736 and 738 may be independently interchangeable through the use of sterile connectors. The advantages of independent replacement are described elsewhere in this disclosure. The contents of the final-fill drug container 734 may be fully diluted or may consist of or include concentrate requiring further dilution. The manifolds 758 and 760 may have minimal volumes to reduce waste when replacing fluids. In embodiments, the maximum hydraulic diameters of the manifolds 758 and 760 are each less than five times the diameter of the largest line connecting them. In further embodiments, they are less than three times the diameter of the largest line, and in still further embodiments, less than two times the diameter of the largest line. The embodiment of FIG. 23 is otherwise identical to the embodiment of FIG. 18A.

[0166]

[0223] FIG. 17C shows a compounding and treatment system 700C for peritoneal dialysis. Two multi-treatment containers 736 and 738 contain electrolyte concentrate and osmotic agent concentrate, respectively. They are connected to the fluid circuit 701C by sterile connector 730 via respective osmotic agent concentrate line 744 and electrolyte concentrate line 742. Non-sterile connectors may also be used. In embodiments where the connectors are non-sterile, the osmotic agent concentrate line 744 and electrolyte concentrate line 742 contain sterile filters. Due to the cost and number of filters required, this is not the preferred method for ensuring sterility. A final fill container 734 may also be connected to the fluid circuit 701C via final fill line 740. The final fill container 734 may contain a specific medication for the final fill cycle of a multi-cycle treatment. The fluid circuit 701E includes a first manifold 758 and a second manifold 760 connected by pumping tubing 763. Manifolds 758 and 760 define selectable fluid pathways connecting various fluid sources to fluid consumers using clamps 751 under the control of controller 739. Flow switching details may be as described above for similar embodiments. A purified water source 766 supplies purified water to manifold 758 through redundant sterile filters, as shown at 731 in FIG. 17A, or a testable filter may be used, as shown in FIG. 17C. Filter 733 is a single testable filter that is automatically tested by pumping air through air line 737 with an air pump, measuring the pressure, detecting whether the filter's bubble point is exceeded, and, if not, verifying the integrity of the filter membrane of filter 733. Alternative filter integrity tests, such as a pressure decay test, may also be provided. Testing filter 733 is used by controller 739 to verify the batch is sterile, as described in embodiments of the disclosed method. Manifold 760 is connected by exhaust line 756 to conductivity sensor module 714 via non-sterile connector 729.The conductivity sensor module 714 is a replaceable component that is interconnectable between the outlet manifold 760 and a waste container 768 (or waste outlet, such as a drain). The conductivity sensor module 714 has a pair of conductivity sensors 764 in the exhaust flow path 715. The conductivity sensors 764 provide independent indications of conductivity that can be compared to indicate a faulty sensor and / or to provide a mechanism for time-of-flight based flow sensing of conductivity perturbations in the flow through the exhaust flow path 715. The conductivity module 714 engages with a compounding / cycler machine 772 that houses a valve actuator 721. The valve actuator 721 is not replaced when the conductivity module 714 is replaced. The conductivity module 714 can be a low cost component by using a plastic conductivity cell, tubing with connectors, and a pinch portion that defines the valve 751 by separating the valve actuator 721 (shown controlling flow through the outlet flow path 715) from the tubing pinch portion, and by using injection molded rigid plastic for the conductivity cell 764, the tubing that defines the outlet flow path 715, a sterile connector 729 such as a locking luer type, and a housing or support shown at 714.

[0167]

[0224] Mixing container 732 is connected to manifolds 758 and 760 by inlet and outlet lines 746 and 750, respectively, allowing fluid to be pumped into and drawn from mixing container 732, allowing mixing via recirculation of the contents of mixing container 732. A pump 762 pumps fluid between manifolds 758 and 760. A waste container 768 may be attachable to exhaust line circuit 756 by a non-sterile connector 729. A heater 770 contacts mixing container 732. In embodiments, heater 770 forms a platform on which mixing container 732 rests.

[0168]

[0225] A patient line 754 is connected to the fluid circuit to ensure that fluid delivered to the patient through fill line 755 is sterile filtered by sterile filter 719, thereby providing the only or additional assurance against exposing the patient to non-sterile fluids, including fluids or fluids containing pyrogens, which, as is known, can be removed by filter membranes of suitably small pore size, for example 0.2 microns.

[0169]

[0226] A patient fill / drain line 754 has an air detector 753. Fluid is received from a fill line 755 through a junction and discharged through a drain line 748, with flow controlled in each of the fill line 755 and drain line 748 by respective valves 751. Fluid is supplied from a header 760 through a common batch / fill line 716 to a corresponding junction 717 to a batch inlet line 746 and a fill line 755. Selection of the two branches of the junction, i.e., batch inlet line 746 and fill line 752, is performed by respective valves 751 that control flow through these branches. A sterilizing / pyrogen filter 733 filters all fluids flowing through fill line 752, thereby filtering all fluids flowing to the patient. This may obviate the need for any other filters for fluids entering the system, such as the water inlet 741, using filter 733 on the patient fill line. The common fill / inlet line 716 feeds into inlet line 746 and fill line 755. The line 755 that carries the fluid to the patient 718 has a testable sterile filter 719. Flow through lines 746 and 755 is controlled by respective valves 751.

[0170]

[0227] Controller 739 may invoke fail-safe operation if air above a predetermined threshold is detected in fill / drain / line 754. Flow in inlet line 746 is controlled with the additional feature that valve 751 controlling flow in fill line 755 is closed when fluid is directed to mixing container 732.

[0171]

[0228] Fluidic circuit 701C connects to compounding / cycler machine 772 via a mechanism that aligns clamp 751 with the respective clamped portions of lines 741, 740, 742, 744, 750, 746, 752, 755, and 756. A variety of such mechanisms are known in the art, including supports that hold tubing segments in predetermined positions within cassettes and cartridges, as well as compact fluidic circuits that can be easily placed over sets of actuators and sensors. The manifolds and clamps can be replaced by a variety of different types of flow selector devices known in the art; thus, the present compounding and treatment system is not limited to using flow selectors based on tubing clamps. If pump 762 is a peristaltic pump, the pumping tubing segment of line 763 can be aligned by connections in fluidic circuit 701C. Purified water source 766 can be housed within sealed container 767 along with drain line circuit 765 or any portion thereof. Waste container 768 may be housed within the same sealed container, or not, as illustrated. Concentrate containers 736 and 738 may contain enough concentrate for multiple fill / drain cycles, multiple days' worth of treatment each consisting of multiple fill / drain cycles, a week's worth of treatment, a month's worth of treatment, or some other schedule. Concentrate containers 736 and 738 may be independently interchangeable through the use of sterile connectors. The advantages of independent replacement are described elsewhere in this disclosure. The contents of final-fill drug container 734 may be fully diluted or may consist of or include concentrate requiring further dilution. Manifolds 758 and 760 may have minimal volumes to reduce waste when replacing fluids. In embodiments, the maximum hydraulic diameters of manifolds 758 and 760 are each less than five times the diameter of the largest line connecting them. In further embodiments, they are less than three times the diameter of the largest line, and in yet further embodiments, less than two times the diameter of the largest line. Pressure sensors 769 are positioned on either side of pump 762 to detect pump inlet and outlet pressures within pump tubing 763.A signal corresponding to the pressure is applied to the controller 739 and used for pump pressure compensation and / or pump calibration, as described elsewhere in U.S. Patent Application Publication No. 2015-0005699, which is incorporated herein by reference in its entirety.

[0172]

[0229] 17D shows a preparation and treatment system 700D for peritoneal dialysis having a fluid circuit 701D. System 700D differs from 700C in that a testable sterile filter 719 is used for fill line 755 to protect against injection of pyrogens and / or pathogens.

[0173]

[0230] It should be noted that instead of separate inlet and outlet lines 746 and 750 leading into and out of the mixing container 732, the mixing container 732 may be attached by a single line. In such cases, mixing of the contents may be achieved by flowing fluid between the mixing container 732 and an accumulator connected to one of the manifolds. A flow switch may be used to interconnect the mixing container's single line to a selectable one of the manifolds. Also, the pump 762 may be operated in either direction so that the inlet and outlet lines 746 and 750 can switch roles under the control of a controller. Thus, it will be apparent that the modifiers "inlet" and "outlet" serve to distinguish the two lines 746 and 750 but are not strictly limiting in terms of structure or function, and that batch preparation, mixing, and treatment functions may be performed by switching the roles of inlet and outlet during certain operations. For other operations, the manifold may be modified to allow different fluid sources and destinations to be selected, not possible in the illustrated configuration. Such variations are contemplated as being within the scope of the present disclosure unless expressly limited otherwise.

[0174]

[0231] 18A shows a fluid circuit 701E having a disposable unit that is initially provided with empty low-volume concentrate containers 780 and 781, which are filled from multiple-treatment concentrate containers 736 and 738 during a dialysis fluid preparation cycle. The formulation and treatment system 700E for peritoneal dialysis has two multiple-treatment concentrate containers 736 and 738, containing an electrolyte concentrate and an osmotic agent concentrate, respectively. The multiple-treatment concentrate containers 736 and 738 are connected through a fluid module 723 by a single fluid intake line 728 having a testable filter 733 that forms part of the disposable with the fluid circuit 701E. The disposable unit is connected to the fluid module 723 via the fluid intake line 728 by a sterile connector 743 (same type as 729). The fluid module 723, according to various embodiments, can be a permanent structure that receives the multiple-treatment concentrate containers 736 and 738 as replaceable units or separate containers. The fluid module 723 may also include a pump 788 and a purified water source 766 , as well as a fluid switching circuit 747 that provides a selective flow of water and different concentrates to the fluid intake line 728 .

[0175]

[0232] The testable filter 733 may be sterilized with the rest of the fluid circuit 701E as a unit that may be pre-connected to the fluid circuit 701E, sealed in a sterile package, and delivered for use. An air pump 735 and pressure sensor 727 may be provided as a permanent, fixed part of the compounding / cycler machine 772.

[0176]

[0233] Initially empty low-volume concentrate containers 780 and 781 are pre-connected to the remainder of fluid circuit 701E along with initially empty mixing container 732. Low-volume concentrate containers 780 and 781 may be filled with osmotic agent concentrate and electrolyte concentrate from multi-treatment concentrate containers 736 and 738, respectively, as described below. Final fill container 734 may also be connected to fluid circuit 701E by sterile connector 730 via final fill line 740. Final fill container 734 may contain a particular drug for the final fill cycle of a multi-cycle treatment. The contents of final fill drug container 734 may be completely diluted or may consist of or include a concentrate requiring further dilution.

[0177]

[0234] Fluid circuit 701E includes a first manifold 758 and a second manifold 760 connected by pumping tubing 763. Manifolds 758 and 760 define selectable fluid paths connecting various fluid sources to fluid consumers using clamps 751 under the control of controller 739. Flow switching details may be as described above with respect to similar embodiments. Manifolds 758 and 760 may have minimal volumes to reduce waste when changing fluids. In an embodiment, the maximum hydraulic diameters of manifolds 758 and 760 are each less than five times the diameter of the largest line connecting them. In a further embodiment, they are less than three times the diameter of the largest line, and in yet a further embodiment, less than two times the diameter of the largest line. Pressure sensors 769 are positioned on either side of pump 762 to detect pump inlet and outlet pressures within pump tubing 763. A signal corresponding to the pressure is applied to controller 739 and used for pump pressure compensation and / or pump calibration, as described elsewhere in U.S. Patent Application Publication No. 2015-0005699, which is incorporated herein by reference in its entirety. A waste container 768 may be attachable to drain line circuit 765 by a non-sterile connector 729.

[0178]

[0235] Filter 733 is a single testable filter that is automatically tested by pumping air through air line 737 with air pump 735, measuring the pressure with pressure sensor 727, detecting whether the bubble point of the filter is exceeded, and if not, verifying the integrity of the filter membrane of filter 733. Alternative filter integrity tests, such as a pressure decay test, may also be provided. Testing filter 733 is used by controller 739 to verify that the batch is sterile, as described in embodiments of the disclosed method.

[0179]

[0236] The manifold 760 is connected by an exhaust line 756 to a conductivity sensor module 714 via a non-sterile connector 729. The conductivity sensor module 714 is a replaceable component that is interconnectable between the outlet manifold 760 and a waste container 768 (or a waste outlet, such as a drain). The conductivity sensor module 714 has a pair of conductivity sensors 764 in the exhaust flow path 715. The conductivity sensors 764 provide independent indications of conductivity that can be compared to indicate a faulty sensor and / or to provide a mechanism for time-of-flight based flow sensing of conductivity perturbations in the flow through the exhaust flow path 715. The conductivity module 714 engages a compounding / cycler machine 772 that houses a valve actuator 721. The valve actuator 721 is not replaced when the conductivity module 714 is replaced. The conductivity module 714 can be a low cost component by using a plastic conductivity cell, tubing with a connector, and a pinch portion that defines the valve 751 by separating the valve actuator 721 (shown controlling flow through the exhaust flow path 715) from the tubing pinch portion, and by selecting low cost construction for the conductivity cell 764, the tubing that forms the exhaust flow path 715, the connector 729, and the housing or support shown at 714.

[0180]

[0237] The mixing container 732 is connected to manifolds 758 and 760 by inlet and outlet lines 746 and 750, respectively, allowing fluid to be pumped into and drawn from the mixing container 732, allowing mixing via recirculation of the contents of the mixing container 732. A pump 762 pumps fluid between the manifolds 758 and 760. A waste container 768 may be attachable to the drain line circuit 765 by a non-sterile connector 729. A heater 770 is in contact with the mixing container 732. In embodiments, the heater 770 has a platform on which the mixing container 732, in the form of a plastic bag, rests. A patient line 754 is connected to the separate lines 748 and 752 by a Y-connector, allowing filling and draining of the patient 718 through the patient line 754, which is connected to a catheter (not shown) by another sterile connector 730. A sample line 757 may be connected to or pre-attached to a sample container 773 via a non-sterile connector 729. A valve 751 controlling flow through the sample line 757 is controlled by a controller 739 to automatically sample fluid from a header 760. In embodiments, the temperature of the discharged dialysis fluid is monitored for conditions indicative of infection or some other condition, and a sample may be automatically drawn and stored during discharge according to the condition. For details on how parameter monitoring of used dialysis fluid may be used to detect conditions, see US2015-0005699, incorporated by reference elsewhere herein, and International Patent Application Publication No. WO2018045102, incorporated by reference in its entirety.

[0181]

[0238] Fluidic circuit 701E connects to compounding / cycler machine 772 via a mechanism that aligns clamp 751 with the respective clamped portions of lines 741, 740, 742, 744, 750, 746, 752, and 756. A variety of such mechanisms are known in the art, including supports that hold tubing segments in predetermined positions within cassettes and cartridges, as well as compact fluidic circuits that can be easily placed over sets of actuators and sensors. The manifolds and clamps can be replaced by a variety of different types of flow selector devices known in the art; therefore, the present compounding and treatment system is not limited to using flow selectors based on tubing clamps. If pump 762 is a peristaltic pump, the pumping tubing segment of line 763 can be aligned by connections in fluidic circuit 701B.

[0182]

[0239] Concentrate containers 736 and 738 may contain enough concentrate for multiple fill / drain cycles, multiple days of treatment, with each treatment consisting of multiple fill / drain cycles. For example, concentrate containers 736 and 738 may contain enough concentrate for a week's worth of treatment, a month's worth of treatment, or some other schedule. Concentrate containers 736 and 738 may be independently interchangeable through the use of sterile connectors. The advantages of independent replacement are described elsewhere in this disclosure. Pump 788 draws and pumps the concentrate selected by valves controlling flow through electrolyte concentrate line 790 and osmotic agent concentrate line 789, respectively. The output of pump 788 is pumped through common concentrate line 791, through connector 743, and into fluid intake line 728. As water is conveyed through the fluid intake line, it is pumped by pump 762, which has corresponding valves opened by closing valves 751 that control flow through electrolyte concentrate line 790 and osmotic agent concentrate line 789, respectively, and by opening valve 751 that controls flow through water source line 792, as in the previous embodiment. As described with reference to Figures 19A-19M, a pressure sensor 727 can be provided in water source line 792 to control the flow of water.

[0183]

[0240] It should be noted that in all embodiments having a water source such as 766, the latter may be provided with a pump 794 that pumps water independently from the pumps of downstream compounders and / or cyclers such as pump 762.

[0184]

[0241] 18B-18D are a single flowchart illustrating an embodiment of a method for controlling the embodiment of FIG. 18A. The chart portion of FIG. 18B is linked at the end to the beginning of the flowchart of FIG. 18C, as indicated by the letter A in a circle. The chart portion of FIG. 18C is linked at the end to the beginning of the flowchart of FIG. 18D, as indicated by the letter B in a circle. In S502, pump 762 is used to pump water from fluid source module 723 to the drain to prime manifolds 758 and 760 of the fluid circuit and the lines leading from fluid source module 723 to a waste container or drain 768. Controller 739 stores a predetermined value indicating how much water should be pumped at this stage. For example, controller 739 may store a predetermined number of cycles or a predetermined volume for pump 762. Controller 739 may be programmed to implement a control procedure that converts the predetermined volume into a predetermined number of cycles and adjusts the volume transferred accordingly. Alternatively, the controller 739 may store predetermined rates and operation intervals corresponding to predetermined volumes. Other alternatives are possible. In operation S502, only the valves 751 necessary to open the specified pathway are opened, and the other valves are closed to restrict flow to the predetermined pathway. This is the case for all operations described by the flowchart.

[0185]

[0242] In S503, an optional operation is performed in which a sample of each concentrate is pumped to a drain to create a pressure drop across filter 733 and use the pressure drop to identify the type of concentrate solution by its viscosity. For example, an osmotic agent concentrate is more viscous than an electrolyte concentrate, and therefore will have a higher pressure drop for a given flow rate. The pressure drop may be indicated by a single downstream pressure by pressure sensor 769, since the upstream pressure may be assumed to be sufficiently identical between the two test conditions to indicate a difference. Thus, a lower pressure at sensor 769 would indicate a more viscous fluid. Controller 739 may store the identity of the concentrate type associated with lines 789 and 790 and control the corresponding valve 751 accordingly. Alternatively, if one type of concentrate should be connected to the corresponding connector, controller 739 may identify the misconnection and generate an output from the controller indicating the misconnection so that corrective action can be taken.

[0186]

[0243] In S504, valve 751 is opened to define a path from water source 766 to a waste container or drain 768. Water is pumped by pump 794 in tandem with pump 762 to flush the path with water. Optionally, the conductivity of the fluid passing through conductivity sensor 764 may be detected to serve as an indication that enough water has been flushed to prime and clean the flow passage. Alternatively, another criterion may be used to stop the flow of water, such as when a predetermined amount of water has been flushed.

[0187]

[0244] In S505, a quantity of electrolyte concentrate is pumped by pump 788 from electrolyte concentrate container 736, through manifold 758, and at least partially into outlet line 750 to prime the line. This process may prime sterile filter 733. The total volume may be selected to be sufficient to ensure that sterile filter 733 is primed and flushed of air. This priming step may be performed at a preselected flow rate determined to be optimal for priming filter 733, for example, a flow rate of about 30 ml / min.

[0188]

[0245] In S506, a quantity of electrolyte concentrate sufficient for a complete treatment (e.g., daily treatment) including a single cycle or multiple fill cycles is pumped through paths 790, 791, 728, 745, 758, 742, and all valves 751 except those defining this path are closed. This has the effect of priming electrolyte concentrate line 742 and providing a sufficient quantity of electrolyte concentrate into osmotic agent container 781 to produce multiple batches, each for a respective fill cycle, sufficient for a complete treatment, e.g., daily treatment.

[0189]

[0246] In S510, pump 788 pumps enough osmotic agent concentrate into mixing container 732 to prime the lines and header 760. The lines include batch outlet line 750, fluid line 745, and osmotic agent concentrate line 789, which are opened by respective valves 751. The amount transferred can be determined to be sufficient to prime the lines leading to osmotic agent concentrate line 744 and header 760.

[0190]

[0247] In S514, a quantity of osmotic agent concentrate sufficient for a complete treatment (e.g., daily treatment) including a single cycle or multiple fill cycles is pumped through pathways 790, 791, 728, 745, 758, 744, and all valves 751 except those defining this pathway are closed. This has the effect of priming osmotic agent concentrate line 742 and providing a sufficient quantity of osmotic agent concentrate in osmotic agent container 781 to produce multiple batches, each for a respective fill cycle, sufficient for a complete treatment, e.g., daily treatment.

[0191]

[0248] In S520, a flow path is established by closing all valves 751 except those required for flow from the water source 766 to the outlet line 750. Water is pumped from the water source 766 using pump 794 to prime the manifold 758 and outlet line 750, thereby transferring a small amount of water into the mixing container 732.

[0192]

[0249] In S522, a recirculation flow path is established between the inlet line 746 and the outlet line 750 via pump 762, and the contents of mixing container 732 are pumped for a period of time or number of pump revolutions sufficient to condition the pumping tubing segments of pump tubing 763. The contents of mixing container 732 may be mixed by this process.

[0193]

[0250] In S528, if a special end-fill, different from the prescription, produced from a concentrate is used, a special end-fill drug container 734 is provided. In S528, the end-fill line 740 may be primed by flushing a portion of the contents of the end-fill container 734 to a waste container or drain 768 to prime the end-fill line 740.

[0194]

[0251] At 530, pump 794 pumps a predetermined amount of water into mixing container 732. The pump recirculates fluid from mixing container 732 through inlet and outlet lines 746 and 750 for a time sufficient to smooth the pump tubing segments and mix the contents. This is a closed loop path that includes manifolds 758 and 760, inlet and outlet lines 746 and 750, and mixing container 732.

[0195]

[0252] In S532, the controller 739 performs an integrity test of the filter 733 on the fluid intake line 728. This is to ensure that all fluids entering the fluid circuit are sterile / pyrogen-free. If the integrity of the filter membrane is not confirmed, the controller 739 may perform an error recovery action by instructing the operator to replace the fluid circuit 701E. The controller 739 is programmed to, at a minimum, generate a signal indicating a failed test. The controller 739 may prevent the fluid in the mixing container 732 from being used by automatically pumping the contents to a drain and generating an output on the user interface indicating a failed filter, along with instructions to replace the fluid circuit.

[0196]

[0253] In S534, the controller 739 opens a circuit through manifolds 758 and 760 from the water source to the drain, allowing water to flow through the open circuit to rinse the conductivity sensor 764. The conductivity can be monitored by the controller 739 to ensure that a sufficient amount of water has been transferred to rinse the conductivity cell to a predetermined threshold.

[0197]

[0254] In S536, controller 739 opens a circuit including line 742 through manifolds 758 and 760 to the drain, passing a small bolus (e.g., 6-8 ml) from electrolyte concentrate container 780 to manifold 758. This is ultimately pumped to conductivity sensor 764, which stores a marker in the line that is used to calibrate pump 762.

[0198]

[0255] In S538, the circuit including manifolds 758 and 760 of the water supply line 728 and extending from the purified water source 766 to the drain is opened by operating valve 751 to allow a small amount of purified water spacer (e.g., 10 mL) to flow from the fluidics module 723 into the open circuit so that it flows therein but does not reach the conductivity sensor and does not push the bolus formed in S536 into the conductivity sensor. Rather, the bolus and spacer are queued in the fluid path, waiting for S540 to perform a calibration operation by measuring the time-of-flight of the bolus. That is, with a fixed volume of the flow path between the conductivity sensors, the system can be calibrated to determine the flow rate from the time delay between indications of a perturbation across the two conductivity sensors.

[0199]

[0256] In S540, the controller 739 opens the circuit including the outflow line 750 through manifolds 758 and 760 to the drain and pumps enough fluid (approximately 50 ml) from the mixing container 732 to push the electrolyte concentrate bolus and water spacer past the conductivity sensor 764 to calibrate the pump. This system is described in US 2015-0005699, which is incorporated by reference. This technique involves the controller calculating the volumetric flow rate of the fluid by detecting the traversal of a conductivity perturbation across two spaced apart conductivity sensors. With a fixed volume of the flow path between the conductivity sensors, the system can be calibrated to determine the flow rate from the time delay between the indications of a perturbation across the two conductivity sensors.

[0200]

[0257] In S542, the controller 739 flows enough water (e.g., about 22.6 ml) toward the mixing container 732 to fill the inlet line 746. A sufficient amount is pumped to transfer some water to the mixing container 732 to ensure that the inlet line 746 is completely filled.

[0201]

[0258] In S544, the controller 739 operates the pump 762 to drain the mixing container 732 until a vacuum is detected on the pressure sensor 769. The controller then calculates a discounted value for fluid accounting purposes that takes into account the total amount of water in the inlet line 746, MOTI, to account for the effect of the vacuum drawn on the inlet line 746.

[0202]

[0259] In S546, the controller 739 pumps water to the drain to prime the manifolds 758 and 760. All valves 751 are closed except for the one defining the path from the water source 766 to the drain.

[0203]

[0260] In S548, the controller 739 pumps less than 100% (e.g., 50%) of the target amount of water into the mixing container 732. This is the amount of water that the controller 739 determines is needed for ready-to-use PD dialysis fluid according to the current prescription stored by the controller 739.

[0204]

[0261] In S550, the controller 739 pumps a predetermined amount of water from the mixing container 732 to a waste container or drain 768 to fill the outlet line 750 of the mixing container 732 with water, filling the volumes defined as MIMO, MOTI, and SOMI, i.e., the inlet and outlet lines 746 and 750, the manifolds 758 and 760, and the pump tubing 763.

[0205]

[0262] In S552, the controller 739 pumps 100% of the electrolyte concentrate required for the target formula into the mixing container 732 (note that the reverse order of electrolyte solution and osmotic agent is also possible, so that the osmotic agent with enough electrolytes to act as a marker could instead be added first).

[0206]

[0263] In S554, the controller 739 mixes the contents of the mixing container 732 by recirculating them through lines 746 and 750 and manifolds 758 and 760 using pump 762.

[0207]

[0264] In S556, the controller 739 opens a path from the mixing container 732 to a drain and pumps its contents in a quantity sufficient to test the conductivity to confirm the level of dilution of the electrolyte solution. Any difference between the actual and expected conductivity measurements is compared to a threshold, and if the threshold is exceeded, in S558 additional water or electrolyte concentrate may be added to provide the target ratio.

[0208]

[0265] In S558, the controller 739 conditionally pumps additional water or electrolyte concentrate depending on the previous conductivity test performed in S556. This process may be repeated to effectively provide a titration until the required ratio of electrolyte solution to water is achieved. In an embodiment, the measured total water volume is used as ground truth by the controller 739 for purposes of adjusting the second concentrate (in this example, the osmotic agent concentrate) to be added.

[0209]

[0266] In S560, the controller 739 pumps the osmotic agent concentrate into the mixing container 732 using ratiometric control of the transferred concentrate (note that the reverse order of the concentrates is also possible).

[0210]

[0267] In S562, the controller 739 mixes the contents of the mixing container 732 by recirculating them through lines 746 and 750 and manifolds 758 and 760 using the pump 762.

[0211]

[0268] In S564, the controller 739 tests the conductivity of the mixing container contents and passes or fails the batch based on the results by passing a sample from the mixing container 732 through the conductivity sensor 764.

[0212]

[0269] In S566, the controller 739 determines and adds the supplemental water depending on the initial amount provided in S548. In the 50% water example, the remainder of the 50% water is added. If the amount of water was adjusted in S558, the remainder is adjusted based on any additional amount added to the contents of the mixing container 732.

[0213]

[0270] In S568, the mixing container contents are mixed by controller 739 by recirculating them through lines 746 and 750 and manifolds 758 and 760 using pump 762.

[0214]

[0271] In S570, the controller 739 tests the conductivity of the contents of the mixing container 732 and passes or fails the batch based on the results. At this point, a batch failure may not be compensated for by adjusting its components. If the contents do not meet a predetermined expected conductivity, the contents of the mixing container 732 may be prevented from further use and a signal indicating a failure may be generated. In an embodiment, the contents of the mixing container 732 may be automatically flushed to a drain in the event of a failure.

[0215]

[0272] In S572, the controller 739 tests the sterilizing filter(s) and passes or fails the completed batch based on the results of the filter test. At this point, the contents of the mixing container 732 may be prevented from further use and a signal may be generated indicating a failure. In an embodiment, the contents of the mixing container 732 may be automatically flushed to a drain in the event of a failure.

[0216]

[0273] Figures 18E-18H show various fluid circuit configurations for the fluid module 723 of the previous embodiments, such as that of Figure 18A. In the embodiment of Figure 18E, the fluid module 723A has concentrate containers 736 and 738 pre-connected to respective concentrate lines 790 and 789, which are interconnected to a connector 798 for connection to a water supply inlet of a fluid circuit, such as that of Figure 18A. In this embodiment, the concentrate containers 736 and 738 may be mechanically attached to one another or enclosed within a common housing, indicated at 795A, to form a single unit that can be replaced as a unit when one of the concentrate containers 736 or 738 is depleted. Figure 18F shows an embodiment in which the concentrate containers 736 and 738 each have their own connector 799, allowing each of the concentrate containers 736 and 738 to be replaced independently of the other. The concentrate containers 736 and 738 may be housed or held in a permanent fixture 795B. FIG. 18G shows a fluidic module 723C in which one of the concentrate containers 738 is not disconnectable from the fluid line (here, osmotic agent concentrate line 789), while the other concentrate container 736 is connected by a removable connector 799. In embodiments, which of the two concentrates is not disconnectable can be reversed so that the electrolyte concentrate container 736 is not disconnectable and the osmotic agent concentrate container 738 is. In this embodiment, only one type of concentrate is pre-connected to a line, such as line 789, at any one time. The configuration of the embodiment of FIG. 18G prevents connecting each one of lines 789 and 790 to the wrong type of concentrate container. FIG. 18H shows an embodiment 723D in which each of the concentrates 736 and 738 is provided with a separate, testable filter. In this case, the fluidic module may have its own air pump 735 and pressure sensor 727.

[0217]

[0274] It should be noted that in any of the embodiments, the function of air pump 735 may be provided by a single pump with multiple lines emanating from a common output, each controlled by a respective valve under the control of the controller.

[0218]

[0275] It should be noted that in any of the embodiments in which a fluid source module is provided for actively pumping fluid to a consumer device, such as a compounding and treatment system 700A-700E for peritoneal dialysis, the fluid module may be controlled by direct electronic communication, such as wired or wireless. Such direct communication may be used, for example, for closed-loop control of the fluid module pump by the compounding and treatment system for a peritoneal dialysis controller.

[0219]

[0276] In any of the fluid module embodiments (723, 723A, 723B, 723C, 723D), the pump 794 that pumps the water may be of a type that pushes water through a filtration system and may be of a high-precision, non-pulsating type, such as a gear pump or a screw pump. This pump, shown as 794 in the embodiment, may be closed-loop controlled based on pressure from pressure sensor 727A. In any of the fluid module embodiments, a valve 751 of the type shown as 749 in FIG. 18A and corresponding locations in other embodiments is controlled by controller 739.

[0220]

[0277] In embodiments in which the feedwater pump 794 is activated and deactivated in response to pressure (e.g., see FIGS. 9A-19C and related discussion) and is also closed-loop controlled to maintain a predetermined pressure range, control of the feedwater pump 794 may be regulated by a control algorithm such that a pressure rise above a predetermined level or above a predetermined rate by shutting down the cycler pump may be quickly detected. For example, if the pressure rises above a predetermined level or rises faster than a predetermined rate, the feedwater pump controller may detect the condition and shut down the feedwater pump rather than slewing to a lower flow rate in accordance with the closed-loop control algorithm. The controller may also terminate closed-loop control of the flow rate if such a condition is detected.

[0221]

[0278] Direct control of water and / or other fluid sources by wired or wireless digital signals may be preferred. Figures 19A-19H and 19J-19M show an embodiment for control of a fluid source, here exemplified by a water source 810, without direct data communication to apply control input from a medical treatment device, exemplified here by a peritoneal dialysis fluid preparation device 800, which may optionally also have a cycler. Referring to Figure 19A, the peritoneal dialysis fluid preparation device 800 has a pump 808 and a fluid circuit 802 for mixing fluids and performing peritoneal dialysis treatment. The water source 810 has a pump 806 that delivers water to the peritoneal dialysis fluid preparation device 800 through a water supply line 803. A pressure sensor 804 detects the pressure in the water supply line and applies a corresponding signal to a controller 807 of the water source 810. The controller 807 controls the pump 806. Figure 19B shows a control loop executed by a controller 809 of the peritoneal dialysis fluid preparation device 800. In S400, the controller 809 receives or generates a command for water. This may be as described in the previous embodiment as accompanying the concentrate dilution operation in the preparation of dialysis fluid by the peritoneal dialysis fluid preparation device 800. In S402A, the peritoneal dialysis fluid preparation device 800 begins operation of the pump 806 to draw water through the water supply line 803. In S412, the pump 806 of the peritoneal dialysis fluid preparation device 800 draws a certain amount of water until a command to stop pumping water is received or generated in S414, at which point the pump 806 is deactivated in S416A. FIG. 19C shows the control loop executed by the controller 807. In S404A, the controller of the water source 810 detects a pressure below a predetermined threshold indicated by the pressure sensor 804. The drop in pressure is caused by the operation of S402A, which creates a negative pressure in the water supply line 803. Note that instead of absolute (gauge or absolute) pressure, the controller 807 may respond in S404A to a predetermined rate of change of pressure or a predetermined total change of pressure over a predetermined time interval. The predetermined range may be stored in the memory of the controller 807.S404A loops continuously until the condition is met. In S405A, the controller 807 activates the water supply pump 806 to allow water to enter the water supply line, relieving the negative pressure so that water flows freely under the control of the pump 808. In S406A, the control loops until the pressure indicated by the pressure sensor 804 rises above a threshold, or increases by a predetermined amount, or increases at a predetermined rate, at which point the water source pump 806 is stopped in S409. The pressure increase is triggered by operation S414. Thus, the water source 810 is automatically demand-controlled by the controller 809 of the peritoneal dialysis fluid preparation device 800 without a signal connection between the controller 809 and the controller 807 of the water source 810.

[0222]

[0279] 19A-19M have described the peritoneal dialysis fluid preparation device 800 as controlling the stopping of the pump 806 of the water source 810, variations of these embodiments could instead have the controller 807 control the stopping of the pump of the water source 810 by providing a predetermined amount of water or a predetermined pumping time. The water pump 806 stops automatically after being started, allowing the peritoneal dialysis fluid preparation device 800 to independently stop operation of the pump 808.

[0223]

[0280] Thus, during operation, the controller 809 of the peritoneal dialysis fluid preparation device 800 starts the pump 806 of the water source 810 as described in embodiments 19A-19M, but the pump stops automatically as a result of a predetermined amount or expiration of the operating time.

[0224]

[0281] It should also be noted that in the embodiments of Figures 19G, 19H, and 19J, the controller 809 may transmit the duration of pumping or the volume to be pumped by the water supply pump 806 to the controller of the water source 810 by the controller 809 of the peritoneal dialysis fluid preparation device 800 via a pressure pulse signal, which may allow the controller 809 of the peritoneal dialysis fluid preparation device 800 to establish the volume of fluid or the duration of pumping.

[0225]

[0282] In any of the embodiments, the pressure modulator may generate pulses by adjusting the pump 808 of the peritoneal dialysis fluid preparation device 800. For example, such a pump may be driven by a motor capable of forward and reverse movement, such as by a stepper motor drive. Other means for generating pulses are also possible, such as a separate actuator, such as a solenoid-driven diaphragm pump. Further variations are described elsewhere in this application.

[0226]

[0283] 19A-19C, it should also be noted that in an alternative embodiment, instead of receiving a command at S414, the water source 810 may stop the flow of water after a certain amount of water has been pumped by the pump 806. In other embodiments, the pump 808 may generate a pressure spike when stopped by the controller 809. This spike may be detected by the pressure sensor 804 and cause the controller 807 to stop the pump 806.

[0227]

[0284] Referring now to FIG. 19D , similar to the embodiment of FIG. 19A , a peritoneal dialysis fluid preparation device 800 includes a pump 808 and a fluid circuit 802 for mixing fluids and performing peritoneal dialysis treatment. A water supply 810 includes a pump 806 that delivers water to the peritoneal dialysis fluid preparation device 800 through a water supply line 803. A controller 807 controls the pump 806. A power supply 815 provides power to the pump 808. In the water supply, a voltage detector 816 is connected to the power supply 815 or to the power lead leading to the pump 808 to detect the power being sent to the pump 808. Thus, the voltage detector 816 applies a signal to the controller 807 indicating when the pump 808 is activated. A pressure sensor 804 may be used for flow control of the pump 806 to ensure that the tandem operation of the pumps 808 and 806 is synchronized by flow so that the pump 806 does not overly resist the pumping of the pump 808. Closed-loop control of the pump 806 by the controller 807 relative to the pressure setpoint can achieve this. This closed-loop control can be provided in embodiments. Figure 19E shows a control loop executed by the controller 809 of the peritoneal dialysis fluid preparation device 800. In S400, the controller 809 receives or generates a command for water. This can be as described in the previous embodiment as accompanying the concentrate dilution operation in the preparation of dialysis fluid by the peritoneal dialysis fluid preparation device 800. In S402A, the peritoneal dialysis fluid preparation device 800 starts operation of the pump 806 to draw water through the water supply line 803. In S412, the pump 806 of the peritoneal dialysis fluid preparation device 800 draws a certain amount of water until a command to stop pumping water is received or generated in S414, at which point the pump 806 is deactivated in S416A. Figure 19F shows a control loop executed by the controller 807. In S404B, the controller of the water supply 810 detects a voltage above a predetermined threshold indicated by the voltage detector 816. The predetermined threshold may be stored in the memory of the controller 807. S404B loops continuously until the condition is met.In S405B, the controller 807 activates the water supply pump 806 to allow water to enter the water supply line, relieving the negative pressure so that water flows freely under the control of the pump 808. In S406B, the control loops until the voltage indicated by the voltage detector 816 falls below a predetermined threshold, which may be different from that in S404B, at which point the water source pump 806 is stopped in S409. The voltage drop is caused by operation S414. Thus, the water source 810 is automatically demand-controlled by the controller 809 of the peritoneal dialysis fluid preparation device 800 without a signal connection between the controller 809 and the controller 807 of the water source 810.

[0228]

[0285] 19G, similar to the embodiment of FIG. 19A, a peritoneal dialysis fluid preparation device 800 includes a pump 808 and a fluid circuit 802 for mixing fluids and performing peritoneal dialysis treatment. A water source 810 includes a pump 806 that delivers water to the peritoneal dialysis fluid preparation device 800 through a water supply line 803. A controller 807 controls the pump 806. A pressure modulator 818 generates pressure pulses in the water supply line 803 that are detected by a pressure sensor 804 in the water source 810 and applies the resulting pressure pulse instructions to a decoder 819, which decodes them and generates command signals that are applied to the controller 807. The controller 809 can store the pressure pulse patterns thus decoded by the decoder 819. Various commands can be encoded and decoded using the pressure pulses to provide commands from the peritoneal dialysis fluid preparation device to the water source 810. Such commands may include, for example, starting and stopping pump 806 or commanding the speed of pump 806. Pressure sensor 804 may be used for flow control of pump 806 to ensure that the tandem operation of pumps 808 and 806 is synchronized by flow so that pump 806 does not overly resist the pumping of pump 808. Closed-loop control of pump 806 performed by controller 807 relative to a pressure setpoint may accomplish this. A pressure pulse signal generated by a pressure modulator may define the pressure setpoint for such closed-loop control. Closed-loop control may be provided in embodiments. Figure 19H shows a control loop performed by controller 809 of peritoneal dialysis fluid preparation device 800. In S400, controller 809 receives or generates a command for water. This may be as described in the previous embodiment as accompanying the concentrate dilution operation in the preparation of dialysis fluid by peritoneal dialysis fluid preparation device 800. In S402B, the peritoneal dialysis fluid preparation device 800 initiates operation of the pump 806 to draw water through the water supply line 803 and simultaneously, i.e., immediately before or immediately before, or immediately after or immediately after, generates a pulse command to turn on the water supply pump 806.At this point, further commands, such as a pressure set point or the speed of the pump 806, can be generated using pressure pulses through the pressure modulator 818. In S412, the pump 806 of the peritoneal dialysis fluid preparation device 800 draws in a volume of water until a command to stop pumping water is received or generated in S414, at which point in S416B the pump 806 is deactivated and simultaneously, i.e., immediately before or immediately thereafter, generates a pulse command to turn the water supply pump 806 off. Figure 19J shows the control loop executed by the controller 807. In S404C, the controller 807 of the water source 810 detects a command from the decoder 819 to start the pump and establish operating conditions, if included in the pulse train received by the decoder 819. S404C loops continuously until the conditions are met. In S405C, the controller 807 activates the water supply pump 806 to allow water to enter the water supply line, relieving the negative pressure so that water flows freely under the control of the pump 808. The controller 807 may also set operating conditions as indicated by the received command. In S406C, control loops until a further pressure pulse signal command is received by the decoder 819 to stop the pump 806. Thereafter, in S409, the water source pump 806 is stopped. Thus, the water source 810 is automatically demand-controlled by the controller 809 of the peritoneal dialysis fluid preparation device 800 without a wired or wireless-based signal connection between the controller 809 and the controller 807 of the water source 810.

[0229]

[0286] Referring now to FIG. 19K, similar to the embodiment of FIG. 19A, a peritoneal dialysis fluid preparation device 800 includes a pump 808 and a fluid circuit 802 for mixing fluids and performing peritoneal dialysis treatment. A water source 810 includes a pump 806 that delivers water to the peritoneal dialysis fluid preparation device 800 through a water supply line 803. A controller 807 controls the pump 806. A valve actuator 822 opens and closes a valve 821 that provides flow from the water supply line 803 to the fluid circuit 802. Details of such operation and embodiments are disclosed elsewhere herein. A voltage sensor 816 detects activation of the valve actuator 822 and applies a corresponding signal to the controller 807. Both the open and close instructions can be applied and interpreted by the controller 807 using known principles and according to various valve types, and therefore will not be described in detail. The pressure sensor 804 may be used for flow control of the pump 806 to ensure that the tandem operation of the pumps 808 and 806 is synchronized by flow so that the pump 806 does not excessively resist the pumping of the pump 808. Closed-loop control of the pump 806 performed by the controller 807 relative to a pressure setpoint may achieve this. This closed-loop control may be provided in embodiments. FIG. 19L shows a control loop performed by the controller 809 of the peritoneal dialysis fluid preparation device 800. In S400, the controller 809 receives or generates a command for water. This may be as described in the previous embodiment as accompanying the concentrate dilution operation in the preparation of dialysis fluid by the peritoneal dialysis fluid preparation device 800. In S402C, the peritoneal dialysis fluid preparation device 800 activates the valve actuator 822 to open the valve controlling access to the water supply line 803 of the fluid circuit 802, and then starts operation of the pump 806 to draw water through the water supply line 803.In S412, the pump 806 of the peritoneal dialysis fluid preparation device 800 draws in a certain amount of water until a command to stop pumping water is received or generated in S414, at which point in S416C the pump 806 is deactivated and the valve actuator 822 is activated to close the water supply inlet valve 821 (or deactivated, depending on the type of valve, e.g., de-energized if solenoid). Figure 19M shows the control loop executed by the controller 807. In S404D, the controller of the water source 810 detects a voltage above a predetermined threshold indicated by the voltage detector 816. This is an example of direct detection of valve opening. In a linear motor-actuated pinch valve, a forward applied voltage may be detected, which operates the linear motor in a forward direction to close the valve 821, and a reverse applied voltage may be detected, which operates the linear motor in a reverse direction to open the valve 821. In the case of a solenoid valve, a predetermined threshold voltage may be stored in the memory of the controller 807 to indicate the open position of the valve of the actuator 822. For other types of actuators, a suitable mechanism for direct detection of the valve status (e.g., an encoder or other mechanism) may be used. S404D continuously loops until a condition is met. In S405D, the controller 807 activates the water supply pump 806 to allow water to flow into the water supply line, so that water flows freely under the control of the pump 808. In S406D, the control loops until a closed state of the valve actuator 822 is detected. Then, in S409, the water source pump 806 is stopped. The closed state is triggered by the action in S416C. Thus, the water source 810 is automatically demand-controlled by the controller 809 of the peritoneal dialysis fluid preparation device 800 without a signal connection between the controller 809 and the controller 807 of the water source 810.

[0230]

[0287] In any of the aforementioned embodiments in which pressure, voltage, or other instructions are used to control the flow of a fluid, such as water, an upstream source, such as a fluid supply, can be placed in a demand mode to allow control by pressure, voltage, or other instructions. This can be done by a unique user command via a connected user interface. Alternatively, the controller (e.g., 807, 739) can generate a command using a unique pattern of pressure or final control to a valve or pump power supply to indicate demand mode. When not in demand mode, the fluid source's ability to respond to commands for fluid is disabled.

[0231]

[0288] Referring now to Figures 20A-20E, any of the previously described embodiments can be modified to use any one of a variety of locations for filters that remove infectious agents such as pyrogens and bacteria. Any of the filters 824 can be or include a single filter, for example, having a membrane with pores of 0.2 microns or less in diameter. Any of the filters 824 can be or include a single filter of the same type with additional devices and / or controls suitable for testing. For example, a pressure line can allow pressurized air below the membrane's bubble point to be applied to one side of the filter to measure the membrane's ability to withstand pressure and thereby indicate its integrity. This type of filter integrity testing is known in the art and details are within the skill of those in the art. In other embodiments, the filters 824 can be redundant to reduce the probability of failure to the simultaneous probability of failure in both filters. 20A-20E, a patient 842 is filled and drained through a patient fill / drain line 841 via a fluid circuit 856, which may be configured according to any of the embodiments disclosed herein or according to embodiments disclosed in the documents referenced in the incorporated-by-reference descriptions. A mixing chamber 855 is connected to the fluid circuit 856, which prepares a batch using an inlet line 857 and an outlet line 858, with flow directions designated by arrows. As in the previous and following embodiments, a water source 850, a first long-term concentrate container 852, and a second long-term concentrate container 863 are connected to the fluid circuit 856.

[0232]

[0289] In the embodiment of FIG. 20A , inlet lines 826 for water, first concentrate 852, and second concentrate 853 each have a filter 824 to prevent contaminants from entering fluid circuit 856 and thereby preventing contaminants from entering patient 842. The assurance against contamination provided by filter 824 is optimized when all other components are permanently (or previously, upon delivery and sterilization) in and connected to fluid circuit 856, so that only connections to water 850, first concentrate 852, and second concentrate 853 need be made upstream of filter 824. The filters themselves are therefore attached to lines 826, 827, and 828. It should be noted that on the fluid source side of each filter 824, connectors (not shown separately) may be provided for connecting between the respective water 850, first concentrate 852, and second concentrate 853 and each of lines 826, 827, and 828.

[0233]

[0290] 20B, drain line 861 drains fluid from fill / drain line 841, and fill line 862 fills the fill / drain line. Fill line 862 has filter 824. In this embodiment, no other filters are used. Fill / drain line 841 is permanently or previously attached to fill line 862 prior to sterilization so that when fill / drain line 862 is connected to fluid circuit 856 (note that it may be previously attached and sterilized as a unit with all or part of fluid circuit 856), any contamination, including contact contamination, is prevented from reaching patient 842 by filter 824. The other elements are as described above.

[0234]

[0291] In the embodiment of FIG. 20C , a filter 824 is placed on the inlet line 857 of the mixing container 855. It is assumed that the mixing container 855 is attached to the fluid circuit before sterilization so that a sealed unit is formed and any contact contamination is prevented from entering the mixing container 855. As in the embodiment of FIG. 20B , a filter may also be provided on the fill line 862. Alternatively, instead of a filter on the fill line 862, the fluid circuit 856 may be designed so that a dedicated flow path is defined between the mixing container 855 and the fill line 862 so that non-sterile fluids, i.e., fluids not protected by sterile filtration, do not come into contact with any part of the circuit connecting the mixing container outlet line 858 and the fill line 862. As in the other embodiments, the filter 824 is connected to the downstream portion and is pre-attached to ensure the sterility of the contents of the mixing container 855.

[0235]

[0292] In the embodiment of FIG. 20D , the water supply line 826 and the common concentrate line 845 are protected by respective filters 824. The downstream sides of the water supply line 826 and the filter 824 may be pre-attached to the patient lines, including the fluid circuit 856, the mixing container 855, and the fill, drain, and fill / drain 861, 862, and 841. The downstream sides of the common concentrate line 845 and the filter 824 may be pre-attached to the patient lines, including the fluid circuit 856, the mixing container 855, and the fill, drain, and fill / drain 861, 862, and 841. Pre-attachment specifies that all of these elements are sealed to each other before (or during) sterilization to ensure that the delivered disposable set is sterile and protected from contamination ingress by the presence of the filter 824. In this case, components upstream of the filter 824 can be replaced without risk of contamination.

[0236]

[0293] In the embodiment of Figure 20E, which corresponds to the embodiment of Figure 18A, filter 824 is placed in common fluid line 827 and is pre-attached to the rest of the fluid handling components, which are also attached to each other. That is, filter 824, the portion of common fluid line 827 downstream of filter 824, fluid circuit 856, mixing container, and patient lines including fill, drain, and fill / drain 861, 862, and 841 are all interconnected to form a sealed unit before sterilization. This ensures that the delivered disposable set is sterile and protected from contamination ingress by the presence of filter 824. In this case, components upstream of filter 824 can be replaced without risk of contamination of the downstream circuit.

[0237]

[0294] FIG. 20F shows a generalized embodiment similar to that of FIG. 18A in which a conductivity sensor 859 is provided on the outflow line 858 of the mixing container 855. This configuration allows embodiments of the methods herein to be modified to minimize the total amount of fluid that must be drawn from the mixing container 855 toward the drain in order to measure the conductivity of the contents of the mixing container 855. This embodiment can be modified to provide two conductivity sensors connected in series to be used for volumetric flow measurement, as described herein. Note that in any of the embodiments, the identified conductivity cell can be a direct contact or capacitive conductivity cell.

[0238]

[0295] FIG. 20G illustrates an embodiment similar to that of FIGS. 20E and 20F with respect to filter placement at a common fluid inlet 827. In this embodiment, filter 825 allows for membrane integrity testing, which can be performed by pressurizing it with air from air pump 835. Pump 832 has inlet and outlet pressure sensors 831 and 830, which are used by controller 847 for pressure compensation of the commanded speed of pump 832, as described with reference to various embodiments, including incorporated reference U.S. Patent Application Publication No. 2015-0005699, also attached to the provisional application. Pump 832 flows fluid between manifolds 833, as may be described in various embodiments described herein. In this embodiment, controller 847 is configured to open any valves necessary to open the fluid flow path from filter 825 to pressure sensor 831 and apply air pressure from pump 835 while monitoring the pressure signal from pressure sensor 831 for any changes. To maintain the pressure from air pump 835, which can be controlled to maintain the filter membrane below the membrane's bubble point without compromising its integrity, Controller 847 may generate a signal based on whether a pressure change is indicated by pressure sensor 831. By opening a flow path to a pressure sensor that serves another function, the need for an additional pressure sensor may be avoided.

[0239]

[0296] FIGS. 21A-21C each illustrate a correction procedure for recovering from an inaccurate conductivity measurement in the preparation of a batch of dialysis solution by blending two concentrates and water. FIG. 21A illustrates the flow after initially adding up to 100% of the required amount of water to a mixing container (see, e.g., FIG. 18A; note that the methods of FIGS. 21A-21C can be used with other embodiments). Initially, a portion of water (less than 100% of the target amount) is added to the mixing container before S602. Then, in S602, the first concentrate is added and mixed, and the conductivity is detected and determined to be within the expected range (C1 OK). Note that S648 (FIG. 21B) corresponds to a condition in which the conductivity after mixing the initial amount of water and the first concentrate is outside the expected range, thereby indicating that too much first concentrate was added, and S688 (FIG. 21C) indicates that the conductivity is out of range and that too little first concentrate was added. In all three cases, water was added to the mixing chamber, the contents mixed, and the conductivity tested.

[0240]

[0297] In S606, 100% of the second concentrate C2 is added to the mixing container. In S608, the mixing chamber contents with the added second concentrate C2 are tested and the conductivity is found to be within the expected range. S628 corresponds to a condition where the conductivity is outside the expected range, indicating that too much second concentrate was added, and S634 corresponds to a condition where the conductivity is outside the range, indicating that too little second concentrate was added. In S610, both the first and second concentrates have been added in the correct amounts, and the remainder of the water, if any, is added to the mixing container, and the mixing container conductivity is tested to confirm its usability. In S612, the conductivity is within the expected range, indicating proper dilution. If 100% of the water was previously added before S602, the test can be omitted. S616 and S622 correspond to over-dilution and under-dilution conditions, respectively. If the batch is correctly diluted, it is made usable in S614. If the batch is over-diluted in S616, there are two possible responses. The first response is that the batch can be indicated as failed and an output corresponding to recovery action can be output. Alternatively, as shown in S618, additional concentrate in the same proportion as the target can be added sequentially to the mixing container, after which in S620 the batch is tested again for conductivity and, if it fails, the batch is failed, or, if the conductivity is within range, the batch is made usable.

[0241]

[0298] Returning to S628, with the conductivity outside the expected range, indicating that too much of the second concentrate was added, in S630, additional amounts (boluses) of each of the first concentrate and water are calculated at target ratios that will bring these ratios and bring the mixing container contents into the expected range of conductivity. Then, in S632, the remainder of the water, if any, is added to the mixing container plus the water bolus and first concentrate bolus (calculated in S630), and the conductivity of the batch is tested to confirm its usability S634. If the conductivity is within range, the batch is usable; if not, the batch is failed.

[0242]

[0299] Returning to S634, if the conductivity is outside the expected range, indicating that too little second concentrate was added, an additional amount (bolus) of second concentrate is calculated in S636 to achieve the target ratio that will bring the mixing container contents into the expected range of conductivity. The conductivity is again tested. If the conductivity is not within the expected range, the batch is failed in S638; if not, S642, the remainder of the water, if any, is added to the mixing container in S644, and the conductivity of the contents is tested to confirm its usability S646. If the conductivity is within range, the batch is usable; if not, the batch is failed.

[0243]

[0300] Returning to S648 and FIG. 21B, this corresponds to a situation where the conductivity after mixing the initial amount of water and the first concentrate is outside the expected range, indicating that too much of the first concentrate was added, and correction begins in S650. In S650, a bolus of the second concentrate and water is calculated to target the ratio, and the total amount of the first concentrate plus this bolus is added to the mixing container in S652. The mixing container contents are then tested in S654, and if within range, meaning the second concentrate is in the correct ratio to the first concentrate, S656, the remainder of the water plus the water bolus is added, and the batch is tested in S658. Note that the expected conductivity in S656 corresponds to a higher concentration of the second concentrate than if the first concentrate had been added in the correct amount, because the water bolus has not yet been added at this point. The reason for delaying the addition of water is that addition to the mixing container contents is optimally scheduled to coincide with the time the fluid circuit is primed with the fluid corresponding to the fluid being added to minimize the time spent priming between switchovers. If the batch conductivity is within the expected range S660, the batch is released for use. If the batch is over-diluted S664, S666, a bolus of the required ratio of first and second concentrates can be added, the batch is further tested, and if the conductivity is again out of range, the batch is failed. In an alternative embodiment, the batch is simply failed S664 without taking any corrective steps. If the batch is under-diluted S668, S670, a bolus of water can be added, the batch is further tested, and if the conductivity is again out of range, the batch is failed. In an alternative embodiment, the batch is simply failed S668 without taking any corrective steps.

[0244]

[0301] If the conductivity measurement S654 indicates that too much second concentrate was added in S672, the batch is failed in S674. In an alternative embodiment, correction may be made by adding proportional boluses of water and the first concentrate. In this embodiment, errors in both the first and second concentrate additions indicate a possible system problem, and the system may therefore fail the batch and provide instructions to test the system or replace fluid circuitry that may be causing the problem. The controller may do this as part of a batch failure recovery process. If the conductivity measurement S654 indicates that too little second concentrate was added in S676, the batch ratio may be restored in S678 by adding a bolus of the second concentrate and testing again. If the conductivity of the mixing container is again out of range, the batch is failed at S682; otherwise, at 686, the remainder of the water, if any, is added to the mixing container and the conductivity of the contents is tested to confirm its usability, and the batch is made usable unless it is failed based on the results of the conductivity test.

[0245]

[0302] Returning to S688 and FIG. 21C, where it was found that too little first concentrate was added, in S690, since the system is already primed with the first concentrate, an additional amount can be calculated from the conductivity and added. No additional bolus of water is required. The mixing container contents are sampled in S690, and if the conductivity is out of range in S692, the batch fails. If the conductivity is within range S696, the target amount of second concentrate is added S698 and tested S700. If the conductivity of the mixing container contents indicates that the correct amount of second concentrate has been added S702, the remainder of the water, if any, is added to the mixing container S704, and the conductivity of the batch contents is tested to confirm its usability, and if within range S706, it is usable. If the conductivity of the mixing container contents is not within range and the batch is found to be too diluted S710, a bolus of the first and second concentrates is calculated and added S712, the batch is tested, and used or failed depending on the results. If the batch is found to be too concentrated at S704, the conductivity measurement is used to calculate a water bolus S724, which is added, the contents are tested, and used or failed depending on the results.

[0246]

[0303] If S700 finds that too much second concentrate was added to the mixing container S726, the batch is failed S728. Again, this is caused by two failed concentrate measurements. If S700 finds that too little second concentrate was added to the mixing container S730, additional second concentrate is added S734, the batch is tested, and if the conductivity is out of range, the batch is failed S736. If the conductivity is within range S732, the remainder of the water S740, if any, is added to the mixing container, and the conductivity of the contents is tested to confirm its usability, and if it is within range, it is usable.

[0247]

[0304] In an alternative embodiment, instead of a procedure based on the assumption that the amount of concentrate is inaccurate, the error may be assumed to be the concentration (or "strength") of the concentrate. The embodiment of Figure 25 illustrates an example of a procedure based on this assumption.

[0248]

[0305] 22A and 22B show a water filtration system 551 having a cleaning mode and a priming mode controlled by a water system controller 550 commanded by a proportioner / cycler controller 576 according to an embodiment of the disclosed subject matter. A raw water source 556, such as a source of drinking water, is pumped by a pump 552 through a primary filter 554, which is not cleaned or regenerated, and then through a selected one of a pair of filters 558 and 560, which can be cleaned or regenerated. At any given time, the water system controller 550 controls the pump, a four-way reversing valve 570, and flow restrictors 571, 572, and 573 to direct the forward flow of the output of the primary filter 554 through one of the filters 558 and 560 and the reverse output flow through the other of the filters 558 and 560 to a drain 562, depending on its setting. The output of one of filters 558 and 560 is split at each junction at flow restrictors 571 and 572, depending on the settings of variable flow restrictors 571, 572, and 573, so that a portion (0-100%) is directed through branch 574 and the remainder toward outlet 578, allowing one filter to produce product water for cleaning the other and for discharge through outlet 578 while the other is simultaneously cleaned with product water. The settings of flow restrictors 571, 572, and 573 allow one filter to be cleaned with all the product water, or both filters to produce product water until cleaning is required. In FIG. 22A, arrows indicate the flow for forward flow through filter 558 and for the backflow of filtered product water from valves 566 and 568 through filter 560. In FIG. 22B, arrows indicate flow for forward flow through filter 560 and for backflow of filtered product water from valves 566 and 568 flowing through filter 558 .Flow restrictors 571, 572, and 573 may be controlled by water supply system controller 550, which in turn may be commanded by proportioner / cycler controller 576 of proportioner / cycler 576, which may be configured according to any of the embodiments disclosed or referenced herein or otherwise.

[0249]

[0306] In addition to the cleaning mode, water filtration system 551 may also have a flushing mode in which water that has remained in the system too long is diverted to drain 562 by diverting valve 555. This operation may be performed periodically or in response to conditions (such as time since last use) under the control of water supply system controller 550 in cycler controller 576. In addition to the cleaning and flushing modes, water filtration system 551 may also have a priming mode in which raw water is pumped forward through both filters 558 and 560, flow restrictor 573 is set fully open, and flow restrictors 571 and 572 alternate between fully open and partially restricted so that branch line 574 is primed. In this mode, all flow may be directed by diverting valve 555 through drain line 557. An air or other type of detector may be provided in drain line 557 to indicate when the passing water has been sufficiently removed by priming. Filters 558 and 560 may also be backflushed to drain during the priming sequence.

[0250]

[0307] Filtration system 551 may also have a primary filter stage 554 with, for example, an ultraviolet lamp 559 controlled by water system controller 550. Water system controller 550 may optimize lamp life by regulating the output of lamp 559 so that it is cycled to be on when needed (e.g., when water is flowing) and off when water is not flowing. Controller 550 or 576 may be configured to turn on ultraviolet lamp 559 just prior to activation of the water pump to ensure its output is applied to all water flowing through the stage.

[0251]

[0308] Filtration system 551 may have an off mode, a sleep mode, and an operating mode. In the off mode, water supply system controller 550 and controlled flow restrictors 571, 572, and 573, pump 552, and valves 555 and 570 may all be powered down. From the sleep mode, they may be powered up with water supply system controller 550 in a mode where it can immediately accept commands and act accordingly. The sleep mode may also include regulating the pressure and priming state of the water supply lines to minimize the delay between receiving a command to pump and deliver product water and the actual output. Water source controller 550 may send a signal to proportioner / cycler controller 576 indicating a ready status. Water source controller 550 may send a signal unprompted or upon request from proportioner / cycler controller 576 indicating its operating state. In the case of unprompted signaling, water source controller 550 may send a heartbeat signal containing the status of water filtration system 551. This pulse signal may be periodically broadcast to proportioner / cycler controller 576, where communication is unidirectional from water source controller 550 to proportioner / cycler controller 576. Such a case may be associated with a configuration in which the water source controller responds to a direct measurement, such as a pressure signal, as described in connection with the embodiment of Figures 19A-19M. The status signal may indicate various status information, such as when water filtration system 551 is performing a flushing or priming operation or is in another state where it is not ready, and water source controller 550 may send a status signal to indicate this. Additional status information may include diagnostic information such as time left on the filter, filter expiration, time taken for priming and flushing operations, smoothness of pressure regulation, power consumption, system duty cycle over a predetermined period of time, and other information.

[0252]

[0309] The water source controller 550 may adjust the pumps and flow restrictors 571, 572, and 573 to maintain a target pressure at the product water outlet 578. This may be based on a closed-loop control method using a target pressure, which may include and define a range (deadband). At 569, a pressure sensor is shown in the product water outlet line 578.

[0253]

[0310] Water source controller 550 and proportioner / cycler controller 576 may communicate by any suitable device or system. This communication may be unidirectional or bidirectional, as described above. Either or both water source controller 550 and proportioner / cycler controller 576 may be in various forms, as described with reference to FIG. 14.

[0254]

[0311] Water source controller 550 may activate alarm 575 in response to any condition indicating the need for intervention or a configuration change. For example, water source controller 550 may activate an alarm output 575, such as a general-purpose user interface (see, e.g., display 1018 and speaker 1024), or a special-purpose output, such as a lamp or annunciator. Water source controller 550 may also simultaneously output any alarms on its communication link to proportioner / cycler controller 576. Proportioner / cycler controller 576 may command water source controller 550 to suppress the alarm output, delay the alarm output for a predetermined interval, or perform other actions related to the alarm, such as suppressing local output from alarm output 575. In addition to outputting alarms to proportioner / cycler controller 576, water source controller 550 may also send instructions for use or instructions for alarm condition recovery to proportioner / cycler controller 576 for output and use by the user interface of proportioner / cycler controller 576. The user interface of proportioner / cycler controller 576 may similarly send commands back to water source controller 550 by creating an alarm handler input / output session on proportioner / cycler controller 576. One mechanism for doing this is for water source controller 550 to create a remote session on the user interface of proportioner / cycler controller 576, whereby water source controller 550 has the ability to control output and respond directly to input, such as mouse and keyboard input, by replicating an adaptive model of the user interface it has internally created on the user interface of proportioner / cycler controller 576, which effectively functions as a thin client. The user interfaces of water source controller 550 and proportioner / cycler controller 576 are not shown, but may be understood to have one or more of the aspects described with reference to FIG. 14 .The water source controller 550 may also generate troubleshooting sessions on the proportioner / cycler controller 576, similarly or simply by outputting information data and instructions in the form of a decision tree for output and control by the water source controller 550.

[0255]

[0312] In an alternative embodiment, water source controller 550 outputs a uniform resource locator (URL) with metadata indicating the condition to which it pertains; for example, the set of conditions may indicate the urgency or priority of the information contained in the URL. The metadata may be sent in a preceding message or may be combined with the URL. Proportioner / cycler controller 576 may store a priority table indicating how proportioner / cycler controller 576 handles URLs (or other alarm data), allowing proportioner / cycler controller 576 to determine whether a URL should be accessed and displayed immediately after the current input / output session or output only after a certain condition is detected by proportioner / cycler controller 576. In an embodiment, instructions for troubleshooting water filtration system 551 are stored in proportioner / cycler controller 576, and their output is initiated by the receipt of alarm data from water source controller 550.

[0256]

[0313] In addition to the above functions, proportioner / cycler controller 576 may indirectly control water source controller 550 to control product water heater 553 according to certain commands from proportioner / cycler controller 576. For example, proportioner / cycler 577 may be provided with a fluid heater 579. A fluid heater, such as known in various prior art embodiments of peritoneal dialysis cyclers, may be provided to raise the temperature of the peritoneal dialysis fluid to body temperature. A heater such as 579 may be an instantaneous heater or a batch heater. Heater 579 may heat incoming water, a mixture of concentrate and water such as a ready-to-use drug, or a precursor fluid such as a partially diluted concentrate, or a combination thereof. Because ready-to-use bagged dialysis fluid is typically used in the treatment, the power requirements of the cycler-based heater must be sufficient to raise the temperature from room temperature to body temperature. However, in the systems of FIGS. 22A / 22B, the water temperature may be lower; for example, the water temperature may be ground temperature or near freezing as it may come from a domestic faucet. To reduce the peak power requirements of the heater in proportioner / cycler 577, at least a portion of the heating load may be shared by product water heater 553. Note that product water heater 553 may be located at other points in the water flow, such as at the raw water inlet or elsewhere. Product water heater 553 may be indirectly commanded by proportioner / cycler controller 576 to provide a predetermined power output or delivery temperature. In the latter case, product water heater 553 may be closed-loop controlled by water source controller 550 or another controller, with the output temperature detected by temperature sensor 580.

[0257]

[0314] The proportioner / cycler controller 576 may also receive status information from the water source controller 550. Such information may include an indication that the water filtration system 551 is in flushing, priming, or cleaning mode. Other information may include water temperature, an estimate of time until ready, an estimated time remaining until filter change (estimated time until wear), the time for the UV lamp 559, the time until the next flushing or cleaning cycle, and whether the water filtration system 551 is in sleep mode and how long until it is available to produce water. This information may be useful to provide to a connected patient in real time through the user interface of the proportioner / cycler controller 576, as it may indicate the reason for a delay. Additional information output to the user interface of the proportioner / cycler controller 576 may also include a forecast of maintenance tasks, such as filter changes and ultraviolet bulb 559 changes. One or more resistivity sensors may be provided in the product water outlet line 578, which may be connected to the water source controller 550, with the resistivity being sent as status information to the proportioner / cycler controller 576 and a related composite of this information being output on the user interface. For example, such a composite may be a warning indication when the resistivity is out of range. The raw water resistivity may similarly be monitored. Because filter life may be affected by the quality of the raw water, this information may be provided to the proportioner / cycler controller 576 and a related output may be generated accordingly. For example, the proportioner / cycler controller 576 may alert the user to low feedwater quality levels, which may be mitigated by infrastructure changes, or at least warn the user that filter changes may be required more frequently.

[0258]

[0315] Some of the functions of the water filtration system 551 can be scheduled with some flexibility without seriously compromising the ability to deliver purified water or causing premature wear or failure of components such as filters. For example, functions whose timing may interfere with a patient's lifestyle may be accelerated or delayed to allow the patient to be treated on a schedule that better fits the patient's life schedule. The user interface of the water source controller 550 or the proportioner / cycler controller 576 may provide controls that allow the user to input scheduled events such as treatment time, treatment duration (e.g., start-up time), and time to be ready for treatment (requiring lines to be primed and connected to the patient). In embodiments, relevant data such as the patient's treatment schedule may be input into a controller, such as the proportioner / cycler controller 576. In further embodiments, the patient's treatment schedule may be stored over time and used to extrapolate future treatment schedules, including connection time, bedtime, treatment start time, wake-up time, treatment end time, and any other events related to treatment and maintenance typically indicated by the respective controllers (550, 576). Each controller 550 (or as commanded indirectly through proportioner / cycler controller 576) may be controlled to activate flushing and rinsing modes at certain times between certain interference events, such as treatments, or to prime the water system a certain interval prior to the patient's expected connection to proportioner / cycler 577. Note that in embodiments, water filtration system 551 may have a reservoir that receives product water for on-demand use by proportioner / cycler 577. In such embodiments, heater 553 may be a batch heater that applies heat to the reservoir. In such embodiments, water source controller 550 or proportioner / cycler controller 576 may schedule the production and storage of purified water in the reservoir and its heating according to the estimated time of use for treatment.Such a reservoir may be a disposable component, e.g., a plastic bag. The reservoir may be sized to receive water for a single cycle of complete treatment, a portion of a cycle, or multiple cycles. The reservoir may be provided with a sterile filter at its inlet (to prevent contact contamination), its outlet (to prevent back-growth contamination), or both. Check valves may be provided at the inlet or outlet, or both, to prevent backflow. A predetermined pressure at the reservoir outlet may be maintained at a constant level by a recirculation loop with a check valve having a predetermined cracking pressure.

[0259]

[0316] The illustrated water filtration system 551 represents a very basic example. Many purifiers producing water suitable for peritoneal dialysis involve many stages, each with a filter having a different lifespan that can be affected by the quality of the source water. In embodiments, controllers 550, 576 indicate estimated wear events for filters, such as reverse osmosis membranes, carbon filters, ultrafilters, deionized resin beds, sediment filters, or other expendable filters. Indications can be based on time, source water quality, number of cleaning cycles, etc. Either controller 550 or 576 can be programmed to automatically order replacement of such consumable components and / or consumable supplies used in the treatment. For example, commands to order supplies can be sent to a server over network 1012 (which can include the Internet). Failed components that are not consumables can also be reported, and replacement parts can be automatically ordered along with the repair order as well.

[0260]

[0317] FIG. 22C illustrates a water supply and associated systems similar to the embodiment of water filtration system 551 described with reference to FIGS. 21A and 21B. A reservoir 581 is fluidly connected to receive product water filtered through a sterile filter 582 and a check valve 583. Water is supplied to a proportioner / cycler 577 through an outlet 578 under a predetermined pressure maintained by a loop 5851 including a pump 585 and a check valve 584 having a cracking pressure set at the predetermined pressure. Pressure sensor 569 and temperature sensor 580 may be positioned at various locations, including one positioned to monitor the predetermined pressure. Errors in the detected pressure relative to the expected predetermined pressure may be output as alarm conditions. Another filter 582 and check valve 583 may be provided to prevent grow-back contamination and backflow, respectively.

[0261]

[0318] It should be noted that when both controllers are referred to together as controllers 550, 576, it is intended to refer to either the water source controller 550 or the proportioner / cycler controller 576 acting as the command controller and the other acting as the slave, depending on whether the function is performed directly or indirectly by the controller and whether the function is performed by the proportioner / cycler 577 or the water filtration system 551.

[0262]

[0319] It should be noted that in all embodiments herein where a cycler is described, a proportioner / cycler, i.e., a device that operates as a peritoneal cycler as well as a fluid compounding device (also known as a compounding device), may be substituted. It should be noted that in all embodiments herein where a proportioner / cycler is described or specified, a cycler or compounding device (also called a proportioner) may be substituted. It should be noted that in all embodiments herein where a proportioner or compounding device or system is described or specified, a cycler or proportioner / cycler may be substituted.

[0263]

[0320] It should be noted that the present application generally avoids terms such as "admixing" in order to make the application more clear. The term "admixing" suggests an intermediate mixture of fluids rather than a final mixture such as a ready-to-use peritoneal dialysis fluid.

[0264]

[0321] For example, in the present application, the applicant uses the term compounding instead of blending, because blending implies the creation of an intermediate product. The term compounding implies a more general process, such as the creation of an intermediate product (admixture) or a final product, such as a ready-to-use peritoneal dialysis fluid. Thus, the term compounding is more general and is employed in the present application, while the priority application also uses the term compounding in this broader sense. Thus, the use of terms such as "compound," "mixing," and "admixer" in the priority application refers to the corresponding terms such as "compounding," "mixing," and "proportioner" in the present application. The difference in terminology does not change the subject matter related to the priority application. The priority application simply uses "compound," "mixing," and "admixer," and related terms in a broader sense.

[0265]

[0322] In accordance with the above embodiments, particularly those described with reference to Figures 19A-19M and 22A-22C, the following features and embodiments of systems including a water source system having a controller in combination with a proportioner / cycler or cycler and having its own controller are provided:

[0266]

[0323] The water supply system pumps water in response to a demand signal transmitted through a fluid connection between the water supply system and the proportioner / cycler. The demand signal can be detection by the water supply system controller of a change in pressure generated by the proportioner / cycler. The pressure change can be generated by the cycler pump operation, where the cycler pump is the one used to fill and drain the patient's peritoneal cavity, or the pump used for compounding (if different), or some other pump controlled by the proportioner / cycler controller. The pressure can be a pressure drop caused by the forward operation of the proportioner / cycler pump. The water supply source can have a pump that can be activated when a pressure sensor connected to the proportioner / cycler's water supply system exceeds a certain (negative) threshold. The water supply source can have a pressure sensor that detects the signal and conveys it via a pressure pulse to the water supply controller, which decodes the signal into a certain predetermined command. One command can be for the water supply source to begin pumping product water into the connection to the proportioner / cycler. Another command may communicate the value and command to which the closed-loop control pressure target of the water source outlet should be reset. Other aspects of the water source may be commanded, such as the time for the water system to flush, clean, or prime, future treatment times, and other parameters identified above. With regard to closed-loop control of the water source pump, the speed of the feedwater pump, which pushes water through one or more filters, may be automatically adjusted depending on the outlet (the outlet being the interface to the proportioner / cycler) or other intermediate pressure in the water system. Pressure pulses may be generated by selected one (or more) cycler / admixer pump(s), if any, positioned to affect the pressure at the...

Claims

1. 1. A system for performing peritoneal dialysis, comprising: a fluid circuit having a fluid inlet and a mixing container; a peritoneal dialysis cycler having actuators, including a cycler controller and a cycler pump actuator, for selectively directing the concentrate and water through the fluid circuit to transfer the concentrate and water through the fluid inlet and into the mixing container to form a dialysis fluid; a water source having a water pump with a purified water outlet connected to the at least one fluid inlet; Equipped with The system includes a purified water outlet having a pressure sensor and a water supply controller that receives a pressure signal from the pressure sensor and controls the water supply pump in response to the pressure signal, and the cycler pump actuator generates coded pressure pulses at the fluid inlet that are received by the pressure sensor and decoded by the water supply controller to command the water supply controller to activate and deactivate the water supply pump in response to decoded commands encoded in the pressure signal.

2. The system of claim 1 , wherein the coded pressure pulse encodes a change to an operating parameter of the water source controller including a closed loop pressure set point at the fluid inlet.

3. The system of claim 1 , wherein the coded pressure pulse encodes a change to an operating parameter of the water source controller.

4. The system of claim 1 , wherein the water supply controller controls the water pump to maintain the pressure at the at least one fluid inlet within a predetermined pressure range.

Citation Information

Patent Citations

  • System and method for peritoneal dialysis

    JP2005533574A

  • Peritoneal dialysis systems, apparatus, and methods

    JP2014519345A

  • Peritoneal dialysis system, apparatus, and method

    JP2015517834A

  • Medical Fluid Pumping Systems and Related Methods

    US20170157311A1