How does HIPAA law regulate the management of Electronic Medical Records

How does HIPAA law regulate the management of Electronic Medical Records? What are the safeguards that must be put into place by medical providers to protect personal health information?