When adding appointment duration should be computed automatically based on the default time assigned for types