Details
-
Type:
Task
-
Status: Closed
-
Priority:
Should
-
Resolution: Won't Fix
-
Affects Version/s: OpenMRS 1.9.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Complexity:Medium
-
Development:
Description
TODO: get rid of the potentially-expensive call to getAllPatients()
File: /openmrs/api/src/main/java/org/openmrs/api/db/hibernate/HibernatePatientSetDAO.java
Line: 2127
Since members of a relationship aren't necessarily Patients, but we're supposed to be returning
just patients, all patients are fetched to compare against.
We therefore need a smarter solution which does not require loading all patients!!!
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
TRUNK-324 Go through the TODO items code and create tickets out of them
-
- Ready for Work
-