From 399c3cbaee160cddfe7750de378c71ea6455a42c Mon Sep 17 00:00:00 2001 From: hasyim_kai Date: Thu, 20 Nov 2025 11:19:03 +0700 Subject: [PATCH 01/13] Squashed commit of the following: commit 72ce2260c50597f782f07d29db3985607ecc2f34 Author: hasyim_kai Date: Mon Nov 17 15:19:36 2025 +0700 Feat: add doc preview in Therpay protocol List commit 7032cd2409a660d40899ffd421137e4158cfde4a Author: hasyim_kai Date: Wed Nov 12 15:34:30 2025 +0700 Fix: prepare API integration protokol terapi verification commit dbf6f78d00afc818baf2b34d128ee2153814cc88 Author: hasyim_kai Date: Wed Nov 12 14:09:28 2025 +0700 Feat: add basic CRUD therapy protocol commit 46a44e90fe4d4097b5460d2d4e5689b2a5389467 Author: hasyim_kai Date: Tue Nov 11 15:57:54 2025 +0700 Fix: Prepare protokol terapi API Integration commit 4674090566727cebd947e50e2c06c44e8c7afa7e Author: hasyim_kai Date: Mon Nov 10 15:33:22 2025 +0700 Fix: hotfix style add protokol terapi commit 919c91abd8ef8b4cd193012eed7f5e8cf635cda2 Author: hasyim_kai Date: Mon Nov 10 15:17:14 2025 +0700 Fix: Typo drpodown-action-p in protokol-terapi commit e21d30eacf1a08118e289d4bb64889e708d5023a Author: hasyim_kai Date: Mon Nov 10 15:14:33 2025 +0700 Fix: add diagnose & procedure dialog picker in add protokol terapi commit 9a3d73b72b0dceea778d83e7630c5ead110a6a4c Author: hasyim_kai Date: Tue Nov 4 10:21:24 2025 +0700 Fix: Add Schema therapy protocol rehab medik commit 4d8d2d633bbbd78038b1cc607558c1ceb31c5986 Author: hasyim_kai Date: Tue Nov 4 09:30:55 2025 +0700 Fix: refactor Actions Btn ba-dr-su commit 5f290a6e4bd1559c0e5864a508c5ab650cfae6e8 Author: hasyim_kai Date: Mon Nov 3 17:08:20 2025 +0700 Feat: UI protokol terapi in Rehab medik commit 63010f69ff30532bb8ac91443112f31d4942b221 Author: Khafid Prayoga Date: Tue Oct 21 09:54:13 2025 +0700 wip: list protokol terapi commit 44eedc298680a5255fee0ee8feee3e24beda93dd Author: Khafid Prayoga Date: Mon Oct 20 12:54:01 2025 +0700 feat(therapy-protocol): init form entry feat(therapy-protocol): init page routes wip: init entry form wip: form entry protokol terapi todo: table procedure, and diagnose picker wip: schema form new entry todo: picker/modal yang relateds ke form entry --- app/assets/svg/wavey-fingerprint.svg | 1 + app/components/app/diagnose-src/list.vue | 9 +- app/components/app/procedure-src/list.vue | 9 +- .../_common/banner-patient-in-therapy.vue | 19 ++ .../_common/btn-confirmation-detail.vue | 28 ++ .../_common/radio-illness-bcs-work.vue | 92 ++++++ .../_common/radio-relationship.vue | 92 ++++++ .../_common/select-arrangement.vue | 72 +++++ .../_common/select-date-range.vue | 52 ++++ .../therapy-protocol/_common/select-date.vue | 121 ++++++++ .../_common/select-death-cause.vue | 71 +++++ .../_common/select-faskes.vue | 70 +++++ .../_common/select-primary-diagnosis.vue | 70 +++++ .../_common/select-secondary-diagnosis.vue | 71 +++++ .../therapy-protocol/_common/text-captcha.vue | 175 ++++++++++++ .../therapy-protocol/_common/verify-badge.vue | 30 ++ .../app/therapy-protocol/add-list.cfg.ts | 51 ++++ .../app/therapy-protocol/detail-list.cfg.ts | 28 ++ .../app/therapy-protocol/detail.vue | 145 ++++++++++ app/components/app/therapy-protocol/edit.vue | 217 +++++++++++++++ .../app/therapy-protocol/entry-form.vue | 137 +++++++++ app/components/app/therapy-protocol/entry.vue | 204 ++++++++++++++ .../therapy-protocol/field/base-textarea.vue | 40 +++ .../app/therapy-protocol/field/index.ts | 4 + .../field/radio-relations.vue | 77 +++++ .../field/radio-work-disease.vue | 77 +++++ .../field/select-examination-date.vue | 52 ++++ .../app/therapy-protocol/history-dialog.vue | 43 +++ .../app/therapy-protocol/history-list.cfg.ts | 45 +++ .../app/therapy-protocol/list.cfg.ts | 53 ++++ app/components/app/therapy-protocol/list.vue | 31 +++ .../dropdown-action-p.vue | 64 +++++ .../procedure-list-cfg.ts | 33 +++ .../arrangement-procedure/procedure-list.vue | 120 ++++++++ .../procedure-picker.vue | 62 +++++ .../diagnosis-list-cfg.ts | 33 +++ .../functional-diagnosis/diagnosis-list.vue | 108 ++++++++ .../functional-diagnosis/diagnosis-picker.vue | 62 +++++ .../dropdown-action-p.vue | 64 +++++ .../medical-diagnosis/diagnosis-list-cfg.ts | 33 +++ .../medical-diagnosis/diagnosis-list.vue | 107 +++++++ .../medical-diagnosis/diagnosis-picker.vue | 63 +++++ .../medical-diagnosis/dropdown-action-p.vue | 64 +++++ .../app/therapy-protocol/verify-dialog.vue | 108 ++++++++ app/components/content/encounter/process.vue | 9 +- .../content/therapy-protocol/add.vue | 152 ++++++++++ .../content/therapy-protocol/detail.vue | 115 ++++++++ .../content/therapy-protocol/edit.vue | 123 ++++++++ .../content/therapy-protocol/history-list.vue | 178 ++++++++++++ .../content/therapy-protocol/list.vue | 262 ++++++++++++++++++ .../pub/my-ui/data/dropdown-action-dp.vue | 77 +++++ .../pub/my-ui/data/dropdown-action-duvp.vue | 106 +++++++ .../pub/my-ui/data/dropdown-action-p.vue | 64 +++++ app/components/pub/my-ui/data/types.ts | 2 + .../pub/my-ui/form/text-area-input.vue | 86 ++++++ app/components/pub/my-ui/modal/dialog.vue | 13 +- .../pub/my-ui/modal/doc-preview-dialog.vue | 29 ++ .../pub/my-ui/nav-footer/ba-dr-su.vue | 8 +- app/handlers/therapy-protocol.handler.ts | 24 ++ .../[therapy_protocol_id]/edit.vue | 44 +++ .../encounter/[id]/therapy-protocol/add.vue | 44 +++ .../therapy-protocol/[id]/detail.vue | 41 +++ .../(features)/therapy-protocol/[id]/edit.vue | 41 +++ app/pages/(features)/therapy-protocol/add.vue | 41 +++ app/schemas/therapy-protocol.schema.ts | 159 +++++++++++ app/schemas/verification.schema.ts | 19 ++ app/services/therapy-protocol.service.ts | 27 ++ 67 files changed, 4747 insertions(+), 24 deletions(-) create mode 100644 app/assets/svg/wavey-fingerprint.svg create mode 100644 app/components/app/therapy-protocol/_common/banner-patient-in-therapy.vue create mode 100644 app/components/app/therapy-protocol/_common/btn-confirmation-detail.vue create mode 100644 app/components/app/therapy-protocol/_common/radio-illness-bcs-work.vue create mode 100644 app/components/app/therapy-protocol/_common/radio-relationship.vue create mode 100644 app/components/app/therapy-protocol/_common/select-arrangement.vue create mode 100644 app/components/app/therapy-protocol/_common/select-date-range.vue create mode 100644 app/components/app/therapy-protocol/_common/select-date.vue create mode 100644 app/components/app/therapy-protocol/_common/select-death-cause.vue create mode 100644 app/components/app/therapy-protocol/_common/select-faskes.vue create mode 100644 app/components/app/therapy-protocol/_common/select-primary-diagnosis.vue create mode 100644 app/components/app/therapy-protocol/_common/select-secondary-diagnosis.vue create mode 100644 app/components/app/therapy-protocol/_common/text-captcha.vue create mode 100644 app/components/app/therapy-protocol/_common/verify-badge.vue create mode 100644 app/components/app/therapy-protocol/add-list.cfg.ts create mode 100644 app/components/app/therapy-protocol/detail-list.cfg.ts create mode 100644 app/components/app/therapy-protocol/detail.vue create mode 100644 app/components/app/therapy-protocol/edit.vue create mode 100644 app/components/app/therapy-protocol/entry-form.vue create mode 100644 app/components/app/therapy-protocol/entry.vue create mode 100644 app/components/app/therapy-protocol/field/base-textarea.vue create mode 100644 app/components/app/therapy-protocol/field/index.ts create mode 100644 app/components/app/therapy-protocol/field/radio-relations.vue create mode 100644 app/components/app/therapy-protocol/field/radio-work-disease.vue create mode 100644 app/components/app/therapy-protocol/field/select-examination-date.vue create mode 100644 app/components/app/therapy-protocol/history-dialog.vue create mode 100644 app/components/app/therapy-protocol/history-list.cfg.ts create mode 100644 app/components/app/therapy-protocol/list.cfg.ts create mode 100644 app/components/app/therapy-protocol/list.vue create mode 100644 app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/dropdown-action-p.vue create mode 100644 app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-list-cfg.ts create mode 100644 app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-list.vue create mode 100644 app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-picker.vue create mode 100644 app/components/app/therapy-protocol/picker-dialog/functional-diagnosis/diagnosis-list-cfg.ts create mode 100644 app/components/app/therapy-protocol/picker-dialog/functional-diagnosis/diagnosis-list.vue create mode 100644 app/components/app/therapy-protocol/picker-dialog/functional-diagnosis/diagnosis-picker.vue create mode 100644 app/components/app/therapy-protocol/picker-dialog/functional-diagnosis/dropdown-action-p.vue create mode 100644 app/components/app/therapy-protocol/picker-dialog/medical-diagnosis/diagnosis-list-cfg.ts create mode 100644 app/components/app/therapy-protocol/picker-dialog/medical-diagnosis/diagnosis-list.vue create mode 100644 app/components/app/therapy-protocol/picker-dialog/medical-diagnosis/diagnosis-picker.vue create mode 100644 app/components/app/therapy-protocol/picker-dialog/medical-diagnosis/dropdown-action-p.vue create mode 100644 app/components/app/therapy-protocol/verify-dialog.vue create mode 100644 app/components/content/therapy-protocol/add.vue create mode 100644 app/components/content/therapy-protocol/detail.vue create mode 100644 app/components/content/therapy-protocol/edit.vue create mode 100644 app/components/content/therapy-protocol/history-list.vue create mode 100644 app/components/content/therapy-protocol/list.vue create mode 100644 app/components/pub/my-ui/data/dropdown-action-dp.vue create mode 100644 app/components/pub/my-ui/data/dropdown-action-duvp.vue create mode 100644 app/components/pub/my-ui/data/dropdown-action-p.vue create mode 100644 app/components/pub/my-ui/form/text-area-input.vue create mode 100644 app/components/pub/my-ui/modal/doc-preview-dialog.vue create mode 100644 app/handlers/therapy-protocol.handler.ts create mode 100644 app/pages/(features)/rehab/encounter/[id]/therapy-protocol/[therapy_protocol_id]/edit.vue create mode 100644 app/pages/(features)/rehab/encounter/[id]/therapy-protocol/add.vue create mode 100644 app/pages/(features)/therapy-protocol/[id]/detail.vue create mode 100644 app/pages/(features)/therapy-protocol/[id]/edit.vue create mode 100644 app/pages/(features)/therapy-protocol/add.vue create mode 100644 app/schemas/therapy-protocol.schema.ts create mode 100644 app/schemas/verification.schema.ts create mode 100644 app/services/therapy-protocol.service.ts diff --git a/app/assets/svg/wavey-fingerprint.svg b/app/assets/svg/wavey-fingerprint.svg new file mode 100644 index 00000000..b281297f --- /dev/null +++ b/app/assets/svg/wavey-fingerprint.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/components/app/diagnose-src/list.vue b/app/components/app/diagnose-src/list.vue index 1be60a60..9b603f6b 100644 --- a/app/components/app/diagnose-src/list.vue +++ b/app/components/app/diagnose-src/list.vue @@ -4,6 +4,7 @@ import PaginationView from '~/components/pub/my-ui/pagination/pagination-view.vu // Types import type { PaginationMeta } from '~/components/pub/my-ui/pagination/pagination.type' +import type { Config, } from '~/components/pub/my-ui/data-table' // Configs import { config } from './list-cfg' @@ -11,9 +12,11 @@ import { config } from './list-cfg' interface Props { data: any[] paginationMeta: PaginationMeta + tableConfig?: Config } - -defineProps() +const props = withDefaults(defineProps(), { + tableConfig: () => config, +}) const emit = defineEmits<{ pageChange: [page: number] @@ -27,7 +30,7 @@ function handlePageChange(page: number) {