pharmaceutical divert and merge