Method and apparatus for producing a waveform
09770191 · 2017-09-26
Assignee
Inventors
Cpc classification
A61B5/08
HUMAN NECESSITIES
International classification
G09G5/00
PHYSICS
A61B5/083
HUMAN NECESSITIES
Abstract
There is provided herein a method for producing a representative CO.sub.2 waveform, the method comprising obtaining two or more CO.sub.2 waveforms, for each of the two or more CO.sub.2 waveforms determining one or more scale factors and one or more shape factors, computing, based on the one or more shape and scale factors of each of the two or more CO.sub.2 waveforms, a representative set of shape factors and scale factors representing the two or more CO.sub.2 waveforms and constructing a representative waveform based on the representative set of shape and scale factors.
Claims
1. A method for producing a single representative CO.sub.2 waveform representing a set of CO.sub.2 waveforms obtained from a subject, the method comprising: obtaining a set of two or more CO.sub.2 waveforms from the subject; identifying a unique pattern in the two or more waveforms, wherein the unique pattern is a recurring pattern that recurs over a predetermined number of consecutive waveforms of the two or more CO.sub.2 waveforms, and wherein the recurring pattern is representative of a physiological condition; removing the unique pattern from the two or more CO.sub.2 waveforms; determining one or more scale factors and one or more shape factors for each of the two or more CO2 waveforms from which the unique pattern has been removed; computing a representative set of shape factors based on the one or more shape factors; computing a representative set of scale factors based on the one or more scale factors; wherein each of the representative set of shape factors and the representative set of scale factors represent the two or more CO.sub.2 waveforms from which the unique pattern has been removed; constructing a single representative CO.sub.2 waveform based on an integration of the representative sets of shape and scale factors; such that the single representative CO.sub.2 waveform is representative of both the shape and scale of the two or more CO.sub.2 waveforms from which the unique pattern has been removed; superimposing the removed unique pattern on the representative CO.sub.2 waveform to obtain a final representative CO.sub.2 waveform.
2. The method of claim 1, wherein the two or more CO.sub.2 waveforms are waveform sub-segments.
3. The method of claim 1, wherein the determination of one or more scale factors is based on normalization.
4. The method of claim 1, wherein the one or more shape factors are determined by identifying parameters of best fit functions for each of the two or more CO.sub.2 waveforms from which the unique pattern has been removed.
5. The method of claim 4, wherein computing the representative set of shape factors comprises collecting and averaging the parameters of the best fit functions.
6. The method of claim 4, wherein constructing the single representative CO.sub.2 waveform comprises constructing a waveform based on averaged parameters and back scaling.
7. The method of claim 1, further comprising sub-segmenting each of the two or more CO.sub.2 waveforms from which the unique pattern has been removed prior to determining one or more scale and shape factors, and wherein constructing the single representative CO.sub.2 waveform further comprises combining the sub-segments.
8. The method of claim 1, wherein determining the one or more shape factors comprises converting each of the two or more CO.sub.2 waveforms from which the unique pattern has been removed into an independent binary digital matrix, wherein a value of one (1) defines a position in the digital matrix where the waveform passes through, and any other position in the digital matrix is defined by a value of zero (0).
9. The method of claim 8, wherein determining the one or more shape factors further comprises identifying a best fit function for each of the two or more independent digital matrices.
10. The method of claim 8, wherein computing the representative set of shape factors comprises creating a summed matrix by summing the two or more independent digital matrices.
11. The method of claim 1, comprising removing CO.sub.2 waveforms having artifacts from the set of the two or more waveforms, wherein the artifacts comprise non-recurring patterns.
12. The method of claim 1, comprising displaying the final representative CO.sub.2 waveform on a display unit, wherein the display unit is configured to display the final representative CO.sub.2 waveform starting at a predetermined point in a breath cycle of the subject.
13. A display unit configured to display a representative waveform and an area depicting a normal range of CO.sub.2 waveforms associated with a patient; wherein the representative waveform is overlaid on the area depicting the normal range of CO.sub.2 waveforms; and wherein the representative waveform comprises a single waveform computed based on an integration of a representative set of shape and scale factors, wherein said representative set of shape factors is determined based on one or more shape factors; wherein said representative set of scale factors is determined based on one or more scale factors; and wherein each of the representative set of shape factors and the representative set of scale factors represent two or more measured waveforms from which a unique pattern has been identified and removed, and wherein the unique pattern is a recurring pattern that recurs over a predetermined number of consecutive waveforms of the CO.sub.2 waveforms, and wherein the recurring pattern is representative of a physiological condition.
14. The display unit of claim 13 further configured to update the displayed representative waveform every preselected period of time and/or every preselected number of waveforms.
15. The display unit of claim 13, wherein the representative waveform is displayed starting at a predetermined point in a breath cycle of the subject.
16. The display unit of claim 13, further configured to display the representative waveform starting at a corner position of a display screen of the display unit such that the representative waveform is anchored to the corner position of the display screen such that a start position of the representative waveform does not change over time or number of breaths of the patient.
17. The display unit of claim 13, wherein the representative waveform is overlaid on the CO.sub.2 waveforms depicted in the displayed area.
Description
BRIEF DESCRIPTION OF FIGURES
(1) Examples illustrative of embodiments of the invention are described below with reference to figures attached hereto. In the figures, identical structures, elements or parts that appear in more than one figure are generally labeled with a same numeral in all the figures in which they appear. Dimensions of components and features shown in the figures are generally chosen for convenience and clarity of presentation and are not necessarily shown to scale. The figures (FIGs.) are listed below.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
DETAILED DESCRIPTION OF EMBODIMENTS
(21) In the following description, various aspects of the invention will be described. For the purpose of explanation, specific configurations and details are set forth in order to provide a thorough understanding of the techniques. However, it will also be apparent to one skilled in the art that the techniques may be practiced without specific details being presented herein. Furthermore, well-known features may be omitted or simplified in order not to obscure the description(s) of the techniques.
(22) Reference is now made to
(23) Reference is now made to
(24) Reference is now made to
(25) Reference is now made to
(26) Reference is now made to
(27) It is noted that an area, such as area 502, representing a “textbook” (normal) overall location of a series of CO.sub.2 waveforms of a healthy patient, may also be presented as two lines showing the upper limit and the lower limit of a normal range, as a collection of waveforms (as seen in
(28) Producing (Constructing) a Representative Waveform
(29) Reference is now made to
(30) Reference is now made to
(31) Step 604 includes artifact identification. There are many artifacts that can cause changes to waveforms and create difficulties to distinguish between patterns that have physiological importance and those that do not. An artifact may be defined, according to some embodiments, as a section of a waveform that has no clinical value. In many cases, artifacts do not originate from a medical condition and particularly do not originate from respiratory and cardiac physiology. Examples of artifacts may include notches and spikes caused by talking, coughing, drinking, eating, interference by an appliance such as a cell phone, a computer or the like. These artifacts are generally non-repetitive.
(32) Other changes to the waveforms may be caused by regular activities, such as, moving, lying, sitting, changing a position and the like. These may optionally be treated as artifacts but may also be treated as different variations of waveforms and may still be regarded as “acceptable” data.
(33) Another effect that may cause changes to the waveform is the dilution of the breath sample with gasses, such as O.sub.2, which are delivered to the subject. This type of effect generally changes the waveforms in a repetitive manner.
(34) Methods are disclosed herein, in accordance with some embodiments, for eliminating or reducing the effect of artifacts. Artifacts may be identified based on predefined patterns that have been identified using controlled studies on both ill and healthy patients. They may further be identified, by their more ad-hoc appearance, shape and position in the waveform.
(35) Examples of the effect of patient's activities and O.sub.2 flow on waveforms can be seen in
(36) According to some embodiments, in order to define artifacts a dataset comprising well defined and labeled artifacts (such as the activities discussed in relation to
(37)
(38) Returning to flow chart 600 of
(39) Step 608 includes identification of unique patterns (characters) which generally have clinical significance. These unique patterns are typically recurring patterns that are superimposed on the standard waveforms, having an essentially trapeze like shape. According to some embodiments, the term “recurring patterns” may refer to patterns that recur in X % of the waveforms, wherein X % can be over 10%, over 20%, over 30-50% or X can be any other percent which can be constant or vary before or during monitoring. These unique patterns may provide clinical information when analyzed based on predefined patterns learnt during clinical studies.
(40) Returning to flow chart 600 of
(41) Step 611 is optional and includes sub-segmentation of the waveform. As discussed above, segmentation (step 602) includes definition (beginning and end) of a single breath cycle (waveform) to be analyzed. Sub-segmentation (step 611) includes defining the “stages” of the waveform. As mentioned above, a basic assumption may be that an anticipated waveform which would be received from a healthy subject would have a quasi-trapeze shape (see
(42) In case optional step 611 was applied, the following steps of flow chart 600 may be done on each sub-segment of the waveform separately or on a combination of sub-segments. In case optional step 611 was not applied, the following steps of flow chart 600 may be done on a whole waveform (a single breath cycle) from its beginning to its end.
(43) Step 612 includes identification of “scale factors” and scaling. Scale factors, as discussed hereinabove, refer to waveform values, such as, height, width, duty cycle, area under the curve or any other parameter or combination of parameters. Scaling may include, for example, normalization. Normalization may include for example, normalization of CO.sub.2 value by dividing CO.sub.2 by its maximum, such that the maximum value of CO.sub.2 will always be 1.
(44) The next steps of flow chart 600, which describes the process of producing (constructing) a representative waveform, relate to handling the waveforms “shape factors”. Shape factors, as discussed hereinabove, refer to any parameter that relate to and/or describe the shape of a waveform. For example, parameters of a non-linear function describing the upstroke or the entire exhalation stage as portrayed by a waveform. The shape factors of the waveform(s) are generally indicative of physiological condition(s) of a patient. For example, dominant shape factors of the waveform(s) may relate to respiratory process such as the mechanics of breathing. At this point, flow chart 600 may split. According to some embodiments of the invention, construction of the representative waveform may be based on a “best fit” mathematical approach (step 614) and/or on digitization (digital approach) (step 616).
(45) First Option (Step 614):
(46) The “best fit” mathematical approach (step 614) may include initial characterization extraction based on given, predefined functions describing (fitting) a given waveform or sub-segment in a waveform, for example, one or two sub-segments of a two sub-segment waveform (as disclosed herein above, the first sub-segment may relate to the decrease in CO.sub.2, including the upstroke (section B-C in
(47) Each waveform (and also the representative waveform) can thus be defined by a set of functions with their parameters (shape factors) and by other parameters (scale factors) which together build up the waveform. Hence the waveform obtained in the last “x” seconds or the “y” waveforms obtained can be memorized by defining just a few given parameters (shape factors and scale factors).
(48) Reference is now made to
(49) The functions shown in
(50)
(51) It is noted that any other function or combination of functions may be used and that the five functions presented herein are only exemplary functions.
(52) Returning to flow chart 600 of
(53) The next step, step 622, includes averaging these parameters (and/or using any linear or non-linear mathematical method/function, such as arithmetic mean, geometric mean, integration, median or any power mean) over “y” waveforms or over the waveforms obtained during “x” seconds. Averaging the parameters and/or using any linear or non-linear mathematical method/function may permit, for example, computation of the most dominant, or reoccurring, most representative parameters. Averaging may include using a weighted average. In addition, waveforms with parameters that are far from the mean may be removed or used with lower weighting.
(54) This step results in obtaining the parameters of a representative normalized waveform or representative normalized waveform sub-segment(s) (when the waveform was sub-segmented first, such as in step 611).
(55) As mentioned above, one can also use a given limited list of waveform shapes, and mathematics may be used to find a given waveform shape which is closest to the measured waveform. This way, it is possible to have a limited list of predefined possible waves, for simpler and faster calculations.
(56) The next step, step 650, includes scale back and combining the representative normalized waveform sub-segments (if applicable). The parameters that were used to normalize may also be averaged, and used to return the representative normalized waveform back to the size that represents the true waveforms used to create it. This step results in a representative waveform that still lacks the recurring unique patterns which were removed step 610.
(57) The next step, step 652, thus includes adding (superimposing) any recurring or dominant unique patterns which were previously removed (such as in step 610) to the representative waveform. These unique patterns may be saved and reconstructed from predefined shapes stored in the memory, but whose sizes are defined based on the collected waveforms. This step results in the final representative waveform 654.
(58) Optional step 656 may include comparing the final representative waveform to library of waveforms which are indicative of known medical conditions (for example, typical abnormal waveforms). This may facilitate providing diagnosis, the degree of severity and/or medical recommendations.
(59) Second Option (Step 616):
(60) Returning to step 610 of flow chart 600 of
(61) Step 616 of flow chart 600 of
(62) After Step 616 of flow chart 600 of
(63) Option A (Step 630 of Flow Chart 600 of
(64) Step 630 includes comparing separate grid-matrices to a set of preselected functions of waveforms (function bank/database). In this step, a set of predefined functions are collected. These selected functions best describe the separated waveforms. The representative normalized waveform or representative normalized waveform segment(s) can then be found based on mathematical integration and/or weighting of the waveforms building up the set (by going to step 622).
(65)
(66) Option B (Step 640 of Flow Chart 600 of
(67) Step 640 of flow chart 600 of
(68) After forming the superimposed (summed) digitized matrix (step 640), step 642 includes finding the best path or in other words, finding the most dominant digital path taken by the largest number of matrices (which represent the waveforms). This step also promotes removal of artifacts that were not attended to previously.
(69) The following step 644 includes finding the best fit function to the superimposed (summed) digitized matrix (from a set of preselected functions of waveforms, function bank/database). This accelerates the computation and minimizes the data storage.
(70) Examples for steps 640-644 of flow chart 600 of
(71)
(72)
(73) Returning to flow chart 600 of
(74) According to some embodiments, the methods disclosed herein allow memorizing a large history and or number of waveform data by just remembering the representative waveform characteristic parameters and using a driver to reconstruct the waveform on demand. This condensed manner of saving memory, may allow scrolling through representative waveforms over time, moving back to baselines or events, comparing with last “z” minutes or any other period of time or number of waveforms.
(75) According to some embodiments, any of the methods disclosed herein may further provide a confidence index (graphical or value), which may be a measure of how dominant the representative waveform is. This confidence level may be based on how many artifacts were there and/or dispersion of the data building the representative waveform. According to some embodiments, any of the methods disclosed herein may further provide a measure of the dispersion (graphical or value) of one or more given important scale factor parameters for example, height, width or I to E (Inhalation to Exhalation) ratio.
(76) In the description and claims of the application, each of the words “comprise” “include” and “have”, and forms thereof, are not necessarily limited to members in a list with which the words may be associated.
(77) The invention has been described using various detailed descriptions of embodiments thereof that are provided by way of example and are not intended to limit the scope of the invention. The described embodiments may comprise different features, not all of which are required in all embodiments of the invention. Some embodiments of the invention utilize only some of the features or possible combinations of the features. Variations of embodiments of the invention that are described and embodiments of the invention comprising different combinations of features noted in the described embodiments will occur to persons with skill in the art. It is intended that the scope of the invention be limited only by the claims and that the claims be interpreted to include all such variations and combinations.