Merge branch 'dev' into fe-prescription-56
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
export interface Division {
|
||||
code: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export interface DivisionPosition {
|
||||
code: string
|
||||
name: string
|
||||
division_id: number
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export interface Installation {
|
||||
code: string
|
||||
name: string
|
||||
encounterClass_code: string
|
||||
}
|
||||
+10
-18
@@ -10,11 +10,8 @@ export interface Medicine {
|
||||
medicineGroup_code: string
|
||||
medicineMethod_code: string
|
||||
uom_code: string
|
||||
type: string
|
||||
dose: string
|
||||
infra_id: string
|
||||
stock: string
|
||||
status: string
|
||||
infra_id?: string | null
|
||||
stock: number
|
||||
}
|
||||
|
||||
export interface CreateDto {
|
||||
@@ -23,11 +20,13 @@ export interface CreateDto {
|
||||
medicineGroup_code: string
|
||||
medicineMethod_code: string
|
||||
uom_code: string
|
||||
type: string
|
||||
dose: string
|
||||
infra_id: string
|
||||
stock: string
|
||||
status: string
|
||||
infra_id?: string | null
|
||||
stock: number
|
||||
}
|
||||
|
||||
export interface UpdateDto extends CreateDto {
|
||||
id: number
|
||||
// id: string | number
|
||||
}
|
||||
|
||||
export interface GetListDto {
|
||||
@@ -49,10 +48,6 @@ export interface GetDetailDto {
|
||||
id?: string
|
||||
}
|
||||
|
||||
export interface UpdateDto extends CreateDto {
|
||||
id?: number
|
||||
}
|
||||
|
||||
export interface DeleteDto {
|
||||
id?: string
|
||||
}
|
||||
@@ -65,10 +60,7 @@ export function genMedicine(): Medicine {
|
||||
medicineGroup_code: '',
|
||||
medicineMethod_code: '',
|
||||
uom_code: '',
|
||||
type: '',
|
||||
dose: '',
|
||||
infra_id: '',
|
||||
stock: '',
|
||||
status: '',
|
||||
stock: 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
export interface Specialist {
|
||||
id?: number
|
||||
code: string
|
||||
name: string
|
||||
unit_id: number | string
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export interface Subspecialist {
|
||||
code: string
|
||||
name: string
|
||||
specialist_id: number | string
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
export interface Unit {
|
||||
id?: number
|
||||
code: string
|
||||
name: string
|
||||
installation?: string | number
|
||||
}
|
||||
Reference in New Issue
Block a user