The system allowed me to book 2 appoiintments at same time same dentist. How can I prevent this?

Version 1.3
System let 2 people sign up to the same dentist at the same time.
One appointment was done manually (call in) the other through the website. How can I prevent this?