1178 Commits

Author SHA1 Message Date
Khafid Prayoga 5121422658 adjust: improve regency select based on new useRegencies composable to explicit pull all data with no limitation, because it has a province code 2025-10-09 18:46:58 +07:00
Khafid Prayoga e0867cb59f wip: paginated regencies 2025-10-09 11:38:42 +07:00
Khafid Prayoga 1f93fc2c81 refactor(composables): update API query params and improve code style
- Standardize parameter naming with hyphens instead of underscores
- Remove page size limit and enable no-limit flag for all region queries
- Improve arrow function syntax consistency and formatting
2025-10-09 10:13:00 +07:00
Khafid Prayoga 4f0c1f4318 fix(refactor): kena timpa ges sepertinya 2025-10-08 16:41:40 +07:00
Khafid Prayoga 3ffc28fdeb fix(refactor): kena timpa ges sepertinya 2025-10-08 16:20:37 +07:00
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
Munawwirul Jamal bd66a8887d Merge pull request #103 from dikstub-rssa/feat/fe-integrasi-org-src-72
Feat - Integrasi Org Src
2025-10-07 03:07:46 +07:00
riefive ba61d05257 fix: adjustment division app + flow 2025-10-06 12:42:08 +07:00
riefive 8601d4a4fd fix: remove shared handlers 2025-10-06 11:07:05 +07:00
riefive fff5f2c11d fix: update content list of specialist, subspecialist, etc 2025-10-06 11:06:29 +07:00
riefive 301cb82803 fix: update list medicine 2025-10-06 11:00:14 +07:00
riefive 3003ec9d80 fix: update list division + equipment 2025-10-06 10:45:15 +07:00
riefive d1bcd6e66c fix: update some service 2025-10-06 10:38:10 +07:00
riefive 78ae8a8aa0 fix: medicine method and group 2025-10-06 10:26:25 +07:00
riefive 8eaf95dd3e fix: update service for unit and uom 2025-10-06 10:20:05 +07:00
riefive 58c0dde377 fix: update handler for unit and uom 2025-10-06 10:14:51 +07:00
riefive fe23c75aca fix: update some service and handlers 2025-10-06 10:09:24 +07:00
Andrian Roshandy 4da896a242 Merge branch 'dev' into fe-prescription-56 2025-10-06 09:55:24 +07:00
riefive ecdc5d80d9 fix: update device service and handler 2025-10-06 09:51:31 +07:00
riefive 45ea70d415 fix: update crud base 2025-10-06 09:44:48 +07:00
riefive 51ddb9d8b5 fix: resolve conflict 2025-10-06 09:40:22 +07:00
munawwirul_jamal 19e00fa143 dev: hotfix, moved encounter to pub/component 2025-10-06 08:26:08 +07:00
Andrian Roshandy 285c3ee4e5 Merged Stash 2025-10-06 07:56:29 +07:00
Andrian Roshandy 421159971e feat/prescription-56: wip 2025-10-06 04:41:21 +07:00
Andrian Roshandy 3a45de413d Merge from Stash 2025-10-06 04:31:08 +07:00
Andrian Roshandy e959c3ae61 Merge branch 'dev' into fe-prescription-56 2025-10-06 04:21:06 +07:00
munawwirul_jamal ad4695c867 dev: hotfix, encounter content back nav 2025-10-06 04:18:55 +07:00
munawwirul_jamal 494d4583e6 Merge branch 'dev' into feat/consultation-82 2025-10-05 16:44:24 +07:00
munawwirul_jamal 2535a86670 dev: hotfix, navigation 2025-10-05 16:43:55 +07:00
munawwirul_jamal e82cfb1ab3 feat/consultation-82: adjustment to refactor 2025-10-05 11:13:40 +07:00
munawwirul_jamal ff97245c8c Merge branch 'dev' into feat/consultation-82 2025-10-05 09:51:22 +07:00
munawwirul_jamal 2da4e616ba dev: hotfix refactor
+ merged pub/custom-ui and pub/base into my-ui
- droped pub/custom-ui
2025-10-05 09:45:17 +07:00
munawwirul_jamal 3dfb2ed137 Merge branch 'dev' into feat/consultation-82 2025-10-05 03:33:52 +07:00
munawwirul_jamal 72627b8a37 dev: hotfix
+ dropped quick-info patient
+ added quick-info encounter
+ text-area styling
2025-10-05 03:32:48 +07:00
munawwirul_jamal 427d97c29f feat/consultation-82: done 2025-10-05 03:30:22 +07:00
riefive 42a54bbb3b fix: solve conflict after pull 2025-10-04 09:07:03 +07:00
riefive a7cbbeeda9 feat(division): fixing logic treeview 2025-10-04 09:05:28 +07:00
riefive 71e0615ee1 feat(division): restructure division parent 2025-10-04 08:49:38 +07:00
riefive f02903e756 feat(division): change parent id to number before integrate 2025-10-04 08:30:19 +07:00
riefive 2e8667a780 feat(division): parent id to default null 2025-10-04 08:30:18 +07:00
riefive e65e562690 feat(division): change form attribute 2025-10-04 08:30:18 +07:00
riefive 9407501c49 feat(division): change compoent combobox to tree select 2025-10-04 08:30:18 +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 7edab33427 fix: handler reset state 2025-10-04 08:30:18 +07:00