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

cannot calculate LOS "Length of stay" after ETL run #242

Open
comorbidity opened this issue Jul 6, 2023 · 1 comment
Open

cannot calculate LOS "Length of stay" after ETL run #242

comorbidity opened this issue Jul 6, 2023 · 1 comment
Labels
bug Something isn't working i2b2 Support for loading i2b2

Comments

@comorbidity
Copy link
Contributor

LOS is the number of hours between period.start and period.end of a FHIR Period (usually encounter, but also other date differences). https://build.fhir.org/datatypes.html#Period

preserving HOUR level precision is therefore needed for ETL outputs.
Alternatively, LOS could be calculated within ETL but this seems difficult (as difficult) as having ETL execute case definitions.

Effort easy: use datetime instead from ETL
Effort hard: have ETL calculate LOS (much harder)

@comorbidity
Copy link
Contributor Author

Only applies to i2b2 ETL, postponing.

@mikix mikix added bug Something isn't working i2b2 Support for loading i2b2 labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working i2b2 Support for loading i2b2
Projects
None yet
Development

No branches or pull requests

2 participants