Adding the code for handling status and categoris for patients. Categories is almost complete (I may need to add the other code), but status requires additional work due to the need of changing the status for patients in an easier way.