Development of agent-based models for healthcare: applications and critique