Files
simrsx-fe/app/lib/constants.ts
Hasyim Kai 44863c200a Squashed commit of the following:
commit 1a5cf194cd0d6eec85bbb8bf1c199df82aa79d4f
Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
Date:   Tue Dec 2 10:30:51 2025 +0700

    Squashed commit of the following:

    commit ec24dd8383e3a9c7cb7190b7ed9864ae7225805f
    Merge: 17cd42e 7319cbc
    Author: Muhammad Hasyim Chaidir Ali <68959522+Hasyim-Kai@users.noreply.github.com>
    Date:   Tue Dec 2 10:18:33 2025 +0700

        Merge branch 'dev' into feat/data-vaksin-192

    commit 17cd42ef03d1cda15a8f85831e747723fbb2c0a5
    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
    Date:   Mon Dec 1 16:41:06 2025 +0700

        Feat: UI Data Vaksin

    commit 1ced91229792420daca732256d535d100570d5bc
    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
    Date:   Mon Dec 1 14:10:27 2025 +0700

        Squashed commit of the following:

        commit 8e6a6b3fd1a8ed6c19099b52f5d7fc38f6a1a39a
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Fri Nov 28 14:32:47 2025 +0700

            Feat: UI PRB

        commit 4f2da6cd1e077598fb7f3cdede8d771e9b39b2d7
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Thu Nov 27 19:41:18 2025 +0700

            Squashed commit of the following:

            commit 4a465f3992
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Mon Nov 24 13:40:22 2025 +0700

                progress

            commit 7811f051a5
            Merge: f060ed3 8aac6c4
            Author: Muhammad Hasyim Chaidir Ali <68959522+Hasyim-Kai@users.noreply.github.com>
            Date:   Mon Nov 24 10:25:15 2025 +0700

                Merge branch 'dev' into feat/kfr-kemoterapi-174

            commit f060ed33d2
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Mon Nov 24 10:21:20 2025 +0700

                Feat: UI KFR

            commit 399c3cbaee
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Thu Nov 20 11:19:03 2025 +0700

                Squashed commit of the following:

                commit 72ce2260c50597f782f07d29db3985607ecc2f34
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 17 15:19:36 2025 +0700

                    Feat: add doc preview in Therpay protocol List

                commit 7032cd2409a660d40899ffd421137e4158cfde4a
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Wed Nov 12 15:34:30 2025 +0700

                    Fix: prepare API integration protokol terapi verification

                commit dbf6f78d00afc818baf2b34d128ee2153814cc88
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Wed Nov 12 14:09:28 2025 +0700

                    Feat: add basic CRUD therapy protocol

                commit 46a44e90fe4d4097b5460d2d4e5689b2a5389467
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Tue Nov 11 15:57:54 2025 +0700

                    Fix: Prepare protokol terapi API Integration

                commit 4674090566727cebd947e50e2c06c44e8c7afa7e
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 10 15:33:22 2025 +0700

                    Fix: hotfix style add protokol terapi

                commit 919c91abd8ef8b4cd193012eed7f5e8cf635cda2
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 10 15:17:14 2025 +0700

                    Fix: Typo drpodown-action-p in protokol-terapi

                commit e21d30eacf1a08118e289d4bb64889e708d5023a
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 10 15:14:33 2025 +0700

                    Fix: add diagnose & procedure dialog picker in add protokol terapi

                commit 9a3d73b72b0dceea778d83e7630c5ead110a6a4c
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Tue Nov 4 10:21:24 2025 +0700

                    Fix: Add Schema therapy protocol rehab medik

                commit 4d8d2d633bbbd78038b1cc607558c1ceb31c5986
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Tue Nov 4 09:30:55 2025 +0700

                    Fix: refactor Actions Btn ba-dr-su

                commit 5f290a6e4bd1559c0e5864a508c5ab650cfae6e8
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 3 17:08:20 2025 +0700

                    Feat: UI protokol terapi in Rehab medik

                commit 63010f69ff30532bb8ac91443112f31d4942b221
                Author: Khafid Prayoga <khafidp@pm.me>
                Date:   Tue Oct 21 09:54:13 2025 +0700

                    wip: list protokol terapi

                commit 44eedc298680a5255fee0ee8feee3e24beda93dd
                Author: Khafid Prayoga <khafidp@pm.me>
                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

        commit b2a6cdee0b7beb775830c4dceb69ff12c01d3ca4
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Wed Nov 26 14:44:57 2025 +0700

            Squashed commit of the following:

            commit 39b778ab78
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Tue Nov 25 14:39:41 2025 +0700

                Feat: UI Laporan Operasi

            commit f6ae61849d
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Tue Nov 25 14:09:25 2025 +0700

                Squashed commit of the following:

                commit 8e3ea9e8d1d7e3b06bc6e53e0b97f62222276171
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Thu Nov 20 16:14:03 2025 +0700

                    Feat: UI control letter history

                commit f11f97f936447bdb225918abb43313f8db540d67
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Thu Nov 20 15:18:25 2025 +0700

                    Squashed commit of the following:

                    commit dab6adc4a9
                    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                    Date:   Tue Nov 18 11:19:48 2025 +0700

                        Fix: add role authorization in Resume

                    commit c28fc8f7aa
                    Merge: 7ed1cc8 bcfb4c1
                    Author: Muhammad Hasyim Chaidir Ali <68959522+Hasyim-Kai@users.noreply.github.com>
                    Date:   Tue Nov 18 09:02:16 2025 +0700

                        Merge branch 'dev' into feat/resume-81

                    commit 7ed1cc83bf
                    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                    Date:   Mon Nov 17 15:04:01 2025 +0700

                        Feat: add doc preview in Resume List

                    commit bcfb4c1456
                    Merge: 1cbde57 975c87d
                    Author: Munawwirul Jamal <57973347+munaja@users.noreply.github.com>
                    Date:   Mon Nov 17 11:15:14 2025 +0700

                        Merge pull request #147 from dikstub-rssa/feat/surat-kontrol-135

                        Feat: Integration Rehab Medik - Surat Kontrol

                    commit 15ab43c1b1
                    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                    Date:   Mon Nov 17 10:38:21 2025 +0700

                        Feat: add verification capthca and form adjustment

                    commit 53bd8e7f6e
                    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                    Date:   Fri Nov 7 08:55:23 2025 +0700

                        Fix: refactor rehab medik - Resume UI

                    commit fc308809b8
                    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                    Date:   Wed Oct 29 14:57:19 2025 +0700

                        Feat: add UI Rehab Medik > Proses > Resume

                    commit 9b383a5437
                    Merge: a4dc7d7 831749a
                    Author: Muhammad Hasyim Chaidir Ali <68959522+Hasyim-Kai@users.noreply.github.com>
                    Date:   Wed Oct 29 13:32:47 2025 +0700

                        Merge pull request #139 from dikstub-rssa/dev

                        Update branch feat/resume-81

                commit 2b7bea70d66e8472220a2a2406889fc489cc1ebd
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Tue Nov 18 11:20:51 2025 +0700

                    Fix: Typo in Control Letter

                commit 808e91527cf95de2a47387bb792a3af2e16d907b
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Tue Nov 18 10:59:50 2025 +0700

                    Fix: add role authorization in Control Letter

            commit 1dd8e8e7b3
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Tue Nov 25 09:23:57 2025 +0700

                Squashed commit of the following:

                commit 72ce2260c50597f782f07d29db3985607ecc2f34
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 17 15:19:36 2025 +0700

                    Feat: add doc preview in Therpay protocol List

                commit 7032cd2409a660d40899ffd421137e4158cfde4a
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Wed Nov 12 15:34:30 2025 +0700

                    Fix: prepare API integration protokol terapi verification

                commit dbf6f78d00afc818baf2b34d128ee2153814cc88
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Wed Nov 12 14:09:28 2025 +0700

                    Feat: add basic CRUD therapy protocol

                commit 46a44e90fe4d4097b5460d2d4e5689b2a5389467
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Tue Nov 11 15:57:54 2025 +0700

                    Fix: Prepare protokol terapi API Integration

                commit 4674090566727cebd947e50e2c06c44e8c7afa7e
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 10 15:33:22 2025 +0700

                    Fix: hotfix style add protokol terapi

                commit 919c91abd8ef8b4cd193012eed7f5e8cf635cda2
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 10 15:17:14 2025 +0700

                    Fix: Typo drpodown-action-p in protokol-terapi

                commit e21d30eacf1a08118e289d4bb64889e708d5023a
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 10 15:14:33 2025 +0700

                    Fix: add diagnose & procedure dialog picker in add protokol terapi

                commit 9a3d73b72b0dceea778d83e7630c5ead110a6a4c
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Tue Nov 4 10:21:24 2025 +0700

                    Fix: Add Schema therapy protocol rehab medik

                commit 4d8d2d633bbbd78038b1cc607558c1ceb31c5986
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Tue Nov 4 09:30:55 2025 +0700

                    Fix: refactor Actions Btn ba-dr-su

                commit 5f290a6e4bd1559c0e5864a508c5ab650cfae6e8
                Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
                Date:   Mon Nov 3 17:08:20 2025 +0700

                    Feat: UI protokol terapi in Rehab medik

                commit 63010f69ff30532bb8ac91443112f31d4942b221
                Author: Khafid Prayoga <khafidp@pm.me>
                Date:   Tue Oct 21 09:54:13 2025 +0700

                    wip: list protokol terapi

                commit 44eedc298680a5255fee0ee8feee3e24beda93dd
                Author: Khafid Prayoga <khafidp@pm.me>
                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

            commit 3e5c03148b
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Tue Nov 25 09:17:11 2025 +0700

                progress

