get_entity coud have a overload to be called with two
parameters
($entity_type, $info_data_id)
so, for instance, instead of
$cirurgia = $GLOBALS['concisus']->db_hl->get_entity(array(
'entity_type' => 'cirurgia',
'info_data_id' => $idCirurgia
));
I could call
$cirurgia =
$GLOBALS['concisus']->db_hl->get_entity('cirurgia',$idCirurgia);
ok.