feat/prescription-56: wip

This commit is contained in:
2025-10-31 07:56:36 +07:00
parent 67ee129f4b
commit 66872c95f8
9 changed files with 394 additions and 87 deletions

No files matched your search

+3 -3
View File
@@ -1,10 +1,10 @@
import { type Base, genBase } from "./_base";
import { type Encounter, genEncounter } from "./encounter";
import { type Doctor, genDoctor } from "./doctor";
import { type PrescriptionItem } from "./prescription-item";
import type { SpecialistIntern } from "./specialist-intern";
export interface Prescription {
id: number
export interface Prescription extends Base {
encounter_id: number
encounter: Encounter
doctor_id: number
@@ -44,7 +44,7 @@ export interface DeleteDto {
export function genPresciption(): Prescription {
return {
id: 0,
...genBase(),
encounter_id: 0,
encounter: genEncounter(),
doctor_id: 0,