DataQualityDashboard
DataQualityDashboard copied to clipboard
Inpatient visits that only last a day
If an inpatient visit only lasts one day then they should not be classified as inpatient, this would be a new check
This could also be applied to other visits, outpatient should only be 1 day, ER should only be 1 day, <24hrs
Let's not add "ER should only be 1 day, <24hrs". In general, this should be true. But in periods of high demand and low available bed counts, some persons stay in the ER for > 24 hours. 48 hours would be a more helpful check.
@MelaniePhilofsky thank you for the insight!
Hi, I can try to create this check in SQL. I wasn't sure, if there is a way for me to assign the issue to myself?
Thanks, Priya
Thanks @priagopal! I added you as a collaborator and assigned the issue to you
Thank you
Hi Clair, I have created the check. Can you please check? if it looks good. I can take more issues related to SQL checks.
Thanks, Priya
hi @clairblacketer & @priagopal , i saw that the PR for this check in the develop branch ended up getting reverted (#336 ). is the intention to develop/add this check later on in the future, or not to add after all?