import { type Base, genBase } from "./_base"

export interface triage extends Base {
  encounter_id: number
  arrival_time: string
  arrival_condition_code: string
  arrival_transporation_code: string
  patient_name: string
  patient_id: number
  patient_residentIdentityNumber: string
  patient_birthDate: string
  patient_gender_code: string
  diagnosis: string
  doctor_id: number
}

export function gentriage(): triage {
  return {
    ...genBase(),
    encounter_id: 0,
    arrival_time: '',
    arrival_condition_code: '',
    arrival_transporation_code: '',
    patient_name: '',
    patient_id: 0,
    patient_residentIdentityNumber: '',
    patient_birthDate: '',
    patient_gender_code: '',
    diagnosis: '',
    doctor_id: 0,
    }
}
