Sort lab test results by date on main labs page.
Fixed couple issues with referrals.
Updated ERD documentation
Added script to generate barcodes and create labels for priority numbers.
Added basic handling of priority numbers for guards and staff.