Medicare will require hospitals to post their standard prices online and make electronic medical records more readily available to patients, officials said Tuesday.

This new policy will go into effect starting Jan. 1, according to the federal rule.