Skip to content
Snippets Groups Projects

Add Inpatient LOS to Encounter Views

Merged Hubbell, Harrison Taylor requested to merge hh_inpatient_los into master

Add field to ED/Inpatient encounter views which calculates the number of days an inpatient stay lasted (inpatient length of stay).

The calculation uses InpatientAdmitDTS as the start, and HospitalDischargeDTS as the end. The time delta is calculated in minutes and converted to days to provide the most accurate representation of time the patient spent in the hospital. The minute measure of time was chosen to reflect the highest level of accuracy available in the admission timestamp columns.

Review Requested:

  1. I am using InpatientAdmitDTS instead of HospitalAdmitDTS as the time window start to avoid counting time spent in the ED in the inpatient LOS stay calculation. Does anyone disagree with this methodology?

Merge request reports

Merged by Hubbell, Harrison TaylorHubbell, Harrison Taylor 5 years ago (May 14, 2019 8:06pm UTC)

Merge details

  • Changes merged into with 61302375.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading