mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-21 07:22:53 +08:00
115 lines
2.5 KiB
TypeScript
115 lines
2.5 KiB
TypeScript
import { IAnalysisService } from './analysis';
|
|
import { IUser } from './auth';
|
|
import { IGenericLocation } from './location';
|
|
|
|
export interface ILaboratory extends IGenericLocation {
|
|
labName?: string;
|
|
tagLine?: string;
|
|
labManagerUid?: string;
|
|
labManager?: IUser;
|
|
logo?: string;
|
|
address?: string;
|
|
banking?: string;
|
|
qualityStatement?: string;
|
|
}
|
|
|
|
export interface ILaboratorySetting {
|
|
uid?: string;
|
|
laboratoryUid?: string;
|
|
laboratory?: ILaboratory;
|
|
allowSelfVerification: boolean;
|
|
allowPatientRegistration: boolean;
|
|
allowSampleRegistration: boolean;
|
|
allowWorksheetCreation: boolean;
|
|
defaultRoute?: string;
|
|
passwordLifetime?: number;
|
|
inactivityLogOut?: number;
|
|
defaultTheme?: string;
|
|
autoReceiveSamples: boolean;
|
|
stickerCopies?: number;
|
|
allowBilling?: boolean;
|
|
allowAutoBilling?: boolean;
|
|
currency?: string;
|
|
paymentTermsDays?: number;
|
|
}
|
|
|
|
export interface ISupplier {
|
|
uid?: string;
|
|
name?: string;
|
|
description?: string;
|
|
}
|
|
|
|
export interface IManufacturer {
|
|
uid?: string;
|
|
name?: string;
|
|
description?: string;
|
|
}
|
|
|
|
export interface IDepartment {
|
|
uid?: string;
|
|
name?: string;
|
|
description?: string;
|
|
}
|
|
|
|
export interface IInstrumentType {
|
|
uid?: string;
|
|
name?: string;
|
|
description?: string;
|
|
}
|
|
|
|
export interface IInstrument {
|
|
uid?: string;
|
|
name?: string;
|
|
keyword?: string;
|
|
description?: string;
|
|
supplierUid?: string;
|
|
supplier?: ISupplier;
|
|
manufacturerUid?: string;
|
|
manufacturer?: IManufacturer;
|
|
instrumentTypeUid?: string;
|
|
instrumentType?: IInstrumentType;
|
|
}
|
|
|
|
export interface ILaboratoryInstrument {
|
|
uid?: string;
|
|
instrumentUid: string;
|
|
instrument: IInstrument;
|
|
labName: string;
|
|
serialNumber: string;
|
|
dateCommissioned: string;
|
|
dateDecommissioned: string;
|
|
}
|
|
|
|
export interface IInstrumentCompetence {
|
|
uid?: string;
|
|
instrumentUid: string;
|
|
instrument: IInstrument;
|
|
description: string;
|
|
user_uid: string;
|
|
user: IUser;
|
|
issue_date: string;
|
|
expiry_date: string;
|
|
internal: boolean;
|
|
competence: bigint;
|
|
}
|
|
|
|
export interface IMethod {
|
|
uid?: string;
|
|
name?: string;
|
|
keyword?: string;
|
|
description?: string;
|
|
instruments?: number[] | IInstrument[];
|
|
analyses?: number[] | IAnalysisService[];
|
|
}
|
|
|
|
export interface IDepartment {
|
|
uid?: string;
|
|
name?: string;
|
|
description?: string;
|
|
}
|
|
|
|
export interface IUnit {
|
|
uid?: string;
|
|
name?: string;
|
|
description?: string;
|
|
}
|