9 Commits

Author SHA1 Message Date
1e032e5278 feat: Add Visits Management module and integrate with patients
- Add Visits API client and page routes
- Add Calendar icon and Visits menu item to Sidebar
- Add patient visits view modal in patients page
- Update AGENTS.md to use pnpm commands
2026-02-12 07:32:31 +07:00
4641668f78 fix: Improve SelectDropdown handling and valueset caching 2026-02-11 20:04:46 +07:00
4accf7b6d6 feat: Implement Patient Management module (Phase 2a)
- Add patients API client with CRUD operations
- Create patient list page with search and pagination
- Implement multi-step patient form (4 steps):
  1. Basic Info (PatientID, Name, Sex, Birthdate, etc.)
  2. Address (Street, ZIP, Province/City dropdowns)
  3. Contact & ID (Phone, Email, ID documents)
  4. Additional (Demographics, Death Indicator, Comments)
- Add province/city cascading dropdowns
- Integrate ValueSets for dropdown options
- Update implementation plan
2026-02-11 08:26:11 +07:00
f7cb3d50d4 feat: Add Master Data modules and UI components 2026-02-10 17:00:05 +07:00
5df9523d5a Make sidebar sections collapsible with Master Data default collapsed 2026-02-10 16:58:45 +07:00
0f8ec8362b feat: Add AGENTS.md and update login with Lucide icons, add API proxy config 2026-02-10 06:43:07 +07:00
6a270e181c feat: Complete Phase 0 foundation
- Initialize SvelteKit project with Tailwind CSS and DaisyUI
- Configure API base URL and environment variables
- Create base API client with JWT token handling (src/lib/api/client.js)
- Implement login/logout flow (src/lib/api/auth.js, src/routes/login/+page.svelte)
- Create root layout with navigation (src/routes/+layout.svelte)
- Set up protected route group with auth checks (src/routes/(app)/+layout.svelte)
- Create dashboard homepage (src/routes/(app)/dashboard/+page.svelte)
- Add auth state store with localStorage persistence (src/lib/stores/auth.js)

All Phase 0 foundation items completed per implementation plan.
2026-02-09 21:39:14 +07:00
d0350388a0 clean lets init with simple svelte 2026-02-09 16:45:07 +07:00
bae48fab29 first commit 2026-02-08 17:39:53 +07:00