Australians who don't want a personal electronic health record will have from July 16 to October 15 to opt-out of the national scheme the federal government announced on Monday.

Every Australian will have a My Health Record unless they choose to opt-out during the three-month period, according to the Australian Digital Health Agency.

The announcement follows the release of the government’s secondary use of data rules earlier this month that inflamed concerns of patient privacy.

Under the framework, medical information would be made available to third parties for public health and research purposes from 2020 unless individuals opted out.

Commercial organisations can apply for access to the data but must prove it is in the public interest.