/**
  * @see parent::loadComplete()
  */
 function loadComplete()
 {
     parent::loadComplete();
     if (!$this->_ref_patient) {
         $this->loadRefPatient();
     }
     $this->_ref_patient->loadRefLatestConstantes();
     if (!$this->_ref_actes_ccam) {
         $this->loadRefsActesCCAM();
     }
     foreach ($this->_ref_actes_ccam as $_acte) {
         $_acte->loadRefExecutant();
     }
     $this->loadRefConsultAnesth();
     foreach ($this->_refs_dossiers_anesth as $_dossier_anesth) {
         $_dossier_anesth->loadRefOperation();
     }
 }
Beispiel #2
0
 /**
  * @see parent::loadComplete()
  */
 function loadComplete()
 {
     parent::loadComplete();
     // Chek if operations were loaded yet (cf ExObjects)
     $operations = $this->_ref_operations;
     if ($operations === null) {
         $operations = $this->loadRefsOperations();
     }
     foreach ($operations as $operation) {
         $operation->loadRefsFwd();
         $operation->loadBrancardage();
         $operation->_ref_chir->loadRefFunction();
         $operation->_ref_chir->loadRefSpecCPAM();
         $operation->_ref_chir->loadRefDiscipline();
     }
     foreach ($this->_ref_affectations as $affectation) {
         $affectation->loadRefLit();
         $affectation->_ref_lit->loadCompleteView();
     }
     if ($this->_ref_actes_ccam) {
         foreach ($this->_ref_actes_ccam as $acte_ccam) {
             $acte_ccam->loadRefsFwd();
         }
     }
     $this->loadExtDiagnostics();
     // Chargement du RPU dans le cas des urgences
     $this->loadRefRPU();
     if ($this->_ref_rpu) {
         $this->_ref_rpu->loadRefSejour();
     }
     $this->loadNDA();
     // Chargement de la consultation anesth pour l'affichage de la fiche d'anesthesie
     $this->loadRefsConsultAnesth();
     $this->_ref_consult_anesth->loadRefConsultation();
     $this->loadSuiviMedical();
     $this->_ref_patient->loadRefPhotoIdentite();
 }