Diabetic ketoacidosis and hyperosmolar state