Hello Preethi,
You can pass the selected parameters to validate on Save action.
Before saving the data, you can include the validation to check whether the slot is already booked or not.
If you need more precise how to achieve that I need to look into the entity how you had structured it.
Can you share your oml for a closer look?
Regards,
Riyaz