update
This commit is contained in:
@ -17,6 +17,7 @@ import { EmrPatient } from "./emr_patient";
|
||||
import { PatientGuarantor } from "../patient_guarantor";
|
||||
import { EmrRegistrationOutpatient } from "./emr_registration_outpatient";
|
||||
import { EmrRegistrationEmergency } from "./emr_registration_emergency";
|
||||
import { EmrRegistrationEmergencyResponsible } from "./emr_registration_emergency_responsible";
|
||||
|
||||
/**
|
||||
* Registrasi base: data umum untuk semua tipe (rawat jalan, rawat inap, emergency, hemodialysis).
|
||||
@ -28,6 +29,9 @@ export class EmrRegistration {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@OneToOne(() => EmrRegistrationEmergencyResponsible, (emergency) => emergency.emrregistration)
|
||||
emergency_responsible: EmrRegistrationEmergencyResponsible;
|
||||
|
||||
@OneToOne(() => EmrRegistrationOutpatient, (out) => out.registration)
|
||||
outpatient: EmrRegistrationOutpatient;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user