Commit Graph

16 Commits

Author SHA1 Message Date
Muhammad Hasyim Chaidir Ali
59b44b5729 Merge branch 'dev' into feat/surat-kontrol-135 2025-11-07 09:11:10 +07:00
hasyim_kai
a361922e32 Feat: Add & integrate add, edit, detail page 2025-11-05 13:19:07 +07:00
3e7e735ae4 dev: hotfix, nav-footer, button, dialog 2025-10-28 15:41:07 +07:00
Andsky
0212b9c39f Feat/encounter status 107 (#129)
* dev: hotfix, moved combobox and datepicker

* dev: hotfix, moved combobox and datepicker

* dev: hotfix, text-size standardization

* dev: hotfix, text-size standardization

* feat/encounter-status-107: wip

* feat/encounter: wip

* feat/encounter: done

---------

Co-authored-by: Munawwirul Jamal <munawwirul.jamal@gmail.com>
2025-10-25 05:03:48 +07:00
0c24befd29 Merge branch 'dev' into feat/patient-63 2025-10-17 16:54:30 +07:00
397d744f34 dev: hotfix, improvements
+ components/pub/my-ui/data-table
+ components/pub/ui/badge
+ lib/date
2025-10-17 16:53:07 +07:00
Khafid Prayoga
f4dadd67f8 feat(medical-action-src): add type code selection with strict typing
- Add medicalActionTypeCode constants and type definition
- Update MedicalActionSrc interface to use strict type for type_code
- Implement select dropdown for type code in entry form
- Enable type code validation in schema
2025-10-17 16:23:51 +07:00
61a3e8597b dev: hotfix, improvements
+ components/pub/my-ui/data-table
+ components/pub/ui/badge
+ lib/date
2025-10-17 02:18:25 +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
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
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
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
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
3eb9dde21d Dev cleaning (#106) 2025-10-08 00:03:36 +07:00