H.D. Smith secures majority ownership in patient assistance firm Triplefin