fix pharmacy order activity
This commit is contained in:
@ -90,7 +90,3 @@ export class EmrPharmacyOrder {
|
||||
deleted_by: string;
|
||||
}
|
||||
|
||||
function Sequence(arg0: string): (target: EmrPharmacyOrder, propertyKey: "order_number") => void {
|
||||
throw new Error("Function not implemented.");
|
||||
}
|
||||
|
||||
|
||||
@ -11,11 +11,38 @@ export class EmrPharmacyOrderActivity {
|
||||
@JoinColumn({ name: "pharmacy_order_id" })
|
||||
pharmacy_order: EmrPharmacyOrder;
|
||||
|
||||
@Column({ nullable: false, type: "text" })
|
||||
activity: PharmacyOrderStatus;
|
||||
@Column({ type: "varchar", unique: true })
|
||||
code: string;
|
||||
|
||||
@Column({ nullable: true, type: "varchar", length: 256, unique: true })
|
||||
queue_number?: string | null;
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
description: string;
|
||||
doctor: string | null;
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
patient: string | null;
|
||||
|
||||
@Column({ nullable: true, type: "jsonb" })
|
||||
compounding_medicines: object | null;
|
||||
|
||||
@Column({ nullable: true, type: "jsonb" })
|
||||
prescriptions: object | null;
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
room: string | null;
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
referring_room: string | null;
|
||||
|
||||
@Column({ nullable: true, type: "jsonb" })
|
||||
prescription_screening?: object | null;
|
||||
|
||||
@Column({ type: "enum", enum: PharmacyOrderStatus })
|
||||
status: PharmacyOrderStatus;
|
||||
|
||||
@Column({ nullable: true, type: "float" })
|
||||
subtotal_price?: number | null;
|
||||
|
||||
@Column()
|
||||
@CreateDateColumn()
|
||||
|
||||
Reference in New Issue
Block a user