Current State: What's Implemented Today
Last Updated: December 2025
This section documents the clinical documentation features that are fully implemented and working in Kulcare today.
Quick Summary
| Feature | Status | Location |
|---|---|---|
| Longitudinal Health Record (LHR) | Implemented | /careplan/patient/:patientId |
| Care Plan / Prescription | Implemented | /prescription/:appointmentId/:patientId/* |
| Encounter Management | Implemented | Integrated with Prescription |
| AI Scribe | Implemented | Sidebar in Prescription |
| HIPAA Audit Trail | Implemented | Settings > Security |
Implemented Clinical Hierarchy
Today, Kulcare implements a two-level clinical hierarchy:
Patient
|
+-- Longitudinal Health Record (LHR) <-- AGGREGATE VIEW
| |
| +-- Problems (PatientProblem)
| +-- Medications (from prescriptions)
| +-- Vitals/Measurements (from encounters)
| +-- Encounter History (flat list)
| +-- Health Score (computed)
|
+-- Encounters (via Prescription)
+-- Vitals
+-- Observations
+-- Medications
+-- Investigations
+-- Advice
+-- Follow-upNote: Episode of Care is a planned feature - see Future State for details.
Feature Details
1. Longitudinal Health Record (LHR)
Route: /cms/careplan/patient/:patientId
Component: LongitudinalHealthRecord.tsx
The LHR provides a patient-centric aggregated view of all clinical data:
| Component | Purpose |
|---|---|
PatientSummaryDashboard | Health score, alerts, key metrics |
VitalsTrendChart | BP, weight, heart rate trends over time |
ProblemListManager | Persistent problem tracking with severity |
MedicationTimeline | Medication history visualization |
EncounterHistory | All patient encounters |
API Endpoints:
GET /api/v1/clinics/:clinic_id/patients/:patient_id/longitudinal_health_record
GET /api/v1/clinics/:clinic_id/patients/:patient_id/longitudinal_health_record/problems
GET /api/v1/clinics/:clinic_id/patients/:patient_id/longitudinal_health_record/vitals_trends
GET /api/v1/clinics/:clinic_id/patients/:patient_id/longitudinal_health_record/medications_timelineSee LHR Feature Details for complete implementation.
2. Care Plan / Prescription
Route: /cms/prescription/:appointmentId/:patientId/*
The Care Plan feature provides comprehensive clinical documentation:
Implemented Phases (from original plan):
- Phase 1: Core Infrastructure (navigation, types, mock data, API service)
- Phase 2: Dashboard & Patient Selection
- Phase 3: Vitals & Observations
- Phase 4: AI Scribe Integration
- Phase 5: Medication Management
- Phase 6: Auto-save and Data Management
- Phase 7: Print-friendly Layouts
Key Components:
CarePlanDashboard- Dashboard with statistics and patient listNewEncounter- Patient selection for new encountersEncounterPage- Main encounter editor with tabsAIScribeSidebar- Voice transcription and AI suggestions
See Care Plan Feature Details for complete implementation.
3. Encounter System
Status: Fully integrated with Prescription
Encounters are the atomic clinical events where documentation is created. Currently:
- Encounters navigate to PrescriptionPage for clinical documentation
- All encounter types use the Prescription model
- Supports:
in_person | teleconsultation | follow_up | home_visit - Supports practitioner types:
doctor | physiotherapist | psychologist | therapist | nurse | dietitian | other
Gap: All practitioners use the same Prescription model, which is doctor-centric. See Future State: Multi-Practitioner Documents for planned improvements.
4. AI Scribe
Location: frontend/apps/cms/src/features/aiScribe/
The AI Scribe provides voice transcription and AI-powered documentation assistance:
- Recording controls with device selection
- Real-time transcription display
- AI suggestions for medications, diagnoses, tests
- Accept/reject/modify workflow
- Integration with encounter tabs
5. HIPAA Audit Trail
Location: packages/api-client/src/hipaaAuditService.ts
Comprehensive audit logging for PHI access:
- Organization-wide access (Settings > Security > Audit Trail)
- Patient-specific access (Patients List > Shield Icon)
- Encounter-level access (Patient Header > Shield Icon)
- Event categorization and emergency access tracking
Database Models (Current)
| Model | Purpose |
|---|---|
Encounter | Clinical visit/session |
Prescription | Doctor's clinical documentation |
PatientProblem | Persistent health conditions |
PatientMedicine | Medication records |
PatientVital | Vital signs data |
ClinicalImpression | Clinical assessments |
MedicationRequest | Medication orders |
ServiceRequest | Lab/test orders |
Appointment | Scheduled appointments |
Limitations / Known Gaps
These are documented limitations that will be addressed in future releases:
- No Episode of Care: Encounters exist independently, not grouped into treatment programs
- Doctor-Centric Model: Prescription model doesn't fit therapists, physiotherapists, dietitians
- Single Document per Encounter: Currently 1:1 mapping between encounter and prescription
- No Multi-Practitioner Encounters: Single provider per encounter
- No Data-Driven Assessments: PHQ-9, GAD-7 not yet implemented as instruments
See Future State for planned solutions.
Related Documentation
- LHR Feature Details - Complete LHR implementation
- Care Plan Feature Details - Care Plan/Prescription implementation
- LHR Architecture - Technical architecture details
- Architecture: Clinical Data Hierarchy - Core concepts