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

Question: Relation between anchor age and CDM year of birth #29

Open
ghost opened this issue Sep 25, 2023 · 0 comments
Open

Question: Relation between anchor age and CDM year of birth #29

ghost opened this issue Sep 25, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 25, 2023

Thanks for making all this code public! I was looking through the ETL flow and there is one thing I do not quite understand: In the PhysioNet documentation of the MIMIC IV data v2.2, it states that "the anchor_age provides the patient age in the given anchor_year". Hence, it would seem the patient's year of birth (in shifted MIMIC time) should be anchor_year - anchor_age. However, looking at this line of the conversion code (from etl/etl
/cdm_person.sql
), it seems the CDM year of birth is set directly to the anchor year (the anchor age is only used in etl/lk_procedure.sql in a different context, as far as I can tell). Did I misunderstand smt. or miss a part of the puzzle?

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

0 participants