When creating a sample object from DB, the code only creates the datetime_collected field when both date and time are non-null. In some situations there might be barcodes that only has the sampled date or time but not both, so that the db information is not accurately represented in downstream flows (e.g. finding sample summaries). @cassidysymons