|
10 | 10 | - Explain your OBSERVATIONS clearly, then provide REASONING to identify the exact issue. Add console logs when needed to gather more information. |
11 | 11 |
|
12 | 12 |
|
13 | | -MentorFit Clinical Education Platform organizes its business logic across four core domains: |
14 | | - |
15 | | -1. Clinical Matching Engine (Importance: 95/100) |
16 | | -`convex-archived-20250929/mentorfit.ts` |
17 | | -- MentorFit™ scoring algorithm with 10-point compatibility matrix |
18 | | -- AI-enhanced matching using GPT-4 and Gemini |
19 | | -- Learning style analysis with weighted criteria |
20 | | -- Geographic and specialty-based filtering |
21 | | - |
22 | | -2. Healthcare Payment Processing (Importance: 90/100) |
23 | | -`lib/supabase/services/payments.ts` |
24 | | -- Clinical rotation hour-based billing |
25 | | -- Tiered membership management (Core/Pro/Elite) |
26 | | -- Institution-specific discount handling |
27 | | -- Preceptor revenue sharing (70/30 split) |
28 | | - |
29 | | -3. Clinical Hours Management (Importance: 85/100) |
30 | | -`app/dashboard/student/hours/page.tsx` |
31 | | -- Rotation-specific hour tracking |
32 | | -- Multi-stage verification workflow |
33 | | -- Specialty categorization system |
34 | | -- Board requirement compliance checks |
35 | | - |
36 | | -4. Enterprise Compliance System (Importance: 80/100) |
37 | | -`app/dashboard/enterprise/compliance/page.tsx` |
38 | | -- HIPAA-compliant document management |
39 | | -- Automated license verification |
40 | | -- Clinical site requirement tracking |
41 | | -- Multi-tier compliance reporting |
42 | | - |
43 | | -Key Integration Points: |
44 | | -- MentorFit™ scoring feeds into payment tier requirements |
45 | | -- Clinical hours link to billing and rotation matching |
46 | | -- Compliance status affects match eligibility |
47 | | -- Enterprise rules govern payment workflows |
48 | | - |
49 | | -The platform implements specialized healthcare education workflows through: |
50 | | -1. Rotation lifecycle management |
51 | | -2. AI-enhanced compatibility scoring |
52 | | -3. Healthcare-specific billing models |
53 | | -4. Clinical education compliance tracking |
| 13 | +## Core Business Components |
| 14 | + |
| 15 | +### Clinical Education Matching System (95/100) |
| 16 | +- MentorFit™ proprietary algorithm implements multi-dimensional compatibility scoring |
| 17 | +- Processes student-preceptor matches using specialty alignment, teaching style, and location |
| 18 | +- Integrates AI enhancement for contextual match optimization |
| 19 | +- Manages match lifecycle: suggested → pending → confirmed → active → completed |
| 20 | + |
| 21 | +Key files: |
| 22 | +- `/services/matches/MatchCoordinator.ts` |
| 23 | +- `/services/matches/MatchScoringManager.ts` |
| 24 | + |
| 25 | +### Clinical Hours Management (90/100) |
| 26 | +- Tracks and validates clinical rotation hours against program requirements |
| 27 | +- Implements specialized hour categorization by rotation type |
| 28 | +- Manages rotation credit allocation using FIFO methodology |
| 29 | +- Handles program-specific requirements and progress tracking |
| 30 | + |
| 31 | +Key files: |
| 32 | +- `/dashboard/student/hours/page.tsx` |
| 33 | +- `/lib/supabase/services/clinicalHours.ts` |
| 34 | + |
| 35 | +### Healthcare Payment Processing (85/100) |
| 36 | +- Implements tiered membership model with block hour purchasing |
| 37 | +- Manages rotation-specific payments and refund workflows |
| 38 | +- Handles institutional billing and discount codes |
| 39 | +- Processes preceptor revenue sharing (70/30 split) |
| 40 | + |
| 41 | +Key files: |
| 42 | +- `/services/payments/PaymentWebhookService.ts` |
| 43 | +- `/constants/planCatalog.ts` |
| 44 | + |
| 45 | +### Clinical Evaluation Framework (80/100) |
| 46 | +- Structured assessment system for clinical performance |
| 47 | +- Multi-dimensional evaluation metrics (clinical skills, professionalism) |
| 48 | +- Progress tracking with milestone completion |
| 49 | +- Automated survey distribution and feedback collection |
| 50 | + |
| 51 | +Key files: |
| 52 | +- `/dashboard/preceptor/evaluations/page.tsx` |
| 53 | +- `/services/surveys.ts` |
| 54 | + |
| 55 | +### Enterprise Healthcare Management (75/100) |
| 56 | +- Multi-institution clinical placement coordination |
| 57 | +- Compliance tracking and documentation management |
| 58 | +- Cross-institution preceptor sharing |
| 59 | +- Regulatory requirement validation |
| 60 | + |
| 61 | +Key files: |
| 62 | +- `/dashboard/enterprise/compliance/page.tsx` |
| 63 | +- `/services/enterprises.ts` |
54 | 64 |
|
55 | 65 | $END$ |
56 | 66 |
|
|
0 commit comments