Skip to content

Fix T1D DKA timing - #1230

Open
DarylOkeke wants to merge 1 commit into
sunlabuiuc:masterfrom
DarylOkeke:codex/fix-t1d-dka-timing
Open

DarylOkeke wants to merge 1 commit into
sunlabuiuc:masterfrom
DarylOkeke:codex/fix-t1d-dka-timing

Conversation

@DarylOkeke

Copy link
Copy Markdown
Contributor

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.

@fbonc

fbonc commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

looks good.

@lehendo lehendo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

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

Successfully merging this pull request may close these issues.

3 participants