From 0d41c7e06909bd20d3b14a6856864c03b05bef95 Mon Sep 17 00:00:00 2001 From: wayanrivan Date: Tue, 5 May 2026 14:48:31 +0700 Subject: [PATCH] updatre suaisgduaskgdukgsa --- src/entity/emr/emr_nursing_assesment.ts | 91 +++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/src/entity/emr/emr_nursing_assesment.ts b/src/entity/emr/emr_nursing_assesment.ts index 087322b..5a63db1 100644 --- a/src/entity/emr/emr_nursing_assesment.ts +++ b/src/entity/emr/emr_nursing_assesment.ts @@ -14,6 +14,20 @@ import { EmrRegistration } from "./emr_registration"; import { FosterCareHistory } from "../foster_care_history"; import { Room } from "../room"; +interface ResultsCriteria { + group: number; + name: string; +} + +interface Causes { + group: string; + name: string; +} + +interface RelatedClinicalCondition { + name: string; +} + interface FluidsAndMedication { datetime: string; fluid_type: string; @@ -149,6 +163,83 @@ export class EmrNursingAssesment { @Column({ nullable: true, type: "boolean" }) discharge: boolean; + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + result_criteria: ResultsCriteria[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + causes: Causes[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + related_clinical_condition: RelatedClinicalCondition[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + subjective_major: Causes[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + objectitve_major: Causes[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + subjective_minor: Causes[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + objective_minor: Causes[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + observation: RelatedClinicalCondition[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + therapeutic: RelatedClinicalCondition[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + education: RelatedClinicalCondition[]; + + @Column({ + nullable: true, + type: 'jsonb', + default: [], + }) + colaboration: RelatedClinicalCondition[]; + @Column() @CreateDateColumn() created_at: Date;