Commit Graph

1104 Commits

Author SHA1 Message Date
Andrian Roshandy a7c7ef6dd8 Merge branch 'dev' into feat/encounter-status-107 2025-10-12 13:27:06 +07:00
Andrian Roshandy 89b051b883 feat/encounter-status-107: wip 2025-10-12 13:18:46 +07:00
munawwirul_jamal f52e516775 dev: hotfix, layout 2025-10-12 13:06:21 +07:00
munawwirul_jamal 966dc1c282 dev: hotfix, more standardization 2025-10-12 12:15:52 +07:00
Andrian Roshandy 743c38804a Merge branch 'dev' into feat/encounter-status-107 2025-10-12 11:53:03 +07:00
munawwirul_jamal f7b66d2ad8 dev: hotfix, text-size standardization 2025-10-12 11:52:21 +07:00
Andrian Roshandy d6d60e38d0 Merge branch 'dev' into feat/encounter-status-107 2025-10-12 11:49:49 +07:00
munawwirul_jamal 18e00bf89a dev: hotfix, text-size standardization 2025-10-12 11:48:10 +07:00
Andrian Roshandy 9530cdd4f9 Merge branch 'dev' into feat/encounter-status-107 2025-10-12 11:41:49 +07:00
munawwirul_jamal 0d1e469ece dev: hotfix, text-size standardization 2025-10-12 11:40:53 +07:00
munawwirul_jamal 2f2e48dce4 dev: hotfix, combobox test-size 2025-10-12 11:34:27 +07:00
Abizrh bf5109c457 feat (soapi): introduce early rehab and function forms 2025-10-11 21:33:08 +07:00
Andrian Roshandy 0820cb653c Merge branch 'dev' into feat/encounter-status-107 2025-10-11 00:38:10 +07:00
munawwirul_jamal 867c1b4e9e dev: hotfix, moved combobox and datepicker 2025-10-11 00:36:40 +07:00
Andrian Roshandy fff1ce0eb7 Merge branch 'dev' into feat/encounter-status-107 2025-10-11 00:35:16 +07:00
munawwirul_jamal 3a4b2aa6fb dev: hotfix, moved combobox and datepicker 2025-10-11 00:25:44 +07:00
munawwirul_jamal 1a3edd5a1e dev: hotfix, moved combobox and datepicker 2025-10-10 23:58:44 +07:00
Muhammad Rifai f94b6d273a Feat Infra (#108)
* fix: adjustment some schemas

* fix(room): fixing integrate unit of room

* feat(warehouse): modify form and integration

* feat(counter): modify form and integration

* feat(screen): add list, form and integration

* feat(screen): add page for public screen

* fix: add on reset state at list

* fix: solve list of relation

* feat(chamber): integrate form to api chamber

* feat(bed): integrate form to api bed

* fix: add searching function on list service

* fix: rewrite style for dropdown and tree select

* fix: add sort params

* fix: add sort params on division + medicine

* feat(division-position): layouting form + list

* fix: add sort params for getValueList

* chore: modify side menu style

* chore: fix ui dashboard

* feat(division-position): add content list

* feat(division-position): add temporary page

* feat(division-position): modify content and entry form
2025-10-10 20:36:07 +07:00
Khafid Prayoga 44433d67c8 refactor(select-relations): replace hardcoded options with relationshipCodes constant
Use the centralized relationshipCodes constant from lib/constants instead of maintaining a duplicate list of options. This improves maintainability and ensures consistency across the application.
2025-10-10 15:36:55 +07:00
Khafid Prayoga 7f6e0cc1fd refactor(patient): rename PatientEntity to Patient and update related components
Update interface name from PatientEntity to Patient for better clarity and consistency. Modify all related components and models to use the new interface name. Also includes minor improvements to address handling in patient forms.
2025-10-10 15:36:55 +07:00
Khafid Prayoga ea04f33ad1 refactor(address): update address models and forms to use standardized fields
- Add preload relationships to address-related models
- Rename postalCode to postalCode_code for consistency
- Simplify location type handling with hidden fields
- Update validation schemas and form components
- Improve address display in patient preview
2025-10-10 15:36:54 +07:00
Khafid Prayoga a5d5e8acd1 refactor(patient): restructure patient data handling to use nested properties
Move address, contact and relative data into nested properties of Person model
Update preview component to access data through person object
Remove separate props for addresses, contacts and relatives
2025-10-10 10:30:00 +07:00
Khafid Prayoga bd4a269fad feat(patient): add callback url support for patient creation
Add callback URL parameter to redirect after successful patient creation. The URL can be passed via 'return-path' query parameter and will include the created patient's ID. This enables seamless integration with external systems that need to handle post-creation flows.
2025-10-09 20:21:06 +07:00
Khafid Prayoga 33f17e54b1 refactor(person-address): change postal_code to camelCase postalCode
Update all references to postal_code field to use camelCase postalCode for consistency with codebase naming conventions. This includes changes to models, schemas, and components.
2025-10-09 19:51:57 +07:00
Khafid Prayoga 91da0a1af9 feat(patient): add occupation code support and update job selection
- Replace hardcoded job options with dynamic list from constants
- Update patient preview to display occupation by code if available
- Expand occupation codes in constants with comprehensive list
2025-10-09 19:15:21 +07:00
Khafid Prayoga ed972019dc Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/patient-63 2025-10-09 18:50:14 +07:00
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