added calculation if appointment is observable