To create a table and add it to the table grammar:
Dragging the Patient Demographics Table into the Table Grammar Panel
Selecting the PID Segment as the Grammar Root
For more information about Table Grammar or Grammar Roots, see Table Grammar or Selecting a Grammar Root.