active record queries for lims_accessions