Gravar-mail: Automating the medication regimen complexity index