There are over 14,000 fields within iGene and the majority of them are available to perform searches on, but they are not all selectable at first. It is not possible to display them all on the front end as the lists would become unusable. Instead, the System Search Filters preference area contains preset search filters and additional search and sort filters can be added here.
System Search Filters are required for searching and ordering lists and tables. Adding a search filter here means it can be used to filter or sort data on another page.
The System Search Filters preference is located under the Administration > Preferences area of iGene.
In order to access the preference area, a user must be a member of a role that has the Administration: Preferences and Administration Menu permissions assigned.
The table for System Search Filters will display the model, name, active status, type and the owner.
The Owner field indicates whether the field was added directly by a user or if it was preset.
User / System: User records have been added by users manually and are fully editable. System records are generally added via a data import or provided by default.
When editing or creating a System Search Filter, the below form opens to complete.
Always press Save in the bottom right hand corner of the browser after adding or editing a System Search Filter.
(Required)
This describes which page the search filter will be used on.
An easy way to find the model, is to navigate to the location / page you want the search filter field to be added to and next to the ‘Search Filters’ button is the ‘Print’ button. Press the Print button and a small box will pop-up containing a heading and a list of any available reports. The heading will contain the Model you require.
In the image below, The print box shown on the Preferences table describes reports for ‘PreferencePanel’ and this is the model that would be selected from the dropdown for the model field.
(Required)
A name for the search filter. It is advisable to keep this unique.
(Required)
There are two types available, filter or sort:
(Required)
Typically, the following items are used:
(Required)
Displays the path selected by using the Select Path button.
Pressing this button brings up a pop-up window starting at the root selected in the Model field.
The pop-up is a representation of the fields within iGene. Please refer to the guide on how iGene is structured [TO DO] should more information on where a field is located if needed.
See Example below for instructions on how to use the pop-up.
A checkbox to activate / deactivate an entry. If the preference is not active, it will not be selectable in any drop down lists.
This example will create a filter that appears on the Patient List page and enables a search for a patient’s first name.
Each item has an active status that specifies whether the item is available for selection. When deactivating an item, it will no longer appear in autocomplete lists for selection, but will still be displayed on any records that continue to use it.
To deactivate (or reactivate) a System Search Filter, either:
- Untick the Active checkbox inside the preference and press Save.
Or
- Right-click on the required entry in the table and select Activate/Deactivate Search Filter Entry. Click Yes when prompted.
The active state of the System Search Filter will then be changed to either Yes or No. Inactive records are also highlighted in red.
Adding a a filter or sort function here means they can be selecting when searching and ordering on different pages in iGene.