produnis wrote on Thursday, March 13, 2014:
Hi Peter,
you could try the following alternative (though you won’t be able to plot 2 lines in one graph, yet, but you will be able to plot anything you like)
Please check out my branch “Pieter” on github,
https://github.com/produnis/openemr/tree/Pieter
and set up a test-webinstance with this code.
In openemr, got to “Administration => Other => Forms” and install the “track_anything” form. Give it the “Clinical”-Category.
Go to “Procedures => Configuration” and create a new “Add to top level”.
Give it the name “Track XY” and ignore all other fields (if you wish, you can fill out any field, but it is not necessary). Hit “Save”.
Your “Track XY” should now show up in the list of all procedures. Click “Add” on the very right of Track XY and add any item you wish to track, eg add “Glucose”, add “Oxy”, add “Something else”.
So, you now should have a top-level-procedure “Track XY” which consists of several items you wish to track.
Go to any patient encounter.
Select from “Clinical” => “Track anything”.
Select the procedure to track => “Track XY”
Type in your data and hit “save”. Type in next data…
hit “stop” if you are done.
Now your data should show up in the encounter summary, giving you a “graph”-button. Click on that button and a graph will popup.
This way I am tracking patients’ glucose.
I put all the data I wish to plot into one encounter-track.
If you do this for several encounters, a button “track history” will show up, giving you the possibility to graph the data for any encounter seperately.
This way you might solve the problem of having a graph including all old (maybe outdated) vitals-data…
Hope my english was understandable

Greetings
Joe
PS: I merged the code into my “track_anything2”-branch, which has a demo-instance here:
http://demo.open-emr.org:2105/openemr
It updates at 9:12 AM Pacific time, so you have to wait some 18h from now in order to test the stuff there…