Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mimic-iii/concepts/durations/arterial_line_durations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ with mv as
, charttime_lag
-- if the current observation indicates a line is present
-- calculate the time since the last charted line
, charttime - charttime_lag as arterial_line_duration
, DATETIME_DIFF(charttime, charttime_lag, HOUR) as arterial_line_duration
-- now we determine if the current line is "new"
-- new == no documentation for 16 hours
, case
Expand Down
2 changes: 1 addition & 1 deletion mimic-iii/concepts/durations/central_line_durations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ with mv as
, charttime_lag
-- if the current observation indicates a line is present
-- calculate the time since the last charted line
, charttime - charttime_lag as central_line_duration
, DATETIME_DIFF(charttime, charttime_lag, HOUR) as central_line_duration
-- now we determine if the current line is "new"
-- new == no documentation for 16 hours
, case
Expand Down
Loading