Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
UROFLOWMETRY SIGNAL ARTIFACT DETECTION AND REMOVAL SYSTEMS AND METHODS
Document Type and Number:
WIPO Patent Application WO/2021/126352
Kind Code:
A1
Abstract:
Aspects of the disclosure are directed toward a method for providing uroflowmeter data. The method comprises receiving volume sample data representative of volume sample data from a uroflowmeter device, calculating the slope of the volume sample data, and performing additional actions if the calculated slope reaches a trigger threshold. If the calculated slope reaches a trigger threshold, the method may further determine if an artifact is present in the volume sample data. This may include comparing the morphology of the potential artifact to morphologies of known artifacts and comparing the value of the volume sample data before and after the potential artifact. If an artifact is determined to be present in the volume sample data and the volume sample data before the potential artifact is less than or equal to the volume sample data after the potential artifact, remove the portion of the volume sample data which represents the artifact.

Inventors:
DACKO ADRIAN (CA)
COLE DAVID (CA)
MAUNDER SIMON (GB)
ZHANG HANCE (CA)
Application Number:
PCT/US2020/056103
Publication Date:
June 24, 2021
Filing Date:
October 16, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
LABORIE MEDICAL TECH CORP (US)
International Classes:
A61B5/20; A61B5/00; G01F1/50; G01F3/00; G01F23/14
Domestic Patent References:
WO2013021207A12013-02-14
Foreign References:
US20060235353A12006-10-19
US20100152684A12010-06-17
EP3412206A12018-12-12
Attorney, Agent or Firm:
SEGELBAUM, Charles, D. et al. (US)
Download PDF:
Claims:
CLAIMS

1. A uroflowmetry system for analyzing uroflowmeter data, comprising: a uroflowmeter device, the uroflowmeter device configured to produce volume sample data representative of a volume of liquid within the uroflowmetry system; and an external computation device, the external computation device being configured to: receive volume sample data from the uroflowmeter sensor; calculate the slope of the volume sample data; and if the calculated slope reaches a trigger threshold: determining if an artifact is present in the volume sample data, including comparing the morphology of the potential artifact to morphologies of known artifacts, and comparing the value of the volume sample data before and after the potential artifact; and if an artifact is determined to be present in the volume sample data and the value of the volume sample data before the potential artifact is less than or equal to the volume sample data after the potential artifact, remove the portion of the volume sample data which represents the detected artifact.

2. The uroflowmetry system of claim 1, wherein the uroflowmeter device comprises a uroflowmeter sensor.

3. The uroflowmetry system of claim 1 or 2, wherein the external computation device comprises at least one of a computer, a tablet, and a smartphone.

4. The uroflowmetry system of claim 1 or any preceding claim, wherein calculating the slop of the volume sample data comprises: calculating an average slope; and adjusting the slope by the average slope.

5. The uroflowmetry system of claim 4, wherein calculating the average slope comprises using a least-squares best fit model.

6. The uroflowmetry system of claim 1 or any preceding claim, wherein the trigger threshold comprises a lower slope value.

7. The uroflowmetry system of claim 6, wherein the trigger threshold comprises when the calculated slope is at or below 0 mL/s.

8. The uroflowmetry system of claim 1 or any preceding claim, wherein an artifact comprises volumetric data comprising an event, wherein the event comprises at least one of: a door opening, a door closing, an HVAC system running, footsteps, and mechanical vibrations.

9. The uroflowmetry system of claim 1 or any preceding claim, wherein receiving volume sample data comprise receiving a plurality of volume sample data points.

10. The uroflowmetry system of claim 9, wherein receiving the plurality of volume sample data points further comprises receiving the volume sample points from a rolling buffer.

11. The uroflowmetry system of claim 1 or any preceding claim, wherein removing the portion of volume sample data which represents the detected artifact comprises interpolating volume sample data from each side of the detected artifact.

12. The uroflowmetry system of claim 1 or any preceding claim, wherein the external computation device is further configured to apply a bandpass filter prior to calculating the slope of the volume sample data.

13. The uroflowmetry system of claim 12, wherein the bandpass filter is between 0.4Hz and 0.8Hz.

14. The uroflowmetry system of claim 1 or any preceding claim, wherein determining if an artifact is present in the volume sample data comprises: determining a trigger, wherein the trigger is the point when the trigger threshold is reached; determining a baseline, wherein the baseline is an area prior to the start of the potential artifact; determining a post-baseline, wherein the post-baseline is an area after the end of the potential artifact; determining a trough, wherein the trough is the lowest local minima bounded by the trigger and time after the event; determining a post peak, wherein the post-peak is the largest local maxima bounded by the trigger and the post-baseline; determining an onset, wherein determining the onset comprises at least one of: locating a local minima or flat area in the span prior from the pre-peak that is less than 10% of the pre-peak amplitude from the baseline, wherein the located local minima or flat area is the onset, or locating a first point which is the steepest positive slope between the baseline and the trigger, then locating a second point which is the flattest point between the first point and the baseline, wherein the second point is the onset.

15. The uroflowmetry system of claim 14, wherein: if the pre-peak is greater than the baseline and the post peak, the artifact is identified as a positive form artifact; and if the trough is after the trigger, the artifact is identified as a negative form artifact.

16. The uroflowmetry system of claim 14 or 15 wherein the external computation device is further configured to: determine a baseline delta, wherein the baseline delta is the difference between the baseline and the post-baseline; and if the baseline delta is above a certain value, then the potential artifact is determined to not be an artifact.

17. The uroflowmetry system of claim 16, wherein the external computation device is further configured to: determine a peak-to-trough amplitude, wherein the peak-to-trough amplitude is the difference between the lowest and highest value between the baseline and the post-baseline; compare the peak-to-trough amplitude to the baseline delta; and if the baseline delta value is higher than 15% of the peak-to-trough amplitude, determine that the potential artifact is not an artifact.

18. A uroflowmetry system for analyzing uroflowmeter data, comprising: a uroflowmeter device, the uroflowmeter device configured to produce volume sample data representative of a volume of liquid within the uroflowmetry system; and an external computation device, the external computation device being configured to: receive volume sample data from the uroflowmeter device; determine if a plurality of baselines are present, wherein: a baseline comprises a plurality of consecutive volume sample data values wherein the volume sample data is considered to be in a steady state, the plurality of consecutive volume sample data values between two baselines is an interval, and the difference between two consecutive baselines is a delta baseline; and if the interval between the two baselines is within a first predetermined threshold and the delta baseline between the two baselines is within a second predetermined threshold, determine that the interval is either noise or a potential artifact.

19. The uroflowmetry system of claim 18, wherein the uroflowmeter device comprises a uroflowmeter sensor.

20. The uroflowmetry system of claim 18 or 19, wherein the external computation device comprises at least one of a computer, a tablet, and a smartphone.

21. The uroflowmetry system of claim 18 or any of claims 19-20, wherein the external computation device is further configured to apply a bandpass filter prior to calculating the slope of the volume sample data.

22. The uroflowmetry system of claim 21, wherein the bandpass filter is between 0.4Hz and 0.8Hz.

23. The uroflowmetry system of claim 18 or any of claims 19-22, wherein an artifact comprises volumetric data comprising an event, wherein the event comprises at least one of: a door opening, a door closing, an HVAC system running, footsteps, and mechanical vibrations.

24. The uroflowmetry system of claim 18 or any of claims 19-23, wherein receiving volume sample data comprise receiving a plurality of volume sample data points.

25. The uroflowmetry system of claim 24, wherein receiving the plurality of volume sample data points further comprises receiving the volume sample points from a rolling buffer.

26. The uroflowmetry system of claim 18 or any of claims 19-25, wherein removing the portion of volume sample data which represents the detected artifact comprises interpolating volume sample data from each side of the detected artifact.

27. A method of providing uroflowmeter data, the method comprising: receiving volume sample data representative of volume sample data from a uroflowmeter device; calculating the slope of the volume sample data; and if the calculated slope reaches a trigger threshold: determining if an artifact is present in the volume sample data, including comparing the morphology of the potential artifact to morphologies of known artifacts, and comparing the value of the volume sample data before and after the potential artifact; and if an artifact is determined to be present in the volume sample data and the value of the volume sample data before the potential artifact is less than or equal to the volume sample data after the potential artifact, remove the portion of the volume sample data which represents the detected artifact.

28. The method of claim 27, wherein calculating the slope of the volume sample data comprises: calculating an average slope; and adjusting the slope by the average slope.

29. The method of claim 28, wherein calculating the average slope comprises using a least- squares best fit model.

30. The method of claim 27 or any of claims 27-28, wherein the trigger threshold comprises a lower slope value.

31. The method of claim 30, wherein the trigger threshold comprises when the calculated slope is at or below 0 mL/s.

32. The method of claim 27 or any of claims 28-31, wherein an artifact comprises volumetric data comprising an event, wherein the event comprises at least one of: a door opening, a door closing, an HVAC system running, footsteps, and mechanical vibrations.

33. The method of claim 27 or any of claims 28-32, wherein receiving volume sample data comprises receiving a plurality of volume sample data points.

34. The method of claim 33, wherein receiving the plurality of volume sample data points further comprises receiving the volume sample data points from a rolling buffer.

35. The method of claim 27 or any of claims 28-34, wherein removing the portion of volume sample data which represents the detected artifact comprises interpolating volume sample data from each side of the detected artifact.

36. The method of claim 27 or any of claims 28-35, further comprising applying a bandpass filter prior to calculating the slope of the volume sample data.

37. The method of claim 36, wherein the bandpass filter is between 0.4Hz and 0.8Hz.

38. The method of claim 27 or any of claims 28-37, wherein determining if an artifact is present in the volume sample data comprises: determining a trigger, wherein the trigger is the point when the trigger threshold is reached; determining a baseline, wherein the baseline is an area prior to the start of the potential artifact; determining a post-baseline, wherein the post-baseline is an area after the end of the potential artifact; determining a trough, wherein the trough is the lowest local minima bounded by the trigger and time after the event; determining a post peak, wherein the post-peak is the largest local maxima bounded by the trigger and the post-baseline; determining an onset, wherein determining the onset comprises at least one of: locating a local minima or flat area in the span prior from the pre-peak that is less than 10% of the pre-peak amplitude from the baseline, wherein the located local minima or flat area is the onset, or locating a first point which is the steepest positive slope between the baseline and the trigger, then locating a second point which is the flattest point between the first point and the baseline, wherein the second point is the onset.

39. The method of claim 38 wherein: if the pre-peak is greater than the baseline and the post peak, the artifact is identified as a positive form artifact; and if the trough is after the trigger, the artifact is identified as a negative form artifact.

40. The method of claim 38 or 39, further comprising: determining a baseline delta, wherein the baseline delta is the difference between the baseline and the post-baseline; and if the baseline delta is above a certain value, then the potential artifact is determined to not be an artifact.

41. The method of claim 40, further comprising: determining a peak-to-trough amplitude, wherein the peak-to-trough amplitude is the difference between the lowest and highest value between the baseline and the post-baseline; comparing the peak-to-trough amplitude to the baseline delta; and if the baseline delta value is higher than 15% of the peak-to-trough amplitude, determine that the potential artifact is not an artifact.

42. A method of providing uroflowmeter data, the method comprising: receiving volume sample data representative of volume sample data from a uroflowmeter device; determining if a plurality of baselines are present, wherein: a baseline comprises a plurality of consecutive volume sample data values wherein the volume sample data is considered to be in a steady state, the plurality of consecutive volume sample data values between two baselines is an interval, and the difference between two consecutive baselines is a delta baseline; and if the interval between the two baselines is within a first predetermined threshold and the delta baseline between the two baselines is within a second predetermined threshold, determine that the interval is either noise or a potential artifact.

43. The method of claim 42, further comprising applying a bandpass filter prior to calculating the slope of the volume sample data.

44. The method of claim 43, wherein the bandpass filter is between 0.4Hz and 0.8Hz.

45. The method of claim 42 or any of claims 43-44, wherein an artifact comprises volumetric data comprising an event, wherein the event comprises at least one of: a door opening, a door closing, an HVAC system running, footsteps, and mechanical vibrations.

46. The method of claim 42 or any of claims 43-45, wherein receiving volume sample data comprise receiving a plurality of volume sample data points.

47. The method of claim 46, wherein receiving the plurality of volume sample data points further comprises receiving the volume sample points from a rolling buffer.

48. The method of claim 42 or any of claims 43-47, wherein removing the portion of volume sample data which represents the detected artifact comprises interpolating volume sample data from each side of the detected artifact.

Description:
UROFLOWMETRY SIGNAL ARTIFACT DETECTION AND REMOVAL SYSTEMS AND METHODS

RELATED APPLICATIONS

[0001] This application claims priority to U.S. Application No. 17/070,858 filed October 14, 2020, and also claims priority to US Provisional Application No. 62,948,804, filed December 16, 2019, the contents of which are incorporated herein by reference.

BACKGROUND

[0002] Uroflowmetric tests generally measure the flow of urine. Uroflowmetry may track many aspects of a patient voiding, such as tracking how fast urine flows, how much urine flows out, and how long it takes a patient to fully void. By measuring the average and top rates of urine flow, uroflowmetry tests can show various health concerns regarding your urinary tract. However, there is always a need to provide more accurate data to a physician to better diagnosis health concerns.

SUMMARY

[0003] Some aspects of the disclosure are directed toward a method for providing uroflowmeter data. The method may comprise receiving volume sample data representative of volume sample data from a uroflowmeter device, calculating the slope of the volume sample data, and performing additional actions if the calculated slope reaches a trigger threshold. If the calculated slope reaches a trigger threshold, the method may further include the steps of determining if an artifact is present in the volume sample data. This may include comparing the morphology of the potential artifact to morphologies of known artifacts and comparing the value of the volume sample data before and after the potential artifact. If an artifact is determined to be present in the volume sample data and the volume sample data before the potential artifact is less than or equal to the volume sample data after the potential artifact, remove the portion of the volume sample data which represents the detected artifact.

[0004] In some embodiments, calculating the slope of the volume sample data may comprise calculating an average slope and adjusting the slope by the average slope. Furthermore, the average slope may be calculated using a least-squares best fit model. In some embodiments, the trigger threshold comprises a lower slope value. For example, the trigger threshold may be when the slope is at or below 0 mL/s. An artifact may comprise an event, such as at least one of a door opening, a door closing, an HVAC system running, footsteps, and mechanical vibrations.

[0005] In some embodiments, receiving volume sample data comprises receiving a plurality of sample data points. In such embodiments, receiving the plurality of volume sample data points may further comprise receiving the volume sample data points from a buffer, such as a rolling buffer. [0006] In some embodiments, determining an artifact is present may comprise determining a baseline, wherein the baseline is an area prior to the start of the potential artifact; determining a post-baseline, wherein the post-baseline is an area after the end of the potential artifact; determining a trough, wherein the trough is the lowest local minima bounded by the trigger and time after the event; determining a post peak, wherein the post-peak is the largest local maxima bounded by the trigger and the post-baseline; determining an onset. Determining the onset may comprise at least one of: locating a local minima or flat area in the span prior from the pre-peak that is less than 10% of the pre-peak amplitude from the baseline, wherein the located local minima or flat area is the onset, or locating the point with steepest positive slope between the baseline and the trigger, then locating point the flattest point between the point with the steepest positive slope and the baseline, wherein the located point is the onset. Furthermore, in some embodiments, if the pre peak is greater than the baseline and the post peak, the artifact is identified as a positive form artifact; and if the trough is after the trigger, the artifact is identified as a negative form artifact. Additionally or alternatively, determining a baseline delta, wherein the baseline delta is the difference between the baseline and the post-baseline; and if the baseline delta is above a certain value, then the potential artifact is determined to not be an artifact. In such embodiments, the method may further include the steps of determining a peak-to-trough amplitude, wherein the peak- to-trough amplitude is the difference between the lowest and highest value between the baseline and the post-baseline; and if the baseline delta value is higher than 15% of the peak-tough amplitude, determine that the potential artifact is not an artifact.

BRIEF DESCRIPTION OF THE DRAWINGS [0007] FIG. 1 illustrates an exemplary uroflowmetry system.

[0008] FIGS. 2A and 2B provide two exemplary artifacts, a positive form artifact and a negative artifact.

[0009] FIG. 3 provides an exemplary flow chart of a noise artifact detection method which may be followed to identify artifacts.

[0010] FIGS. 4A and 4B illustrate the exemplary artifacts of FIGS. 2A and 2B prior to normalization. [0011] FIG. 5 provides an example of volume data comprising a leak.

[0012] FIG. 6 provides a table comprising various parameters which may be configured when analyzing artifacts and/or artifact complexes.

[0013] FIGS. 7A and 7B provide exemplary maximum durations for two exemplary artifacts, a positive form artifact and a negative form artifact.

[0014] FIG. 8 provides an example showing the relationship between a mean, the mean squared error, and the volume samples.

[0015] FIG. 9 details an exemplary relationship between the cluster median, cluster size, and the volume samples. [0016] FIG. 10 provides some exemplary values when performing baseline checks and/or determining whether or not an interval between two baselines is a flow, a leak, noise, or an artifact.

DETAILED DESCRIPTION

[0017] FIG. 1 provides an exemplary uroflowmetry system 100 which may be used to analyze uroflowmetry data as discussed herein. In some embodiment, the uroflowmetry system 100 may comprise a uroflowmeter 110 to measure pressure waves to determine various attributes a voiding. Flowever in some circumstances, pressure waves external to uroflowmeter 110 (e.g. external event 145) may produce noise and/or artifacts in uroflowmeter data. An external event 145 may comprise external vibrations or noises that cause disruptions or movement on or near a sensor in the uroflowmeter 110 (e.g. uroflowmeter sensor 113) resulting in the noise and/or artifact from the external event 145 to be present in the data (e.g. volume data and/or flow rate data). In some embodiments, the uroflowmeter 110 may be configured to measure the level of liquid 125 in a container 120 (e.g. a beaker, a cup, or the like). In such embodiments, the external event 145 (e.g. the movement of the container 120) may cause artifacts to be present in the data, such as if the container 120 is kicked, spilled, or bumped.

[0018] As discussed herein, the uroflowmeter 110 may comprise uroflowmeter sensor 113. Uroflowmeter sensor 113 may comprise a variety of sensor types, such as a load cell, a transducer, or the like. In such examples, the external events 145 may momentarily cause a higher or lower pressure applied to the uroflowmeter sensor 113, affecting the pressure inside the uroflowmeter pressing down on the uroflowmeter sensor 113. The difference in pressure may then result in an artifact being present in the data.

[0019] As discussed herein, a uroflowmeter may comprise a sensor (e.g. a load cell, a transducer, or the like). In such examples, the external events may momentarily cause a high or lower pressure applied to the uroflowmeter sensor, affecting the pressure inside the uroflowmeter pressing down on the sensor. The difference in pressure may then result an artifact being present in the data. [0020] Furthermore, in some embodiments the uroflowmeter 110 may be covered or partially covered by a silicon boot or other material to make the system water-proof or more water-resistant. In such examples, there may be a localized pressure difference between the inside and outside of the silicon boot. Accordingly, when external pressures are present the silicon boot may act as a diaphragm which results in additional force being applied to a pressure measurement device (e.g. uroflowmeter sensor 113). Accordingly, the uroflowmeter can have an increased likelihood of detecting pressure waves resulting from an external event 145 which can appear as an artifact or noise in the data. [0021] The external events 145 may come from a variety of sources. For example, an external event 145 may be from a door opening/closing, an HVAC system running, footsteps, mechanical vibrations (e.g. from heavy machinery), movement of the container 120 or portions of the uroflowmeter, or other situations which may emit substantial vibrations and/or noises.

