Coconut water okay?

Hi, my mom was just diagnosed this past weekend with Type 2 Diabetes. (She was admitted into the hospital with diabetic ketoacidosis. Up until that point, we had no idea she had it.) She is currently having diarrhea that we think stems from the Metformin she is currently on, and we were worried about her electrolytes dropping. Up until the diagnosis, she was fond of drinking Vita Coco coconut water as a natural electrolyte. Is that something she can still do?