Class: OrderRole
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- OrderRole
- Defined in:
- app/models/order_role.rb
Overview
Order roles are used to provide additional information to users to distinguish between two otherwise identical requests being performed for different reasons. They were initially added to provide quick visual distinction between mammalian and pathogen whole genome sequencing requests, after the two had been unified under the same RequestType and LibraryType.
Essentially this solved the situation where a shared upstream process lead into two distinct downstream processes. In practice though this role would be better handled by other mechanisms, such as library type.
Method Summary
Methods inherited from ApplicationRecord
alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!