[0022] In some embodiments, the data gathered by the uroflowmeter 110 is filtered, such as low pass filtered or bandpass filtered, to reduce and/or eliminate noise from environmental and/or external conditions. In such examples, a 5 Hz lowpass filter can be used because uroflowmeter signals related to physiological sources (e.g. voiding) generally have frequencies of less than 5 Hz, or in some examples less than 1.5 Hz. In some embodiments, the target band can be about 0-1 Hz, 0- 1.5 Hz, 0.4-0.8 Hz, or other target bands known to one of ordinary skill in the art. However in some examples, some noise artifacts may have a frequency of less than 5 Hz, such as artifacts from external events 145, and therefore cannot be simply eliminated by lowpass or bandpass filtering without also filtering out important physiological information.

[0023] Furthermore, as more data is being gathered from the uroflowmeter 110, such as by collecting from an increased bandwidth collection, the uroflowmeter 110 can collect more external events 145 in the data. Such artifacts in the data may cause the data to include non-uroflowmetry information, be harder to read, and potentially lead to a user (e.g. a physician) interpreting inaccurate results.

[0024] To overcome such a problem, a noise artifact detection method may be used as a technical artifact detector which may operate on volume channel data from uroflowmeter 110. The noise artifact detection method can be used to identify localized atmospheric pressure artifacts, vibration artifacts, or the like related to external events 145 near a sensitive measuring device (e.g. uroflowmeter 110) such as the opening and closing of doors. Additionally, the noise artifact detection method as discussed herein may be performed using a noise artifact detection system, such as a system incorporated into uroflowmetry system 100 as shown in FIG. 1.

[0025] The noise artifact detection method may be performed in the uroflowmeter 110. Additionally or alternatively the noise artifact detection method may be performed on a separate device, such as an external computation device 150 (e.g. a computer, tablet, smartphone, or the like). In such embodiments, the uroflowmeter 110 may be in communication with the external computation device 150, such as via connection 155. Connection 155 may comprise a variety of connections know in the art, such as a wired connection, a wireless connection, a combination thereof, or the like.

[0026] The noise artifact detection method may be used to analyze the morphology of affected waveform shapes in the data produced by uroflowmeter sensor 113. More specifically, the noise artifact detection method may be used to identify artifacts from various external events 145 in the data. In some examples, voiding patterns will not be identified as artifacts. However, other external events, such as taping, splashing, footsteps on the floor, or the like may be identified as artifacts based on various parameters, such as amplitude, frequency, and/or shape of the signal detected by the uroflowmeter 110. When a portion of the data is identified as an artifact, said portion of the data may be removed, interpolated, marked, or the like. For example, a FlowNoiseDataRetraction Event may be initiated and/or generated for the timespan of the artifact, as discussed herein.

[0027] As discussed herein, various artifacts may be identified. In some embodiments, artifacts may come in distinct forms. FIGS. 2A and 2B provide two exemplary artifacts, a positive form artifact and a negative artifact. As shown, FIGS. 2A and 2B provide the relationship between time and change in volume for an exemplary positive form artifact and an exemplary negative form artifact, respectfully. In some embodiments, the positive form artifact shown in FIG. 2A may be the result of a door opening and similarly, the negative form artifact shown in FIG. 2B may be the result of a door closing. However, such artifacts (e.g. positive form, negative form, or the like) may be result of various external events, as discussed herein.

[0028] A positive form artifact as shown in FIG. 2A can be characterized by a fast rise in amplitude followed by a trough and a return to a baseline value. Conversely, a negative form artifact as shown in FIG. 2B can be characterized by a fast decrease in amplitude followed by a return to a baseline value.

[0029] Fig. 3 provides an exemplary flow chart of a noise artifact detection method 300 which may be followed to identify artifacts. As shown, the method 300 may comprise a priming step 310, an initial search step 320, a data collection step 330, and an analysis step 340. With respect to priming step 310, an initialization step 301 may occur prior to the priming step 310, and a check 315 to make sure priming samples have been collected may happen after the priming step 310. Once it is determined that priming samples have been collected (e.g. YES in check 315), the initial search step 320 may be performed.

[0030] Additionally, a check 325 for a trigger value may be performed, wherein if no trigger is found (e.g. NO in check 325) then the method reverts back to the initial search step 320 and if a trigger is found (e.g. YES n check 325) then the data collection step 330 may be initialized. In some embodiments, an initial trigger may start again immediately. However, in other embodiments, an initial rigger may happen periodically, or based on other factors (e.g. user input, flow rate, other sensor information, etc.). After data collection in step 330 is initialized, a check 335 to see if the needed amount of samples has been collected. In some embodiments, the samples may be collected at a rate of 100 samples a second, however other sampling rates, such as rates above or below 100 samples a second have been contemplated. In some embodiments, the data collected in step 330 may be placed in a buffer, such as a circular buffer or the like. The needed amount of samples can be an amount of samples, samples spanning an amount of time, or the like. In some embodiments, the samples needed may be based on a predetermined amount. After the needed samples have been collected (e.g. YES in check 335) the analysis step 340 may be performed. Then in some embodiments, another initial search may be performed after analysis is complete. In some embodiments, an initial search may be performed simultaneously with analysis. Various other embodiments similar to those described with respect to FIG. 3 have been contemplated. For example, after the analysis step 340, the process may revert back to the priming step 310 or the initialization step 301 rather than the initial search step 320.

[0031] In some embodiments, samples (e.g. volume samples from uroflowmeter sensor 113) are put through a bandpass filter after being received and before being analyzed such as by method 300. Additionally or alternatively, the bandpass filtering may be performed at various other times, such as during the priming step 310, the initial search 320 and/or during the data collection step 330. In some embodiments, every data sample used in during the analysis step 340 may be filtered (e.g. bandpass filtered) prior to the analysis step 340. The bandpass filter may be used to remove frequencies outside of the major power center of a targeted artifact as well as partially normalize the data with respect to concurrent flow. Various bandpass filters may be used, such as ones with various orders as well as ranges. In some examples, a 64 th order bandpass filter with a finite impulse response (FIR) of 0.4 Hz to 0.8 Hz may be used. In some embodiments, the normalizing the data may comprise normalizing the amplitude against an estimate flow pattern based on the volume data before and after the area under consideration. In some instances, this estimation may be based on a fit line, however other models may be used such as higher order polynomials, exponential models, logarithmic models, or the like.

[0032] After samples go through the bandpass filter, depending on which step shown in method 300 is currently being performed, the processing may continue with the processed values. For example, if the method is currently performing the data collection step 330, the process may continue to the analysis step 340.

