Hi Arjun - i don’t know if the following will help - it’s something i’ve done to set up custom menus for our users.
this following is a reply that i sent in the topic entitled ‘Create new navbar menu for custom role’
The menus are defined in .json files. You’ll find examples in interface/main/tabs/menu, as well as the folder mentioned below for custom menus
you can place custom menus in the folder sites/default/documents/custom_menus.
you can then specify the menu that a particular user should use, from the ones in the custom_menus folder, by going to admin/users, clicking on the user you are setting up, and looking in ‘main menu role’ for your custom menu.
you can also set up menus for the patient menu role, by putting those in sites/default/documents/custom_menus/patient_menus
To set up a new menu bar copy one of the existing menus and adjust to your needs.
as htuck has said, there is some documentation at Role Based Menus - OpenEMR Project Wiki