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.

Feature: Custom Terminology

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

Dependents (1)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component