Merge branch 'dev' into feat/surat-kontrol-135
This commit is contained in:
No files matched your search
@@ -0,0 +1,94 @@
|
||||
export const serviceTypes: Record<string, string> = {
|
||||
'1': 'Rawat Inap',
|
||||
'2': 'Rawat Jalan',
|
||||
}
|
||||
|
||||
export const registerMethods: Record<string, string> = {
|
||||
'1': 'Rujukan',
|
||||
'2': 'IGD',
|
||||
'3': 'Kontrol',
|
||||
'4': 'Rujukan Internal',
|
||||
}
|
||||
|
||||
export const classLevels: Record<string, string> = {
|
||||
'1': 'Kelas 1',
|
||||
'2': 'Kelas 2',
|
||||
'3': 'Kelas 3',
|
||||
}
|
||||
|
||||
export const classLevelUpgrades: Record<string, string> = {
|
||||
'1': 'VVIP',
|
||||
'2': 'VIP',
|
||||
'3': 'Kelas 1',
|
||||
'4': 'Kelas 2',
|
||||
'5': 'Kelas 3',
|
||||
'6': 'ICCU',
|
||||
'7': 'ICU',
|
||||
'8': 'Diatas Kelas 1',
|
||||
}
|
||||
|
||||
export const classPaySources: Record<string, string> = {
|
||||
'1': 'Pribadi',
|
||||
'2': 'Pemberi Kerja',
|
||||
'3': 'Asuransi Kesehatan Tambahan',
|
||||
}
|
||||
|
||||
export const procedureTypes: Record<string, string> = {
|
||||
'0': 'Prosedur tidak berkelanjutan',
|
||||
'1': 'Prosedur dan terapi berkelanjutan',
|
||||
}
|
||||
|
||||
export const purposeOfVisits: Record<string, string> = {
|
||||
'0': 'Normal',
|
||||
'1': 'Prosedur',
|
||||
'2': 'Konsul Dokter',
|
||||
}
|
||||
|
||||
export const trafficAccidents: Record<string, string> = {
|
||||
'0': 'Bukan Kecelakaan lalu lintas [BKLL]',
|
||||
'1': 'KLL dan Bukan Kecelakaan Kerja [BKK]',
|
||||
'2': 'KLL dan KK',
|
||||
'3': 'KK',
|
||||
}
|
||||
|
||||
export const supportCodes: Record<string, string> = {
|
||||
'1': 'Radioterapi',
|
||||
'2': 'Kemoterapi',
|
||||
'3': 'Rehabilitasi Medik',
|
||||
'4': 'Rehabilitasi Psikososial',
|
||||
'5': 'Transfusi Darah',
|
||||
'6': 'Pelayanan Gigi',
|
||||
'7': 'Laboratorium',
|
||||
'8': 'USG',
|
||||
'9': 'Farmasi',
|
||||
'10': 'Lain-Lain',
|
||||
'11': 'MRI',
|
||||
'12': 'HEMODIALISA',
|
||||
}
|
||||
|
||||
export const serviceAssessments: Record<string, string> = {
|
||||
'1': 'Poli spesialis tidak tersedia pada hari sebelumnya',
|
||||
'2': 'Jam Poli telah berakhir pada hari sebelumnya',
|
||||
'3': 'Dokter Spesialis yang dimaksud tidak praktek pada hari sebelumnya',
|
||||
'4': 'Atas Instruksi RS',
|
||||
'5': 'Tujuan Kontrol',
|
||||
}
|
||||
|
||||
export const paymentTypes: Record<string, string> = {
|
||||
jkn: 'JKN (Jaminan Kesehatan Nasional)',
|
||||
jkmm: 'JKMM (Jaminan Kesehatan Mandiri)',
|
||||
spm: 'SPM (Sistem Pembayaran Mandiri)',
|
||||
pks: 'PKS (Pembiayaan Kesehatan Sosial)',
|
||||
}
|
||||
|
||||
export const sepRefTypeCodes: Record<string, string> = {
|
||||
internal: 'Rujukan Internal',
|
||||
external: 'Faskes Lain',
|
||||
}
|
||||
|
||||
export const participantGroups: Record<string, string> = {
|
||||
pbi: 'PBI (Penerima Bantuan Iuran)',
|
||||
ppu: 'PPU (Pekerja Penerima Upah)',
|
||||
pbu: 'PBU (Pekerja Bukan Penerima Upah)',
|
||||
bp: 'BP (Bukan Pekerja)',
|
||||
}
|
||||
+54
-30
@@ -2,43 +2,67 @@ import type { RoleAccess } from '~/models/role'
|
||||
|
||||
export const PAGE_PERMISSIONS = {
|
||||
'/patient': {
|
||||
doctor: ['R'],
|
||||
nurse: ['R'],
|
||||
admisi: ['C', 'R', 'U', 'D'],
|
||||
pharmacy: ['R'],
|
||||
billing: ['R'],
|
||||
management: ['R'],
|
||||
'emp|doc': ['R'],
|
||||
'emp|nur': ['R'],
|
||||
'emp|reg': ['C', 'R', 'U', 'D'],
|
||||
'emp|pha': ['R'],
|
||||
'emp|pay': ['R'],
|
||||
'emp|mng': ['R'],
|
||||
},
|
||||
'/doctor': {
|
||||
doctor: ['C', 'R', 'U', 'D'],
|
||||
nurse: ['R'],
|
||||
admisi: ['R'],
|
||||
pharmacy: ['R'],
|
||||
billing: ['R'],
|
||||
management: ['R'],
|
||||
'emp|doc': ['C', 'R', 'U', 'D'],
|
||||
'emp|nur': ['R'],
|
||||
'emp|reg': ['R'],
|
||||
'emp|pha': ['R'],
|
||||
'emp|pay': ['R'],
|
||||
'emp|mng': ['R'],
|
||||
},
|
||||
'/satusehat': {
|
||||
doctor: ['R'],
|
||||
nurse: ['R'],
|
||||
admisi: ['C', 'R', 'U', 'D'],
|
||||
pharmacy: ['R'],
|
||||
billing: ['R'],
|
||||
management: ['R'],
|
||||
'emp|doc': ['R'],
|
||||
'emp|nur': ['R'],
|
||||
'emp|reg': ['C', 'R', 'U', 'D'],
|
||||
'emp|pha': ['R'],
|
||||
'emp|pay': ['R'],
|
||||
'emp|mng': ['R'],
|
||||
},
|
||||
'/outpatient/encounter': {
|
||||
'emp|doc': ['C', 'R', 'U', 'D'],
|
||||
'emp|nur': ['C', 'R', 'U', 'D'],
|
||||
'emp|reg': ['R'],
|
||||
'emp|pha': ['R'],
|
||||
'emp|pay': ['R'],
|
||||
'emp|mng': ['R'],
|
||||
},
|
||||
'/emergency/encounter': {
|
||||
'emp|doc': ['C', 'R', 'U', 'D'],
|
||||
'emp|nur': ['C', 'R', 'U', 'D'],
|
||||
'emp|reg': ['R'],
|
||||
'emp|pha': ['R'],
|
||||
'emp|pay': ['R'],
|
||||
'emp|mng': ['R'],
|
||||
},
|
||||
'/inpatient/encounter': {
|
||||
'emp|doc': ['C', 'R', 'U', 'D'],
|
||||
'emp|nur': ['C', 'R', 'U', 'D'],
|
||||
'emp|reg': ['R'],
|
||||
'emp|pha': ['R'],
|
||||
'emp|pay': ['R'],
|
||||
'emp|mng': ['R'],
|
||||
},
|
||||
'/rehab/encounter': {
|
||||
doctor: ['C', 'R', 'U', 'D'],
|
||||
nurse: ['R'],
|
||||
admisi: ['R'],
|
||||
pharmacy: ['R'],
|
||||
billing: ['R'],
|
||||
management: ['R'],
|
||||
'emp|doc': ['C', 'R', 'U', 'D'],
|
||||
'emp|nur': ['R'],
|
||||
'emp|reg': ['R'],
|
||||
'emp|pha': ['R'],
|
||||
'emp|pay': ['R'],
|
||||
'emp|mng': ['R'],
|
||||
},
|
||||
'/rehab/registration': {
|
||||
doctor: ['C', 'R', 'U', 'D'],
|
||||
nurse: ['R'],
|
||||
admisi: ['R'],
|
||||
pharmacy: ['R'],
|
||||
billing: ['R'],
|
||||
management: ['R'],
|
||||
'emp|doc': ['C', 'R', 'U', 'D'],
|
||||
'emp|nur': ['R'],
|
||||
'emp|reg': ['R'],
|
||||
'emp|pha': ['R'],
|
||||
'emp|pay': ['R'],
|
||||
'emp|mng': ['R'],
|
||||
},
|
||||
} as const satisfies Record<string, RoleAccess>
|
||||
Reference in New Issue
Block a user