Skip to content

Commit 498be6f

Browse files
authored
Merge pull request #228 from cmu-delphi/update-hospital-admissions-claims
Update hospital-admissions.md for claims-only signal
2 parents 74d9a68 + a7b8694 commit 498be6f

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

docs/api/covidcast-signals/hospital-admissions.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ COVID-associated diagnosis code in a given location, on a given day.
2020

2121
| Signal | Description |
2222
| --- | --- |
23-
| `smoothed_covid19` | Estimated percentage of new hospital admissions with COVID-associated diagnoses, based on data from health system partners, smoothed in time using a Gaussian linear smoother |
24-
| `smoothed_adj_covid19` | Same, but with systematic day-of-week effects removed using [the same mechanism as in `doctor-visits`](doctor-visits.md#day-of-week-adjustment) |
23+
| `smoothed_covid19` | Estimated percentage of new hospital admissions with COVID-associated diagnoses, based on electronic medical record and claims data from health system partners, smoothed in time using a Gaussian linear smoother. _This signal is no longer updated as of 1 October, 2020._ |
24+
| `smoothed_adj_covid19` | Same as `smoothed_covid19`, but with systematic day-of-week effects removed using [the same mechanism as in `doctor-visits`](doctor-visits.md#day-of-week-adjustment). _This signal is no longer updated as of 1 October, 2020._ |
25+
| `smoothed_covid19_from_claims` | Estimated percentage of new hospital admissions with COVID-associated diagnoses, based on claims data from health system partners, smoothed in time using a Gaussian linear smoother |
26+
| `smoothed_adj_covid19_from_claims` | Same as `smoothed_covid19_from_claims`, but with systematic day-of-week effects removed using [the same mechanism as in `doctor-visits`](doctor-visits.md#day-of-week-adjustment) |
2527

2628
## Table of contents
2729
{: .no_toc .text-delta}
@@ -67,18 +69,14 @@ In the electronic medical records stream, admissions are considered COVID-associ
6769

6870
For the claims stream, admissions are considered COVID-associated if the patient has a primary ICD-10 code matching {U071, U072, B9729, J1281, Z03818, B342, J1289}.
6971

70-
7172
## Estimation
7273

73-
For a fixed location $$i$$ and time $$t$$, let $$Y_{it} = Y_{it}^{\text{emr}} + Y_{it}^{\text{claims}}$$ denote the number of
74-
hospital admissions meeting the qualifying conditions, where the superscript denotes the respective data stream. Similarly, let $$N_{it} = N_{it}^{\text{emr}} + N_{it}^{\text{claims}}$$ denote the
75-
total number of hospital admissions.
74+
For a fixed location $$i$$ and time $$t$$, let $$Y_{it}$$ denote the number of hospital admissions meeting the qualifying conditions. Let $$N_{it}$$ denote the total number of hospital admissions.
7675

77-
Our estimate of the COVID-19 percentage is
78-
weighted by the contribution from each data stream according to the magnitude of their total admissions.
76+
Our estimate of the COVID-19 percentage is given by
7977

8078
$$
81-
\hat p_{it} = 100 \cdot \frac{Y_{it} + 0.5}{N_{it} + 1} \approx 100\cdot\left(\frac{N_{it}^{\text{emr}}}{N_{it}}\cdot\frac{Y_{it}^{\text{emr}}}{N_{it}^{\text{emr}}} + \frac{N_{it}^{\text{claims}}}{N_{it}}\cdot\frac{Y_{it}^{\text{claims}}}{N_{it}^{\text{claims}}} \right)
79+
\hat p_{it} = 100 \cdot \frac{Y_{it} + 0.5}{N_{it} + 1}.
8280
$$
8381

8482
The additional pseudo-observation of 0.5 means this estimate can be interpreted
@@ -91,6 +89,18 @@ $$
9189
\widehat{\text{se}}(\hat{p}_{it}) = 100 \sqrt{\frac{\frac{\hat{p}_{it}}{100}(1-\frac{\hat{p}_{it}}{100})}{N_{it}}}.
9290
$$
9391

92+
### Data Streams
93+
* `smoothed_covid19` and `smoothed_adj_covid19`: This signal combines data from electronic medical records (emr) and claims records. Here, $$Y_{it} = Y_{it}^{\text{emr}} + Y_{it}^{\text{claims}}$$ is the number of
94+
hospital admissions meeting the qualifying conditions, where the superscript denotes the respective data stream. Similarly, $$N_{it} = N_{it}^{\text{emr}} + N_{it}^{\text{claims}}$$ is taken as the
95+
total number of hospital admissions. Thus, the estimate of the COVID-19 percentage is
96+
weighted by the contribution from each data stream according to the magnitude of their total admissions.
97+
98+
$$
99+
\hat p_{it} = 100 \cdot \frac{Y_{it} + 0.5}{N_{it} + 1} \approx 100\cdot\left(\frac{N_{it}^{\text{emr}}}{N_{it}}\cdot\frac{Y_{it}^{\text{emr}}}{N_{it}^{\text{emr}}} + \frac{N_{it}^{\text{claims}}}{N_{it}}\cdot\frac{Y_{it}^{\text{claims}}}{N_{it}^{\text{claims}}} \right)
100+
$$
101+
102+
* `smoothed_covid19_from_claims` and `smoothed_adj_covid19_from_claims`: This signal uses data solely from the claims stream: $$Y_{it} = Y_{it}^{\text{claims}} $$ and $$N_{it} = N_{it}^{\text{claims}}$$.
103+
94104
## Backwards Padding
95105

96106
This source undergoes the same backwards padding adjustment as the `doctor-visits`

0 commit comments

Comments
 (0)