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

getIOPReadingRight() public method

public getIOPReadingRight ( $patient )
    public function getIOPReadingRight($patient)
    {
        if ($episode = $patient->getEpisodeForCurrentSubspecialty()) {
            if ($iop = $this->getElementForLatestEventInEpisode($episode, 'models\\Element_OphCiExamination_IntraocularPressure')) {
                return $iop->getReading('right');
            }
        }
    }
OphCiExamination_API