Skip to content

Indexation - #23

Merged
gkennos merged 2 commits into
mainfrom
indexation
Jul 27, 2026
Merged

Indexation#23
gkennos merged 2 commits into
mainfrom
indexation

Conversation

@gkennos

@gkennos gkennos commented Jul 27, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the surgical episode-attachment logic so surgeries are attributed to diagnosis episodes via explicit Episode_Event links (instead of date-window matching), and bumps the package version to 0.5.3.

Changes:

  • Switch SurgicalProcedure episode attribution from person+date-window joins to Episode_Event-driven joins.
  • Bump project version to 0.5.3 and sync lockfile metadata.
  • Add a 0.5.3 changelog entry describing the new linkage behavior.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/omop_constructs/alchemy/episodes/surgical_joins.py Replaces date-window surgery attribution with Episode_Event-based linkage while preserving the outer-join “absence rule” shape.
pyproject.toml Bumps project version to 0.5.3.
uv.lock Updates locked editable package version and adjusts pexpectptyprocess marker metadata.
CHANGELOG.md Adds release notes for 0.5.3 describing the surgery/episode join behavior change.
Comments suppressed due to low confidence (1)

CHANGELOG.md:198

  • The 0.5.3 changelog entry is a bit unclear/grammatically awkward (“adding separate distinct handling…”). Consider rewriting it to clearly state the behavior change (Episode_Event-driven surgery attribution) and its impact.
- adding separate distinct handling for joining surgeries in with episodes when there is an explicit link to a specific diagnosis

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.md
Comment on lines +197 to +198
## 0.5.3
- adding separate distinct handling for joining surgeries in with episodes when there is an explicit link to a specific diagnosis No newline at end of file
@gkennos
gkennos merged commit 9b1ef53 into main Jul 27, 2026
3 checks passed
@gkennos
gkennos deleted the indexation branch July 27, 2026 03:18
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.

2 participants