Early recognition of metabolic decompensation