Skip to content

Commit c657eb2

Browse files
Merge 25.11 to 26.1
2 parents bb31d9c + 2b432da commit c657eb2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

onprc_ehr/resources/queries/study/AssignmentsReleasedInPast1Day.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ and this one: <= NOW() → not in the future
2626
Together, they produce exactly the last 24 hours, nothing more.
2727
*/
2828
WHERE CAST(enddate AS DATE) = TIMESTAMPADD('SQL_TSI_DAY', -1, CAST(NOW() AS DATE))
29-
AND CAST(enddate AS DATE) <= CAST(NOW() AS DATE)
29+
AND CAST(enddate AS DATE) <= CAST(NOW() AS DATE)
30+
AND Id.demographics.calculated_status = 'Alive'

0 commit comments

Comments
 (0)