commit a89c480474c025fb683383693e6a6808baa1d0d6
Merge: 8e6a6b3 7319cbc
Author: Muhammad Hasyim Chaidir Ali <68959522+Hasyim-Kai@users.noreply.github.com>
Date:   Tue Dec 2 10:27:07 2025 +0700

    Merge branch 'dev' into feat/prb-189

commit 8e6a6b3fd1a8ed6c19099b52f5d7fc38f6a1a39a
Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
Date:   Fri Nov 28 14:32:47 2025 +0700

    Feat: UI PRB

commit 4f2da6cd1e077598fb7f3cdede8d771e9b39b2d7
Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
Date:   Thu Nov 27 19:41:18 2025 +0700

    Squashed commit of the following:

    commit 4a465f3992
    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
    Date:   Mon Nov 24 13:40:22 2025 +0700

        progress

    commit 7811f051a5
    Merge: f060ed3 8aac6c4
    Author: Muhammad Hasyim Chaidir Ali <68959522+Hasyim-Kai@users.noreply.github.com>
    Date:   Mon Nov 24 10:25:15 2025 +0700

        Merge branch 'dev' into feat/kfr-kemoterapi-174

    commit f060ed33d2
    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
    Date:   Mon Nov 24 10:21:20 2025 +0700

        Feat: UI KFR

    commit 399c3cbaee
    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
    Date:   Thu Nov 20 11:19:03 2025 +0700

        Squashed commit of the following:

        commit 72ce2260c50597f782f07d29db3985607ecc2f34
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 17 15:19:36 2025 +0700

            Feat: add doc preview in Therpay protocol List

        commit 7032cd2409a660d40899ffd421137e4158cfde4a
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Wed Nov 12 15:34:30 2025 +0700

            Fix: prepare API integration protokol terapi verification

        commit dbf6f78d00afc818baf2b34d128ee2153814cc88
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Wed Nov 12 14:09:28 2025 +0700

            Feat: add basic CRUD therapy protocol

        commit 46a44e90fe4d4097b5460d2d4e5689b2a5389467
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Tue Nov 11 15:57:54 2025 +0700

            Fix: Prepare protokol terapi API Integration

        commit 4674090566727cebd947e50e2c06c44e8c7afa7e
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 10 15:33:22 2025 +0700

            Fix: hotfix style add protokol terapi

        commit 919c91abd8ef8b4cd193012eed7f5e8cf635cda2
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 10 15:17:14 2025 +0700

            Fix: Typo drpodown-action-p in protokol-terapi

        commit e21d30eacf1a08118e289d4bb64889e708d5023a
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 10 15:14:33 2025 +0700

            Fix: add diagnose & procedure dialog picker in add protokol terapi

        commit 9a3d73b72b0dceea778d83e7630c5ead110a6a4c
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Tue Nov 4 10:21:24 2025 +0700

            Fix: Add Schema therapy protocol rehab medik

        commit 4d8d2d633bbbd78038b1cc607558c1ceb31c5986
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Tue Nov 4 09:30:55 2025 +0700

            Fix: refactor Actions Btn ba-dr-su

        commit 5f290a6e4bd1559c0e5864a508c5ab650cfae6e8
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 3 17:08:20 2025 +0700

            Feat: UI protokol terapi in Rehab medik

        commit 63010f69ff30532bb8ac91443112f31d4942b221
        Author: Khafid Prayoga <khafidp@pm.me>
        Date:   Tue Oct 21 09:54:13 2025 +0700

            wip: list protokol terapi

        commit 44eedc298680a5255fee0ee8feee3e24beda93dd
        Author: Khafid Prayoga <khafidp@pm.me>
        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

