[2348] BugFix avoid NullPointer if no patient is set for an appointment