lab QMS cost factors