Does the spleen pill cure atrial fibrillation in heart disease?

Heart disease and atrial fibrillation belong to the category of palpitation (rapid heartbeat, often accompanied by panic) in traditional Chinese medicine. Gui Spleen Pills can treat heart disease and atrial fibrillation, which belongs to the syndrome of deficiency of the heart and spleen (weakness of the heart and spleen organs).
Gui Spleen Pill is composed of Radix Codonopsis Pilosulae, Rhizoma Atractylodis Macrocephalae, Radix Astragali, Radix et Rhizoma Glycyrrhizae, Poria, and Radix Polygoni Multiflori. It has the effects of benefiting qi and strengthening the spleen (regulating the qi of the spleen and stomach), nourishing blood and tranquilizing the mind (stabilizing the mind and soothing the emotions by nourishing the blood). It is used for the treatment of shortness of qi and palpitation caused by deficiency of heart and spleen, insomnia and dreaminess, dizziness and lightheadedness, tiredness and weakness of limbs, and loss of appetite.
Adverse effects of Gui Shen Wan: Cases of causing gastrointestinal discomfort and skin rash have been reported.
If there is a need for medication, it should be used under the guidance of a physician and should not be purchased and taken on its own to avoid adverse effects on the body.