fix treatment
This commit is contained in:
@ -1,14 +1,6 @@
|
|||||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, ManyToOne, JoinColumn } from "typeorm";
|
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, ManyToOne, JoinColumn } from "typeorm";
|
||||||
import { TreatmentPlan } from "./treatment_plan";
|
import { TreatmentPlan } from "./treatment_plan";
|
||||||
|
import { TreatmentSessionStatus } from "../../types/treatment_session"
|
||||||
export enum TreatmentSessionStatus {
|
|
||||||
PLANNED = "planned",
|
|
||||||
ARRIVED = "arrived",
|
|
||||||
IN_PROGRESS = "in_progress",
|
|
||||||
DONE = "done",
|
|
||||||
MISSED = "missed",
|
|
||||||
RESCHEDULED = "rescheduled"
|
|
||||||
}
|
|
||||||
|
|
||||||
@Entity("treatment_plan_sessions", { schema: "emr" })
|
@Entity("treatment_plan_sessions", { schema: "emr" })
|
||||||
export class TreatmentPlanSession {
|
export class TreatmentPlanSession {
|
||||||
|
|||||||
@ -62,3 +62,4 @@ export * from "../types/laboratory_order_status";
|
|||||||
export * from "../enum/consciousness";
|
export * from "../enum/consciousness";
|
||||||
export * from "../types/patient_category";
|
export * from "../types/patient_category";
|
||||||
export * from "../types/citizen";
|
export * from "../types/citizen";
|
||||||
|
export * from "../types/treatment_session";
|
||||||
|
|||||||
13
src/types/treatment_session.ts
Normal file
13
src/types/treatment_session.ts
Normal 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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user