Skip to content

onconova.terminology.schemas

CodedConcept

Bases: Schema

Represents a coded concept from a terminology system, including its code, system, display name, definition, version, hierarchical parent, synonyms, and additional properties.

Attributes:

Name Type Description
code str

A symbol representing the concept, expressed in the syntax defined by the code system.

system str | None

The unique identifier (usually a canonical URL) of the code system that establishes the meaning of the code.

display str | None

A human-friendly rendering of the concept as defined by the code system, intended for display to end users.

definition str | None

A formal and precise narrative description of the concept, as provided by the code system's definition.

version str | None

The specific version of the code system from which this code was selected.

parent str | None

The code of the immediate parent concept, establishing hierarchical relationships within the code system.

synonyms list[str]

Alternative human-readable terms or phrases for the concept.

properties dict[str, Any] | None

Additional attributes or metadata for the concept, as defined by the code system's property definitions.

code class-attribute instance-attribute

definition class-attribute instance-attribute

display class-attribute instance-attribute

parent class-attribute instance-attribute

properties class-attribute instance-attribute

synonyms class-attribute instance-attribute

system class-attribute instance-attribute

version class-attribute instance-attribute

__hash__()

Source code in onconova/terminology/schemas.py
def __hash__(self):
    return hash(self.__repr__())
runner