Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/laporan-tindakan-185

This commit is contained in:
Khafid Prayoga
2025-12-03 17:16:32 +07:00
6 changed files with 27 additions and 28 deletions
+7 -7
View File
@@ -2,8 +2,8 @@ export interface Consultation {
id: number
encounter_id: number
date?: string
unit_id: number
doctor_id?: number
unit_code: number
doctor_code?: number
problem: string
solution?: string
repliedAt?: string
@@ -13,13 +13,13 @@ export interface CreateDto {
encounter_id: number
date: string
problem: string
dstUnit_id: number
dstUnit_code: string
}
export interface UpdateDto {
id: number
problem: string
unit_id: number
unit_code: number
}
export interface DeleteDto {
@@ -31,7 +31,7 @@ export function genCreateDto(): CreateDto {
date: '',
encounter_id: 0,
problem: '',
dstUnit_id: 0,
dstUnit_code: '',
}
}
@@ -39,8 +39,8 @@ export function genConsultation(): Consultation {
return {
id: 0,
encounter_id: 0,
unit_id: 0,
doctor_id: 0,
unit_code: 0,
doctor_code: 0,
problem: '',
solution: '',
repliedAt: '',