OEModule\OphCiExamination\components\OphCiExamination_API::getLetterAdnexalComorbidityRight PHP 메소드

getLetterAdnexalComorbidityRight() 공개 메소드

return the adnexal comorbidity for the patient episode on the given side. This is from the most recent examination that has an adnexal comorbidity element.
public getLetterAdnexalComorbidityRight ( Patient $patient )
$patient Patient
    public function getLetterAdnexalComorbidityRight($patient)
    {
        if ($episode = $patient->getEpisodeForCurrentSubspecialty()) {
            if ($ac = $this->getElementForLatestEventInEpisode($episode, 'models\\Element_OphCiExamination_AdnexalComorbidity')) {
                return $ac->right_description;
            }
        }
    }
OphCiExamination_API