Exemple #1
0
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)     
Exemple #2
0
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)     
Exemple #3
0
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) 
Exemple #4
0
def get_counts_dict(prefix, year):
    return common.get_dict_all(get_counts_filename(prefix, year), int)