Gravar-mail: Development and validation of method for defining conditions using Chinese electronic medical record