Can a doctor refuse to write a legal work release

Patient: Can a doctor legally refuse to write a work release without any restrictions because I cannot afford the surgery.

Symptoms: I have torn ligaments and muscles in my shoulder.

Doctor: Thank you for your question. We are unable to provide advice on your concern as the legislation that doctor adhere varie s from region to region. If you have a legal concern, please consult a lawyer in your region in order to get specific advice on your work release.Thank you for choosing