@iota-big3/layer-1-student-life
Version:
Layer 1 Student Life conventions for School OS - Housing, activities, wellness, and social patterns
235 lines • 6.78 kB
TypeScript
/**
* Wellness Conventions for Student Life
* Supports physical, mental, and emotional wellbeing
*/
export interface WellnessProfile {
studentId: string;
physical: PhysicalWellness;
mental: MentalWellness;
social: SocialWellness;
academic: AcademicWellness;
lastAssessment: Date;
riskFactors: RiskFactor[];
supportPlan?: SupportPlan;
}
export interface PhysicalWellness {
sleepQuality: number;
nutritionScore: number;
exerciseFrequency: 'daily' | 'weekly' | 'occasional' | 'none';
medicalConditions?: string[];
medications?: string[];
energyLevel: number;
}
export interface MentalWellness {
stressLevel: number;
anxietyIndicators: number;
moodStability: number;
copingSkills: string[];
counselingHistory?: CounselingRecord[];
supportSystems: string[];
}
export interface SocialWellness {
connectionScore: number;
friendshipQuality: number;
familyRelations: number;
communityInvolvement: number;
conflictResolution: number;
isolationRisk: 'low' | 'medium' | 'high';
}
export interface AcademicWellness {
engagementLevel: number;
workloadStress: number;
performanceAnxiety: number;
learningChallenges?: string[];
academicSupports: string[];
futureOptimism: number;
}
export interface RiskFactor {
type: 'academic' | 'social' | 'mental' | 'physical' | 'behavioral';
severity: 'low' | 'medium' | 'high' | 'critical';
description: string;
identifiedDate: Date;
interventions: string[];
}
export interface SupportPlan {
id: string;
studentId: string;
goals: WellnessGoal[];
interventions: Intervention[];
supportTeam: SupportTeamMember[];
checkInSchedule: CheckInSchedule;
progressMetrics: ProgressMetric[];
}
export interface WellnessGoal {
area: 'physical' | 'mental' | 'social' | 'academic';
description: string;
targetDate: Date;
measurableOutcome: string;
status: 'active' | 'achieved' | 'revised';
}
export interface Intervention {
type: string;
frequency: string;
provider: string;
startDate: Date;
endDate?: Date;
effectiveness?: number;
}
export interface SupportTeamMember {
role: 'counselor' | 'teacher' | 'parent' | 'peer' | 'coach' | 'nurse';
name: string;
contactInfo: string;
responsibilities: string[];
}
export interface CheckInSchedule {
frequency: 'daily' | 'weekly' | 'biweekly' | 'monthly';
nextCheckIn: Date;
format: 'in-person' | 'virtual' | 'hybrid';
duration: number;
}
export interface ProgressMetric {
date: Date;
metric: string;
value: number;
trend: 'improving' | 'stable' | 'declining';
notes?: string;
}
export interface CounselingRecord {
date: Date;
type: 'individual' | 'group' | 'crisis';
duration: number;
topics: string[];
followUp?: string;
}
export declare namespace WellnessConventions {
/**
* Comprehensive wellness assessment
* Early identification of support needs
*/
function assessStudentWellness(student: Student, academicData: AcademicData, behavioralData: BehavioralData, healthRecords?: HealthRecord[], previousAssessments?: WellnessProfile[]): WellnessAssessment;
/**
* Create personalized support plans
* Coordinates resources for student success
*/
function generateSupportPlan(student: Student, assessment: WellnessAssessment, availableResources: SupportResource[], teamMembers: PotentialTeamMember[]): SupportPlanResult;
/**
* Track wellness trends across population
* Identifies systemic issues and opportunities
*/
function analyzeWellnessTrends(studentProfiles: WellnessProfile[], timeRange: DateRange, demographicData?: DemographicData): WellnessTrendsAnalysis;
/**
* Crisis intervention and response
* Rapid support for acute wellness needs
*/
function manageCrisisIntervention(student: Student, crisisType: CrisisType, reportedBy: string, urgency: 'immediate' | 'urgent' | 'moderate'): CrisisResponse;
}
export interface Student {
id: string;
name: string;
grade: number;
schedule?: any;
}
export interface AcademicData {
gpa: number;
attendance: number;
engagementScore: number;
recentGrades: any[];
}
export interface BehavioralData {
incidents: any[];
positiveReports: any[];
socialInteractions: any[];
}
export interface HealthRecord {
date: Date;
type: string;
details: string;
}
export interface WellnessAssessment {
profile: WellnessProfile;
overallScore: number;
supportLevel: SupportLevel;
recommendations: WellnessRecommendation[];
philosophyImpact: {
earlyInterventionPotential: number;
teacherAwareness: number;
preventiveCareHours: number;
};
}
export interface SupportLevel {
level: 'intensive' | 'moderate' | 'preventive';
needsPlan: boolean;
checkInFrequency?: 'daily' | 'weekly' | 'biweekly' | 'monthly';
}
export interface WellnessRecommendation {
area: string;
priority: 'high' | 'medium' | 'low';
action: string;
rationale: string;
}
export interface SupportResource {
type: string;
name: string;
availability: string;
capacity: number;
}
export interface PotentialTeamMember {
role: string;
name: string;
qualifications: string[];
availability: any;
}
export interface SupportPlanResult {
plan: SupportPlan;
estimatedDuration: number;
resourceRequirements: any;
philosophyImpact: {
preventiveCareValue: number;
teacherSupportHours: number;
studentEmpowerment: number;
};
}
export interface DateRange {
start: Date;
end: Date;
}
export interface DemographicData {
grades: Map<number, number>;
programs: Map<string, number>;
other: any;
}
export interface WellnessTrendsAnalysis {
aggregateScores: any;
trends: any[];
riskGroups: any[];
interventionAnalysis: any;
insights: any[];
recommendations: any[];
philosophyImpact: {
populationWellbeing: number;
systemicImprovements: number;
preventableCrises: number;
};
}
export interface CrisisType {
category: 'mental' | 'physical' | 'social' | 'academic' | 'safety';
specific: string;
severity: 'moderate' | 'severe' | 'critical';
}
export interface CrisisResponse {
responseId: string;
student: Student;
crisisType: CrisisType;
urgency: string;
safetyAssessment: any;
immediateActions: any[];
responseTeam: any[];
notifications: any[];
followUpPlan: any;
philosophyImpact: {
responseTime: number;
safetyAssurance: number;
longTermSupport: number;
};
}
//# sourceMappingURL=wellness-conventions.d.ts.map