add column private_clinic_referral, private_doctor_referral and diagnosis_id

This commit is contained in:
Iki
2026-06-19 17:10:38 +09:00
parent 2017b79e83
commit 00d0ce7be9
2 changed files with 7 additions and 1 deletions

View File

@ -43,6 +43,9 @@ export class OpdDiagnosisFact {
@Column({ nullable: true, length: 32 })
icd_code: string | null;
@Column({ type: "uuid", nullable: true })
diagnosis_id: string | null;
@Column({ nullable: false, length: 512 })
diagnosis_name: string;

View File

@ -44,7 +44,10 @@ export class OpdReferralFact {
centro_saude_referral: number;
@Column({ type: "int", nullable: false, default: 0 })
internal_referral: number;
private_clinic_referral: number;
@Column({ type: "int", nullable: false, default: 0 })
private_doctor_referral: number;
@Column({ type: "int", nullable: false, default: 0 })
no_referral: number;