def verify_newp_info(in_dict):
    """
    Verify in_dict contains the correct keys and data
    {"patient_id": 1, # usually this would be the patient MRN
    "attending_email": "dr_user_id@yourdomain.com",
    "patient_age": 50, # in years}
    """
    for key in ("patient_id", "attending_email", "patient_age"):
        if key not in in_dict.keys():
            return "Key {} not found".format(key)
        if key == "attending_email":
            if type(in_dict[key]) is not str:
                return "Key attending_email not correct type"
        else:
            try:
                integer = int(in_dict[key])
            except ValueError:
                return "Key {} is not integer".format(key)
    return True