I think your doctor is saying your blood sugar levels drop. Sweets aren't the best way to correct this.
Craving chocolate is often a sign of magnesium deficiency. We need more magnesium around the time of our period I think but don't quote me on that. A better source of magnesium is to spray magnesium 'oil' on the skin after a shower...because it doesn't have sugar! Magnesium Chloride is best as it is more easily absorbed by the skin into your body than other forms of magnesium. Magnesium supplements are not well absorbed by the body but Magnesium Citrate is one of the forms that is absorbed more easily. The spray I use is Better You betteryou.com/magnesium-oil... I also bulk buy Mg Cl flakes (cheaper) and use in my baths.
Craving sweet things could also signify imbalance of intestinal flora and in particular overgrowth of Candida Albicans which is very common. It's often referred to as just having 'Candida' or Candidiasis. These organisms feed on sugar and will result in cravings. Plenty of dietary advice online.
Sugar is inflammatory and will ultimately make symptoms worse. It also can cause constipation which is not desirable.
There seems to be a craze for 'sugar free' at the moment but many recipes still use sugar albeit in different forms. Refined sugar is the real baddy to avoid. Maybe you could start by trying to reduce sugar consumption by eating fruit and forms of sugar that are less refined like raw honey, dates etc. I don't eat any refined sugar or sweets anymore apart from a rare treat. I put molasses in my morning porridge but used to use honey. Be careful of using too many sugar replacements. Honey is still sugar fir example. Avoid the commercial supermarket bought honeys.
This site is good for sweet treats that are slightly better for us deliciouslyella.com Click top right to access search facility and recipes. I made these over the weekend with raspberries and they were very good deliciouslyella.com/strawbe...
Also this site ohsheglows.com/categories/r...
I made these last night in a few minutes and they are really great dietitianwithoutborders.com... I prefer pecan nuts and don't bother with the sultanas.
This recipe for chocolate mousse fooled my nieces and nephews. They couldn't guess what was in it peacewithendo.com/2015/01/a... Her site is dedicated to endo and is truly fantastic as is her book available on Amazon and kindle.
So you see, you can get your sweet treats in healthier ways and many ingredients even have health benefits such as cacao, coconut, avocado, pecans.