[0033] With respect to FIG. 3, in some embodiments the priming step 310 does not include performing analysis on the data. In such embodiments, the priming step 310 collects samples until a priming duration has been met. In some examples, the priming duration may be a predetermined amount of time, acquiring a predetermined amount of samples, or the like. In some examples, the priming duration may be selectable by a user, such as by a user interface located on the uroflowmeter (e.g. user interface 117) and/or a user interface located on an external device (external computation device 150). Additionally or alternatively, the priming duration may be automatically selected. Furthermore, as shown in FIG. 2, once the priming duration is met (e.g. YES in step 315), the process may move forward to the initial searching step 320.

[0034] In some embodiments, the initial search step 320 may comprise a method which determines the various trends of data received from a uroflowmeter (e.g. volume data). This may comprise an algorithm to calculate a current slope in the data. In such embodiments, the slope may be calculated using a best fit model, such as a least-squares best fit model.

[0035] In some embodiments, if the calculated slope is above or below a trigger threshold (e.g. YES in check 325), the method may record the collected sample, such as by a sample stamp. In some embodiments, the trigger threshold may be when the calculated slope is at or below 0 mL/s. When the calculated slope falls below 0 mL/s artifact detection can be initiated because the overall volume should not decrease during a uroflowmetry test or the like. Additionally, the trigger threshold may be other values, such as values above or below 0 mL/s, such as -1.2 mL/s. In some embodiments, the threshold may be a value at or less than 0 mL/s. Furthermore, trigger thresholds may be set based on the patient, such as age gender, weight, medical conditions, or other conditions known to one of ordinary skill in the art. In some embodiments, the threshold detection is after an initial lowpass and/or bandpass filter is used to reduce the number of false artifacts.

[0036] When the trigger threshold is met (e.g. YES in check 325), the method may proceed to the data collection step 330. In some embodiments, the data collection step may comprise collecting all necessary samples prior to performing the analysis step 340. In some examples, data can be collected for a given amount of time, such as 15000ms after a trigger threshold is found, such as starting from the sample stamp as discussed herein. Flowever, other amounts of time, such as more than 15000ms and less than 15000ms have been contemplated. Alternatively, data may be collected until a specified amount of samples have been collected. In some embodiments, data may be continually collected and stored in a buffer, such as a rolling buffer. In such embodiments, the rolling buffer may collect data over a predetermined period of time (e.g. 15000ms), for a predetermined amount of data samples, or the like.

[0037] Once the samples have been collected (e.g. YES in check 335) the method may continue to the analysis step 340. In some embodiments, the analysis step 340 may be performed simultaneously to the data collection step 330 and/or the samples may be stored for later use.

[0038] As described herein, the analysis step may be performed to determine whether or not an artifact is present after an event has occurred (e.g. a trigger threshold has been reached). In some embodiments, the analysis step 340 may comprise determining whether or not the morphology of the potential artifact represents or closely represents the morphology of a known artifact, such as a positive form artifact (e.g. opening a door) and a negative form artifact (e.g. closing a door) as shown in FIGS. 2A and 2B. However, morphologies of other artifacts may also be used. Additionally, the analysis step 340 may take place after an initial filtering of the data, such as with a lowpass filter or a bandpass filter as discussed herein.

[0039] With respect to FIGS. 2A and 2B, the general trend of the volume data is shown to be flat, such as during times where there is little to no change in overall volume (e.g. the patient is not voiding). However, data may also be collected during times when there is an overall change in volume (e.g. the patient is voiding). In embodiments wherein the patient is voiding, the baseline may be adjusted and/or compensated by using a best fit model (e.g. least-squares best fit model or the like) as discussed above. In such embodiments, the data may be normalized relative to an initial baseline value and/or the closest baseline prior to a triggering event. FIGS. 4A and 4B provide an illustration of FIGS. 2A and 2B prior to a normalization event. As shown, both FIGS. 4A and 4B have a general trend of the volume data increasing with a positive slope, but the general form of each artifact (e.g. positive form artifact and negative form artifact) may still be present. In some embodiments, the data may be normalized, such as shown in FIG. 2A and 2B.

[0040] In some examples, the best fit may be subtracted from the volume data in order to provide a more relatively flat dataset as shown in FIGS. 2A and 2B as well as discussed herein. Such adjustments may be beneficial when interpreting/analyzing the data, as the flow rate when a patient is voiding isn't always consistent, so adjusting the data may provide a more accurate artifact detection. Even though such a normalization is not always necessary, for ease of discussion, embodiments herein are described with respect to the normalization of the data.

[0041] Turning back to FIG. 3, in some embodiments the analysis step 340 may happen in real time, such as while sample data is being collected (e.g. data collection step 330) or shortly after (e.g. l/10 th of a second, a predetermined amount of samples, as soon as data is gathered in the buffer, as soon as a threshold is detected, etc.). Alternatively, the analysis step 340 may happen after data collection, such as after a predetermined amount of time after a threshold, upon user input, or after all samples have been collected.

[0042] In some embodiments, method 300 may look for a particular event prior to determining whether or not an artifact complex is present (e.g. performing analysis step 340). As described herein, the particular event may be the flow rate going below a threshold value, such as 0 mL/s, -1.2 mL/s, or the like.

[0043] During the analysis step, the method may look for a few based elements to help determine which form the artifact is in as well as the start and/or end of the artifact complex. The basic elements may comprise one or more of an initial baseline, trough, post-peak, pre-peak, and post- baseline which are described in further detail herein and shown with respect to FIGS. 2A and 2B. In some embodiments, the elements may comprise a plurality of samples, such as a plurality of samples taken between to samples or a group of samples taken between two times. In some embodiments, the based elements may be determined after the data is normalized to an initial baseline, such as shown in FIGS. 2A and 2B.

[0044] An initial Baseline can be defined as the area prior to the start of the artifact. In some embodiments, the initial base line is calculated as an arithmetic mean (e.g. average) of a window, or grouping, of the process sample values before the trigger. Alternatively, the initial baseline may use other methods to calculate its value, such as a best fit line from least means squared, an R2 value, or the like.

[0045] A trough can be defined as the lowest local minima in the window, or group of samples, bounded by the trigger and a post-baseline. In no local minima can be determined or found, then the trough can be defined as the most-flat time bounded by the trigger and the post-baseline.

[0046] A post-peak can be defined as the largest local maxima in the window, or group of samples, bounded by the trigger and the post-baseline.

[0047] A pre-peak can be defined as the largest local maxima in the window, or group of samples, bounded by the initial baseline and the trigger.

[0048] In some embodiments, an event (e.g. positive form, negative form) may need to have an identified trough to be considered as an artifact. In some examples, the positive form artifact may be identified if the pre-peak is greater than the initial baseline and the post-peak. Additionally or alternatively, the negative form artifact may be identified if the identified trough is after the trigger. As described herein, FIG. 2A illustrates an exemplary positive form artifact and FIG. 2B illustrates an exemplary negative form artifact. When identifying various attributes of the potential artifact (e.g. positive form artifact, negative form artifact, etc.) the data may be normalized based on the initial baseline, as described herein.

