Report Service
Component Detail
Service Layer
medium complexity
backend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Backend service that processes home-visit reports, enforces structural requirements, and routes completed reports as handoffs/bestillinger to the coordinator. Manages report lifecycle from draft through submission.
report-service
Sources & reasoning
Matrix row 104 sets Fase 3 and §5 lists Formalisert rapportstruktur under Fase 3 Vekst og engasjement - mapping cleanly to the Growth & Engagement phase name in the source roadmap.
-
docs/source/likeperson.md · line 59Formalisert rapportstruktur etter hjemmebesøk: Helsetilstand, kursinteresse, hjelpemiddelsituasjon, «veien videre» - fungerer som bestilling til koordinatoren.
-
docs/source/likeperson.md · line 104Formalisert rapportstruktur | ✓ | - | ✓ | - | ✓ | NICE (Blind. + Barnekreft) | 3
-
docs/source/likeperson.md · line 268Formalisert rapportstruktur (Blindeforbundet + Barnekreftforeningen)
Responsibilities
- Validate report structure and required sections
- Persist submitted reports via Report Store
- Route reports as actionable handoffs to coordinators
- Manage draft autosave and retrieval
- Notify coordinator of new bestillinger
Interfaces
createReport(visitId, formData): Report
submitReport(reportId): HandoffResult
saveDraft(visitId, partialData): Draft
getReportByVisit(visitId): Report