Fig. 1.

Sliding window algorithm schematic. An anchor date is a date when an exacerbation or a non-exacerbation event (random asthma code) occurred. When the anchor date corresponded to an exacerbation, up to four 6-month non-overlapping intervals were drawn. Of those four intervals, the data collected within the two most recent ones were used to predict an asthma exacerbation in the following 6 months, and the data collected within the two oldest ones were used to predict the lack of an exacerbation. Meanwhile, when the anchor date corresponded to a non-exacerbation, up to two 6-month non-overlapping intervals were drawn, and data collected in both were used to predict the lack of exacerbation. Gray intervals indicate intervals that were discarded according to the criteria described in the text