The correct option is
D The doctor not only charges very heavy fees, but also prescribes expensive medicines and tests.
The conjunction, 'Not only.. but also' is a correlative conjunction, which combines two grammatically equal items. This means that the words which follow both parts (i.e 'not only' as well as 'but also') should belong to the same parts of speech. Using different parts of the speech after 'not only' and 'but also' makes the sentence imbalanced and grammatically incorrect.
Option A: The phrase, 'not only' is followed by 'very heavy fees'' which is a noun phrase. However, the phrase 'but also' is followed by 'prescribes', which is a verb. Hence, this option is grammatically incorrect.
Option B: When a sentence begins with 'not only, it is followed by an auxiliary verb like 'did'/does'/'is' + subject. In this option, the sentence begins with 'Not Only'. However, this is not immediately followed by any auxiliary verb. Hence, this option is grammatically incorrect.
Option C: The phrase, 'not only' is followed by 'that'' which is a demonstrative pronoun. However, the phrase 'but also' is followed by 'prescribes', which is a verb. Hence, this option is grammatically incorrect.
Option D: The phrase, 'not only' is followed by 'charges' which is a verb in simple present tense. The phrase 'but also' is followed by 'prescribes', which is also a verb in simple present tense. Hence, this option is grammatically correct.