bugfix
creating last appointment of patient