Threshold Config Store
Component Detail
Data Layer
medium complexity
backend
0
Dependencies
1
Dependents
3
Entities
0
Integrations
Description
Data access layer managing organization-specific threshold configurations including tier boundaries, honorarium rates, and reporting periods. Handles versioning of threshold rules so that historical queries return the configuration active at the time of each assignment.
threshold-config-store
Responsibilities
- CRUD operations for threshold configurations per organization
- Maintain version history of threshold rule changes
- Provide active thresholds for a given organization and period
- Store and retrieve honorarium rate mappings per tier
Interfaces
getActiveConfig(organizationId)
getConfigAtDate(organizationId, date)
createConfig(organizationId, thresholds)
updateConfig(configId, thresholds)
listConfigVersions(organizationId)
getTierRates(organizationId)
Relationships
Related Data Entities (3)
Data entities managed by this component