commit b2a6cdee0b7beb775830c4dceb69ff12c01d3ca4
Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
Date:   Wed Nov 26 14:44:57 2025 +0700

    Squashed commit of the following:

    commit 39b778ab78
    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
    Date:   Tue Nov 25 14:39:41 2025 +0700

        Feat: UI Laporan Operasi

    commit f6ae61849d
    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
    Date:   Tue Nov 25 14:09:25 2025 +0700

        Squashed commit of the following:

        commit 8e3ea9e8d1d7e3b06bc6e53e0b97f62222276171
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Thu Nov 20 16:14:03 2025 +0700

            Feat: UI control letter history

        commit f11f97f936447bdb225918abb43313f8db540d67
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Thu Nov 20 15:18:25 2025 +0700

            Squashed commit of the following:

            commit dab6adc4a9
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Tue Nov 18 11:19:48 2025 +0700

                Fix: add role authorization in Resume

            commit c28fc8f7aa
            Merge: 7ed1cc8 bcfb4c1
            Author: Muhammad Hasyim Chaidir Ali <68959522+Hasyim-Kai@users.noreply.github.com>
            Date:   Tue Nov 18 09:02:16 2025 +0700

                Merge branch 'dev' into feat/resume-81

            commit 7ed1cc83bf
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Mon Nov 17 15:04:01 2025 +0700

                Feat: add doc preview in Resume List

            commit bcfb4c1456
            Merge: 1cbde57 975c87d
            Author: Munawwirul Jamal <57973347+munaja@users.noreply.github.com>
            Date:   Mon Nov 17 11:15:14 2025 +0700

                Merge pull request #147 from dikstub-rssa/feat/surat-kontrol-135

                Feat: Integration Rehab Medik - Surat Kontrol

            commit 15ab43c1b1
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Mon Nov 17 10:38:21 2025 +0700

                Feat: add verification capthca and form adjustment

            commit 53bd8e7f6e
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Fri Nov 7 08:55:23 2025 +0700

                Fix: refactor rehab medik - Resume UI

            commit fc308809b8
            Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
            Date:   Wed Oct 29 14:57:19 2025 +0700

                Feat: add UI Rehab Medik > Proses > Resume

            commit 9b383a5437
            Merge: a4dc7d7 831749a
            Author: Muhammad Hasyim Chaidir Ali <68959522+Hasyim-Kai@users.noreply.github.com>
            Date:   Wed Oct 29 13:32:47 2025 +0700

                Merge pull request #139 from dikstub-rssa/dev

                Update branch feat/resume-81

        commit 2b7bea70d66e8472220a2a2406889fc489cc1ebd
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Tue Nov 18 11:20:51 2025 +0700

            Fix: Typo in Control Letter

        commit 808e91527cf95de2a47387bb792a3af2e16d907b
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Tue Nov 18 10:59:50 2025 +0700

            Fix: add role authorization in Control Letter

    commit 1dd8e8e7b3
    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
    Date:   Tue Nov 25 09:23:57 2025 +0700

        Squashed commit of the following:

        commit 72ce2260c50597f782f07d29db3985607ecc2f34
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 17 15:19:36 2025 +0700

            Feat: add doc preview in Therpay protocol List

        commit 7032cd2409a660d40899ffd421137e4158cfde4a
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Wed Nov 12 15:34:30 2025 +0700

            Fix: prepare API integration protokol terapi verification

        commit dbf6f78d00afc818baf2b34d128ee2153814cc88
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Wed Nov 12 14:09:28 2025 +0700

            Feat: add basic CRUD therapy protocol

        commit 46a44e90fe4d4097b5460d2d4e5689b2a5389467
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Tue Nov 11 15:57:54 2025 +0700

            Fix: Prepare protokol terapi API Integration

        commit 4674090566727cebd947e50e2c06c44e8c7afa7e
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 10 15:33:22 2025 +0700

            Fix: hotfix style add protokol terapi

        commit 919c91abd8ef8b4cd193012eed7f5e8cf635cda2
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 10 15:17:14 2025 +0700

            Fix: Typo drpodown-action-p in protokol-terapi

        commit e21d30eacf1a08118e289d4bb64889e708d5023a
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 10 15:14:33 2025 +0700

            Fix: add diagnose & procedure dialog picker in add protokol terapi

        commit 9a3d73b72b0dceea778d83e7630c5ead110a6a4c
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Tue Nov 4 10:21:24 2025 +0700

            Fix: Add Schema therapy protocol rehab medik

        commit 4d8d2d633bbbd78038b1cc607558c1ceb31c5986
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Tue Nov 4 09:30:55 2025 +0700

            Fix: refactor Actions Btn ba-dr-su

        commit 5f290a6e4bd1559c0e5864a508c5ab650cfae6e8
        Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
        Date:   Mon Nov 3 17:08:20 2025 +0700

            Feat: UI protokol terapi in Rehab medik

        commit 63010f69ff30532bb8ac91443112f31d4942b221
        Author: Khafid Prayoga <khafidp@pm.me>
        Date:   Tue Oct 21 09:54:13 2025 +0700

            wip: list protokol terapi

        commit 44eedc298680a5255fee0ee8feee3e24beda93dd
        Author: Khafid Prayoga <khafidp@pm.me>
        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

    commit 3e5c03148b
    Author: hasyim_kai <muhammad.hasyim.c.a@gmail.com>
    Date:   Tue Nov 25 09:17:11 2025 +0700

        progress
