A pregnant woman is lying in bed and using an electronic device to monitor her baby's heartbeat.