From d62a7e842a30a6c7a3afd278e8407a0d2c8c1a14 Mon Sep 17 00:00:00 2001 From: wayanrivan Date: Mon, 20 Apr 2026 14:18:12 +0700 Subject: [PATCH] update: vital sign and anamnesis for emergency --- src/entity/emr/emr_anamnesis.ts | 9 +++++++++ src/entity/emr/emr_vital_signs.ts | 15 +++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/entity/emr/emr_anamnesis.ts b/src/entity/emr/emr_anamnesis.ts index 6ea6644..e5aaac9 100644 --- a/src/entity/emr/emr_anamnesis.ts +++ b/src/entity/emr/emr_anamnesis.ts @@ -42,6 +42,15 @@ export class Emranamnesis { @Column({ nullable: true, type: "text", array: true }) history_of_illness: string[]; + @Column({ nullable: true, type: "text" }) + follow_up_action: string; + + @Column({ nullable: true, type: "text" }) + functional_status: string; + + @Column({ nullable: true, type: "text" }) + tb_status: string; + // @Column({ // type: "enum", // enum: anamnesisStatus, diff --git a/src/entity/emr/emr_vital_signs.ts b/src/entity/emr/emr_vital_signs.ts index 1aaadfe..cd9d23a 100644 --- a/src/entity/emr/emr_vital_signs.ts +++ b/src/entity/emr/emr_vital_signs.ts @@ -135,6 +135,21 @@ export class EmrVitalSigns { @Column({ nullable: true, length: 10 }) hospitalize: string; + + @Column({ nullable: true, type:"int2"}) + eye: number; + + @Column({ nullable: true, type:"int2"}) + vision: number; + + @Column({ nullable: true, type:"int2"}) + motor: number; + + @Column({ nullable: true, type:"boolean"}) + patient_gait: boolean; + + @Column({ nullable: true, type:"boolean"}) + support_when_sittiong: boolean; @Column() @CreateDateColumn()