Benefits of using an electronic health record