Disable calendar "Repeats" feature

OpenEMR Version: 7.0.2

Hi everyone, is there any way to disable the “Repeats” in the calendar? Only have the date, time, and duration only when creating an appointment.

Is there any way to configure how an appointment is created?

Hello @yick - welcome to the OpenEMR community and its forum.

To address your first question, making an appointment a repeating event is optional, since that ‘Repeats’ checkbox does not have to be selected. But the checkbox is a control coded into the event panel. If you want to actually disable or remove the control you would need to modify the code that presents that event panel and all other places that have the checkbox.

The calendar is a feature- rich tool in OpenEMR that can be configured for many use cases. The calendar is discussed in detail in the OpenEMR wiki User Guide:
https://www.open-emr.org/wiki/index.php/OpenEMR_7.0.2_Users_Guide

How to create appointments is detailed in several articles including:
https://www.open-emr.org/wiki/index.php/AllCalendarGlobals-v7
https://www.open-emr.org/wiki/index.php/TheCalendarNotes-v7
https://www.open-emr.org/wiki/index.php/HOWTO:_Create_and_Delete_Recurring_Calendar_Events

The wiki ia a rich source of information about OpenEMR; you might want to browse through it!

Best- Harley

Hi @htuck,

First, thanks you for the welcome :smile:

Thanks for the information. I’ve already looked at some of these articles and user guide you have mentioned.

The feature is great, but it causes some issues. No matter how many times we tell the individual not to use the repeat feature, they forget not to or just plain ignore it. The main one is that at time they ignoring multiple booking.

Also, when a new person takes over the scheduling of appointments, the previous person who trained the individual would sometime forget to mention it.

I was hoping that there were some kind of configuration or restriction that can be used.

Will look into modifying the code :frowning_face:

Once again, thanks for the info Harley.

Regard,
Yick

Hello @yick - you’re v welcome and I’m glad you’re making use of the wiki.

Bridging the gap between developers’ ideas of how to implement a feature and users’ ideas of how it should be done is a constant struggle, isn’t it?

But as I like to say, ‘don’t ask if a computer can be made to do something, ask if it is worth what it costs to make it do it’. Or as applied here, if a business thinks it’s a better value to pay software development costs than to train the staff, then customizing the application is the preferred option.

I am not a developer but I’m pretty sure it should not take much coding to make that ‘repeats’ checkbox invisible. But be careful of unforseen effects because the controls in that event dialog are tied into many other features.

Good luck with your endeavor! And do come back to the forum if you develop any questions- plenty of coders over in the dev- oriented threads are happy to offer their opinions on how to code some action.

Best- Harley