Terminology Service
Component Detail
Service Layer
medium complexity
Shared Component
backend
1
Dependencies
1
Dependents
4
Entities
0
Integrations
Description
Backend service that manages the terminology override map for each organization. Handles CRUD operations on the JSONB terminology column in organization_settings, serves the active terminology map as part of session bootstrap, and provides default label resolution when no override exists.
terminology-service
Responsibilities
- Read and write terminology overrides to the organization_settings JSONB column
- Serve the active terminology map during session bootstrap payload
- Merge organization overrides with platform defaults, falling back gracefully
- Validate terminology keys against the central label constants file
- Support bulk reset of all overrides to platform defaults
Interfaces
getTerminologyMap(organizationId)
updateTerminologyMap(organizationId, overrides)
resetToDefaults(organizationId)
resetCategory(organizationId, category)
getDefaultLabels()
resolveLabel(organizationId, key)
getBootstrapPayload(organizationId)
validateTerminologyKeys(overrides)
getCategories()
getLabelsByCategory(category)
Relationships
Related Data Entities (4)
Data entities managed by this component