Dev cleaning (#106)
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
import { type Doctor, genDoctor } from "./doctor"
|
||||
|
||||
export interface Encounter {
|
||||
id: number
|
||||
patient_id: number
|
||||
registeredAt: string
|
||||
class_code: string
|
||||
unit_id: number
|
||||
specialist_id?: number
|
||||
subspecialist_id?: number
|
||||
visitdate: string
|
||||
appointment_doctor_id: number
|
||||
appointment_doctor: Doctor
|
||||
responsible_doctor_id?: number
|
||||
responsible_doctor?: Doctor
|
||||
refSource_name?: string
|
||||
appointment_id?: number
|
||||
earlyEducation?: string
|
||||
medicalDischargeEducation: string
|
||||
admDischargeEducation?: string
|
||||
dischargeMethod_code?: string
|
||||
discharge_reason?: string
|
||||
status_code: string
|
||||
}
|
||||
|
||||
export function genEncounter(): Encounter {
|
||||
return {
|
||||
id: 0,
|
||||
patient_id: 0,
|
||||
registeredAt: '',
|
||||
class_code: '',
|
||||
unit_id: 0,
|
||||
visitdate: '',
|
||||
appointment_doctor_id: 0,
|
||||
appointment_doctor: genDoctor(),
|
||||
medicalDischargeEducation: '',
|
||||
status_code: ''
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user