Mini pass out spells followed by vomiting could be a type of seizure. Your daughter should be evaluated by an EEG and a CT scan. A blood sugar level of 217 is quite high. However, diabetes in children usually presents in an acute manner and is seldom picked up on incidental blood sugar evaluation. Episodic passing out and vomiting is also not a manifestation of diabetes. Therefore I suggest you get a fasting and PP blood sugar and estimation of glycosylated Hb levels for your daughter. These tests should be evaluated by a pediatrician.