OpenEMR Tags & Filters Demo

kchapple wrote on Thursday, April 14, 2016:

Hey fellow EMRers,

I wanted to show you a demo video of a feature that myself and Mi-Squared are currently developing.

Essentially what we’ve done is
1- Developed a framework for adding plugins that enable hooks and filters to inject code with minimal impact on code-base, as well as framework code for creating dynamic tables, MVC-style architecture, and autolading of class libraries. This will allow us to easily add features in the future and save time implementing new features.
2- Designed a generic system for tagging entities and filtering by tags. This is currently only implemented for patients, but could be enhanced to include other entities.
3- Using the framework, developed screens to manage Tags and Filters, and a user interface for applying tags to patients.
4- Implemented a rule-builder for creating filters which allows a user to create flexible time-sensitive filters on patient data.

Still ToDo:
~Create interface for easily bulk tagging patients
~Integrate filters with existing GACL ACL (done some research and test implementation with this)
~Add Filtering capabilities for menus (once Kevin’s DB-driven menu is integrated,) and filtering for forms.
~Prune code and eliminate redundant code.

Demo video:

Here is a live site which has the most recent code deployed:

Code URL: GitHub - kchapple/openemr at tags_filters

We have a demo online, shoot me an email if you’d like to play with the feature first-hand.

Kenneth Chapple
ken@mi-squared.com

osverdlov wrote on Thursday, April 14, 2016:

The demo is impressive. Is it possible to restrict certain patients to
users?

Oleg.

kchapple wrote on Friday, April 15, 2016:

The system is pretty flexible. You could create a tag and tag all patients with it, then create filters that hide patients with that tag from everyone in the system, and then allow individual user access to patients.

Ken

kchapple wrote on Friday, April 15, 2016:

You can specifically deny a user access to a patient. I’m not exacly sure what you’re going for, but it’s probably possible.

Ken

bradymiller wrote on Saturday, April 16, 2016:

Hi,
Demo looks nice. Let us know when you want us to look at the code(if so, then should either rebase it into 1 commit or use the pull request mechanism on github, which usually does a nice job of consolidating all the different commit changes into one screen to allow review)
-brady
OpenEMR

teryhill wrote on Monday, April 25, 2016:

I am getting this error whit the code that you have out there.

Terry