The professional dancer said a doctor encouraged her to focus on what she could control on her healing journey.