233 lines
8.7 KiB
TypeScript
233 lines
8.7 KiB
TypeScript
export type SubjectCode = 'detail' | 'pri-complain' | 'sec-complain' | 'cur-disea-hist' | 'pas-disea-hist' | 'fam-disea-hist' | 'alg-hist' | 'alg-react' | 'med-hist' | 'blood-type'
|
|
export type ObjectCode = 'detail' | 'consc-level' | 'consc-level-det' | 'syst-bp' | 'diast-bp' | 'pulse' | 'resp-rate' | 'hear-rt' | 'neuro-cranialis' | 'sensoris' | 'reflect-fisio' | 'reflect-pato' | 'autonom-neuron' | 'neck-rom' | 'body-rom' | 'aga-rom' | 'agb-rom' | 'neck-mmt' | 'body-mmt' | 'aga-mmt' | 'agb-mmt' | 'localis' | 'medical-trouble' | 'rehab-medic-trouble' | 'temp' | 'spo2' | 'weight' | 'height' | 'head-to-toe'
|
|
export type AssessmentCode = 'detail' | 'early-med-diag' | 'late-med-diag' | 'sec-med-diag' | 'early-func-diag' | 'late-func-diag' | 'sec-func-diag' | 'patient-dev'
|
|
export type PlanCode = 'detail' | 'plan'
|
|
export type InstructionCode = 'detail' | 'medical-act' | 'supporting-exam' | 'therapy' | 'medication' | 'material' | 'rehab-program' | 'physic-modal' | 'exercise' | 'ortes-protesa' | 'education' | 'other'
|
|
export type HeadToToeCode = 'head' | 'eye' | 'ear' | 'nose' | 'mouth-throat' | 'head-others' | 'thorax' | 'heart' | 'lung' | 'abdomen' | 'liver' | 'back' | 'ekstremitas' | 'gender' | 'rectum' | 'neuron' | 'body-others'
|
|
export type McuUrgencyLevelCode = 'cito' | 'cito-igd' | 'ponek' | 'blood-gas' | 'priority-form' | 'routine'
|
|
export type McuScopeCode = 'cp-lab' | 'mic-lab' | 'ap-lab' | 'rad'
|
|
export type SoapiTypeCode = 'early-medic' | 'early-rehab' | 'function' | 'progress' | 'dev-record' | 'kfr-adm' | 'kfr-series'
|
|
export type MedicalActionTypeCode = 'chemo' | 'hemo' | 'thalasemia' | 'echocardio' | 'spirometry'
|
|
export type VehicleTypeCode = 'ambulance' | 'transport' | 'hearse'
|
|
export type GeneralEduCode = 'right-obg' | 'general-consent' | 'service' | 'alt-care-src' | 'home-plan' | 'home-care' | 'orientation' | 'fall-risk-prevention' | 'alt-care' | 'act-delay' | 'others'
|
|
export type SpecialEduCode = 'disease-diag-dev' | 'safe-med-usage' | 'side-effect' | 'diet' | 'pain-mgmt' | 'medical-eq-usage' | 'rehab-technique' | 'prevention-act'
|
|
export type EduAssessmentCode = 'learn-ability' | 'learn-will' | 'obstacle' | 'learn-method' | 'lang' | 'lang-obstacle' | 'belief'
|
|
export type AbilityCode = 'able' | 'not-able'
|
|
export type WillCode = 'ready' | 'interested' | 'not-interested'
|
|
export type MedObstacleCode = 'hearing' | 'sight' | 'physical' | 'emotional' | 'cognitif'
|
|
export type LearnMethodCode = 'demo' | 'discuss-leaflet'
|
|
export type LangClassCode = 'ind' | 'region' | 'foreign'
|
|
export type TranslatorSrcCode = 'team' | 'family'
|
|
export type ProcedureRoomTypeCode = 'procedure' | 'operation'
|
|
|
|
export const subjectCodes: Record<SubjectCode, string> = {
|
|
detail: 'Detail',
|
|
'pri-complain': 'Keluhan Utama',
|
|
'sec-complain': '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',
|
|
'blood-type': 'Golongan Darah',
|
|
}
|
|
|
|
export const objectCodes: Record<ObjectCode, string> = {
|
|
detail: 'Detail',
|
|
'consc-level': 'Tingkat Kesadaran',
|
|
'consc-level-det': 'Detail Tingkat Kesadaran',
|
|
'syst-bp': 'Tekanan Darah Systolic',
|
|
'diast-bp': 'Tekanan Darah Diastolic',
|
|
'pulse': 'Nadi',
|
|
'resp-rate': 'Pernafasan',
|
|
'hear-rt': 'Detak Jantung',
|
|
'neuro-cranialis': 'Neurologist Cranialist',
|
|
'sensoris': 'Sensoris',
|
|
'reflect-fisio': 'Refleks Fisiologi',
|
|
'reflect-pato': 'Refleks Patologi',
|
|
'autonom-neuron': 'Saraf Otonom',
|
|
'neck-rom': 'ROM - Leher',
|
|
'body-rom': 'ROM - Batang Tubuh',
|
|
'aga-rom': 'ROM - AGA',
|
|
'agb-rom': 'ROM - AGB',
|
|
'neck-mmt': 'MMT - Leher',
|
|
'body-mmt': 'MMT - Batang Tubuh',
|
|
'aga-mmt': 'MMT - AGA',
|
|
'agb-mmt': 'MMT - AGB',
|
|
'localis': 'Status Lokalis',
|
|
'medical-trouble': 'Masalah Medis',
|
|
'rehab-medic-trouble': 'Masalah Rehab Medik',
|
|
'temp': 'Suhu',
|
|
'spo2': 'SpO2',
|
|
'weight': 'Berat Badan',
|
|
'height': 'Tinggi Badan',
|
|
'head-to-toe': 'Kepala Sampai Kaki',
|
|
}
|
|
|
|
export const assessmentCodes: Record<AssessmentCode, string> = {
|
|
detail: 'Detail',
|
|
'early-med-diag': 'Diagnosis Medis Awal',
|
|
'late-med-diag': 'Diagnosis Medis Akhir',
|
|
'sec-med-diag': 'Diagnosis Medis Sekunder',
|
|
'early-func-diag': 'Diagnosis Fungsi Awal',
|
|
'late-func-diag': 'Diagnosis Fungsi Akhir',
|
|
'sec-func-diag': 'Diagnosis Fungsi Sekunder',
|
|
'patient-dev': 'Catatan Perkembangan Patient',
|
|
}
|
|
|
|
export const planCodes: Record<PlanCode, string> = {
|
|
detail: 'Detail',
|
|
'plan': 'Rencana',
|
|
}
|
|
|
|
export const instructionCodes: Record<InstructionCode, string> = {
|
|
detail: 'Detail Instruksi',
|
|
'medical-act': 'Tindakan medis',
|
|
'supporting-exam': 'Pemeriksaan Penunjang',
|
|
'therapy': 'Terapi',
|
|
'medication': 'Obat',
|
|
'material': 'BMHP',
|
|
'rehab-program': 'Program Rehab',
|
|
'physic-modal': 'Modalitas Fisik',
|
|
'exercise': 'Latihan',
|
|
'ortes-protesa': 'Ortesa Protesa',
|
|
'education': 'Edukasi',
|
|
'other': 'Lain-lain',
|
|
}
|
|
|
|
export const headToToeCodes: Record<HeadToToeCode, string> = {
|
|
head: 'Kepala',
|
|
eye: 'Mata',
|
|
ear: 'Telinga',
|
|
nose: 'Hidung',
|
|
'mouth-throat': 'Mulut - Tenggorokan',
|
|
'head-others': 'Kepala - Lainnya',
|
|
thorax: 'Toraks',
|
|
heart: 'Jantung',
|
|
lung: 'Paru',
|
|
abdomen: 'Perut',
|
|
liver: 'Hati',
|
|
back: 'Punggung',
|
|
ekstremitas: 'Ekstermitas',
|
|
gender: 'Kelamin',
|
|
rectum: 'Dubur',
|
|
neuron: 'Syaraf',
|
|
'body-others': 'Badan - Lainnya',
|
|
}
|
|
|
|
export const mcuUrgencyLevelCodes: Record<McuUrgencyLevelCode, string> = {
|
|
cito: 'CITO',
|
|
'cito-igd': 'CITO IGD',
|
|
ponek: 'PONEK',
|
|
'blood-gas': 'Analisa Gas Darah',
|
|
'priority-form': 'Form Prioritas',
|
|
routine: 'Pemeriksaan Rutin',
|
|
}
|
|
|
|
export const mcuScopeCodes: Record<McuScopeCode, string> = {
|
|
'cp-lab': 'Laboratorium',
|
|
'mic-lab': 'Microbacterial Laboratorium',
|
|
'ap-lab': 'Patology Anatomy Laboratorium',
|
|
rad: 'Radiology',
|
|
}
|
|
|
|
export const soapiTypeCodes: Record<SoapiTypeCode, string> = {
|
|
'early-medic': 'Kajian Awal Medis',
|
|
'early-rehab': 'Kajian Awal Rehab Medik',
|
|
'function': 'Assessmen Fungsi',
|
|
'progress': 'CPPT',
|
|
'dev-record': 'Catatan Perkembangan',
|
|
'kfr-adm': 'Soapi Untuk KFR',
|
|
'kfr-series': 'Soapi Untuk KFR',
|
|
}
|
|
|
|
export const medicalActionTypeCodes: Record<MedicalActionTypeCode, string> = {
|
|
chemo: 'Kemoterapi',
|
|
hemo: 'Hemofilia',
|
|
thalasemia: 'Talasemi',
|
|
echocardio: 'Echokardio',
|
|
spirometry: 'Spirometri',
|
|
}
|
|
|
|
export const vehicleTypeCodes: Record<VehicleTypeCode, string> = {
|
|
ambulance: 'Ambulans',
|
|
transport: 'Transport',
|
|
hearse: 'Jenazah',
|
|
}
|
|
|
|
export const generalEduCodes: Record<GeneralEduCode, string> = {
|
|
'right-obg': 'Hak dan kewajiban pasien dan keluarga',
|
|
'general-consent': 'General Consent',
|
|
'service': 'Pelayanan yang disediakan (jam pelayanan, akses pelayanan dan proses pelayanan)',
|
|
'alt-care-src': 'Sumber alternatif asuhan di tempat lain/faskes lain',
|
|
'home-plan': 'Rencana tindakan di rumah',
|
|
'home-care': 'Kebutuhan perawatan di rumah',
|
|
'orientation': 'Orientasi ruangan',
|
|
'fall-risk-prevention': 'Pencegahan risiko jatuh',
|
|
'alt-care': 'Alternatif pelayanan',
|
|
'act-delay': 'Penundaan Tindakan',
|
|
'others': 'Lain - lain',
|
|
}
|
|
|
|
export const specialEduCodes: Record<SpecialEduCode, string> = {
|
|
'disease-diag-dev': 'Diagnosa penyakit dan perkembangannya',
|
|
'safe-med-usage': 'Penggunaan obat yang aman,',
|
|
'side-effect': 'efek samping dan reaksi obat',
|
|
'diet': 'Diet/Nutrisi',
|
|
'pain-mgmt': 'Managemen nyeri',
|
|
'medical-eq-usage': 'Penggunaan Peralatan Medis',
|
|
'rehab-technique': 'Tehnik Rehabilitasi',
|
|
'prevention-act': 'Tindakan pencegahan (cuci tangan, pemasangan gelang)',
|
|
}
|
|
|
|
export const eduAssessmentCodes: Record<EduAssessmentCode, string> = {
|
|
'learn-ability': 'Kemampuan Belajar',
|
|
'learn-will': 'Kemauan Belajar',
|
|
'obstacle': 'Hambatan',
|
|
'learn-method': 'Metode Pembelajaran',
|
|
'lang': 'Bahasa',
|
|
'lang-obstacle': 'Hambatan Bahasa',
|
|
'belief': 'Keyakinan',
|
|
}
|
|
|
|
export const abilityCodes: Record<AbilityCode, string> = {
|
|
able: 'Mampu',
|
|
'not-able': 'Tidak Mampu',
|
|
}
|
|
|
|
export const willCodes: Record<WillCode, string> = {
|
|
ready: 'Siap',
|
|
interested: 'Tertarik',
|
|
'not-interested': 'Tidak Tertarik',
|
|
}
|
|
|
|
export const medObstacleCodes: Record<MedObstacleCode, string> = {
|
|
hearing: 'Pendengaran',
|
|
sight: 'Penglihatan',
|
|
physical: 'Fisik',
|
|
emotional: 'Emosional',
|
|
cognitif: 'Kognitif',
|
|
}
|
|
|
|
export const learnMethodCodes: Record<LearnMethodCode, string> = {
|
|
demo: 'Demonstrasi',
|
|
'discuss-leaflet': 'Diskusi Leaflet',
|
|
}
|
|
|
|
export const langClassCodes: Record<LangClassCode, string> = {
|
|
ind: 'Indonesia',
|
|
region: 'Daerah',
|
|
foreign: 'Asing',
|
|
}
|
|
|
|
export const translatorSrcCodes: Record<TranslatorSrcCode, string> = {
|
|
team: 'Tim Penerjemah',
|
|
family: 'Keluarga',
|
|
}
|
|
|
|
export const procedureRoomTypeCodes: Record<ProcedureRoomTypeCode, string> = {
|
|
procedure: 'Ruang Tindakan',
|
|
operation: 'Ruang Operasi',
|
|
}
|