Column medicare.enrollments.dual_cvg_count
Overview of column dual_cvg_count in table medicare.enrollments
Table |
|
Qualified name |
medicare.enrollments.dual_cvg_count |
Datatype |
string |
Column type |
copied |
Tables, required for computation |
[‘medicare.mbsf_d’] |
Expressions
(CASE
WHEN EXISTS (SELECT * FROM medicare.mbsf_d AS d WHERE medicare._ps.year = d.year and medicare._ps.bene_id = d.bene_id)
THEN
COALESCE((SELECT MAX(dual_mo) FROM medicare.mbsf_d AS d WHERE medicare._ps.year = d.year and medicare._ps.bene_id = d.bene_id), 0)
ELSE NULL
END)