[0049] If the form is believed to be a positive form, additional elements may be determined. In some examples, the onset can be determined. The onset can be defined as the point where the positive deflection begins prior to the peak (shown in FIG. 2A). Various methods may be used to determine the onset, such as the two described below. In some embodiments, the first method is used and then the second method is used if the first method does not return an accurate onset value.

[0050] For example, first method for determining the onset may comprise locating a local minima or flat area in the span prior from the pre-peak that is less than 10% of the pre-peak amplitude from the initial baseline. With respect to FIG. 2A, it can be seen that the onset marked on the positive form is shown as the point which is roughly 10% of the Pre-Peak value. A second method for determining the onset may comprise locating the steepest point in the span prior to the pre-peak and then search for the flattest area prior to the steepest point. In some examples, the flattest area is additionally after the initial baseline.

[0051] In some examples, the artifact complex may be rejected as a potential artifact if no onset is identified.

[0052] After the onset is identified, the duration of the artifact can be estimated. In some examples, the duration of the artifact may be estimated using the following empirical ratio:

EQ. 1: Duration Artifact = Amplitude Peak-to-Peak*40

[0053] Wherein the Duration Artifact is the duration of the artifact from the onset in milliseconds (ms) and the AmplitudePeak-to-Peak which can be the difference between the peak and the trough within the potential artifact, or the difference between the pre-peak and the trough and can be measured in milliliters (mL). The value of 40 may be based on the used uroflowmeter (e.g. uroflowmeter 110) and the sensor used (e.g. uroflowmeter sensor 113). In some embodiments, a value of above or below 40 may be used to calculate the Duration Artifact depending on the system and/or the surrounding environment.

[0054] The estimated duration (e.g. Duration Artifact) calculated using EQ. 1 can be bounded by a maximum estimated duration, as discussed herein. Additionally, an endpoint can be checked against any detected elements; and if any parts of the artifact complex are found outside of the estimated range, that point is set as the endpoint.

