Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

admissionDrug table extremely infrequently used #14

Open
alistairewj opened this issue Apr 11, 2016 · 1 comment
Open

admissionDrug table extremely infrequently used #14

alistairewj opened this issue Apr 11, 2016 · 1 comment

Comments

@alistairewj
Copy link
Member

with v1 as
( select patientunitstayid, count(*) as numobs
from eicu_adm.admissiondrug
group by patientunitstayid
)
select count(pt.patientunitstayid) as numpat
, count(v1.patientunitstayid) as with_v1
, round(count(v1.patientunitstayid)/count(pt.patientunitstayid)*100.0,2) as percent_v1
, round(sum(v1.numobs) / count(v1.patientunitstayid),2) as avg_num_obs
from eicu_adm.patients pt
left join v1 on pt.patientunitstayid = v1.patientunitstayid

Only 0.15% of patients have data in this table - we should consider simply removing it from the release.

@obadawi
Copy link
Contributor

obadawi commented Apr 11, 2016

Not surprising. My understanding is it's infrequently used. I would be fine
with removing it since it provides little value.

On Mon, Apr 11, 2016 at 12:53 PM, Alistair Johnson <[email protected]

wrote:

with v1 as
( select patientunitstayid, count(_) as numobsfrom eicu_adm.admissiondruggroup by patientunitstayid
)select count(pt.patientunitstayid) as numpat
, count(v1.patientunitstayid) as with_v1
, round(count(v1.patientunitstayid)/count(pt.patientunitstayid)_100.0,2) as percent_v1
, round(sum(v1.numobs) / count(v1.patientunitstayid),2) as avg_num_obsfrom eicu_adm.patients ptleft join v1 on pt.patientunitstayid = v1.patientunitstayid

Only 0.15% of patients have data in this table - we should consider simply
removing it from the release.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants