Watch: Terminally Ill Woman Has Emotional Reaction When She Learns She'll Have Granddaughter

A mother-to-be chose to have her gender reveal ultrasound done in her terminally ill mother's hospital room, so they could share one last joyful memory together. A video of the emotional moment, taken by the baby's father Cotey Keith, captures an intimate moment of mother-daughter bonding. 

Taylor Masilotti and her family were celebrating her pregnancy, which happened after fertility struggles. At the same time, however, they were dealing with the pain and grief of Masilotti's mother, Donna Callendar's, terminal cancer diagnosis. 

Knowing Callender had only a few days left to live, the 26-year-old mother-to-be moved up the scheduled appointment she had to find out the sex of the baby so her mother would get to know whether she would be getting a grandson or granddaughter. 

Lying side by side on Callendar's hospital bed, mother and daughter learn that their family will be adding another girl. 

"I'm so thankful I had somebody record it for me because I want to be able to show it to my little girl when she comes in this world,'' Masilotti told TODAY. "It's a memory that I will never forget. It's very special to me."

Three days later the soon-to-be-grandma passed away at 58 years old. But that doesn't mean her granddaughter will grow up without her influence.

"My family is amazing and that's what they all told me - one leaves and one enters in the world,'' Masilotti said. "My mom is going to live on through this baby."

The experience also served as inspiration for the first time mom. 

"She never once complained, and she didn't cry once until the very end when she knew it was time,'' she shared. "That video reminds me of her strength and her grace. It motivates me to want to be able to be that strong for my daughter."