Thanks to a perceptive locum GP and a six-month course of injections , she grew up to be a highly intelligent young woman , but untreated , or wrongly treated , she would probably have been a physical and mental vegetable .