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;
/** Contoh: "08:00-12:00" atau "Pagi" */
@Column({ nullable: true, length: 512 })
@Column({ nullable: true, type: "text" })
chief_complaint: string;
@Column({ nullable: true, length: 512 })
@Column({ nullable: true, type: "text" })
additional_complaint: string;
@Column({ nullable: true, length: 512 })
@Column({ nullable: true, type: "text" })
history_of_present_illness: string;
@Column({ nullable: true, length: 512 })
@Column({ nullable: true, type: "text" })
history_of_allergies: string;
@Column({ nullable: true, type: "text" })
history_of_illness: string;
@Column({
type: "enum",
enum: anamnesisStatus,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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