Service Layer high complexity backend
1
Dependencies
1
Dependents
2
Entities
0
Integrations

Description

Maps internal Meander activity and participant data to the exact fields and format required by the current Bufdir reporting standard. Reads its transformation rules from a configurable JSON specification stored in the database, keeping format changes as config-only updates rather than code changes.

Feature: Bufdir Export

bufdir-field-mapper

Responsibilities

  • Load active Bufdir format specification from config store
  • Map internal activity fields to Bufdir output fields
  • Apply anonymization rules for participant demographic data
  • Aggregate activity counts by type and participant category

Interfaces

mapActivitiesToBufdirFormat(activities, config)
loadFormatSpec(version)
anonymizeDemographics(participants)
aggregateByActivityType(activities)
validateMappedOutput(output)
getSupportedFormats()

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component