Could adverse reactions of antibiotic drugs in children be detected in a prescription database?

Could adverse reactions of antibiotic drugs in children be detected in a prescription database?