Can we understand population healthcare needs using electronic medical records?