Skip to content

fix(mimic-iv): apply APS III axillary temperature +1 C correction#2045

Closed
acnimma wants to merge 1 commit into
MIT-LCP:mainfrom
acnimma:fix/mimic-iv-apsiii-axillary-temp
Closed

fix(mimic-iv): apply APS III axillary temperature +1 C correction#2045
acnimma wants to merge 1 commit into
MIT-LCP:mainfrom
acnimma:fix/mimic-iv-apsiii-axillary-temp

Conversation

@acnimma

@acnimma acnimma commented Jul 13, 2026

Copy link
Copy Markdown

Summary

  • Increase axillary temperatures by 1 C before APS III scoring
  • Aggregate first-day temperature min/max from vitalsign with site adjustment
  • Regenerate postgres and duckdb dialect copies from the BigQuery source

Test plan

  • pytest tests/test_transpile.py passes locally
  • CI concept build on MIMIC-IV demo

APS III previously ignored temperature site. Axillary measurements are increased by 1 degree Celsius before scoring, matching APACHE III methodology. First-day temperature min/max are derived from vitalsign using the same charttime window as first_day_vitalsign.

Axillary temperatures run ~1 C low vs core; APACHE III / APS III raises
them before scoring. Aggregate first-day min/max from vitalsign with that
adjustment so hypothermia points are not overstated.

Co-authored-by: Cursor <cursoragent@cursor.com>
@acnimma acnimma closed this Jul 13, 2026
@acnimma acnimma deleted the fix/mimic-iv-apsiii-axillary-temp branch July 13, 2026 19:39
@acnimma

acnimma commented Jul 13, 2026

Copy link
Copy Markdown
Author

Superseded by #2046 (cleaned commit authorship / PR body). Closing in favor of that.

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.

1 participant