What are 20 grams of licorice, 30 grams of tartary buckwheat and 9 red dates for?

This is Ganmai Jujube Soup.

Ganmai jujube soup comes from Zhang Zhongjing's synopsis of the golden chamber, which consists of three ounces of licorice, one liter of wheat and five to seven jujubes. Its conception is concise and its formula is ingenious. It has the effects of nourishing the heart, calming the nerves, regulating middle-energizer, invigorating spleen and benefiting qi. Applicable to dirty and impetuous, with trance as the main symptom, often sad and crying, insomnia, abnormal words and deeds, frequent yawning, and less red tongue coating. With the development of application, the following diseases can be treated with good results. Vertigo is a common clinical disease. Generally, the light person closes his eyes, and the heavy person feels like sitting in a boat, unable to stand, or accompanied by a series of symptoms such as nausea, vomiting, sweating and even fainting.