Added success and error message on appointment and prescription