My previous mistake when going on a dairy-free diet: too many food restrictions and not enough calcium

I want to describe my mistakes with my previous attempt at going dairy-free. A bit of background – I started experiencing severe abdominal cramps in my 20s, then also I started to have panic attacks, fatigue, and swollen eyelids. I had problems waking up in the morning. I ended up being referred to a psychiatrist, but the medications did not help. Finally an endocrinologist checked my antibodies and found that I had very high levels of thyroid antibodies, so my immune system was attacking and damaging my thyroid. I was put on thyroid medication. I also was referred to a neurologist who then diagnosed me with autoimmune encephalitis (brain inflammation), and I was treated with intravenous steroids (for immunosuppression). At the same time I started reading online a lot about autoimmune diseases and I came across articles about the AIP diet. I was feeling to unwell, so I decided that I had to change my lifestyle, and I started following the AIP diet strictly – no dairy, no gluten, no soy, no grains, no legumes, no nuts, no chocolate, no alcohol. There were a lot of restrictions! You can google this diet, if you are curious.

After the corticosteroid treatment and the diet change, I did start feeling better, I l also lost 20kg, but I still experienced a lot of symptoms such as irritability, leg spasms, feeling of numbness in my fingers, and insomnia. I ended up deciding that there was no scientific evidence for my dietary restrictions, and at some point I went back to eating dairy and gluten, as well as the rest of the foods. I ended up gaining 30kg, and starting to again experiencing paranoia, panic attacks, nightmares, and fatigue.

I recently decided to look into my diet again and instead of going into the extremes – such as the very strict AIP diet, I started with excluding dairy. I also realized that when I was dairy-free the first time, I did not consume any foods with calcium, and that could have been the cause of my muscle cramps and numbness in my hands. This time I looked into non-dairy sources of calcium and calculated how much of those foods I would need to be eating. I have now been dairy free since February, I also went gluten-free and soy-free, as I noticed through multiple observations, that those foods were also causing symptoms for me. I now no longer have any pains in the lower abdomen, I have more energy and was able to attend yoga classes. I have no symptoms of low calcium this time, as I eat canned sardines, canned salmon with bones, and powdered egg shells. I am feeling much better, and I have lost around 22 pounds since February.