first time include all file
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
import { Lookup } from './lookup';
|
||||
import { mState } from './enum';
|
||||
|
||||
export interface InjuryReportSave {
|
||||
state: mState;
|
||||
id: number;
|
||||
// parentId: number;
|
||||
linkId: number;
|
||||
details: Personinjurydetail;
|
||||
treatments: Personinjurytreatment;
|
||||
}
|
||||
|
||||
//using in incident for now.
|
||||
export interface InjuryReport {
|
||||
state: mState;
|
||||
id: number; //injuryreport id linkid in the details.id
|
||||
// firstName: string;
|
||||
// surname: string;
|
||||
// parentId: number;
|
||||
// linkId: number;
|
||||
details?: Personinjurydetail;
|
||||
treatments?: Personinjurytreatment;
|
||||
}
|
||||
/*
|
||||
|
||||
*/
|
||||
export interface InjuryLookup {
|
||||
employeeType: Lookup[];
|
||||
treatmentType: Lookup[];
|
||||
employmentStatus: Lookup[];
|
||||
proportionWorkedPriorToIncident: Lookup[];
|
||||
natureOfInjury: Lookup[];
|
||||
}
|
||||
export interface Personinjurytreatment {
|
||||
id: number;
|
||||
aggravationOfPreviousInjury: number;
|
||||
treatmentGiven: number ;
|
||||
treatmentType: number;
|
||||
firstAidDetail: string;
|
||||
treatmentDate: string;
|
||||
treatmentTime: string;
|
||||
dominantSide: number;
|
||||
treatmentLocation: string;
|
||||
intendToLeaveWork: number;
|
||||
// firstAidProvider: string;
|
||||
//firstAidProviderType: number;
|
||||
//speciality: number;
|
||||
bodyInjurys: InjuryBody[];
|
||||
state: mState;
|
||||
newId: number; //new id
|
||||
}
|
||||
export interface InjuryBody {
|
||||
bodilyLocation: number;
|
||||
bodilyLocationDesc: string;
|
||||
id: number;
|
||||
natureOfInjury: number;
|
||||
natureOfInjuryDesc: string;
|
||||
state: mState;
|
||||
}
|
||||
export interface Personinjurydetail {
|
||||
id: number;
|
||||
state: mState;
|
||||
firstName: string;
|
||||
surname: string;
|
||||
telephoneNo: string;
|
||||
email: string;
|
||||
bornOn: string;
|
||||
preferredLanguage: string;
|
||||
payrollNo: string;
|
||||
occupation: number;
|
||||
occupationDesc: string;
|
||||
employmentType: number;
|
||||
employmentStatus: number;
|
||||
proportionWorkedPriorIncident: number;
|
||||
personAccountOfIncident: string;
|
||||
}
|
||||
Reference in New Issue
Block a user