ropensci-archive / cleanEHR

:warning: ARCHIVED :warning: Essential tools and utility functions to facilitate the data processing pipeline, data cleaning and data analysing of clinical data from CC-HIC
GNU General Public License v3.0
54 stars 23 forks source link

Wide table DB injection #136

Closed sinanshi closed 2 years ago

sinanshi commented 7 years ago

5

sinanshi commented 7 years ago

@docsteveharris should we include the values with a timestamp before the admission time, which have been excluded previously? Since they appear to be many of them.

spiros commented 7 years ago

IMHO yes - they are useful for QC'ing down the line and/or running sensitivity analyses.

sinanshi commented 7 years ago

Will do. We should probably give the users a choice. It is quite common in some variables, values appear during the hopital admission and unit admission. We are now using unit admission as the baseline.

docsteveharris commented 7 years ago

Agreed. Some blood tests will be preadmission