Commit Graph
1152 Commits
Author SHA1 Message Date
Khafid Prayoga 32654b0b11 wip: ui fix layout
fix(patient-form): add error handling in patient submission and simplify family form

- Wrap patient submission in try-catch to show appropriate error messages
- Simplify family parents form by removing conditional rendering and adding disabled state
- Update form fields to use consistent labels and disable when not sharing family data

feat(family-form): improve family data form handling and UI

- Add edit mode detection to conditionally set default family data
- Restructure form fields display based on shareFamilyData value
- Show disabled placeholder fields when family data is not shared
2025-11-24 16:37:33 +07:00
riefive 3a2ad11a0e feat: enhance encounter process with user data logging and component integration 2025-11-24 14:47:00 +07:00
Khafid Prayoga f3474eb0b5 refactor(patient-contact): improve contact form components and validation
- Remove hardcoded contact limit and use prop instead
- Add ButtonAction component to form exports
- Enhance contact schema validation with better error messages
- Refactor contact type select component to use doc-entry components
- Improve form layout and consistency between contact and relative forms
2025-11-24 14:08:01 +07:00
riefive 1053d794a0 fix: update sub-class-code binding in encounter components and log user data 2025-11-24 14:05:19 +07:00
hasyim_kai 4a465f3992 progress 2025-11-24 13:40:22 +07:00
Khafid Prayoga 96a7ada059 feat(form): add validation error styling to form components
Add error state handling and styling for form inputs and select components using vee-validate. Also adjust delete button alignment in person-relative form.
2025-11-24 13:34:49 +07:00
Khafid Prayoga 6c63d15b9e refactor(person-relative): update contact form fields and conditional label
- Change form field names from medicines to contacts
- Update default contact object structure
- Make label in select-relations conditional
- Improve delete button title with contact number
2025-11-24 13:02:56 +07:00
munawwirul_jamal c91713fce2 Merge branch 'dev' into feat/page-cleaning 2025-11-24 12:52:58 +07:00
Khafid Prayoga 044de2d965 refactor(form): migrate form components to use doc-entry pattern
- Replace FieldGroup/Field/Label with DE.Cell/DE.Field/DE.Label components
- Add ButtonAction component with preset styling for common form actions
- Simplify form layouts using doc-entry grid system
- Add support for disabled/readonly states in form fields
2025-11-24 12:45:03 +07:00
Khafid Prayoga 857478cd65 refactor(patient/fields): deduplicate religion options using Map
Use Map to ensure unique values in religion options array to prevent duplicate entries in the dropdown
2025-11-24 12:12:42 +07:00
Khafid Prayoga bc517c15d9 feat(person-relative): restructure contact relation components
Move select-relations component to fields directory and update imports
Add new table-head component for consistent styling
2025-11-24 12:08:57 +07:00
Khafid Prayoga cd57dc6243 refactor(patient): rename entry component to add and clean up form error props
Remove FormErrors type imports and error props from all form components
Move content from entry.vue to add.vue with updated title styling
2025-11-24 12:03:53 +07:00
riefive 3d8378deac Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/encounter-adjustment-163 2025-11-24 12:00:01 +07:00
Munawwirul Jamal a2323e0827 Merge pull request #165 from dikstub-rssa/feat/cprj-146
 feat (cprj): implement cprj (patient note) functionality
