1178 Commits

Author SHA1 Message Date
9d625120a7 dev: hotfix, env sample 2025-12-17 21:33:03 +07:00
0591c05dff dev: hotfix, disable SSO temporarily 2025-12-17 15:17:05 +07:00
33b6a8660c dev: hotfix chore, moved .env.example to .env-example 2025-12-16 20:17:49 +07:00
ee56ad39a6 dev: hotfix, dockerize 2025-12-16 19:56:49 +07:00
ari
00f271524f Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into dev 2025-12-15 15:21:30 +07:00
ari
8f8fc83b22 update x frame sso 2025-12-15 15:19:39 +07:00
8ddda5281d Merge from lates 2025-12-15 14:20:56 +07:00
Munawwirul Jamal
09ae596bc8 Merge pull request #230 from dikstub-rssa/feat/role-check
Feat/role check
2025-12-15 12:11:15 +07:00
bd48cc5907 feat/role-check: updat flow for input encounter 2025-12-15 12:10:04 +07:00
49ffad1dde feat/role-check: renew pnpm-lock 2025-12-14 21:50:35 +07:00
893a4a9b96 Merge branch 'dev' into feat/role-check 2025-12-14 15:38:29 +07:00
60f60b4187 feat/role-check: wip 2025-12-14 13:23:28 +07:00
Khafid Prayoga
51725d7f73 feat(patient): doc preview, integration to select ethnic and lang (#229)
* impl: opts for ethnic and lang

* fix: doc related for preview

fix: upload dokumen kk dan ktp

fix dokumen preview

fix: add preview doc on edit form
2025-12-12 16:12:24 +07:00
ari
608c791cfc Merge branch 'dev' into integrasi_sso 2025-12-12 14:03:29 +07:00
Munawwirul Jamal
b5f1ab7f88 Merge pull request #228 from dikstub-rssa/feat/patient-63-adjustment
Feat/patient 63 adjustment
2025-12-11 16:23:47 +07:00
Khafid Prayoga
d78ad28607 adjust detail preview
feat(patient): add disability field and centralize disability codes

Move disability options to constants file and implement in both select component and patient preview

feat(patient-preview): add document section with skeleton loading

Add a new "Dokumen" section to the patient preview component that displays skeleton placeholders for KTP and KK documents. This improves the UI by showing loading states for document previews.
2025-12-11 15:57:38 +07:00
Khafid Prayoga
8c51cc2719 deprecated 2025-12-11 15:20:22 +07:00
Khafid Prayoga
80c558d284 Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/patient-63-adjustment 2025-12-11 15:08:22 +07:00
Khafid Prayoga
3a4a2cc841 adjust form submit,list, and detail
refactor(patient-preview): comment out unused occupation field in patient preview
fix(handler): return success response from update operation in crud handler
fix search patient
add handle del search char for ease use
2025-12-11 14:54:18 +07:00
Munawwirul Jamal
82f4759571 Merge pull request #226 from dikstub-rssa/feat/role-check
Feat/role check
2025-12-11 10:14:34 +07:00
9bf7dacf55 feat/role-check: wip 2025-12-11 10:11:58 +07:00
Khafid Prayoga
8354d3819d fix(entry-form): clear disabilityType when disability is 'no'
Reset the disabilityType field when disability is set to 'no' to maintain data consistency
2025-12-10 20:38:54 +07:00
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
ee06f42c06 Merge branch 'dev' into feat/role-check 2025-12-10 10:47:04 +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
ed3c83bbe4 dev: hotfix, menu structure 2025-12-10 07:26:12 +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
56e71ea693 feat/role-check: wip 2025-12-10 05:23:24 +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
ff19c022bb Merge branch 'dev' into feat/role-check 2025-12-09 21:05:02 +07:00
bcfe566373 dev: hotfix, menu structure 2025-12-09 20:57:22 +07:00
9a7a951379 feat/role-check: wip 2025-12-09 20:57:04 +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
816fe7cbf5 dev: hotfix, menu structure 2025-12-09 08:10:32 +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