Medical giant HCA Healthcare, which operates 180 hospitals in the U.S. and Britain, says the personal data of about 11 million patients in 20 states may have been stolen in a data breach.

Samples of the data, including addresses, phone numbers, emails and birth dates, were posted to an online forum popular with cybercrooks by a hacker trying to sell them.

The Nashville, Tennessee-based provider said the stolen data was not believed to include Social Security numbers, payment information or clinical info such as diagnoses.

MASSIVE FREE VPN DATA BREACH EXPOSES 360M RECORDS

However, the data did include information on scheduled appointments and medical departments involved. A file dumped online by the hacker on Monday following what appeared to be a failed attempt to extort HCA includes nearly 1 million records from the company's San Antonio division.

If 11 million patients are affected, the breach would rank in the top five as reported by health care institutions to the Department of Health and Human Services Office of Civil Rights. In the worst such hack, affecting the medical insurer Anthem Inc. in 2015, 79 million people. Chinese spies were indicted in that case and there no evidence the stolen data was ever put up for sale.

Hand typing on keyboard, with binary code displayed on computer screen

HCA Healthcare claims about 11 million patients in 20 states may have had their data compromised in a breach. (Jakub Porzycki/NurPhoto via Getty Images)

The hacker, who first posted a sample of stolen data online on July 5, was trying to sell the data and was apparently attempting to extort HCA. They claimed to have 27.7 million records and set a Monday deadline.

A company spokesman did not immediately respond to an email and phone message asking if HCA received an extortion demand.

In a statement posted to its website on Monday, HCA said the data was stolen from "an external storage location" used to "automate the formatting of email messages." HCA did not say when the data was stolen or when it learned of the theft.

DC HEALTH LINK DATA BREACH BLAMED ON BASIC HUMAN ERROR

The company said it would offer credit monitoring and identity theft protection "where appropriate." It cautioned that patients should be wary of phone calls, emails and text messages.

HCA listed facilities in 20 U.S. states from Alaska to Virginia where people who received services might be affected.

In addition to hospitals, HCA Healthcare runs 2,300 ambulatory sites including surgery and urgent care centers and free-standing emergency rooms. It reports treating 37 million patients annually.

CLICK HERE TO GET THE FOX NEWS APP

Health care is classified by the U.S. government as one of 16 critical infrastructure sectors, and health care providers are seen as prime targets for hackers.