Session Integration
Contents
Session Integration#
Module: spp_case_session
Overview#
Link sessions and training attendance to cases
Purpose#
This module is designed to:
Link cases to required sessions: Associate training or group sessions with cases so attendance requirements are tracked.
Compute attendance compliance: Calculate attendance rates and determine compliance status based on session participation.
View cases from sessions: Provide a reverse link so sessions display their related cases.
Module Dependencies#
Dependency |
Purpose |
|---|---|
|
Central security definitions for OpenSPP modules |
|
Core case management functionality for OpenSPP |
|
Track attendance at required sessions and trainings for s... |
Key Features#
Session Tracking on Cases#
Cases track required sessions and the client's attendance at those sessions.
Field |
Type |
Description |
|---|---|---|
|
Many2many |
Sessions the client is expected to attend |
|
One2many |
Attendance records for linked sessions |
|
Integer |
Number of required sessions |
Attendance Compliance#
The module computes an attendance rate and assigns a compliance level:
Field |
Type |
Description |
|---|---|---|
|
Float |
Percentage of required sessions attended |
|
Selection |
Compliance status based on attendance rate |
Compliance thresholds:
Status |
Attendance Rate |
|---|---|
|
80% or higher |
|
50% to 79% |
|
Below 50% |
|
No required sessions |
Session Back-Link#
The spp.session model is extended with:
Field |
Type |
Description |
|---|---|---|
|
Many2many |
Cases that require attendance at this session |
|
Integer |
Number of related cases |
Integration#
spp_case_base: Extends
spp.casewith session tracking fields and compliance computation.spp_session_tracking: Links to
spp.sessionand readsspp.session.attendancerecords to compute attendance rates. Extendsspp.sessionwith a reverse link to cases.
openspp.org