Terminology Repository
Component Detail
Data Layer
low complexity
backend
0
Dependencies
1
Dependents
2
Entities
0
Integrations
Description
Data access layer that reads and writes the JSONB terminology map field within the organization_settings table. Abstracts raw SQL operations and provides typed access to terminology data for the Terminology Service.
terminology-repository
Responsibilities
- Query organization_settings for the terminology JSONB column by org ID
- Upsert updated terminology maps into organization_settings
- Return null or empty map when no terminology override exists for an org
Interfaces
findByOrgId(orgId)
upsertTerminologyMap(orgId, terminologyMap)
deleteTerminologyMap(orgId)
Relationships
Related Data Entities (2)
Data entities managed by this component