Commit Graph

1136 Commits

Author SHA1 Message Date
Khafid Prayoga 97d2b76ee3 refactor(person-relative): update schema and form components for family data
- Change value format in radio-parents-input from '1'/'0' to 'yes'/'no'
- Remove default labels from select-education and select-job components
- Update schema to make fields optional and add new fields
- Modify family-parents-form to use new schema and improve UI
- Update patient form and models to align with schema changes
2025-12-10 20:30:34 +07:00
Khafid Prayoga 3cac23ce8a fix edit form state
fix: id list for contacts and address list

fix warning

fix duplicate contacts responsible: true

fix edit family

fix nik required
2025-12-10 14:36:32 +07:00
Khafid Prayoga 9918501f29 refactor(patient): extract age calculation logic to shared utility
Move age calculation logic from multiple components to a shared utility function in person model
Add age display to patient entry form and update preview component to use shared utility
Remove redundant age field from select-dob component
2025-12-10 09:49:30 +07:00
Khafid Prayoga e3680d183e Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/patient-63-adjustment 2025-12-10 09:49:04 +07:00
Munawwirul Jamal fc5055f28c Merge pull request #225 from dikstub-rssa/feat/assessment-adjustment-223
Feat/assessment adjustment 223
2025-12-10 07:20:05 +07:00
Abizrh 8698cfac9b Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/assessment-adjustment-223 2025-12-09 23:26:37 +07:00
Abizrh ca492d4a8b fix (soapi): tidy up 2025-12-09 23:25:18 +07:00
Abizrh 6ba4b8ee6a enhance (soapi): get detail 2025-12-09 23:23:07 +07:00
Abizrh a8bf9c172d feat (soapi): adjust list 2025-12-09 22:33:50 +07:00
Khafid Prayoga 910b641750 form cleanup
feat(patient): add edit functionality to patient form

- Modify genPatientEntity to accept existing patient data for updates
- Add handleActionEdit handler for edit mode
- Update form to handle both create and edit modes
- Rename patient ref to patientDetail for clarity

refactor(patient): update marital status codes and job options mapping

- Change marital status enum values to standardized codes (S, M, D, W)
- Simplify job options and marital status options mapping using mapToComboboxOptList
- Add error handling in patient data loading

ajust styling text based on combobox

wip: edit patient redirect

refactor(models): update type definitions and form field handling

- Add field-name prop to SelectDob component for better form handling
- Update Person and Patient interfaces to use null for optional fields
- Add maritalStatus_code field to Person interface
- Improve type safety by replacing undefined with null for optional fields

