Indication Rules are used to identify bib records that need to be edited or enhanced based on the conditions in the indication rule. They are used to filter title sets (logical or itemized) to find bib records that meet the condition of the indication rule, which can then be saved as a new set.
Indication rules:
Indication rules should only be edited by the user who created the rule. To make changes to an indication rule that you don't own, copy it and edit the copy. Rules do not save versions and cannot be restored.
To duplicate an indication rule:
Indication rules can be tested on a bib record in the MD Editor in the following manner:
To test an indication rule when the bib record is opened in the MD Editor first:
To test an indication rule when the rule is opened in the MD Editor first:
Control fields are also known as fixed fields:
Indication rules can use the following control field data elements with conditions:
Control fields are made up of the following elements:
Control Field Element | Definition | Notes |
Control Field (Fixed Field Tag) |
Three-letter or three-digit number assigned to fixed fields
|
|
Position |
The numeric value for the position in the control field
|
|
Length |
The length is the number of characters in the position
|
|
Value |
The content of the control field and position
|
|
NOTE: Control fields can be opened in a form editor in the MD Editor using Ctrl+F (Editing Actions>Open Form Editor). Open the fixed field in the MD Editor to view the position and length.
Data fields are MARC fields and subfields. Indication rules can use the following data field data elements with conditions:
Data Field Element | Definition | Notes |
Tag (MARC field) |
|
|
Indicator |
|
|
Subfield |
|
|
Value |
|
|
Only two actions can be taken with indication rules. The following actions can be used in indication rules:
Actions in the rule:
Indication rule do not need to be complex. They contain:
Example 1: The rule is looking for bib records |
Example 2: The rule is looking for bib Records that contain MARC 490 $a |
Example 3: The rule is looking for bib |
rule ""identify bib records with MARC 490" when exists "490" then set indication."true" end |
rule "identify bib records with MARC 490|a" when exists "490.a" then set indication."true" end |
rule "identify records with 490|a|In a nutshell" when exists "490.a.In a Nutshell" then set indication."true" end |
Example 4: The rule is looking for bib records with control field 007 |
Example 5: The is looking for bib record with control field 007 position 0 is v for video recording |
rule "identify records with control field 007" when existsControl "007" then set indication."true" end |
rule "identify records with control field 007|0,1|v" when existsControl "007.{0,1}.v" then set indication."true" end |
NOTE: Asterisks * can be used to identify all values in a MARC field
exists "5**" - this will find all bib records with notes fields
exists "50*" - this will identify all bib records with notes fields between 500-508
NOTE: An asterisk * can be used to match a string
exists "490.a."*nutshell" - this will look for a string that contains nutshell at the end of the series. It may include other series than "In a nutshell.
More "complex" indication rules can be written to combine more than one condition. When you combine more than one condition parenthesis and boolean terms are used in the rule to indicate what conditions need to be met.
Additional Indication Rule Syntax | Defintion |
( ) Parenthesis |
Parenthesis are used to enclose conditions or a group of conditions to be met by the rule.
Parenthesis can be used to enclose a group of conditions
|
Boolean Terms |
Boolean terms are used between conditions
|
Example 1: Identify records that were published in 2020 that have a Subject Heading of Graphic novels, but not Comic books | Example 2: Identify records that were published in 2020 and either have a subject heading of Graphic Novels or Comic Books |
rule "identify records published 264|c|2020 with 650|*0|a|Graphic novels but not 650|*,0|v|Comic books" when ((exists "264.c.2020") AND (exists "650.{*,*}.a.Graphic novels") AND (not exists "650.{*,*}.v.Comic books*")) then set indication."true" end |
rule "identify records published 2020 with 650|*0|a|Graphic novels and 650|*,0|v|Comic books" when (exists "264.c.2020") AND ((exists "650.{*,*}.a.Graphic novels") OR (exists "650.{*,*}.v.Comic books*")) then set indication."true" end |
Indication rules are used to filter a set of bibliographic records in order to create a subset of records that meet the criteria of the indication rule. They can only be applied to Title sets (All titles, Physical titles, or Electronic titles). The indication rule must be created in the Institution Zone for it to be used to filter a set.
To apply an indication rule to a set:
Deleting indication rules:
To delete an indication rule created by the user: