Proposed layout changes

sunsetsystems wrote on Tuesday, November 28, 2006:

Hi everyone,

I have a client who wants to do something about the problem of too much clicking-and-waiting to get from one place to another in OpenEMR.  For example it would be nice if you could work with prescriptions when you are composing a patient note for someone to handle a pharmacy callback.

I think I see a fairly easy solution for this, but it involves using frames more rather than less.  Some people have expressed a desire to get rid of the frames, so it seems best to invite some discussion here.

What I’m thinking is to divide the screen vertically into four frames, any of which may be hidden (i.e. fully collapsed), and any two or more of which may be viewed concurrently.  Two of these four frames would be further sub-divided horizontally into more frames.

There would also be a new frame on the left, just for navigation (i.e. to select which frames are visible).  This would give you checkboxes or toggle buttons to select which of the above frames are open (there would be reasonable defaults), and in addition you can drag the frame borders around to adjust sizes.

The four main frames would be:

(1) Shows one of: Calendar, Password, Admin, Reports, Notes, Fax/Scan, or Billing.

(2) Shows patient notes, like the current bottom frame that you see after login.

(3) For the selected patient, shows one or more of the following frames:
. (a) Demographics
. (b) History
. (c) Selected or new encounter
. (d) One of: Notes, Transactions, Documents or Report

(4) For the selected patient, shows one or more of the following frames:
. (a) Summary of issues, immunizations and prescriptions
. (b) A new or selected prescription
. (c) The patient’s list of encounters

Comments?  None of this would preclude anyone later from rewriting dozens (hundreds?) of modules later and doing it all Ajax-style, without frames.  I’m just looking for some easy solutions to annoying problems right now.

Thanks,

Rod
www.sunsetsystems.com

michael_barnett wrote on Tuesday, November 28, 2006:

I think it would be nice if the customer could set a preference on what frame comes up when. instead of the calender maybe they just want patient demo or a certain report to come up.

I’m just talking about the default page on each of the menu’s

I am just now experimenting with AJAX and would be interested in learning AJAX while building modules for Open EMR.
Hopefully there is an ace AJAX person out there that can tutor or guide a noob. 

sunsetsystems wrote on Tuesday, November 28, 2006:

Sure, defaults are easy.  Thanks for the input.

Re Ajax and more generally the issue of major rewriting, I think it would be interesting to look into doing it as a collection of Drupal (www.drupal.org) modules.  I’ve recently rebuilt my web site with Drupal and was impressed with its modular design and overall quality… it seems very suitable to use as a framework for specialized web applications.

Rod
www.sunsetsystems.com

markleeds wrote on Wednesday, November 29, 2006:

It sounds interesting.  Do you have any screenshots?

sunsetsystems wrote on Wednesday, November 29, 2006:

I’ll have screenshots soon… have to actually do some of the work first.  :slight_smile:

Rod
www.sunsetsystems.com

tekknogenius wrote on Tuesday, December 05, 2006:

If it makes it easier to use for the physicians and more functional I’m all for it.

sunsetsystems wrote on Thursday, December 07, 2006:

I’ve been rethinking it a bit, and decided that four main frames is too big a mess.  So I reduced it to two – however these may be further subdivided according to context.

It’s still very much in flux – you can find a current screenshot at http://www.sunsetsystems.com/images/flexible_layout.jpg .  It’s not so much different in appearance, but the big improvement is that you can bounce around the different views without having to “close” the current patient, or look up the same patient (or encounter) again that you just left.  Note also that the top and bottom views can be changed independently.

More to come.  Suggestions appreciated!

Rod
www.sunsetsystems.com

sunsetsystems wrote on Saturday, December 09, 2006:

There’s a new screenshot at http://www.sunsetsystems.com/images/flexible_layout2.jpg .

This time we have the ability to assign any page to either frame – the radio buttons on the left are for the top frame, and the ones on the right for the bottom frame.

Notice that navigation items that are inappopriate because there is no selected patient or encounter are greyed out and disabled.

Also depicted here is an "address book" module that I recently checked in to CVS, but which is unrelated to the layout project (none of which is yet in CVS).

Any feedback or suggestions?

Rod
www.sunsetsystems.com

michael_barnett wrote on Saturday, December 09, 2006:

Very nice

Hey guys looks like I’m back on task starting January. The company I worked for now wants to finish the emr side fo the business. I love the new look.

sunsetsystems wrote on Monday, December 11, 2006:

It’s getting closer!  Not done yet; I’ve checked in changes to about 60 modules so far… most of them minor and straightforward.  Unfortunately all of the encounter forms need a minor fix.

In case anyone is worried, this is an *optional* feature, controlled by a switch in globals.php.  I’ve tried to be very careful – apologies in advance if I’ve broken anything.  :slight_smile:

For those interested, most of the interesting code, as well as extensive comments, are in the new module interface/main/left_nav.php.

Stay tuned.

Rod
www.sunsetsystems.com

sunsetsystems wrote on Monday, December 18, 2006:

Seems to be mostly working now.  Anyone want to help test?  :slight_smile:

The switch $GLOBALS[‘concurrent_layout’] in globals.php turns it on or off.

Rod
www.sunsetsystems.com

drbowen wrote on Monday, December 18, 2006:

When are we going to release 2.8.2?

Sam Bowen

sunsetsystems wrote on Monday, December 18, 2006:

I’ve been waiting for a slow period to do that.  Obviously there hasn’t been one.  Might be able to get to it over the holidays, or perhaps someone else can?

Rod
www.sunsetsystems.com

physmed wrote on Monday, December 18, 2006:

This is for Rod.  If we opt for the layout changes do we have to make changes to all of the self generated encounter forms that we have made so far with formscript?

sunsetsystems wrote on Monday, December 18, 2006:

On briefly looking at formscript.pl, I think you’ll be OK.  If there’s a problem with it that occurs only with the new layout, send me a set of your generated scripts to look at.

Rod
www.sunsetsystems.com

physmed wrote on Monday, December 18, 2006:

Thanks I’ll let you know if they give me grief.

drbosman wrote on Thursday, December 21, 2006:

I have two programmers working with Andres P. to implement the xl() translation module throughout OEMR. They have had to work through all code and once this is done it makes it very easy to translate OEMR to any language. I would like this translation module to be part of 2.8.2.

sunsetsystems wrote on Friday, December 29, 2006:

Is this still happening?  I have not seen any checkins recently other than mine, and I hope these programmers are not working on old versions of modules that have already changed!

Rod
www.sunsetsystems.com