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

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

Get the latest left CCT measurement.
public getCCTLeft ( Patient $patient ) : string
$patient Patient
Результат string
    public function getCCTLeft($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 . ' µm';
                }
            }
        }
    }
OphCiExamination_API