OEModule\OphCiExamination\components\OphCiExamination_API::getLetterPosteriorPoleLeft PHP Method

getLetterPosteriorPoleLeft() public method

return the posterior pole description for the given eye. This is from the most recent examination that has a posterior pole element.
public getLetterPosteriorPoleLeft ( Patient $patient )
$patient Patient
    public function getLetterPosteriorPoleLeft($patient)
    {
        if ($episode = $patient->getEpisodeForCurrentSubspecialty()) {
            if ($ps = $this->getElementForLatestEventInEpisode($episode, 'models\\Element_OphCiExamination_PosteriorPole')) {
                return $ps->left_description;
            }
        }
    }
OphCiExamination_API