/**
  * Load object useful references
  *
  * @param CMbObject $object Object to load the references of
  *
  * @return void
  */
 function loadObjectRefs(CMbObject $object)
 {
     if (isset($object->_object_refs_loaded)) {
         return;
     }
     if (!$object instanceof CAdministration && !$object instanceof CPrescriptionLine && !$object instanceof CPrescription) {
         $object->loadView();
     }
     if ($object instanceof CPrescriptionLineMedicament) {
         $object->isHorsT2A();
         $object->loadClasseATC();
     }
     $object->_object_refs_loaded = true;
 }