Occasionally, medical imaging is used to confirm the diagnosis or rule out other possible causes. The diagnosis of hiatus hernias is often by endoscopy.Groin hernias that do not cause symptoms in males do not need to be repaired. Repair, however, is generally recommended in women due to the higher rate of femoral hernias, which have more complications. If strangulation occurs, immediate surgery is required. Repair may be done by open surgery or laparoscopic surgery. Open surgery has the benefit of possibly being done under local anesthesia rather than general anesthesia. Laparoscopic surgery generally has less pain following the procedure. A hiatus hernia may be treated with lifestyle changes such as raising the head of the bed, weight loss and adjusting eating habits. The medications H2 blockers or proton pump inhibitors may help. If the symptoms do not improve with medications, a surgery known as laparoscopic Nissen fundoplication may be an option.About 27% of males and 3% of females develop a groin hernia at some point in their lives. Inguinal, femoral and abdominal hernias were present in 18.5 million people and resulted in 59,800 deaths in 2015. Groin hernias occur most often before the age of 1 and after the age of 50. It is not known how commonly hiatus hernias occur, with estimates in North America varying from 10% to 80%. The first known description of a hernia dates back to at least 1550 BC, in the Ebers Papyrus from Egypt.
By 1800, Jenners work had been published in all the major European languages and had reached Benjamin Waterhouse in the United States – an indication of rapid spread and deep interest. : 262–67  Despite some concern about the safety of vaccination the mortality using carefully selected vaccine was close to zero, and it was soon in use all over Europe and the United States. In 1804 the Balmis Expedition, an official Spanish mission commanded by Francisco Javier de Balmis, sailed to spread the vaccine throughout the Spanish Empire, first to the Canary Islands and on to Spanish Central America. While his deputy, José Salvany, took vaccine to the west and east coasts of Spanish South America, Balmis sailed to Manila in the Philippines and on to Canton and Macao on the Chinese coast. He returned to Spain in 1806. The vaccine was not carried in the form of flasks, but in the form of 22 orphaned boys, who were carriers of the live cowpox virus. After arrival, "other Spanish governors and doctors used enslaved girls to move the virus between islands, using lymph fluid harvested from them to inoculate their local populations".The first state to introduce compulsory vaccinations was the Principality of Lucca and Piombino on September 25, 1806. On August 26, 1807, Bavaria introduced a similar measure. Baden followed in 1809, Prussia in 1815, Württemberg in 1818, Sweden in 1816, England in 1867 and the German Empire in 1874 through the Reichs Vaccination Act.