Commit Graph

453 Commits

Author SHA1 Message Date
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 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
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
munawwirul_jamal ce785f2092 dev: hotfix
+ data table
+ genCrudHandler
+ crud-base
2025-10-04 06:55:12 +07:00
munawwirul_jamal d9cedf8d42 dev: hotfix, avoid ts warning 2025-10-03 21:47:28 +07:00
munawwirul_jamal 6dd9b25145 dev: hotfix, enconter process 2025-10-03 15:10:46 +07:00
Munawwirul Jamal c251c37273 Merge pull request #101 from dikstub-rssa/feat/layout-cleaning
feat/layout-cleaning: penyesuaian kecil doc-entry
2025-10-03 06:22:36 +07:00
Andrian Roshandy 10bbee9229 feat/layout-cleaning: penyesuaian kecil doc-entry 2025-10-03 06:03:23 +07:00
Munawwirul Jamal b60daa72f2 Merge pull request #100 from dikstub-rssa/feat/layout-cleaning
feat/layout-cleaning:
2025-10-03 05:58:59 +07:00
Andrian Roshandy f29eb38b1f feat/layout-cleaning:
- font responsif untuk navheader
- colon + gap pada doc entry
- ukuran font lebih responsif untuk button
2025-10-01 04:00:04 +07:00
riefive 15ca2085bd fix: resolve conflict 2025-09-30 15:13:11 +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 2f6528e12a feat(specialist): integrate specialist 2025-09-30 14:24:39 +07:00
riefive 181fed37d5 feat(unit): finishing integrate unit 2025-09-30 13:55:34 +07:00
riefive 829758e0d8 feat(unit): integrate unit api 2025-09-30 12:55:00 +07:00
riefive f58c9f537b feat: restructure list 2025-09-30 12:39:48 +07:00
riefive 9e4133b976 feat(division): fix schemas 2025-09-30 11:37:44 +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 436af7e565 feat(medicine): finishing form + list 2025-09-29 10:35:22 +07:00
riefive b221239c32 chore: modify handlers to reusable function 2025-09-29 10:17:33 +07:00
munawwirul_jamal 001dffaacb dev: hotfix, build error on importing form 2025-09-29 10:16:23 +07:00
riefive 9f950d552d feat(medicine): integrate medicine api 2025-09-29 10:08:56 +07:00
riefive 11e63dde3e feat(medicine): modify entry-form, create handler and service 2025-09-29 09:57:57 +07:00
Andrian Roshandy 829bd73034 feat/tidy-up:
- mengurangi elm yg tidak diperlukan
- menyesuaikan font-size sesuai breakpoint
2025-09-29 07:46:13 +07:00
Andrian Roshandy 2426dcb979 feat/layout-cleaning: merapikan style pada layout + custom ui 2025-09-28 07:08:44 +07:00
Abizrh d070be2962 Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/fe-encounter-68 2025-09-27 23:16:07 +07:00
Abizrh a5b7b15910 feat (encounter): add patient search and add functionality to entry form 2025-09-27 23:15:01 +07:00
Abizrh dcfadcf4a0 feat (pub): adjust data table 2025-09-27 23:14:56 +07:00
Abizrh f28c7edd62 feat (encounter): implement assesment function module 2025-09-27 22:25:23 +07:00
riefive ca1b0f4cb7 feat(uom): crate form, list and integrate 2025-09-26 16:04:19 +07:00
riefive 867f93af31 feat(uom): integrate api for uom 2025-09-26 15:46:22 +07:00
riefive 5d41e4e60d chore: modify service and hanler 2025-09-26 14:03:44 +07:00
riefive 8d2d154141 feat(medicine-group): refactor list 2025-09-26 13:12:48 +07:00
riefive 539629f9a8 feat(medicine-group): refactor + integrate 2025-09-26 13:02:08 +07:00