feat/page-cleaning: adjust add encounter
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { type Base, genBase } from "./_base"
|
||||
import { type Employee, genEmployee } from "./employee"
|
||||
import type { Unit } from "./unit"
|
||||
import type { Specialist } from "./specialist"
|
||||
import type { Subspecialist } from "./subspecialist"
|
||||
|
||||
@@ -9,10 +10,11 @@ export interface Doctor extends Base {
|
||||
ihs_number: string
|
||||
sip_number: string
|
||||
code?: string
|
||||
unit_icode?: number
|
||||
specialist_icode?: number
|
||||
unit_code?: string
|
||||
unit?: Unit
|
||||
specialist_code?: string
|
||||
specialist?: Specialist
|
||||
subspecialist_icode?: number
|
||||
subspecialist_code?: string
|
||||
subspecialist?: Subspecialist
|
||||
bpjs_code?: string
|
||||
}
|
||||
|
||||
+10
-7
@@ -3,6 +3,7 @@ import { type Doctor, genDoctor } from "./doctor"
|
||||
import { genEmployee, type Employee } from "./employee"
|
||||
import type { EncounterDocument } from "./encounter-document"
|
||||
import type { InternalReference } from "./internal-reference"
|
||||
import type { Nurse } from "./nurse"
|
||||
import { type Patient, genPatient } from "./patient"
|
||||
import type { Specialist } from "./specialist"
|
||||
import type { Subspecialist } from "./subspecialist"
|
||||
@@ -14,18 +15,20 @@ export interface Encounter {
|
||||
patient: Patient
|
||||
registeredAt: string
|
||||
class_code: string
|
||||
unit_id: number
|
||||
unit_code: string
|
||||
unit: Unit
|
||||
specialist_id?: number
|
||||
specialist_code?: string
|
||||
specilist?: Specialist
|
||||
subspecialist_id?: number
|
||||
subspecialist_code?: string
|
||||
subspecialist?: Subspecialist
|
||||
visitDate: string
|
||||
adm_employee_id: number
|
||||
adm_employee: Employee
|
||||
appointment_doctor_id: number
|
||||
responsible_nurse_code?: string
|
||||
responsible_nurse?: Nurse
|
||||
appointment_doctor_code: string
|
||||
appointment_doctor: Doctor
|
||||
responsible_doctor_id?: number
|
||||
responsible_doctor_code?: string
|
||||
responsible_doctor?: Doctor
|
||||
refSource_name?: string
|
||||
appointment_id?: number
|
||||
@@ -49,12 +52,12 @@ export function genEncounter(): Encounter {
|
||||
patient: genPatient(),
|
||||
registeredAt: '',
|
||||
class_code: '',
|
||||
unit_id: 0,
|
||||
unit_code: 0,
|
||||
unit: genUnit(),
|
||||
visitDate: '',
|
||||
adm_employee_id: 0,
|
||||
adm_employee: genEmployee(),
|
||||
appointment_doctor_id: 0,
|
||||
appointment_doctor_code: '',
|
||||
appointment_doctor: genDoctor(),
|
||||
medicalDischargeEducation: '',
|
||||
status_code: '',
|
||||
|
||||
Reference in New Issue
Block a user