Lazy-load patient data in PhenotipsPatient class

Description

made data loaded via controllers to be lazy-loaded. However features and disorders are still loaded every time a Patient object is initialized. However most of the time Patient object is used in UI components to get patient ID/patient document reference, which makes all this parsing unnecessary.

This problem may be exaggerated when a patient class has to be wrapped into a secure patient class for use in velocity scripts

Environment

None

Status

Assignee

Andrew Misyura

Reporter

Andrew Misyura

Labels

None

External issue ID

None

External issue ID

None

Components

Sprint

None

Priority

Medium
Configure