add configuration for appointment and servicerecord