Patient diagnostic codes are drawn from charts to analyze comorbidities and complications to arrive at HCC codes. Risk adjustment coding is a way of speculating the risk by analyzing existing conditions.