MyDigiTwinNL / CDF2Medmij-Mapping-tool

Tool for transforming Cohort-study Data (CDF) into FHIR/MedMij compliant resource bundles
Apache License 2.0
1 stars 0 forks source link

Handling undefined eGFR parameters #8

Closed hcadavid closed 7 months ago

hcadavid commented 1 year ago

@baukearends should the eGFR value be 'undefined' when the parameters required for its calculation (gender, ethnicity) are missing? (which is the case for a number of data points), or are there other means for approximating this value when these values are unknown?

https://github.com/MyDigiTwinNL/CDF2Medmij-Mapping-tool/blob/d8ee58ecd3f8fabaddca2e7d9de81c5100f5930f/src/lifelines/eGFR.ts.wip#L32-L45

baukearends commented 1 year ago

In retrospect, I would omit the race constant, as also mentioned in #9, since European nephrologists mainly use the 2009 formula without the race constant. This seems to have the best accuracy in estimating GFR. Source: link

I'm assuming that age and gender will not be missing that often, but I would let eGFR be undefined in these cases indeed. Removing the race constant will presumably lead to a massive loss of undefined values.

hcadavid commented 7 months ago

Thanks @baukearends for clarifying this.