Data Layer medium complexity backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Data layer responsible for persisting home-visit reports including structured sections and free-text content. Stores both draft and submitted report states with linkage to the originating visit and assigned coordinator.

Feature: Formalized Home-Visit Report

report-store

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.

  • Formalisert rapportstruktur etter hjemmebesøk: Helsetilstand, kursinteresse, hjelpemiddelsituasjon, «veien videre» - fungerer som bestilling til koordinatoren.
  • Formalisert rapportstruktur | ✓ | - | ✓ | - | ✓ | NICE (Blind. + Barnekreft) | 3
  • Formalisert rapportstruktur (Blindeforbundet + Barnekreftforeningen)

Responsibilities

  • Persist report records with structured sections
  • Track report status (draft, submitted, handed-off)
  • Link reports to visits and coordinator assignments
  • Provide query access by visit, volunteer, or coordinator
  • Maintain audit trail of report submissions

Interfaces

saveReport(report): ReportId
getReport(reportId): Report
listReportsByCoordinator(coordinatorId): Report[]
updateReportStatus(reportId, status): void