Replicating the chronic disease score (CDS) from automated pharmacy data.