Dr may say it's safe
A primary care doctor, orthopedic doctor, or occupational medicine
doctor may evaluate a person with a disability, and decide whether or not he is safe to do a particular kind of work.
It is subjective, because nothing in life is 100% safe. A doctor cannot demonstrate a patient's competency to perform a job, any more than a doctor can say a particular football player will be a great quarterback.