Text this: An algorithm for the ambulatory monitoring of fetal heart rate