File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ SELECT
360360FROM
361361 HDM .Child_Social .DIM_PERSON AS p
362362
363- -- [TESTING][PLACEHOLDER] 903 table refresh only in reporting period?
363+ -- [TESTING] 903 table refresh only in reporting period?
364364LEFT JOIN (
365365 -- ??other accessible location for NO_UPN data than 903 table?? -- [TESTING|LA DEBUG]
366366 SELECT
375375 p .DIM_PERSON_ID = f903 .dim_person_id
376376
377377WHERE
378+ /* EXCLUSIONS */
378379
379380 -- p.DIM_PERSON_ID IN (1, 2, 3) AND -- -- hard filter on CMS person ids for LA reduced cohort testing
380381
381382 p .DIM_PERSON_ID IS NOT NULL
382383 AND p .DIM_PERSON_ID <> - 1
383- -- AND YEAR(p.BIRTH_DTTM) != 1900 -- #DtoI-1814
384+ -- AND YEAR(p.BIRTH_DTTM) != 1900 -- Remove admin records hard-filter -- #DtoI-1814
385+
386+ /* INCLUSIONS */
384387 AND (p .IS_CLIENT = ' Y'
388+
385389 OR (
386390 EXISTS (
387391 SELECT 1
You can’t perform that action at this time.
0 commit comments