Foot cramps can be registered with departments such as endocrinology and neurology, which require a physical examination to check the basic physiological status; laboratory tests, such as routine blood tests, blood biochemistry, immunological tests and blood glucose monitoring, to check whether there is a drop in serum calcium levels and whether blood glucose is normal, which can help further clarify the cause. If necessary, imaging tests are performed to understand whether the patient has organic lesions of the heart and brain.