JERUSALEM (AP) — Israel announced Wednesday it was launching a domestic digital health database that could make it a global medical powerhouse. The move aims to improve public health worldwide but critics warn it risks compromising personal privacy.

People will get health alerts before they become patients, helping prevent disease early with data relevant to each individual, said Eli Groner, director-general of Prime Minister Benjamin Netanyahu's office.

"The database will be unlike anything in the world," he added.

If successful — something he said depends on the number of those willing to participate — the database could be duplicated globally and help diagnose trends worldwide.

Groner said the launch is expected by the end of 2018, stressing that divulging data depends on individual consent and that teams are now hammering out details on how to ensure maximum privacy

The innovation is possible thanks to the fact that most of Israel's 8.7 million citizens are members of four main health care providers, which have been maintaining their records digitally for years.

At his weekly Cabinet meeting, Netanyahu said Sunday the $275 million project is of "historic significance" and that its goal is to improve "preventive medicine" and also achieve "personal medicine, personally calibrated for each person."

The announcement comes as Facebook's privacy practices have come under fire following revelations that it failed to prevent the data-mining firm Cambridge Analytica from amassing personal information about millions of users and that the social network has been collecting Android users' phone call and text message histories without notice.

Critics say the selling of medical records for profit could spell disaster for patient confidentiality.

Tehilla Shwartz Altshuler, a senior fellow at the Israel Democracy Institute, said even data entered anonymously does not guarantee long-term confidentiality and it is unclear what uses will be made in the future with data disclosed now.

"Medical records are the most private information you could think about, it includes DNA, bloodwork, all medical history," she said. "Stuff you may not want insurance companies, employers, spouses, whoever to know — you don't even want Facebook to know so that it won't be able to mesh it up with other information it has about you."