feat/prescription-56: wip
This commit is contained in:
No files matched your search
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user