Eranga's hospitalisation takes place just two days ahead of the first ODI in Nottingham.
His absence will be a blow to Sri Lanka who missed the services of Dhammika Prasad and Dushmantha Chameera during the Test series.
Eranga had been called for a suspect action during the second Test at Chester le street. He was to face a bowling test at the Loughborough University tomorrow (June 19).
There was a danger of him being asked to be sidelined in the event of him proving to bend his arm more than the allowed 15 degrees, SLC sources said.