How do I change how the medication history is grouped?

How do I change how the medication history is grouped?

  1. Click Historical View, then click the button below the list, then select field you want to group by.