Details
-
Bug
-
Status: Closed
-
Could
-
Resolution: Won't Fix
-
None
-
None
-
Medium
-
Description
The 'patientRegimen' portlet included on the patient dashboard takes too long to render.
Profiling says that a lot of time is spent in RegimenPortletController.populateModel (much of which is in getConcept(String), so this may be sped up by caching concepts). Also, the drugOrder.js.withjstl file seems to take a non-trivial amount of time to process. (Since this js file is not cached, that's a problem.)
From my recollection of the code, it is probably worth rewriting the whole portlet rather than trying to optimize it in its current form.
(Make sure you are looking at a patient that has drug orders, and that the 'dashboard.regimen.displayDrugSetIds' global property is set.)
Gliffy Diagrams
Attachments
Issue Links
- depends on
-
TRUNK-25 Edit drug order needs a link back to the patient's dashboard
-
- Closed
-