Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Patient Dashboard Tabs Loaded via AJAX

Primary mentor

Unlicensed user Jeremy Keiper

Backup mentor

 

Assigned to

Nimantha Baranasuriya

...

Excerpt

The existing OpenMRS patient dashboard is comprised of demographics information followed by data separated into tabs. The number of tabs increases as modules take advantage of the location, and some tabs hold quite a bit of information. Rendering the entire dashboard before sending it to the browser makes it arguably the slowest loading page in the entire webapp. In fact, quite often only one tab is useful to a given user. We already maintain a last-tab-used variable for rendering purposes, but there is no benefit if the rest still have to be rendered.

This project should address the patient dashboard load problems by allowing an administrator to direct tabs to be rendered on-demand via AJAX.

Project Champions

Objectives

  • Faster patient dashboard loading when AJAX Patient Dashboard Tabs are turned on
  • Retained last-used-tab functionality
  • Ability for an administrator to toggle AJAX for each registered patient dashboard tab (e.g. Demographics, Form Entry)
  • Ability for modules to register tabs so they can be optionally by loaded via AJAX
  • Backwards compatibility with modules providing patient dashboard tabs (e.g. XForms)
  • Documentation in the OpenMRS wiki on how to manage patient tab settings

...