Commit Graph

137 Commits

Author SHA1 Message Date
Khafid Prayoga 55239606af feat(patient): address integration to backend apis
feat(patient): add newborn status field and validation

- Add radio button component for newborn status selection
- Update patient schema with newborn status validation
- Remove deprecated alias field from person model
- Refactor disability type handling in patient schema

fix(patient): correct address comparison logic and schema

Update the patient address comparison to use boolean instead of string '1' and modify the schema to transform the string value to boolean. This ensures consistent type usage throughout the application.

feat(models): add village and district model interfaces

Add new model interfaces for Village and District with their respective generator functions. These models will be used to handle administrative division data in the application.

feat(address): implement dynamic province selection with caching

- Add province service for CRUD operations
- Create useProvinces composable with caching and loading states
- Update select-province component to use dynamic data
- Export SelectItem interface for type consistency
- Improve combobox styling and accessibility

feat(address-form): implement dynamic regency selection with caching

- Add new regency service for CRUD operations
- Create useRegencies composable with caching and loading states
- Update SelectRegency component to use dynamic data based on province selection
- Improve placeholder and disabled state handling

feat(address-form): implement dynamic district selection

- Add district service for CRUD operations
- Create useDistricts composable with caching and loading states
- Update SelectDistrict component to use dynamic data
- Remove hardcoded district options and implement regency-based filtering

feat(address-form): implement dynamic village selection with caching

- Add village service for CRUD operations
- Create useVillages composable with caching and loading states
- Update SelectVillage component to fetch villages based on district
- Remove hardcoded village options in favor of API-driven data

feat(address-form): improve address selection with debouncing and request deduplication

- Add debouncing to prevent rapid API calls when selecting addresses
- Implement request deduplication to avoid duplicate API calls
- Add delayed form reset to ensure proper composable cleanup
- Add isUserAction flag to force refresh when user changes selection
2025-10-08 15:58:22 +07:00
munawwirul_jamal f94ccd707b Merge branch 'feat/consultation-82' into fe-prescription-56 2025-10-08 08:00:01 +07:00
munawwirul_jamal 06476756fb fe-prescription-56: wip 2025-10-08 07:58:48 +07:00
munawwirul_jamal 51d1221318 Merge branch 'dev' into feat/consultation-82 2025-10-08 07:55:22 +07:00
Munawwirul Jamal 3eb9dde21d Dev cleaning (#106) 2025-10-08 00:03:36 +07:00
Andrian Roshandy fdbcfed87f Merge branch 'dev' into fe-prescription-56 2025-10-07 03:10:19 +07:00
riefive d1bcd6e66c fix: update some service 2025-10-06 10:38:10 +07:00
munawwirul_jamal 427d97c29f feat/consultation-82: done 2025-10-05 03:30:22 +07:00
riefive a7cbbeeda9 feat(division): fixing logic treeview 2025-10-04 09:05:28 +07:00
riefive c5ba07a226 feat(division): create tree item converter for division 2025-10-04 08:30:18 +07:00
riefive 8e7ce771b0 test: call division position 2025-10-04 08:30:18 +07:00
riefive 41405ae113 fix: resolve list organization source 2025-10-04 08:30:16 +07:00
riefive e78342829e feat(installation): integrate api installation 2025-10-04 08:30:16 +07:00
Andrian Roshandy 0752855808 Merge branch 'dev' into fe-prescription-56 2025-10-02 12:46:54 +07:00
riefive 7aeb99db89 feat(subspecialist): finishing integrate specialist 2025-09-30 14:57:32 +07:00
riefive e62d84b812 feat(specialist): finishing integrate specialist 2025-09-30 14:40:50 +07:00
riefive 829758e0d8 feat(unit): integrate unit api 2025-09-30 12:55:00 +07:00
riefive 18eaef2e37 feat(division): create handler for division position 2025-09-30 09:30:41 +07:00
riefive 70a6e60769 feat: add specialist, subspecialist and division handlers 2025-09-29 13:53:18 +07:00
riefive fa6b99c193 feat(unit): add specialist service models 2025-09-29 13:23:51 +07:00
riefive 050f8964ef feat(unit): add unit and installation service models 2025-09-29 13:20:45 +07:00
riefive 11e63dde3e feat(medicine): modify entry-form, create handler and service 2025-09-29 09:57:57 +07:00
Andrian Roshandy 4fbd8ee757 feat/prescription-56: merapikan models 2025-09-28 07:10:32 +07:00
riefive 867f93af31 feat(uom): integrate api for uom 2025-09-26 15:46:22 +07:00
riefive 457b927c4f chore: restucture list and entry form 2025-09-26 12:37:47 +07:00
riefive 79fd9db5e2 feat(medicine): add models + service 2025-09-25 15:59:53 +07:00
riefive 6b950f7682 feat(device): integrate api device 2025-09-22 13:39:36 +07:00
riefive 8aa6d3b6f8 feat(material): retest material 2025-09-19 16:08:42 +07:00
riefive 70378a69e9 feat(material): modify handlers and service of material 2025-09-19 15:23:09 +07:00
riefive 117e72fdce feat(material): create model interface of material 2025-09-18 13:19:15 +07:00
Abizrh a208bbad9c Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/user 2025-09-08 15:23:51 +07:00
Abizrh cdebdb8995 feat (item): add item and item price modules 2025-09-07 22:50:15 +07:00
Abizrh 4117b79365 feat (medicine): add medicine group model 2025-09-07 20:17:34 +07:00
Abizrh 210946922d feat (medicine): add medicine model and dto 2025-09-07 20:16:18 +07:00
Abizrh 1631a85204 feat (models): define employee and user data models 2025-08-31 17:35:13 +07:00
Abizrh f9af69fd27 feat (employee): add based component & conditional form input 2025-08-31 17:21:09 +07:00
Abizrh 125d7857ce feat (rbac): implement role-based access control 2025-08-12 11:32:36 +07:00