Merge branch 'RED-7712' into 'master'
RED-7712 - Published information does not always trigger the skip mechanism Closes RED-7712 See merge request redactmanager/redaction-service!192
This commit is contained in:
commit
5a4947372f
@ -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