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

getLetterVisualAcuityForEpisodeBoth() public method

Get the VA string for both sides.
public getLetterVisualAcuityForEpisodeBoth ( $episode, boolean $include_nr_values = false ) : string
$episode
$include_nr_values boolean flag to indicate whether NR flag values should be used for the text
return string
    public function getLetterVisualAcuityForEpisodeBoth($episode, $include_nr_values = false)
    {
        $left = $this->getLetterVisualAcuityForEpisodeLeft($episode, $include_nr_values);
        $right = $this->getLetterVisualAcuityForEpisodeRight($episode, $include_nr_values);
        return ($right ? $right : 'not recorded') . ' on the right and ' . ($left ? $left : 'not recorded') . ' on the left';
    }
OphCiExamination_API