Say my doctor tells me that my grandfather has only a few months to live.
What do we call such a prediction based on a medical condition?
The word is "prognosis". (Merriam-Webster dictionary)
1: a doctor's opinion about how someone will recover from an illness or injury
2: a judgment about what is going to happen in the future