Hospital Revenue Cycle Management Path · Mission 25 of 25Master

Patient revenue segmentation capstone — multi-metric ranks + segment label

Path capstone. Multi-CTE pipeline that combines aggregation, parallel window functions (NTILE quartiles + RANK within payer), and CASE-based segment labeling. The output is the patient revenue file that finance teams use for collections prioritization, charity-care assignment, and bad-debt cohort sizing. Every Hard / Expert pattern in this path appears in this one query.

The Brief

You'll practice

Multi-CTE pipelineParallel NTILE/RANK windowsPriority CASE