Start: Collect all claims data for a patient
Calculating Disease Score
Get diagnosis codes from the medical claims
Cross reference with MAO-004 report to filter accepted diagnosis
Map diagnosis codes to HCCs
Select distinct HCCs for patient (more than one accepted diagnosis has no effect)
Apply the HCC hierarchy for the model, dropping HCCs
Sum score of remaining HCCs for appropriate demographic information of patient
Add Disease Interaction HCC score and total HCC count scores