573 Commits

Author SHA1 Message Date
Khafid Prayoga 7ed5177127 rename directory to match backend service apis 2025-10-17 11:12:20 +07:00
Khafid Prayoga 1b61265f8c feat(diagnose-src): implement diagnose source CRUD functionality
- Add diagnose source list, entry form, and related components
- Create services, handlers, and schemas for diagnose source operations
2025-10-17 11:08:21 +07:00
Khafid Prayoga 1ba37e46e1 feat(mcu-procedure): add procedure source management feature
- Implement procedure source list view with pagination and search
- Add create, read, update, and delete operations for procedure sources
- Include form validation using zod schema
- Set up data table configuration for procedure listing
- Add confirmation dialogs for delete operations
- Update delete record confirmation based on list config delKeyNames
2025-10-17 10:31:03 +07:00
munawwirul_jamal 53a1b7d4ae feat/encounter: wip 2025-10-17 02:19:12 +07:00
Khafid Prayoga 070239270e feat(patient): add patient handler and refactor form submission
- Introduce new patient handler using genCrudHandler for CRUD operations
- Refactor patient entry form to use handler for save operations
- Separate form data composition from submission logic
- Handle file uploads and navigation after successful submission
2025-10-16 14:04:00 +07:00
munawwirul_jamal 72f2e86601 feat/consultation-82: wip 2025-10-16 04:46:06 +07:00
munawwirul_jamal c8ec0410e6 Merge branch 'dev' into feat/consultation-82 2025-10-15 20:13:47 +07:00
Khafid Prayoga 20b96ab7e4 wip: data masih dead pixel upload sukses 2025-10-15 16:37:46 +07:00
Khafid Prayoga c8620e4ed2 Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/patient-63 2025-10-13 13:13:54 +07:00
Khafid Prayoga 46911514fb refactor: postal region, add new field on list
feat: implement postal region model and update address handling

- Add new PostalRegion model and service
- Replace postalCode with postalRegion in address-related components
- Update schemas and models to use locationType_code consistently
- Add usePostalRegion composable for postal code selection
- Modify patient form to handle address changes more robustly

feat(patient): add ID column and improve date formatting

- Add patient ID column to patient list
- Format dates using 'id-ID' locale in preview
- Update identity number display for foreign patients
- Include passport number for foreign nationals
2025-10-13 13:07:00 +07:00
Andrian Roshandy 7159bd6566 Merge branch 'dev' into fe-prescription-56 2025-10-13 07:45:15 +07:00
Andrian Roshandy ccc9b0bda3 Merge branch 'dev' into fe-prescription-56 2025-10-13 07:44:40 +07:00
munawwirul_jamal 39cfe08a62 feat/cleaning: complete the pages 2025-10-13 07:35:00 +07:00
munawwirul_jamal c31b5a61ff Merge branch 'dev' into feat/encounter 2025-10-12 16:15:27 +07:00
munawwirul_jamal 0f7f4f592b feat/encounter: cleaning 2025-10-12 16:10:06 +07:00
Abizrh bf5109c457 feat (soapi): introduce early rehab and function forms 2025-10-11 21:33:08 +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 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 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 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
riefive ba61d05257 fix: adjustment division app + flow 2025-10-06 12:42:08 +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
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 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 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
munawwirul_jamal ad4695c867 dev: hotfix, encounter content back nav 2025-10-06 04:18: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