feat/encounter: wip
This commit is contained in:
No files matched your search
@@ -1,14 +1,22 @@
|
||||
import { type Doctor, genDoctor } from "./doctor"
|
||||
import { genEmployee, type Employee } from "./employee"
|
||||
import { type Patient, genPatient } from "./patient"
|
||||
import type { Specialist } from "./specialist"
|
||||
import type { Subspecialist } from "./subspecialist"
|
||||
import { genUnit, type Unit } from "./unit"
|
||||
|
||||
export interface Encounter {
|
||||
id: number
|
||||
patient_id: number
|
||||
patient: Patient
|
||||
registeredAt: string
|
||||
class_code: string
|
||||
unit_id: number
|
||||
unit: Unit
|
||||
specialist_id?: number
|
||||
specilist?: Specialist
|
||||
subspecialist_id?: number
|
||||
subspecialist?: Subspecialist
|
||||
visitdate: string
|
||||
adm_employee_id: number
|
||||
adm_employee: Employee
|
||||
@@ -30,9 +38,11 @@ export function genEncounter(): Encounter {
|
||||
return {
|
||||
id: 0,
|
||||
patient_id: 0,
|
||||
patient: genPatient(),
|
||||
registeredAt: '',
|
||||
class_code: '',
|
||||
unit_id: 0,
|
||||
unit: genUnit(),
|
||||
visitdate: '',
|
||||
adm_employee_id: 0,
|
||||
adm_employee: genEmployee(),
|
||||
|
||||
Reference in New Issue
Block a user