RED-7712 - Published information does not always trigger the skip mechanism
This commit is contained in:
parent
67cf5659d4
commit
7eb0abf4da
@ -149,8 +149,8 @@ rule "CBI.7.1: Do not redact Names and Addresses if published information found
|
||||
$table: Table(hasEntitiesOfType("published_information"), hasEntitiesOfType("CBI_author"))
|
||||
$tableCell: TableCell() from $table.streamTableCells().toList()
|
||||
$sameRowCell: TableCell(row == $tableCell.row) from $table.streamTableCells().toList()
|
||||
TextEntity(type == "published_information") from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author") from $tableCell.getEntities()
|
||||
TextEntity(type == "published_information", active()) from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author", active()) from $tableCell.getEntities()
|
||||
then
|
||||
$author.skipWithReferences("CBI.7.1", "Published Information found in row", $table.getEntitiesOfTypeInSameRow("published_information", $author));
|
||||
end
|
||||
|
||||
@ -332,8 +332,8 @@ rule "CBI.7.1: Do not redact Names and Addresses if published information found
|
||||
$table: Table(hasEntitiesOfType("published_information"), hasEntitiesOfType("CBI_author"))
|
||||
$tableCell: TableCell() from $table.streamTableCells().toList()
|
||||
$sameRowCell: TableCell(row == $tableCell.row) from $table.streamTableCells().toList()
|
||||
TextEntity(type == "published_information") from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author") from $tableCell.getEntities()
|
||||
TextEntity(type == "published_information", active()) from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author", active()) from $tableCell.getEntities()
|
||||
then
|
||||
$author.skipWithReferences("CBI.7.1", "Published Information found in row", $table.getEntitiesOfTypeInSameRow("published_information", $author));
|
||||
end
|
||||
|
||||
@ -145,8 +145,8 @@ rule "CBI.7.1: Do not redact Names and Addresses if published information found
|
||||
$table: Table(hasEntitiesOfType("published_information"), hasEntitiesOfType("CBI_author"))
|
||||
$tableCell: TableCell() from $table.streamTableCells().toList()
|
||||
$sameRowCell: TableCell(row == $tableCell.row) from $table.streamTableCells().toList()
|
||||
TextEntity(type == "published_information") from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author") from $tableCell.getEntities()
|
||||
TextEntity(type == "published_information", active()) from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author", active()) from $tableCell.getEntities()
|
||||
then
|
||||
$author.skipWithReferences("CBI.7.1", "Published Information found in row", $table.getEntitiesOfTypeInSameRow("published_information", $author));
|
||||
end
|
||||
|
||||
@ -332,8 +332,8 @@ rule "CBI.7.1: Do not redact Names and Addresses if published information found
|
||||
$table: Table(hasEntitiesOfType("published_information"), hasEntitiesOfType("CBI_author"))
|
||||
$tableCell: TableCell() from $table.streamTableCells().toList()
|
||||
$sameRowCell: TableCell(row == $tableCell.row) from $table.streamTableCells().toList()
|
||||
TextEntity(type == "published_information") from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author") from $tableCell.getEntities()
|
||||
TextEntity(type == "published_information", active()) from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author", active()) from $tableCell.getEntities()
|
||||
then
|
||||
$author.skipWithReferences("CBI.7.1", "Published Information found in row", $table.getEntitiesOfTypeInSameRow("published_information", $author));
|
||||
end
|
||||
|
||||
@ -332,8 +332,8 @@ rule "CBI.7.1: Do not redact Names and Addresses if published information found
|
||||
$table: Table(hasEntitiesOfType("published_information"), hasEntitiesOfType("CBI_author"))
|
||||
$tableCell: TableCell() from $table.streamTableCells().toList()
|
||||
$sameRowCell: TableCell(row == $tableCell.row) from $table.streamTableCells().toList()
|
||||
TextEntity(type == "published_information") from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author") from $tableCell.getEntities()
|
||||
TextEntity(type == "published_information", active()) from $tableCell.getEntities()
|
||||
$author: TextEntity(type == "CBI_author", active()) from $tableCell.getEntities()
|
||||
then
|
||||
$author.skipWithReferences("CBI.7.1", "Published Information found in row", $table.getEntitiesOfTypeInSameRow("published_information", $author));
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user