We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcfcfe3 commit bd9f32fCopy full SHA for bd9f32f
src/main/resources/resources/cohortdefinition/sql/generateCohort.sql
@@ -42,7 +42,7 @@ FROM cteIncludedEvents Results
42
@ResultLimitFilter
43
;
44
45
--- TODO: Apply end date stratagies
+-- Apply end date stratagies
46
-- by default, all events extend to the op_end_date.
47
select event_id, person_id, op_end_date as end_date
48
into #cohort_ends
@@ -109,6 +109,8 @@ coalesce((
109
110
}
111
112
+TRUNCATE TABLE #cohort_ends;
113
+DROP TABLE #cohort_ends;
114
115
TRUNCATE TABLE #inclusionRuleCohorts;
116
DROP TABLE #inclusionRuleCohorts;
0 commit comments