Code Documentation for Create Appointment