-
Notifications
You must be signed in to change notification settings - Fork 8
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
TotalEDInpatientVisits, TotalEDVisits, TotalInpatientVisits - incorrect treatment of >9 at several endpoints #297
Comments
Per discussion with Hong: Leave Discover Cohort endpoint as is; in other words, allow users to define cohorts per their choice. Fix >9 issues with Features and Association to All Features endpoints; issue involves db and YAML file. |
Update: Turns out that this is a very complicated issue. In brief, |
Adding on to this ticket ... For the Features endpoint (but not the other endpoints), the output for the visit variables is binned as 0 ... 9 not 0 ... 9, >9 in the pre 2014 tables. A quick review suggests that the issue is specific to the visit variables. Any ideas why? 2014
2013
2014
2013
How come the features endpoint is not returning the >9 bin with a total of zero, but the 1 x N endpoint does? I only see this in the pre-2014 tables (see examples above). This is by no means a high-priority issue, but I feel like this is an inconsistency that we should probably resolve, as I'm a bit worried that it might be indicative of something bigger. |
This issue should be fixed which can be tested on the ICEES PCD dev instance. |
Closing issue, but first noting that Hong and I agreed to leave the Discover Cohort as is, in order to provide users with flexibility ... |
This issue is to report that the variables TotalEDInpatientVisits, TotalEDVisits, and TotalInpatientVisits are not treating >9 correctly at the Discover Cohort, Features, and Association to All Features endpoint.
Discover Cohort - note that one can correctly create a cohort in which TotalEDInpatientVisits > 9, but for logical consistency, we should not allow users to create cohorts defined as, e.g., TotalEDInpatientVisits > 10.
Features
Association to All Features
The text was updated successfully, but these errors were encountered: