adds appointment closure for doctor