What sort of insulin is your mother using ?
If your Mum isn't eating properly then someone has to be adjusting her insulin regime.
If not she could become hypoglycaemic because of lack of carbs (ie too much insulin for what she's eating) though it could be that her blood glucose is higher than normal because of the problem that she's in hospital for.
As Sid says there are properly formulated replacements available for prescription, certainly when my mother was in hospital and not eating much, her weight was monitored daily and she was prescribed supplemental shakes (though she hated them as they were so thick)
Depending on your Mum's individual circumstances she doesn't necessarily need a lower carb supplement, since the insulin can and should be adjusted.
Talk to the staff about it. It might be a good idea for someone (you or them) to contact the hospitals diabetic specialist nurse, dietitian or dept.