def get_patient_dict(): """Return dict whose keys are MemberIDs and patient sex and age categories """ return common.get_dict_all(get_patient_filename(), None)
def get_drugcount_dict(year): """Return dict whose keys are MemberIDs and DrugCount DSFS and count categories """ return common.get_dict_all(get_drugcount_filename(year), int)
def get_pcg_counts_dict(year): """Return dict whose keys are MemberIDs and values are PCG counts for all the PCG categories """ return common.get_dict_all(get_pcg_filename(year), int)
def get_counts_dict(prefix, year): return common.get_dict_all(get_counts_filename(prefix, year), int)