def heartrate_measurement_to_healthgraph_heartrate(tcx_heartrate_info):
    """
    timestamps are stored as absolute epoch times
    """
    return {'timestamp': tcx_heartrate_info.time, 'heart_rate':
        tcx_heartrate_info.bpm}