[0055] Once the bounds are calculated, a normalized peak-to-peak amplitude can be calculated for the entire artifact complex and checked to see if it meets a threshold value. The normalized peak-to- peak amplitude may be calculated based on the normalization of the initial baseline or an additional normalization. In some embodiments, the data may be normalized based on a line between the start and end of the potential artifact (e.g. a line between the initial baseline value and the post-baseline value. In some embodiments, the threshold value may be 0.30 mL, however values above 0.30 mL and below 0.30 mL have been contemplated. Additionally or alternatively, the peak-to-peak amplitude may be based on the data between start and end of the potential artifact.

[0056] In some embodiments, potential artifacts can be evaluated to see if the peak positive flow is above a threshold. In such embodiments, the threshold may be between 0.4 mL/s and 0.6 mL/s, such as 0.48mL/s; however values above 0.6 mL/s and below 0.4 mL/s have been contemplated. [0057] After the artifact complex is identified (e.g. as a positive form, negative form, not an artifact, etc.). A holdoff point may be used and then the method may switch back into the initial search step 320. In some embodiments, the holdoff point may be 10ms, however values above 10ms and below 10ms have been contemplated.

[0058] If the form is believed to be a negative form, additional elements may be determined. In some examples, the onset and post-baseline may be determined. The onset can be defined as the point where the negative deflection begins in the window prior to the trigger. In some examples, this can be found by looking for the earliest point of negative slope in the window. The post-baseline can be defined as the flattest slope in the area after the post-peak. In some examples, the artifact complex may be rejected as a potential artifact if no onset and post-baseline are identified.

[0059] After the onset and the post-baseline are identified, the duration of the artifact can be estimated. In some examples, the duration of the artifact may be estimated using the following empirical ratio:

EQ. 2: Duration Artifact = Amplitude Peak-to-Peak*40

[0060] Wherein Duration Artifact is the duration of the artifact from the onset in milliseconds (ms) and the Amplitude Peak-to-Peak, which can be the difference between the trough and the post-peak or the trough and post-baseline and can be measured in milliliters (mL). In some embodiments, a value of above or below 40 may be used to calculate the Duration Artifact depending on the system and/or the surrounding environment.

[0061] As discussed herein, the estimated duration (Duration Artifact) calculated in equation 2 can be bounded by a maximum estimated duration. Additionally, an endpoint can be checked against any detected elements; and if any parts of the artifact complex are found outside of the estimated range, that point is set as the endpoint.

[0062] Once the bounds are calculated, a normalized peak-to-peak amplitude can be calculated for the entire artifact complex and checked to see if it meets a threshold value. The normalized peak-to- peak amplitude may be calculated based on the normalization of the initial baseline or an additional normalization. In some embodiments, the data may be normalized based on a line between the start and end of the potential artifact (e.g. a line between the initial baseline value and the post-baseline value. In some embodiments, artifact complex's which do not meet the threshold value are not identified as artifacts. In some embodiments, the threshold value may be 0.08 mL, however values above 0.08 mL and below 0.08 mL have been contemplated.

[0063] Additionally or alternatively, potential artifacts can be evaluated to see if the peak positive flow is above a threshold. In such embodiments, the threshold may be between 0.4 mL/s and 0.6 mL/s, such as 0.48m L/s; however values above 0.6 mL/s and below 0.4 mL/s have been contemplated. [0064] After the artifact complex is identified (e.g. as a positive form, negative form, not an artifact, etc.). A holdoff point may be used and then the algorithm may switch back into the initial search state. In some embodiments, the holdoff point may be 10ms, however values above 10ms and below 10ms have been contemplated.

[0065] FIG. 5 provides an example of data comprising a leak. A leak may be from a patient voiding unexpectedly or the like. As can be seen, the artifact of a leak can be very similar to the positive form and negative form shown in FIGS. 2A and 2B. Flowever, a leak may contain important diagnostic information and thus shouldn't be removed.

[0066] In some embodiments, leak detection is evaluated if the initial baseline and the post baseline slopes are flat or sufficiently flat, such as shown in FIG. 5. In some embodiments, sufficiently flat may be within a threshold, such as between 1.2mL/s and -1.2mL/s, however other thresholds have been contemplated.

[0067] Methods may also include determining and/or calculating a mean value of the baseline areas (e.g. initial-baseline and post-baseline) and may determine a baseline delta based on the differences between the initial baseline and the post-baseline.

[0068] In some embodiments, a leak is determined if the baseline delta is greater than a threshold of the normalized Peak-to-Peak amplitude (e.g. Peak-to-Trough amplitude and/or Trough-to-Post- Peak amplitude). In such examples, if the delta baseline is above a certain value, the event is determined to be a leak rather than an artifact from an external event (e.g. positive form, negative form, or the like). For example, the threshold may be 15% of the Peak-to-Trough amplitude and/or Trough-to-Post-Peak amplitude, however other values higher than 15% and lower than 15% have been contemplated. In some embodiments, when the overall volume does not change substantially, or in relation to the size of the artifact, the artifact may be determined to be an artifact from an external event (e.g. positive form, negative form, or the like) rather than a physiological event (e.g., leak, initialization of voiding). Accordingly, in some embodiments a comparison is made between the volume before and after the event and the change in volume is compared to, for instance, the size of the event to determine if the event is something other than a physiological event. Such analysis may be used to trigger the analysis of such an event to determine if a noise artifact is present. Noise artifacts in the data may be identified via many different methods, such as those disclosed herein, as well as other types of known signal analysis and comparisons to atlases of known artifacts and via many types of analyses including via training artificial intelligence to recognize many different noise artifacts.

[0069] Additionally or alternatively, if the baseline delta is negative (e.g. the initial baseline is less than the post-baseline) it may be determined that an error has occurred, the sensor (e.g. uroflowmeter sensor 113) is mis-calibrated, or the like. However, in some situations, the baseline delta may have a negative value, such as if the container (e.g. container 120) is bumped and a portion of the liquid within the container is spilled. In such examples, the baseline delta may reflect the loss of liquid within the container. In some embodiments, the post-baseline value may be checked with respect to the trough value and/or the local minimum between the initial baseline and the post-baseline. In such embodiments, if the post-baseline value is less than the trough value and/or minimum value it may be determined that an error has occurred, the sensor is mis- calibrated, or the like.

[0070] In some embodiments as discussed herein, there is a holdoff period between trigger point searches (e.g. check 325). However, there is a possibility that a suitable waveform morphology can be found that has an onset within the window of a prior detected artifact complex. In such examples, the subsequent artifact complex may have the onset adjusted such that it occurs only after the holdoff window.

[0071] Additionally or alternatively, a leak may be determined based on whether the event fits into one or more predetermined cases. For example, first case may be identifying physiological leaks with a very low flow, a second case may be identifying physiological leaks which are quick/short, and a third case may be identifying artifacts during a flow which may look similar to a quick/short physiological leak.

[0072] With respect to the first case, in some situations a physiological leak may be very low, or small however it may still be important to count as a physiological leak rather than an artifact. Identifying such physiological leaks may comprise determining if the flow rate before and after an event is less than a threshold flow rate (e.g. less than or equal to 0.1 mL/s or like). Additionally, identifying such physiological leaks may comprise determining if the post-baseline value goes up by more than a threshold percent of the peak value (e.g. 40% or the like). And if the threshold percent is reached, the event may be determined as a physiological leak rather than an artifact.

[0073] With respect to the second case, in some situations a physiological leak may not last long (e.g. be relatively short or quick), however it may still be important to identify as a physiological leak rather than an artifact. Identifying such physiological leaks may comprise determining if the flow rate before and after an event is above a threshold flow rate (e.g. being greater than 0.8 mL/s or the like). Additionally, identifying such physiological leaks may comprise comparing the peak value to the post-baseline value, and if the post-baseline value goes up by less than a threshold percent of the peak value (e.g. 50% or the like), the event may be identified as a physiological leak during flow rather than an artifact. [0074] With respect to the third case, in some situations various artifacts may look very similar to physiological leaks as discussed above with respect to the second case, however it may still be important to count as an artifact rather than a genuine physiological leak. In such situations, to identifying such artifacts may comprise determining if the flow rate before and after an event is below a threshold flow rate, which in some examples may be complementary to the threshold flow rate discussed herein with respect to the third case (e.g. being less than 0.8 mL/s). Additionally, the peak value may be compared to the post-baseline value, and if the post-baseline value goes up by more than a threshold percent of the peak value, the event may be identified as an artifact. In some embodiments, the threshold percent may be complementary to the threshold percent discussed herein with respect to the second case (e.g. greater than 50%).

[0075] FIG. 6 provides a table comprising various parameters which may be configured when analyzing artifacts and/or artifact complexes. Each parameter detailed in FIG. 6 has an exemplary detailed value, however as described herein, the default value is meant to be exemplary rather than limiting. Other values, such as values above and below the default value.

[0076] In some embodiments, a maximum artifact duration may be defined. For example, the maximum artifact duration may be 15000ms, however durations less than 15000ms or more than 15000ms have been contemplated. For example, the maximum artifact duration may be adjusted for a variety of qualities, such as sensor type, uroflowmeter type, location, temperature, air pressure. In some embodiments, as the maximum artifact duration is scaled, other parameters may be additionally scaled by similar amounts, such as the times between the Onset, Pre-Peak, Trigger, Trough, Post-Peak, and Post-Baseline of FIG. 7A or the times between the Onset, Trigger, Trough, Post-Peak, and Post-Baseline of FIG. 7B.

[0077] In some embodiments, the maximum duration of an artifact detection area is bounded. In such embodiments, two factors may bound the maximum duration. The first factor may be limits on the detection range for morphological elements and the second factor may be the estimated artifact duration based on peak-to-peak amplitude.

[0078] In some embodiments, the estimated duration for positive form artifacts is explicitly bounded by the maximum estimated duration for a positive form artifact (e.g. 15000ms). Additionally, the maximum estimated duration may be applied to artifacts larger than a threshold amplitude. In some examples, the threshold may be calculated using EQ. 1 wherein Duration Artifact is 15000ms. Flowever other thresholds may be used.

[0079] FIG. 7A provides an exemplary maximum duration for a positive form artifact. As shown, the maximum duration of a positive form artifact may be 15000ms, however other values above and below 15000ms have been contemplated. [0080] FIG. 7B provides an exemplary maximum duration for a negative form artifact. As shown, the maximum duration of various artifacts (e.g. positive form and negative form) need not be the same. For example, FIG. 7B provides the maximum duration for a negative form artifact as 12692ms. Flowever, 12692ms is only an exemplary value for the maximum duration for a negative form artifact, values above and below 12692ms. Similarly, the maximum duration for a negative form artifact can be the same or different than the maximum duration for a positive form artifact.

[0081] In some embodiments, the estimated duration for negative form artifacts is explicitly bounded by the maximum estimated duration for a positive form artifact (e.g. 12692ms). Additionally, the maximum estimated duration may be applied to artifacts larger than a threshold amplitude. In some examples, the threshold may be calculated using EQ. 2 wherein Duration Artifact is 12692ms. Flowever other thresholds may be used.

[0082] In some embodiments, when an artifact (e.g. positive form artifact, negative form artifact, or the like) is found, they are omitted from the data sample set. In such examples, the data within the artifact may be interpolated using the data from each side of the artifact. Alternatively, the artifact may be simply marked in such a way to notify a user (e.g. a physician) that the data in that window of time is an artifact rather than diagnostic information.

[0083] Additionally or alternatively, an aggressive Urocap Noise Detection (AUND) method may be used as an aggressive noise detector. The AUND method may also operate on the volume channel of a uroflowmeter (e.g. uroflowmeter 110) similar to the noise artifact detection method 300 described herein. In some embodiments, the AUND method can be used to remove a wider range of artifacts.

In such embodiments, the AUND method may be used during times where no leak is present, such as times other than near active flows or leaks. Flowever, the AUND method may be used at other times, such as near active flow or leaks. In some embodiments, the AUND method may be used separately from the noise artifact detection method as described herein. Additionally or alternatively, the AUND method may be used tandem. Furthermore, the AUND method as discussed herein may be performing using an AUND system, such as a system incorporated into the uroflowmetry system 100 as shown in FIG. 1.

[0084] The AUND method may be used to detect period of time, or groupings of consecutively collected sample volume data, called baselines. A baseline, as described herein, may be an interval where there is high confidence in the estimated expected volume value, such as when the uroflowmeter is in a steady state. In some embodiments, if there is an interval between two baselines, and wherein the respective baseline volume values are close enough together such that no flow or leak of significance could have occurred all value changes within the interval between the two baselines can be considered noise. When a portion of the data is identified as noise, said portion of the data may be removed, interpolated, marked, or the like. For example, a FlowNoiseDataRetraction Event can then be generated on that interval to remove all noise and artifacts within. Additionally or alternatively, the data within the interval may be interpolated using any method known to one of ordinary skill in the art.

[0085] In some embodiments, the AUND method may consider any intervals within a threshold and any baseline differences within a threshold. In some embodiments, the threshold for the intervals is an interval which is 30 seconds or less; however other intervals may be used, such as more than 30 seconds or less than 30 seconds. Alternatively, a high and low threshold for the intervals may be used, such as intervals between 1 second and 30 seconds. Similarly, the baseline threshold may be values less than 0.4 mL; however other values may be used, such as more than 0.4 mL or less than 0.4 mL. Alternatively, a high and low threshold may be used for the baseline difference, such as values between 0.1 and 0.4 mL.

[0086] In some embodiments, the AUND method may be used in real time, such as while sample data is being collected or shortly after (e.g. l/10 th of a second, a predetermined amount of samples, as soon as data is gathered in the buffer, as soon as a threshold is detected, etc.). Alternatively, the AUND method may happen after data collection, such as after a predetermine amount of time after a threshold, upon user input, or after all samples have been collected.

[0087] Various algorithms and/or methods may be used to determine baselines within the sample data and the confidence for those baselines. Two exemplary types of baselines which can be used are temporary baselines and global baselines.

[0088] Temporary baselines can be used to remove clearly defined artifacts with low latency as opposed to waiting for other methods which may depend on additional samples to define a baseline. For example, if an unstable period in volume sample data is detected, temporary baselines may be used to determine whether or not the unstable period contains a flow, leak, or is an artifact.

[0089] Global baselines can be calculated using larger sample intervals when compared to the temporary baselines. As a result, global baselines can have a higher confidence in estimating the baseline values, which may allow for better analysis of whether or not the unstable period in the volume sample contains a flow, leak, or is an artifact. Furthermore, by using more samples, it may be possible to use additional checks to determine if a baseline exists or not.

[0090] The mean of an interval can be calculated representing the line of best fit that can be plotted using the samples with the restriction of having a slope of 0. The mean squared error may measure how close the samples within an interval are with respect to the mean. Lower mean squared error values can indicate a higher confidence of the mean value representing the sample interval. [0091] FIG. 8 provides an example showing the relationship between a mean (blue line), the mean squared error [1/confidence] (gray line), and the volume samples (purple line). In some embodiments, significant value changes in the mean with low mean squared error can indicate a flow or leak while means with high mean squared error may indicate that the differences are due to noise or an artifact.

[0092] Calculating the R 2 value may give an idea of how much correlation exists within the sample interval. In some embodiments, a high R 2 value may indicate that the volume samples within the interval are trending up or down with a high degree of confidence. In embodiments comprising a high R 2 value, a proper baseline may not be able to be established as the uroflowmeter may not be in a steady state. In contrast, if the R 2 value is low, then a proper baseline may be able to be established, as the uroflowmeter may be in a steady state.

[0093] In embodiments having more samples, it may also be possible to perform more rigorous calculations when determining the potential baseline value. Rather than using the mean of the sample interval as the baseline value and the mean squared average as the confidence, it may also be possible to use the cluster based median of the sample interval. In such embodiments, samples within the interval may be grouped into value clusters limited by a predefined value for the range of values allowed in each cluster. Then, the baseline reference may be given by the median of samples within the cluster that contains the largest number of volume samples. The confidence of this value may be measured by the percentage of samples in the largest cluster versus the total number of samples analyzed within the interval. As such, a high cluster size percentage can indicate a higher confidence.

[0094] FIG. 9 details an exemplary relationship between the cluster median (orange line), cluster size [confidence] (green line), and the volume samples (blue line). As described herein, value changes in the cluster median with high confidence may indicate that a flow or leak while low confidence may indicate noise or an artifact.

[0095] A threshold value may be configured for combinations of ambiguous regions between each of the baselines found, as described herein. For example, between two global baselines, between two temporary baselines, between a global baseline and a temporary baseline, or between any two other baselines known to one of ordinary skill in the art. Then as discussed herein, if the change between the baseline values is larger than the threshold value, then the interval is may be considered to be a leak or flow; otherwise, if the change between the baseline values is smaller than the predetermined threshold value, the interval may be considered an artifact and the data comprised within the interval may be removed, interpolated, marked, or the like. For example, a FlowNoiseDataRetraction artifact can be generated or any other interpolation method known to one of ordinary skill in the art.

[0096] FIG. 10 provides some exemplary values when performing baseline checks and/or determining whether or not an interval between two baselines is a flow, a leak, noise, or an artifact. In some embodiments, the values in FIG. 10 are not intended to be adjusted by a user, however in other embodiments, the values may be adjustable, such as by a user interface. Furthermore, the values shown in FIG. 10 detail a single embodiment and are no way limiting. Values above and below the values shown in FIG. 10 have been contemplated.

[0097] Various embodiments have been described. Such examples are non-limiting, and do not define or limit the scope of the invention in any way.