Emergency : need to add a functionality to my code

i am building an electronic health record system using python.i want to add a new functionality that allows to show the trend of the health parameter (h1bAc, diabetes,blood pressure etc.) in a graphical format using a voice command.like when i give the command h1bAc as a voice command it should be showing the trend of that parameter in a graphical format.how do i create the functionality i have no idea about it.please help me .

the above link is the github link of the code.

what tools are you using? what research have you done?