医者に言われた

was told by the doctor

→ 医者
phrase Rare #36,417
was told by the doctor A past passive expression meaning that a doctor told someone something. The person who gave the advice is marked with に.
JA: 医者に言われたので、毎日薬を飲んでいます。
EN: The doctor told me to, so I take my medicine every day.

医者に言われたとおりにしろ

Do as the doctor tells you.

— グエムル -漢江の怪物- (2006)

喫煙をやめるように医者に言われた

My doctor told me to quit smoking.

私には卵はよくない医者に言われた

My doctor told me that eggs aren't good for me.

医者に言われた忘れた

Did you forget what the doctor told you?

— グッバイ、レーニン! (2003)