Yes E is correct..but can anybody explain the use of "it" here.
"...not only by what patients eat but also by when they eat it"
'it' here refers to 'whatever' the patients eat. 'it' here might be labelled as redundent, but may not necessarily be so. Redundent perhaps because food as a word has not been mentioned in this option.