Fix T1D DKA timing
Fix T1D DKA timing: a task in life-science-SWE1.0 (Harbor dataset). DKA events before a patient's Type 1 diabetes diagnosis were being treated as future outcomes because the time difference used an absolute value. This keeps the date order, excludes earlier DKA events, and adds boundary tests for…
The task
DKA events before a patient's Type 1 diabetes diagnosis were being treated as future outcomes because the time difference used an absolute value. This keeps the date order, excludes earlier DKA events, and adds boundary tests for the 90-day window.
Part of scalingX/life-science-SWE1.0.