Files
2025-11-24 08:11:50 +07:00

70 lines
2.0 KiB
TypeScript

export type InfragroupCode = 'building' | 'floor' | 'warehouse' | 'room' | 'chamber' | 'bed' | 'counter' | 'public-screen'
export type ItemGroupCode = 'infra' | 'medicine' | 'device' | 'material' | 'employee-fee' | 'doctor-fee'
export type UnitTypeCode = 'reg' | 'exa' | 'pay' | 'pha' | 'lab' | 'rad'
export type ContractStatusCode = 'system' | 'employee' | 'intern' | 'other'
export type EmployeePositionCode = 'reg' | 'nur' | 'doc' | 'miw' | 'thr' | 'nut' | 'lab' | 'pha' | 'nom'
export type InternPositionCode = 'specialist' | 'nurse' | 'non-medic'
export type DoctorFeeTypeCodes = 'outpatient' | 'emergency' | 'inpatient' | 'medic-rehab'
export const infragroupCodes: Record<InfragroupCode, string> = {
building: 'Bangunan',
floor: 'Lantai',
warehouse: 'Gudang / Depo',
room: 'Ruang',
chamber: 'Kamar',
bed: 'Ranjang',
counter: 'Counter',
'public-screen': 'Public Screen',
}
export const itemGroupCodes: Record<ItemGroupCode, string> = {
infra: 'Infrastruktur',
medicine: 'Obat',
device: 'Peralatan',
material: 'Perlengkapan',
'employee-fee': 'Gaji Karyawan',
'doctor-fee': 'Gaji Dokter',
}
export const unitTypeCodes: Record<UnitTypeCode, string> = {
reg: 'Registrasi',
exa: 'Pemeriksaan',
pay: 'Pembayaran',
pha: 'Farmasai',
lab: 'Laboratorium',
rad: 'Radiologi',
}
export const contractStatusCodes: Record<ContractStatusCode, string> = {
system: 'Sistem',
employee: 'Pegawai',
intern: 'Magang',
other: 'Lainnya',
}
export const employeePositionCodes: Record<EmployeePositionCode, string> = {
reg: 'Admisi / Pendaftaran',
nur: 'Perawat',
doc: 'Dokter',
miw: 'Bidan',
thr: 'Terapis',
nut: 'Ahli Gisi',
lab: 'Laboran',
pha: 'Farmasi',
nom: 'Non Medis',
}
export const internPositionCodes: Record<InternPositionCode, string> = {
specialist: 'PPDS',
nurse: 'Perawat',
'non-medic': 'Non Medis',
}
export const doctorFeeTypeCodes: Record<DoctorFeeTypeCodes, string> = {
outpatient: 'Rawat Jalan',
emergency: 'Darurat',
inpatient: 'Rawat Inap',
'medic-rehab': 'Rehab Medik',
}