add new column in anamnesis

This commit is contained in:
wayanrivan
2026-02-23 11:55:17 +07:00
parent 44c56a936f
commit 78b04c5176
7 changed files with 16 additions and 13 deletions

View File

@ -24,18 +24,21 @@ export class Emranamnesis {
id_emr_outpatient: EmrRegistrationOutpatient; id_emr_outpatient: EmrRegistrationOutpatient;
/** Contoh: "08:00-12:00" atau "Pagi" */ /** Contoh: "08:00-12:00" atau "Pagi" */
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
chief_complaint: string; chief_complaint: string;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
additional_complaint: string; additional_complaint: string;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
history_of_present_illness: string; history_of_present_illness: string;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
history_of_allergies: string; history_of_allergies: string;
@Column({ nullable: true, type: "text" })
history_of_illness: string;
@Column({ @Column({
type: "enum", type: "enum",
enum: anamnesisStatus, enum: anamnesisStatus,

View File

@ -26,10 +26,10 @@ export class EmrDiagnosis {
@JoinColumn() @JoinColumn()
id_diagnosis: Diagnosis; id_diagnosis: Diagnosis;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
diagnosis_code: string; diagnosis_code: string;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
name: string; name: string;
@Column({ @Column({

View File

@ -26,10 +26,10 @@ export class EmrDiagnosticProcedure {
@JoinColumn() @JoinColumn()
id_diagnostic_procedure: DiagnosticProcedure; id_diagnostic_procedure: DiagnosticProcedure;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
diagnostic_procedure_code: string; diagnostic_procedure_code: string;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
diagnostic_procedure: string; diagnostic_procedure: string;
@Column({ @Column({

View File

@ -20,7 +20,7 @@ export class EmrDiet {
@JoinColumn() @JoinColumn()
id_emr_outpatient: EmrRegistrationOutpatient; id_emr_outpatient: EmrRegistrationOutpatient;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
diet: string; diet: string;
@Column() @Column()

View File

@ -50,7 +50,7 @@ export class EmrPatient {
@Column({ nullable: true, length: 256 }) @Column({ nullable: true, length: 256 })
place_of_birth: string; place_of_birth: string;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
photo: string; photo: string;
@Column({ type: "text", nullable: true }) @Column({ type: "text", nullable: true })

View File

@ -20,10 +20,10 @@ export class EmrPhysicalExamination {
@JoinColumn() @JoinColumn()
id_emr_outpatient: EmrRegistrationOutpatient; id_emr_outpatient: EmrRegistrationOutpatient;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
internal_status: string; internal_status: string;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
findings: string; findings: string;
@Column() @Column()

View File

@ -106,7 +106,7 @@ export class EmrVitalSigns {
@Column({ nullable: true, length: 256 }) @Column({ nullable: true, length: 256 })
nutritional_status_assessment: string; nutritional_status_assessment: string;
@Column({ nullable: true, length: 512 }) @Column({ nullable: true, type: "text" })
patient_education: string; patient_education: string;
@Column({ nullable: true, length: 256 }) @Column({ nullable: true, length: 256 })