Survey Processing & Field Mapping API
Related: Main API Documentation
Table of Contents
- Overview
- Survey Mapping Configuration
- Get Active Mappings
- Execute Mappings
- Survey Versioning
- Collection Mappings
- Re-process Survey Results
- Code Examples
- Troubleshooting
Overview
Service: SurveyMappingService
Interface: ISurveyMappingService
Purpose: Maps SurveyJS responses to Case/Patient fields with configurable business rules.
Key Features:
- Priority-based mapping (Survey > Task > Disease)
- Business rules (AlwaysSave, SaveIfEmpty, SaveIfDifferent)
- Mapping actions (AutoSave, QueueForReview, RequireApproval)
- Survey versioning (auto-updates to active version)
- Collection mappings (create related entities like LabResult)