14 Commits

Author SHA1 Message Date
f917a0f018 refactor: Remove SpecimenType field from tests management
- Update API documentation to remove SpecimenType from examples

- Remove SpecimenType from tests API client

- Remove specimen type dropdown and handling from tests page
2026-02-16 07:03:25 +07:00
f7a884577f feat: Add ADT history, specimens API, and enhance master data pages
- Add VisitADTHistoryModal for ADT tracking
- Create specimens API client
- Add HelpTooltip component
- Enhance all master data pages with improved UI
- Update patient pages and visit management
- Add implementation plans and API docs
2026-02-15 17:58:42 +07:00
278498123d Add containers and tests master data modules
- Add containers management page with CRUD operations
- Add tests management page with test configuration
- Add organization API client
- Update SelectDropdown and Sidebar components
- Enhance PatientFormModal and VisitListModal
- Add VisitFormModal for visit management
2026-02-13 16:07:59 +07:00
d5864d40ec feat: Refactor patients page into modular components with separate modals 2026-02-13 07:02:54 +07:00
382b05d98e feat: Integrate visits management into patients page with full CRUD operations
- Add visit creation, editing, and deletion directly from patient details

- Add patient class selection and ADT status display

- Remove standalone visits page and sidebar navigation

- Update visit form with Episode ID, location, doctors, and dates
2026-02-12 16:28:24 +07:00
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