2025-11-24 11:57:53 +07:00
Munawwirul Jamal 9b09627cd9 Merge pull request #179 from dikstub-rssa/feat/uploads-85-after-reset
Fix: debug Uplaod Doc List table
2025-11-24 11:57:20 +07:00
riefive 4ac3e3c579 refactor: clean up role permission handling in encounter process pages 2025-11-24 10:53:11 +07:00
Muhammad Hasyim Chaidir Ali 7811f051a5 Merge branch 'dev' into feat/kfr-kemoterapi-174 2025-11-24 10:25:15 +07:00
hasyim_kai f060ed33d2 Feat: UI KFR 2025-11-24 10:21:20 +07:00
riefive 125a2dff1a fix: solve conflict after merge page-cleaning 2025-11-24 10:14:02 +07:00
Andrian Roshandy c9bac11029 feat/page-cleaning: adjust content/encounter consumers 2025-11-24 09:02:18 +07:00
Andrian Roshandy 001a36233c feat/page-cleaning: moved human-src/specialist-intern/* to human-src/intern 2025-11-24 08:28:36 +07:00
Andrian Roshandy 401b46ade2 feat/page-cleaning: moved service-src to infra-src 2025-11-24 08:17:07 +07:00
Andrian Roshandy 9368530ee3 feat/page-cleaning: dropped unnecessary pages 2025-11-24 08:16:40 +07:00
Andrian Roshandy 33abc5b50c feat/page-claning: moved some consts from lib 2025-11-24 08:11:50 +07:00
Munawwirul Jamal 8aac6c4318 Merge pull request #180 from dikstub-rssa/feat/adjustment-org-to-the-be-153
Fix: typo in Unit Position Model
2025-11-23 16:36:41 +07:00
munawwirul_jamal cf5789549e feat/mcu: improved wip 2025-11-23 15:56:31 +07:00
Khafid Prayoga 5c60e4e570 mv common to fields 2025-11-21 17:14:04 +07:00
Khafid Prayoga f33e9a0f9a adjust common fields import 2025-11-21 17:03:10 +07:00
Khafid Prayoga 89bc67680e mv my-ui form 2025-11-21 17:00:33 +07:00
Khafid Prayoga 6c37f226e9 mv person common to fields 2025-11-21 16:56:14 +07:00
Khafid Prayoga 2138ffcb9d rename common to fields on patient 2025-11-21 16:53:51 +07:00
Abizrh 6e42bb5283 feat (soapi): display encounter class code in soapi list 2025-11-21 16:00:52 +07:00
Abizrh 4f8407f978 🐛 fix (cprj): fix encounter-id prop for getlist function 2025-11-21 15:43:27 +07:00
Abizrh 2da2961f03 enhance (soapi): adjust type-code 2025-11-21 15:34:48 +07:00
riefive 5adf9d3c75 feat(encounter): update sub menu 2025-11-21 15:00:33 +07:00
riefive 8eeeba26b2 feat(encounter): update missing emergency process 2025-11-21 14:47:01 +07:00
riefive 9429ad4d46 Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/encounter-adjustment-163 2025-11-21 14:44:33 +07:00
riefive 87a125f5c7 feat(encounter): update encounter pages 2025-11-21 14:44:29 +07:00
riefive 534880eb2e fix: update component process 2025-11-21 14:40:13 +07:00
Abizrh 671390f159 ⚠️ refactor (cprj): rename cprj list to soapi list 2025-11-21 14:29:57 +07:00
Abizrh f2b274c6bf Merge branch 'feat/cprj-146' of https://github.com/dikstub-rssa/simrs-fe into feat/cprj-146 2025-11-21 14:26:52 +07:00
Abizrh 02ea844f8e Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/cprj-146 2025-11-21 14:14:53 +07:00
Abizrh bc55c490ba Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into feat/cprj-146 2025-11-21 14:14:17 +07:00
hasyim_kai f818c726c8 Fix: typo in Unit Position Model 2025-11-21 14:09:54 +07:00
Munawwirul Jamal f70f9f24d8 Merge pull request #178 from dikstub-rssa/feat/adjustment-org-to-the-be-153
Feat/adjustment org to the be 153
2025-11-21 14:06:13 +07:00
munawwirul_jamal e4b0b3437f dev: hotfix, rigid consts + minor data table 2025-11-21 14:02:13 +07:00
riefive 9eea12a503 feat(encounter): update encounter init 2025-11-21 13:48:13 +07:00
hasyim_kai 29db4c8cf1 Fix: debug for PR to "dev" 2025-11-21 10:35:47 +07:00
riefive a1eb419588 fix: resolve conflict 2025-11-21 10:33:45 +07:00
hasyim_kai c4eaa72aec Fix: debug Uplaod Doc List table 2025-11-21 10:20:23 +07:00