Closed hcadavid closed 7 months 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.
Thanks @baukearends for clarifying this.
@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