The generalized use case I have is to get record counts for a number of date ranges across one or more tables.
My specific use case is this: For a patient encounter t