-
Notifications
You must be signed in to change notification settings - Fork 14
Add lab abnormality KRI #617
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samussiah - Haven't pulled this to review in more detail, but at first glance it looks like there are some .rda
files in here. Did they sneak in from clindata
or are they needed for labs?
@mattroumaya yeah, I attached the mappings as R data to avoid typing |
Ahhh cool! Got it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great @samussiah!
Left some comments/suggestions, mostly just for passing all possible grouping columns in mapping, and adding the ability to group in assess.
8000
Forgot to mention that |
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
Co-authored-by: Matt Roumaya <40671730+mattroumaya@users.noreply.github.com>
@samussiah - note to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome - great work @samussiah!
Overview
Adds a lab abnormality KRI that models the number of abnormal lab results out of the total number of lab results.
Test Notes/Sample Code
Notes:
The stratified assessment is bombing somewhere, but the standalone is good to go. It'd be useful to directly visualize the rate of abnormal labs - perhaps the standard KRI viz will handle this use case - but the KRI is the count, not the proportion. It's also be nice to flag on that proportion (>5% abnormal labs for instance)...