How fazilpraphi/wisteria works
Wisteria is an offline-first clinical workstation: clinicians use its workspace to register and browse patients, manage doctor and system settings, and access local medical models. The README documents local structured data and AI-assisted analysis; the tree shows corresponding examination, imaging, model, inference, and storage modules. The Flutter source was not excerpted, so connections beyond the README’s conceptual architecture are omitted or marked unverified rather than inferred from filenames.
Main entry points: system_workspace_panel.dart System Workspace · database.dart Local Database · workspace_shell.dart Workspace Shell · create_examination_page.dart Examinations
Components 24
Workspace
- Wisteria App
lib/main.dart - Workspace Shell
lib/features/workspace/workspace_shell.dart - Main Workspace
lib/features/workspace/main_workspace_panel.dart - System Workspace
lib/features/workspace/system_workspace_panel.dart - Dashboard
lib/features/dashboard/dashboard_page.dart - Settings
lib/features/workspace/settings_page.dart
Clinical Records
- Patient Registration
lib/features/patients/new_patient_registration_page.dart - Patient Directory
lib/features/patients/patient_page.dart - Patient Details
lib/features/patients/patient_details_page.dart - Examinations
lib/features/examinations/create_examination_page.dart - Examination Details
lib/features/examinations/examination_details_page.dart - Doctor Profile
lib/features/doctor/doctor_profile_page.dart
Models and AI
- Medical Models
lib/features/models/medical_model_page.dart - Inference Testing
lib/features/models/model_inference_test_page.dart - Offline Models
lib/features/offline_model/offline_model_page.dart - ONNX Inference
lib/core/services/onnx_inference_service.dart - Model Registry
lib/core/services/model_registry_service.dart - Ollama Service
lib/core/services/ollama_service.dart
Local Data
- Local Database
lib/core/database/database.dart - Clinical Tables
lib/core/database/tables.dart - Data Repositories
lib/core/database/repositories - Image Storage
lib/core/storage/medical_image_storage.dart - Doctor Documents
lib/core/storage/doctor_document_storage.dart
Other components
- Clinician
Connections 25
- Clinician → Wisteria App: opens
README.md - Wisteria App → Workspace Shell: launches
- Workspace Shell → Main Workspace: presents
README.md - Workspace Shell → System Workspace: presents
README.md - Main Workspace → Patient Registration: offers registration
README.md - Main Workspace → Patient Directory: offers browsing
README.md - System Workspace → Doctor Profile: offers profile
README.md - System Workspace → Settings: offers settings
README.md - System Workspace → Medical Models: offers models
README.md - System Workspace → Offline Models: offers synchronization
README.md - Workspace Shell → Dashboard: presents
- Patient Registration → Local Database: writes records
README.md - Patient Directory → Local Database: reads records
README.md - Local Database → Clinical Tables: uses schema
- Local Database → Data Repositories: provides access
- Patient Details → Examinations: opens workflow
- Examinations → Examination Details: shows details
- Examinations → Local Database: stores records
- Medical Models → Model Registry: accesses models
- Medical Models → Inference Testing: offers testing
- Offline Models → ONNX Inference: runs local inference
README.md - Inference Testing → ONNX Inference: tests inference
- Offline Models → Ollama Service: optional integration
- Examinations → Image Storage: uses image storage
- Doctor Profile → Doctor Documents: uses document storage