-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix AUMC difftime calculation #21
Conversation
Note: this currently needs to remove a warning from load_concepts.itm, which may not be desired. Maybe there is another way to prevent unnecessary warnings in the case of additional arguments to load_concepts?
load_mihi, load_au, and load_ei only differ in the rounding function they apply (and the fact that eicu strictly speaking doesn't require merging of origin). They can thus all be replaced with a single function that receives the rounding function as a parameter.
5edafd2
to
7a1575d
Compare
After closer inspection of Technically, |
Note that this PR branches of #19 , which should be merged before this one. |
Closed in favour of #51 |
This is a fix for the issue described in #20.
The current solution is mainly copy-paste of
load_mihi
with some small changes. This could/should be refactored to avoid code duplication, perhaps with a single function that can deal with all databases.