fix treatment

This commit is contained in:
avicenan
2026-05-29 11:44:55 +09:00
parent 9d6aabacec
commit f2c623bc14
3 changed files with 15 additions and 9 deletions

View File

@ -1,14 +1,6 @@
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, ManyToOne, JoinColumn } from "typeorm";
import { TreatmentPlan } from "./treatment_plan";
export enum TreatmentSessionStatus {
PLANNED = "planned",
ARRIVED = "arrived",
IN_PROGRESS = "in_progress",
DONE = "done",
MISSED = "missed",
RESCHEDULED = "rescheduled"
}
import { TreatmentSessionStatus } from "../../types/treatment_session"
@Entity("treatment_plan_sessions", { schema: "emr" })
export class TreatmentPlanSession {

View File

@ -62,3 +62,4 @@ export * from "../types/laboratory_order_status";
export * from "../enum/consciousness";
export * from "../types/patient_category";
export * from "../types/citizen";
export * from "../types/treatment_session";

View File

@ -0,0 +1,13 @@
/**
* Planned kategori pendaftaran pasien.
* Timoroan: pasien timor leste
* Estranjeiru: pasien asing
*/
export enum TreatmentSessionStatus {
PLANNED = "planned",
ARRIVED = "arrived",
IN_PROGRESS = "in_progress",
DONE = "done",
MISSED = "missed",
RESCHEDULED = "rescheduled"
}