Electronic patient record systems and software