I may be totally misremembering (it wasn't the most memorable movie), but I thought the driving plot point was that the little girl was going low. She had a CGM with an alarm that kept going off, and had a seizure at one point.
Yeah, that's where the idiocy breaks in. They spend the whole moving worrying about getting her insulin, when what she really needed was a cookie.
Or I could be wrong. Been too long since I saw the movie.