Calendar Categories

From OpenEMR Project Wiki

Why Customize?

The reasons to customize the Calendar Categories are:

  1. to have specific types of visits for a particular practice.
  2. to color code the types of visits to facilitate scheduling of appointments.
  3. to block off durations of visits thereby decreasing repetitive tasks.
  4. to have a bird's eye view of the type of past visits to facilitate planning of appointments.
  5. to have an aesthetically pleasing Calendar.

Module Location

Calendar Categories can be found via Administration/Other/Calendar and clicking the link for Categories.

Category Types

There are two types, Patient and Provider.


These are the default Patient Categories. Calendar1.png


These are the default Provider Categories. Calendar2.png



Some of the Categories cannot be deleted, namely 1 though 4, 8 and 11. Their attributes can be changed. It is important not to rename the In Office and the Out Of Office events because the Calendar will not function properly in their absence. Their colors can be changed without repercussions. Calendar3.png

In addition to deletion of the remaining Categories, new Categories can be added. Calendar4.png


If the offered color palette is insufficient, vastly more choices can be obtained here. If a color is the incorrect shade, clicking the color code will bring up dark or lighter shades. Calendar7.png Calendar8.png

Completion of Choices

After all the attributes have been changed and the duration of the visit designated, click go for each Category. On the next screen, click Yes! to confirm the changes. Calendar5.png Calendar6.png

Out Of Office Event

If the color for the Out Of Office event cannot be changed, the .css file must be altered. Go to xampp\htdocs\openemr\interface\themes\ajax_calendar.css and change the color code in Line 339. Calendar9.png

If the color does not load; clear the browser cache, as shown below for Firefox. Calendar10.png


Visit Category and Add Event

The visits will be alphabetized in the Visit Category drop down menu and in the Add Event dialog. Staff can quickly find and choose the type of visit. Calendar13.png Calendar12.png

Encounter List

A quick perusal of the Encounter List would prevent staff from scheduling duplicate visits and allow the practitioner to have a thumbnail sketch of past visits. Calendar11.png

Aesthetics and Functionality

We refer to the Calendar multiple times in the work day, therefore it should be aesthetically pleasant and functionally simple to use. C33.PNG Colors used in the above Calendar:

  1. E0E0FF, Light Perwinkle, In Office.
  2. CCFFCC, Mint Green, Catherine Aragon.
  3. CCFFFF, Baby Blue, Anne Boleyn.
  4. FFCCCC, Ham Pink, Henry Tudor.
  5. 66FFCC, Light Teal, Jane Seymour.
  6. 33FFFF, Aquamarine, Anne Cleves.
  7. FFFFCC, Light Maize, Lunch.
  8. FFE1DD, Pale Ham Pink, Catherine Howard.
  9. 9CFFC4, Light Jade, Catherine Parr.
  10. FFD1FF, Light Lavender, Mary Tudor.
  11. FFDFB8, Light Peach, Elizabeth Tudor.
  12. E1FF68, Pale Chartreuse, Edward Tudor.