OEModule\OphCiExamination\components\OphCiExamination_API::getCCTLeftNoUnits PHP Метод

getCCTLeftNoUnits() публичный Метод

public getCCTLeftNoUnits ( $patient )
    public function getCCTLeftNoUnits($patient)
    {
        if ($episode = $patient->getEpisodeForCurrentSubspecialty()) {
            if ($el = $this->getMostRecentElementInEpisode($episode->id, $this->getEventType()->id, 'OEModule\\OphCiExamination\\models\\Element_OphCiExamination_AnteriorSegment_CCT')) {
                if ($el->hasLeft()) {
                    return $el->left_value;
                }
            }
        }
        return 'NR';
    }
OphCiExamination_API