Abstracting pain management documentation from the electronic medical record: comparison of three hospitals.