/** * Chargement du patient * * @return null|CPatient */ function loadRefPatient() { if (!$this->_avs) { return null; } $patient = new CPatient(); $patient->avs = $this->_avs; $patient->loadMatchingObject(); return $this->_patient = $patient; }