ResidentData/Deprecated/CovidInfection

This table comprises data realted to measuring and mitigating the COVID pandemic in CDCR, with one record per CDCR resident per day from 1 Jan 2020 onward and for selected days prior to 1 Jan 2020. Days when residents are temporarily out to court or a medical facility are also included, but days after a resident has paroled or discharged are not. If a paroled or discharged resident returns to CDCR, then their daily records will resume on the day they first returned.

Day
The beginning of the day for which the record applies 11/6/2019, 1/5/2020
 * Examples

Month
The integer value of the month in which the day of the record falls, used to segment files 1, 2, 11, 12
 * Examples

Seq
Equals 1 for the most recent daily record for a given resident; otherwise is null. 1, null
 * Values

ResidentId
Stable anonymized signed integer ID value for the resident 578998371, -456578293
 * Examples

EstimatedInfectionDate
Collection date of first positive COVID test or symptom onset date if onset occurred within 7 days prior to first test date, whichever came first May 1, 2020
 * Examples

CovidLOC
The COVID-related status of the resident as of the end of that day. Null values indicate naive. Active, Quarantined, Isolated, Hospitalized, Resolved, Died, null
 * Values

ViralTestStatus
Latest COVID viral test (pcr OR antigen) result  as of the end of that day Negative, Positive
 * Examples

ViralTestType
Concatenated descriptions of assay entered into EHRS and/or by the lab for the most recent viral test as of the end of that day "CoV-2 RNA QUAL RT-PCR+(COVID19)-39433 PAN-SARS RNA", "Misc Test Other+COVID19"
 * Examples

ViralTestDate
Collection date of last completed viral test. Note that in cases where multiple tests with the same result have been collected, ViralTestDate should change to reflect the latest collection date of each test. 4/1/20, 5/17/20
 * Examples

ViralTestResultDate
Date last completed viral test result was recorded in the medical record. 4/2/20, 5/18/20 Note the possibility of cases where two or more tests collected on different days are received back on the same day. In this case, ViralTestResultDate will be the same across records for the same resident but with different ViralTestDates.
 * Examples
 * Comments

ViralTestSpecimen
Site of COVID specimen collection. Free text. Nasopharyngeal, NP+OP, Nasal
 * Examples

SxOnset
Equals 1 as of the day of COVID symptom onset per public health data. Stays as 1 until public health declares that symptoms have remitted, that the resident has been released from isolation, or that the case is resolved (whichever occurs first), at which point it switches to 0 for all subsequent days. null indicates no history of ever being symptomatic for COVID. Note that symptom onset often preceeds date of positive test collection. ;Examples null,1,0

Ili
Equals 1 if cough, shortness of breath, fever, temp>=37.8C, or SpO2<94 were recorded in the medical record on that day. Note that this is independent of COVID status. 0,1
 * Examples

Possible columns
The following columns may be added to this dataset in the future.