Skip to content

Commit 38ff1f5

Browse files
authored
Merge pull request #306 from cmu-delphi/chng-cli-docs
Change CLI docs
2 parents 733cd75 + 3951abc commit 38ff1f5

File tree

1 file changed

+47
-2
lines changed

1 file changed

+47
-2
lines changed

docs/api/covidcast-signals/chng.md

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ commercial purposes.
2626
| --- | --- |
2727
| `smoothed_outpatient_covid` | Estimated percentage of outpatient doctor visits with confirmed COVID-19, based on Change Healthcare claims data that has been de-identified in accordance with HIPAA privacy regulations, smoothed in time using a Gaussian linear smoother |
2828
| `smoothed_adj_outpatient_covid` | Same, but with systematic day-of-week effects removed; see [details below](#day-of-week-adjustment) |
29+
| `smoothed_outpatient_cli` | Estimated percentage of outpatient doctor visits primarily about COVID-related symptoms, based on Change Healthcare claims data that has been de-identified in accordance with HIPAA privacy regulations, smoothed in time using a Gaussian linear smoother |
30+
| `smoothed_adj_outpatient_cli` | Same, but with systematic day-of-week effects removed; see [details below](#day-of-week-adjustment) |
2931

3032
## Table of contents
3133
{: .no_toc .text-delta}
@@ -64,15 +66,38 @@ not necessarily indicative of a true increase of COVID-19 in a location.
6466

6567
## Qualifying Conditions
6668

67-
We receive data on the following two categories of counts:
69+
We receive data on the following six categories of counts:
6870

6971
- Denominator: Daily count of all unique outpatient visits.
7072
- Covid: Daily count of all unique visits with primary ICD-10 code in any of:
7173
{U07.1, B97.21, or B97.29}.
74+
- COVID-like: Daily count of all unique outpatient visits with primary ICD-10 code
75+
of any of: {U07.1, U07.2, B97.29, J12.81, Z03.818, B34.2, J12.89}.
76+
- Flu-like: Daily count of all unique outpatient visits with primary ICD-10 code
77+
of any of: {J22, B34.9}. The occurrence of these codes in an area is
78+
correlated with that area's historical influenza activity, but are
79+
diagnostic codes not specific to influenza and can appear in COVID-19 cases.
80+
- Mixed: Daily count of all unique outpatient visits with primary ICD-10 code of
81+
any of: {Z20.828, J12.9}. The occurance of these codes in an area is
82+
correlated to a blend of that area's COVID-19 confirmed case counts and
83+
influenza behavior, and are not diagnostic codes specific to either disease.
84+
- Flu: Daily count of all unique outpatient visits with primary ICD-10 code of
85+
any of: {J09\*, J10\*, J11\*}. The asterisk `*` indicates inclusion of all
86+
subcodes. This set of codes are assigned to influenza viruses.
87+
88+
For the COVID signal, we consider only the *Denominator* and *Covid* counts.
89+
90+
For the CLI signal, if a patient has multiple visits on the same date (and hence
91+
multiple primary ICD-10 codes), then we will only count one of and in descending
92+
order: *Flu*, *COVID-like*, *Flu-like*, *Mixed*. This ordering tries to account for
93+
the most definitive confirmation, e.g. the codes assigned to *Flu* are only used
94+
for confirmed influenza cases, which are unrelated to the COVID-19 coronavirus.
7295

7396
## Estimation
7497

75-
### COVID-Like Illness
98+
### COVID Illness
99+
100+
The following estimation method is used for the `*_outpatient_covid` signals.
76101

77102
For a fixed location $$i$$ and time $$t$$, let $$Y_{it}$$
78103
denote the Covid counts and let $$N_{it}$$ be the
@@ -83,6 +108,22 @@ $$
83108
\hat p_{it} = 100 \cdot \frac{Y_{it}}{N_{it}}
84109
$$
85110

111+
### COVID-Like Illness
112+
113+
The following estimation method is used for the `*_outpatient_cli` signals.
114+
115+
For a fixed location $$i$$ and time $$t$$, let $$Y_{it}^{\text{Covid-like}}$$,
116+
$$Y_{it}^{\text{Flu-like}}$$, $$Y_{it}^{\text{Mixed}}$$, $$Y_{it}^{\text{Flu}}$$
117+
denote the correspondingly named ICD-filtered counts and let $$N_{it}$$ be the
118+
total count of visits (the *Denominator*). Our estimate of the CLI percentage is
119+
given by
120+
121+
$$
122+
\hat p_{it} = 100 \cdot \frac{Y_{it}^{\text{Covid-like}} +
123+
\left((Y_{it}^{\text{Flu-like}} + Y_{it}^{\text{Mixed}}) -
124+
Y_{it}^{\text{Flu}}\right)}{N_{it}}
125+
$$
126+
86127
### Day-of-Week Adjustment
87128

88129
The fraction of visits due to COVID-19 is dependent on the day of the week. On
@@ -131,6 +172,10 @@ $$\dot{Y}_{it} = Y_{it} / \alpha_{wd(t)}.$$
131172
We then use these adjusted counts to estimate the COVID-19 percentage as described
132173
above.
133174

175+
For the CLI indicator, we apply the same method to the numerator $$Y_{it} =
176+
Y_{it}^{\text{Covid-like}} + \left((Y_{it}^{\text{Flu-like}} +
177+
Y_{it}^{\text{Mixed}}) - Y_{it}^{\text{Flu}}\right).$$
178+
134179
### Backwards Padding
135180

136181
To help with the reporting delay, we perform the following simple

0 commit comments

Comments
 (0)