Security and Privacy of Electronic Medical Records