2025-12-04 09:46:11 +07:00

501 lines
14 KiB
TypeScript

export const activeStatusCodes: Record<string, string> = {
active: 'Aktif',
inactive: 'Tidak Aktif',
}
export const dataStatusCodes: Record<string, string> = {
new: 'Baru',
review: 'Review',
process: 'Proses',
done: 'Selesai',
cancel: 'Dibatalkan',
rejected: 'Ditolak',
skiped: 'Dilewati',
}
export const userStatusCodes: Record<string, string> = {
new: 'Baru',
active: 'Aktif',
inactive: 'Tidak Aktif',
blocked: 'Diblokir',
suspended: 'Dibekukan',
}
export const itemGroupCodes: Record<string, string> = {
infra: 'Infrastruktur',
medicine: 'Obat',
device: 'Peralatan',
material: 'Perlengkapan',
}
export const unitTypeCodes: Record<string, string> = {
reg: 'Registrasi',
exa: 'Pemeriksaan',
pay: 'Pembayaran',
pha: 'Farmasai',
lab: 'Laboratorium',
rad: 'Radiologi',
}
export const queueStatusCodes: Record<string, string> = {
wait: 'Tunggu',
proc: 'Proses',
done: 'Selesai',
cancel: 'Batal',
skip: 'Dilewati',
}
export const encounterClassCodes: Record<string, string> = {
outpatient: 'Rawat Jalan',
ambulatory: 'Rawat Jalan',
emergency: 'Gawat Darurat',
inpatient: 'Rawat Inap',
draft: 'Draft',
done: 'Selesai',
cancel: 'Batal',
skip: 'Dilewati',
}
export const timeUnitCodes: Record<string, string> = {
sec: 'Detik',
min: 'Menit',
hour: 'Jam',
day: 'Hari',
week: 'Minggu',
month: 'Bulan',
year: 'Tahun',
}
export const bigTimeUnitCodes: Record<string, string> = {
day: 'Hari',
week: 'Minggu',
month: 'Bulan',
year: 'Tahun',
}
export const dischargeMethodCodes: Record<string, string> = {
home: "Pulang",
"home-request": "Pulang Atas Permintaan Sendiri",
"consul-back": "Konsultasi Balik / Lanjutan",
"consul-poly": "Konsultasi Poliklinik Lain",
"consul-executive": "Konsultasi Antar Dokter Eksekutif",
"consul-ch-day": "Konsultasi Hari Lain",
emergency: "Rujuk IGD",
"emergency-covid": "Rujuk IGD Covid",
inpatient: "Rujuk Rawat Inap",
external: "Rujuk Faskes Lain",
death: "Meninggal",
"death-on-arrival": "Meninggal Saat Tiba"
}
export const genderCodes: Record<string, string> = {
male: 'Laki',
female: 'Perempuan',
'not-stated': 'Tidak Disebutkan',
unknown: 'Tidak Diketahui',
}
export const religionCodes: Record<string, string> = {
islam: 'Islam',
protestan: 'Protestan',
katolik: 'Katolik',
hindu: 'Hindu',
buda: 'Buda',
konghucu: 'Konghucu',
other: 'Kepercayaan Lain',
}
export const educationCodes: Record<string, string> = {
TS: 'TS',
TK: 'TK',
SD: 'SD',
SMP: 'SMP',
SMA: 'SMA',
D1: 'D1',
D2: 'D2',
D3: 'D3',
S1: 'S1',
S2: 'S2',
S3: 'S3',
}
export const occupationCodes: Record<string, string> = {
unknown: 'Tidak diketahui',
tidak_bekerja: 'Belum/Tidak Bekerja',
mengurus_rumah_tangga: 'Mengurus Rumah Tangga',
pelajar: 'Pelajar/Mahasiswa',
pensiunan: 'Pensiunan',
pns: 'Pegawai Negeri Sipil',
tni: 'Tentara Nasional Indonesia',
polri: 'Kepolisian RI',
perdagangan: 'Perdagangan',
petani: 'Petani/Pekebun',
peternak: 'Peternak',
nelayan: 'Nelayan/Perikanan',
industri: 'Industri',
konstruksi: 'Konstruksi',
transportasi: 'Transportasi',
karyawan_swasta: 'Karyawan Swasta',
karyawan_bumn: 'Karyawan BUMN',
karyawan_bumd: 'Karyawan BUMD',
karyawan_honorer: 'Karyawan Honorer',
buruh_harian: 'Buruh Harian Lepas',
buruh_tani: 'Buruh Tani/Perkebunan',
buruh_nelayan: 'Buruh Nelayan/Perikanan',
buruh_peternakan: 'Buruh Peternakan',
pembantu_rumah_tangga: 'Pembantu Rumah Tangga',
tukang_cukur: 'Tukang Cukur',
tukang_listrik: 'Tukang Listrik',
tukang_batu: 'Tukang Batu',
tukang_kayu: 'Tukang Kayu',
tukang_sol_sepatu: 'Tukang Sol Sepatu',
tukang_jahit: 'Tukang Jahit',
tukang_gigi: 'Tukang Gigi',
penata_rias: 'Penata Rias',
penata_busana: 'Penata Busana',
penata_rambut: 'Penata Rambut',
mekanik: 'Mekanik',
seniman: 'Seniman',
tabib: 'Tabib',
paraji: 'Paraji',
perancang_busana: 'Perancang Busana',
penterjemah: 'Penterjemah',
imam_mesjid: 'Imam Mesjid',
pendeta: 'Pendeta',
pastor: 'Pastor',
wartawan: 'Wartawan',
ustadz: 'Ustadz/Mubaligh',
juru_masak: 'Juru Masak',
promotor: 'Promotor Acara',
dpr_ri: 'Anggota DPR-RI',
dpd: 'Anggota DPD',
bpk: 'Anggota BPK',
presiden: 'Presiden',
wakil_presiden: 'Wakil Presiden',
mk: 'Anggota Mahkamah Konstitusi',
kabinet: 'Anggota Kabinet/Kementrian',
dubes: 'Duta Besar',
gubernur: 'Gubernur',
wakil_gubernur: 'Wakil Gubernur',
bupati: 'Bupati',
wakil_bupati: 'Wakil Bupati',
walikota: 'Walikota',
wakil_walikota: 'Wakil Walikota',
dprd_provinsi: 'Anggota DPRD Provinsi',
dprd_kabkota: 'Anggota DPRD Kabupaten/Kota',
dosen: 'Dosen',
guru: 'Guru',
pilot: 'Pilot',
pengacara: 'Pengacara',
arsitek: 'Arsitek',
akuntan: 'Akuntan',
konsultan: 'Konsultan',
dokter: 'Dokter',
bidan: 'Bidan',
apoteker: 'Apoteker',
psikolog: 'Psikiater/Psikolog',
penyiar_tv: 'Penyiar Televisi',
penyiar_radio: 'Penyiar Radio',
pelaut: 'Pelaut',
sopir: 'Sopir',
pialang: 'Pialang',
paranormal: 'Paranormal',
pedagang: 'Pedagang',
perangkat_desa: 'Perangkat Desa',
kepala_desa: 'Kepala Desa',
biarawati: 'Biarawati',
wiraswasta: 'Wiraswasta',
lainnya: 'Lainnya',
}
export const personContactTypes: Record<string, string> = {
phone: 'Telepon',
'm-phone': 'HP / Ponsel',
email: 'Email',
fax: 'Fax',
}
// Mapping dari UI values ke contact type constants
export const contactTypeMapping: Record<string, string> = {
phoneNumber: 'm-phone',
officePhoneNumber: 'phone',
homePhoneNumber: 'phone',
email: 'email',
fax: 'fax',
}
export const dayCodes: Record<string, string> = {
'0': 'Minggu',
'1': '',
'2': '',
'3': '',
'4': '',
'5': '',
'6': 'Sabtu',
}
export const paymentMethodCodes: Record<string, string> = {
cash: 'Cash',
debit: 'Debit',
credit: 'Kredit',
insurance: 'Asuransi',
membership: 'Membership',
}
export const transportationCodes: Record<string, string> = {
ambulance: 'Ambulans',
car: 'Mobil',
'motor-cycle': 'Motor',
other: 'Lainnya',
}
export const personConditionCodes: Record<string, string> = {
res: 'Resutiasi',
emg: 'Darurat',
urg: 'Mendesak',
lurg: 'Kurang Mendesak',
nurg: 'Mendesak',
doa: 'Meninggal Saat Tiba',
}
export const emergencyClassCodes: Record<string, string> = {
emg: 'Darurat',
eon: 'Ponek',
}
export const outpatientClassCodes: Record<string, string> = {
op: 'Rawat Inap',
icu: 'ICU',
hcu: 'HCU',
vk: 'Kamar Bersalin',
}
export const checkupScopeCodes: Record<string, string> = {
lab: 'Laboratorium',
'mic-lab': 'Microbacterial Laboratorium',
'pa-lab': 'Patology Anatomy Laboratorium',
rad: 'Radiology',
}
export const employeePositionCodes: Record<string, string> = {
doctor: 'Dokter',
nurse: 'Perawat',
nutritionist: 'Ahli Gisi',
laborant: 'Laboran',
pharmacy: 'Farmasi',
payment: 'Pembayaran',
'payment-verificator': 'Konfirmasi Pembayaran',
management: 'Management',
}
export const subjectCodes: Record<string, string> = {
'pri-compl': 'Primary Complaint',
'sec-compl': 'Secondary Complaint',
'cur-disea-hist': 'Current Disease History',
'pas-disea-hist': 'Past Disease History',
'fam-disea-hist': 'Family Disease History',
'alg-hist': 'Allergic Hist',
'alg-react': 'Allergic Reaction',
'med-hist': 'Medication Hist',
}
export const objectCodes: Record<string, string> = {
'consc-level': 'Tingkat Kesadaran',
'consc-level-det': 'Detail Tingkat Kesadaran',
'syst-bp': 'Tekanan Darah Systolic',
'diast-bp': 'Tekanan Darah Diastolic',
'hear-rt': 'Detak Jantung',
temp: 'Suhu',
spo2: 'SpO2',
weight: 'Berat Badan',
height: 'Tinggi Badan',
}
export const assessmentCodes: Record<string, string> = {
'early-diag': 'Diagnosis Awal',
'late-diag': 'Diagnosis Akhir',
'sec-diag': 'Diagnosis Sekunder',
}
export const instructionCodes: Record<string, string> = {
detail: 'Detail Instruksi',
'med-act': 'Tindakan medis',
medication: 'Obat',
material: 'BMHP',
}
export const relationshipCodes: Record<string, string> = {
mother: 'Ibu',
father: 'Ayah',
uncle: 'Paman',
aunt: 'Bibi',
sibling: 'Saudara',
'gd-mother': 'Nenek',
'gd-father': 'Kakek',
child: 'Anak',
nephew: 'Keponakan',
'gd-child': 'Cucu',
other: 'Lainnya',
}
export const uploadCode: Record<string, string> = {
ktp: 'person-resident-number',
sim: 'person-driving-license',
kk: 'person-family-card',
paspor: 'person-passport',
'mcu-report': 'mcu-item-result',
} as const
export type UploadCodeKey = keyof typeof uploadCode
export type UploadCodeValue = (typeof uploadCode)[UploadCodeKey]
export const infraGroupCodes: Record<string, string> = {
building: 'Bangunan',
floor: 'Lantai',
warehouse: 'Gudang / Depo',
room: 'Ruang',
chamber: 'Kamar',
bed: 'Ranjang',
counter: 'Counter',
'public-screen': 'Public Screen',
}
export const infraGroupCodesKeys: Record<string, string> = Object.keys(infraGroupCodes).reduce(
(acc, key) => {
acc[key] = key
return acc
},
{} as Record<string, string>,
)
export const addressLocationTypeCode: Record<string, string> = {
identity: 'Alamat KTP',
domicile: 'Alamat Domisili',
}
export type AddressLocationTypeCode = keyof typeof addressLocationTypeCode
export const medicalActionTypeCode: Record<string, string> = {
chemo: 'Chemo',
hemo: 'Hemo',
thalasemia: 'Thalasemia',
echocardio: 'Echocardiography',
spirometry: 'Spirometry',
} as const
export type medicalActionTypeCodeKey = keyof typeof medicalActionTypeCode
export const encounterDocTypeCode: Record<string, string> = {
"person-resident-number": 'person-resident-number',
"person-driving-license": 'person-driving-license',
"person-passport": 'person-passport',
"person-family-card": 'person-family-card',
"mcu-item-result": 'mcu-item-result',
"vclaim-sep": 'vclaim-sep',
"vclaim-sipp": 'vclaim-sipp',
} as const
export type encounterDocTypeCodeKey = keyof typeof encounterDocTypeCode
export const encounterDocOpt: { label: string; value: encounterDocTypeCodeKey }[] = [
{ label: 'KTP', value: 'person-resident-number' },
{ label: 'SIM', value: 'person-driving-license' },
{ label: 'Passport', value: 'person-passport' },
{ label: 'Kartu Keluarga', value: 'person-family-card' },
{ label: 'Hasil MCU', value: 'mcu-item-result' },
{ label: 'Klaim SEP', value: 'vclaim-sep' },
{ label: 'Klaim SIPP', value: 'vclaim-sipp' },
]
export const docTypeCode = {
"encounter-patient": 'encounter-patient',
"encounter-support": 'encounter-support',
"encounter-other": 'encounter-other',
"vclaim-sep": 'vclaim-sep',
"vclaim-sipp": 'vclaim-sipp',
} as const
export const docTypeLabel = {
"encounter-patient": 'Data Pasien',
"encounter-support": 'Data Penunjang',
"encounter-other": 'Lain - Lain',
"vclaim-sep": 'SEP',
"vclaim-sipp": 'SIPP',
} as const
export type docTypeCodeKey = keyof typeof docTypeCode
export const supportingDocOpt = [
{ label: 'Data Pasien', value: 'encounter-patient' },
{ label: 'Data Penunjang', value: 'encounter-support' },
{ label: 'Lain - Lain', value: 'encounter-other' },
]
export type SurgeryType = "kecil" | "sedang" | "besar" | "khusus"
export const SurgeryTypeOptList: { label: string; value: SurgeryType }[] = [
{ label: 'Kecil', value: 'kecil' },
{ label: 'Sedang', value: 'sedang' },
{ label: 'Besar', value: 'besar' },
{ label: 'Khusus', value: 'khusus' },
]
export type BillingCodeType = "general" | "regional" | "local"
export const BillingCodeTypeOptList: { label: string; value: BillingCodeType }[] = [
{ label: 'General', value: 'general' },
{ label: 'Regional', value: 'regional' },
{ label: 'Local', value: 'local' },
]
export type SurgerySystemType = "cito" | "urgent" | "efektif" | "khusus"
export const SurgerySystemTypeOptList: { label: string; value: SurgerySystemType }[] = [
{ label: 'Cito', value: 'cito' },
{ label: 'Urgent', value: 'urgent' },
{ label: 'Efektif', value: 'efektif' },
{ label: 'Khusus', value: 'khusus' },
]
export type DissectionType = "bersih" | "bersih terkontaminasi" | "terkontaminasi kotor" | "kotor"
export const DissectionTypeOptList: { label: string; value: DissectionType }[] = [
{ label: 'Bersih', value: 'bersih' },
{ label: 'Bersih terkontaminasi', value: 'bersih terkontaminasi' },
{ label: 'Terkontaminasi kotor', value: 'terkontaminasi kotor' },
{ label: 'Kotor', value: 'kotor' },
]
export type SurgeryOrderType = "satu" | "ulangan"
export const SurgeryOrderTypeOptList: { label: string; value: SurgeryOrderType }[] = [
{ label: 'Satu', value: 'satu' },
{ label: 'Ulangan', value: 'ulangan' },
]
export type BirthDescriptionType = "lahir hidup" | "lahir mati"
export const BirthDescriptionTypeOptList: { label: string; value: BirthDescriptionType }[] = [
{ label: 'Lahir Hidup', value: 'lahir hidup' },
{ label: 'Lahir Mati', value: 'lahir mati' },
]
export type BirthPlaceDescriptionType = "rssa" | "bidan luar" | "dokter luar" | "dukun bayi" | "puskesmas" | "paramedis luar"
export const BirthPlaceDescriptionTypeOptList: { label: string; value: BirthPlaceDescriptionType }[] = [
{ label: 'RSSA', value: 'rssa' },
{ label: 'Bidan luar', value: 'bidan luar' },
{ label: 'Dokter luar', value: 'dokter luar' },
{ label: 'Dukun bayi', value: 'dukun bayi' },
{ label: 'Puskesmas', value: 'puskesmas' },
{ label: 'Paramedis luar', value: 'paramedis luar' },
]
export type SpecimenType = "pa" | "mikrobiologi" | "laborat" | "tidak perlu"
export const SpecimenTypeOptList: { label: string; value: SpecimenType }[] = [
{ label: 'PA', value: 'pa' },
{ label: 'Mikrobiologi', value: 'mikrobiologi' },
{ label: 'Laborat', value: 'laborat' },
{ label: 'Tidak perlu', value: 'tidak perlu' },
]
export type PrbProgramType = "ashma" | "diabetes mellitus" | "hipertensi" | "penyakit jantung" | "ppok" | "schizopherenia" | "stroke" | "systemic lupus erythematosus"
export const PrbProgramTypeOptList: { label: string; value: PrbProgramType }[] = [
{ label: 'ASHMA', value: 'ashma' },
{ label: 'Diabetes Mellitus', value: 'diabetes mellitus' },
{ label: 'Hipertensi', value: 'hipertensi' },
{ label: 'Penyakit Jantung', value: 'penyakit jantung' },
{ label: 'PPOK (Penyakit Paru Obstruktif Kronik)', value: 'ppok' },
{ label: 'Schizopherenia', value: 'schizopherenia' },
{ label: 'Stroke', value: 'stroke' },
{ label: 'Systemic Lupus Erythematosus', value: 'systemic lupus erythematosus' },
]