This shortcut will calculate your Body Mass Index for all the weight entries available in Health.
Running the job repeatedly will not create duplicate entries.
It works best as a companion script of https://shortcutsgallery.com/shortcuts/log-my-weight/, and ran automatically after logging your weight with Siri.
— SangucheDeChorizo