醫生給您開了藥。

The doctor has prescribed you medicine.

Source: Tatoeba

Sentence Composition