Calendar pre-defined Categories

osverdlov wrote on Thursday, June 09, 2016:

Hi,
We noticed that in the list of pre-defined categories ( 1-11, and for some configurations 12-14 ), two categories are missing: 6 and 7.
We’re developing new feature to allow to track Holidays and the days where clinic is Closed . Can we use 6 and 7 for that purpose?

bradymiller wrote on Thursday, June 09, 2016:

Hi Oleg,

I noted that also while reviewing Visolve’s CQM code. I would probably leave them alone since who knows where they may be hard-coded into the codebase. For a new install, would just tack them to the end. And for the upgrade script rec doing the following:

Note that Visolve’s CQM code will also be adding an active flag and a seq to the categories(won’t affect your code, but just want to make sure you don’t waste time on adding those features).

Also note there is a php7 specific bug related to administration of the categories that has been recently noted here that has not yet been addressed:
https://sourceforge.net/p/openemr/discussion/202506/thread/5cf3b6a0/

-brady
OpenEMR

sunsetsystems wrote on Thursday, June 09, 2016:

Right, there is some hard-coding in the calendar code around the lower-numbered categories. I would leave them alone.

Rod
http://www.sunsetsystems.com/

tmccormi wrote on Thursday, June 09, 2016:

Just stuffing them on the end is going to break anyone that has added new
categories. Most of my customers did.

Tony McCormick, CTO

Support: 866-735-0897, Direct: 713-574-6709
My Calendar: http://bit.ly/XznvDo
“Genuinely evolved interfaces are transparent, so transparent as to be
invisible” - William Gibson

On Thu, Jun 9, 2016 at 6:46 AM, Rod Roark sunsetsystems@users.sf.net
wrote:

Right, there is some hard-coding in the calendar code around the
lower-numbered categories. I would leave them alone.

Rod
http://www.sunsetsystems.com/

Calendar pre-defined Categories
https://sourceforge.net/p/openemr/discussion/202506/thread/0c381c4c/?limit=25#bee5

Sent from sourceforge.net because you indicated interest in
OpenEMR / Discussion / Developers

To unsubscribe from further messages, please visit
SourceForge.net: Log In to SourceForge.net


Please be aware that e-mail communication can be intercepted in
transmission or misdirected. Please consider communicating any sensitive
information by telephone. The information contained in this message may be
privileged and confidential. If you are NOT the intended recipient, please
notify the sender immediately with a copy to hipaa-security@mrsb-ltd.com and
destroy this message.

bradymiller wrote on Friday, June 10, 2016:

Hi Tony,

The upgrade code does this in a smart fashion (it finds the maximum category id and then increments from there for the new categories).

-brady
OpenEMR

osverdlov wrote on Friday, June 17, 2016:

It seems that I have created another thread with same subject , sorry
https://sourceforge.net/p/openemr/discussion/202506/thread/0c08ed07/

What I suggest is to move user-defined events to 100 using a small script to update category IDs in Events and Categories. Need to verify that calendar categories table does not relate to any other table besides Events, 99% sure of it.