Adding a conditional when type is for lab the id changes.
Adding modification on triggers and controller to show the right information.