Skip to content

Align LOS calculation with CMS definition #923

Description

@bradmontierth

Describe the bug - Required
A clear and concise description of what the bug is.
CMS handles same day admit discharge as 1 day, Tuva is currently calculating 0 for these days.
Source: https://resdac.org/cms-data/variables/length-stay-los-stays
https://www.cms.gov/regulations-and-guidance/guidance/manuals/downloads/bp102c03pdf.pdf


Environment - Required

  • Tuva project package version (e.g. 0.6.0):
  • dbt version (e.g. 1.7):
  • dbt type (e.g. dbt cloud or dbt CLI):
  • Data warehouse (e.g. Snowflake):

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.


Screenshots
If applicable, add screenshots to help explain your problem.


Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

Type

Projects

Status
✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions