Collar
Open the demo

Collar › Rules › Project › R110

Rules · Project

R110 · List code never used

Info Project

A code nobody uses is clutter in every picker and legend, and often the twin of a code that is used (BAS and BASALT). Retire it (active = false) or merge it as a synonym.

01

What it checks

Reports a code in the code_list table that no row of any table uses, for each list that at least one column uses.

02

Why it matters

Unused codes clutter every picker and legend, and an unused code is often the twin of one that is used (BAS and BASALT). This is info only.

03

What to do

Retire the code, or map it as a synonym of its used twin. Collar offers: Retire the code (it sets active to false).

04

The fixes Collar offers

  • Set one cell (a generic fix: mark accepted, set a reason, set a status).

From Collar 1.1.0's rule catalogue. The same text is in the app under Help.