How are the wards of a hospital classified?