Can someone explain how the menu directives work in the standard.json file?

I don’t have a full understanding of how or what the different titles mean in the menu directives, outside of the obvious “label” and “URL”.

For example: what is the purpose of menu_id and target? Requirement? There is very little documentation that I was able to find on this subject.

Thanks!!

image

Hi Dan,
The menu_id is the id of the menu this menu item will become a part. The target is the id of the iframe/tab the menu item will populate. So menu items belonging to menu_id phb0 can all target the id/named flb tab or target different tabs but all are a part on the menu: pfb0.
The requirement i’m unsure. My guess it is for context i.e requirement: 1 may mean if item exist. or 0 always. I’m just guessing on this and review of code should give insight. If you do track requirement down, be nice to share here for us…

can u assist me to create a new tab , i am trying to add a new menu and add a new tab but after clicking it showing page not found how i resolve this issue.

  1. also i added the new button in standard.json file and also added the path but why i face the problem page not found error.

hi rakesh
could you send us the snippets of the json file that you’ve added?

Thank you for your respond, I have already fixed that issue. But I have one doubt how can I create multiple facilitiy.

  1. We have 3 health care branches.
  2. I want to implement openemr to all the healthcare .
  3. When I create multiple facility for each healthcare then the each data is mixed like patient data, billable item data.
  4. When I create a user for specific facility but it created against each facility since I have choose restrict to facility option.

5.Can you suggest me how I use openemr for our all the healthcare without data mixed up.

  1. I want to do all the data like patient data, user data, billable items data separate facility wise