Construction has been completed on a new medical research building in Edinburgh, which is set to open next Spring.