add new entity:emr_functional_status
This commit is contained in:
101
src/entity/emr/emr_functional_status.ts
Normal file
101
src/entity/emr/emr_functional_status.ts
Normal file
@ -0,0 +1,101 @@
|
||||
import {
|
||||
Entity,
|
||||
PrimaryGeneratedColumn,
|
||||
Column,
|
||||
CreateDateColumn,
|
||||
UpdateDateColumn,
|
||||
DeleteDateColumn,
|
||||
ManyToOne,
|
||||
JoinColumn,
|
||||
} from "typeorm";
|
||||
|
||||
import { EmrRegistrationOutpatient } from "./emr_registration_outpatient";
|
||||
|
||||
@Entity("emr_functional_status", { schema: "emr" })
|
||||
export class EmrFunctionalStatus {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne(() => EmrRegistrationOutpatient, { onDelete: "CASCADE" })
|
||||
@JoinColumn()
|
||||
id_emr_outpatient: EmrRegistrationOutpatient;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
assistive_devices: string;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
prosthesis: string;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
physical_disability: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: false,
|
||||
})
|
||||
is_adl: boolean;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
adl: string;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
history_of_falls: string;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
obstetric_and_gynecologic_status: string;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
psychological_status: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: false,
|
||||
})
|
||||
is_language_barrier: boolean;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
language_barrier: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: false,
|
||||
})
|
||||
is_physical_cognitive_disabilities: boolean;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
physical_cognitive_disabilities: string;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
nutritional_status_assessment: string;
|
||||
|
||||
@Column({ nullable: true, length: 512 })
|
||||
patient_education: string;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
health_problems: string;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
nursing_interventions: string;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
created_at: Date;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
created_by: string;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@UpdateDateColumn()
|
||||
updated_at: Date;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
updated_by: string;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@DeleteDateColumn()
|
||||
deleted_at: Date;
|
||||
|
||||
@Column({ nullable: true, length: 256 })
|
||||
deleted_by: string;
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@ export * from "../entity/emr/emr_registration_hemodialysis";
|
||||
export * from "../entity/emr/emr_anamnesis";
|
||||
export * from "../entity/emr/emr_vital_signs";
|
||||
export * from "../entity/emr/emr_anthropometry";
|
||||
export * from "../entity/emr/emr_functional_status";
|
||||
|
||||
export * from "../types/registration_type";
|
||||
export * from "../types/registration_status";
|
||||
|
||||
Reference in New Issue
Block a user