Shared Electronic Health Record Systems: Key Legal and Security Challenges