fix casting radio str to boolean and parsing date error
2025-12-09 20:49:25 +07:00
Munawwirul Jamal fc0aa5274d Merge pull request #224 from dikstub-rssa/feat/adj-enc-list-199
Feat: Adjust Encounter
2025-12-09 18:19:15 +07:00
riefive f4501cf380 feat: add useEncounterEntry handler for managing encounter form data and logic. 2025-12-09 13:53:33 +07:00
riefive ad3f44c4a8 feat: Implement VClaim SEP integration with new components and handlers for encounter entry and supporting documents. 2025-12-09 13:31:23 +07:00
riefive 1b31b33406 feat: implement generic API proxy to forward requests, handle authentication, and manage vclaim routes. 2025-12-09 13:08:14 +07:00
riefive d5993ecbfe feat: Add default and ambulatory data table configurations for encounter lists. 2025-12-09 12:59:43 +07:00
riefive 9dc9c85fab feat: Introduce encounter list page with filtering, search, and action support, along with new handlers for encounter entries and supporting documents. 2025-12-09 12:50:11 +07:00
riefive 1634256bec feat: create encounter list view with filtering, CRUD actions, and document management. 2025-12-09 11:41:31 +07:00
riefive 69b047fce5 feat: Add encounter list view with filter form and data table configurations for encounter management. 2025-12-09 11:41:03 +07:00
Khafid Prayoga e967ee1cf0 refactor(role): rename PagePermission to RoleAccesses and fix base model id
Update type name from PagePermission to RoleAccesses across multiple files for consistency
Change mock id value from -1 to 0 in base model to match backend constraints
Enable RBAC middleware and fix patient edit page permissions
2025-12-08 18:57:35 +07:00
riefive 26b31a4d67 Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/adj-enc-list-199 2025-12-08 16:10:33 +07:00
riefive 0a0461238c feat: add encounter list component with data display, filtering, and record management capabilities 2025-12-08 16:10:11 +07:00
riefive e33b23205a feat: Add encounter list with filtering, VClaim SEP/SIPP document management, and a new file field component. 2025-12-08 16:01:36 +07:00
Khafid Prayoga 1083bb5384 Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/patient-63-adjustment 2025-12-08 15:38:14 +07:00
riefive b77646c9a6 feat: add encounter list component with filtering, CRUD actions, and document management capabilities. 2025-12-08 15:03:38 +07:00
riefive 356647f810 feat: Add encounter list page with filter form and document upload functionality. 2025-12-08 15:01:14 +07:00
riefive 4fc48d6131 feat: Implement encounter list with filtering and navigation components. 2025-12-08 14:51:38 +07:00
riefive 703d3f902a feat: Implement encounter list views with new configurations, vclaim SEP/SIPP document handling, and initial encounter entry forms. 2025-12-08 14:02:41 +07:00
munawwirul_jamal e4cd02f2ce dev: hotfix temp 2 2025-12-08 13:22:21 +07:00
riefive 53b40ec732 feat: Implement patient encounter management with entry form, SEP integration, and list views. 2025-12-08 13:02:14 +07:00
munawwirul_jamal 5db181fc16 dev: hotfix temp 2025-12-08 12:33:31 +07:00
Munawwirul Jamal d78e0b1ae7 Merge pull request #222 from dikstub-rssa/feat/education-assessment-79
Feat/education assessment 79
2025-12-08 12:25:42 +07:00
Khafid Prayoga ed915be269 Merge branch 'dev' into feat/education-assessment-79 2025-12-08 12:21:06 +07:00
Khafid Prayoga 52a6935d07 mbois gak rek? 2025-12-08 12:19:14 +07:00
Munawwirul Jamal 2700e8e0f0 Merge pull request #221 from dikstub-rssa/feat/ap-lab-order-52
Feat/ap lab order 52
2025-12-08 11:33:42 +07:00
Khafid Prayoga b5846adb7e composables: cherry-pick 2025-12-08 11:32:18 +07:00
Khafid Prayoga dcbc9682df wip: rename field to fields 2025-12-08 11:30:00 +07:00
Munawwirul Jamal db7839a9d2 Merge pull request #219 from dikstub-rssa/feat/adj-enc-list-199
Feat - Item + Item Price
2025-12-08 11:29:49 +07:00
Munawwirul Jamal 9198d91b57 Merge pull request #197 from dikstub-rssa/feat/laporan-tindakan-185
feat(treatment-report): ui & crud done
2025-12-08 11:29:30 +07:00
Khafid Prayoga 0d3cfbec47 wip: adjust form
- adjust rencana edukasi
- hide code on select items
2025-12-08 11:22:58 +07:00
riefive 1a7a69162d feat: Create encounter entry form component for patient, doctor, and SEP details. 2025-12-08 11:21:56 +07:00
Khafid Prayoga a5ec824f4d cherry-pick: pub components from feat/laporan-tindakan-185 2025-12-08 11:01:44 +07:00
Khafid Prayoga d3d68e7151 Merge branch 'dev' into feat/laporan-tindakan-185 2025-12-08 10:59:18 +07:00
Khafid Prayoga 5e3d0d7911 Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/education-assessment-79 2025-12-08 10:18:40 +07:00
avsky0095 122b9c5fa5 feat/ap-lab-order-52: wip 2025-12-08 08:05:39 +07:00
munawwirul_jamal 2f257e6c8d Merge branch 'dev' into feat/ap-lab-order-52 2025-12-08 08:00:13 +07:00
munawwirul_jamal 108ec8e899 dev: hotfix, added my-ui/checkboxes 2025-12-08 07:59:56 +07:00
munawwirul_jamal fec5934a93 Merge branch 'dev' into feat/ap-lab-order-52 2025-12-06 18:44:57 +07:00
Munawwirul Jamal 008903efab Merge pull request #202 from dikstub-rssa/feat/rm-rajal-183
Feat/rm rajal 183
2025-12-06 15:50:47 +07:00
munawwirul_jamal c0401fd852 Merge branch 'dev' into feat/ap-lab-order-52 2025-12-06 15:10:21 +07:00
Munawwirul Jamal 6b69670c81 Merge pull request #214 from dikstub-rssa/feat/move-kai-ui-to-sidebar-195
Feat/move kai UI to sidebar 195
2025-12-06 14:06:47 +07:00