Two hospitals in Lewiston were ranked highest in safety measures for surgeries in Maine, according to a survey released by Consumer Reports Thursday.

St. Mary’s Regional Medical Center and Central Maine Medical Center, both in Lewiston, rated highest on a scale of 100 in the survey. St. Mary’s rated a 67, scoring higher than other Maine hospitals in categories such as bloodstream infections, rate of readmissions and surgery-adverse events. CMMC rated a 61.

Among the six hospitals in Maine that were given safety scores in the survey were MaineGeneral Medica Center in Waterville, which received a 58; St. Joseph Hospital in Bangor, which received a 55; Eastern Maine Medical Center in Bangor, which received a 52, and Maine Medical Center, which received a 47. While other hospitals in Maine were rated on some individual measures, no others were given general safety scores. The Consumer Reports website indicated that some hospitals did not receive overall scores because some data was not released.

The survey rated hospitals nationwide, using data from the Center for Medicare and Medicaid Services, on measures including hospital practices, patient experience and outcomes, using data on rates of infections, readmissions, scanning and complications after surgery.

A survey released in July by U.S. News and World report ranked Maine Medical Center as the best hospital in Maine in specialty care categories. In the Consumer Reports survey, Maine Med received mixed results.

In 2013, the Leapfrog Group, a health care trade industry group, gave Eastern Maine Medical Center, Central Maine Medical Center and Maine Med “A” ratings.