json template for doctor with appointments