Edit for use with packages, clean
Functions for health analyses with share
Changes to create simulation package