def get_patient_hr_entries(patient):
    """ Get heart rate information from patient database

    This function indexes the patient database dictionary and pulls all heart
    rate entries. The entries are then saved in the "all_hr_entries" variable.

    :param patient: A dictionary containing all of a patient's information

    :returns: a list of all of the indicated patient's heart rate entries
    """
    all_hr_entries = patient["heart_rate"]
    return all_hr_entries