add case hierarchy (care plan) option to hide view button (for pact)