CodelistEntry

A single entry in a codelist (controlled terminology).

Usage

Source

CodelistEntry(
    value, label, description=None, synonyms=None, is_deprecated=False
)

Parameters

value: Any

The coded value.

label: str

Human-readable label for the value.

description: str | None = None

Extended description of this entry.

synonyms: list[str] | None = None

Alternative terms for this entry.

is_deprecated: bool = False
Whether this entry is deprecated.