OEModule\OphCiExamination\controllers\DefaultController::setElementDefaultOptions_Element_OphCiExamination_Allergy PHP 메소드

setElementDefaultOptions_Element_OphCiExamination_Allergy() 보호된 메소드

Set the allergies against the Element_OphCiExamination_Allergy element.
    protected function setElementDefaultOptions_Element_OphCiExamination_Allergy($element, $action)
    {
        if ($action == 'create' || $action == 'update') {
            $this->allergies = $this->patient->allergyAssignments;
        }
    }
DefaultController