Doctor tells couple baby has heartbeat