Created and registered a health check.