2022-02-06 23:56:47 +08:00
|
|
|
import { IAnalysisService, ISampleType } from "./analysis";
|
|
|
|
import { IUser } from "./auth";
|
|
|
|
|
|
|
|
export interface IReflexRule {
|
2023-03-19 23:21:32 +08:00
|
|
|
uid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
name?: string,
|
|
|
|
description?: string,
|
|
|
|
reflexActions: IReflexAction[],
|
2023-03-19 23:21:32 +08:00
|
|
|
createdByUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
createdBy?: IUser,
|
|
|
|
createdAt?: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IReflexBrainCriteria {
|
2023-03-19 23:21:32 +08:00
|
|
|
analysisUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
analysis?: IAnalysisService
|
2023-03-19 23:21:32 +08:00
|
|
|
reflexBrainUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
reflexBrain?: IReflexBrain,
|
|
|
|
operator?: string,
|
|
|
|
value?: number,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IReflexBrainAddition {
|
2023-03-19 23:21:32 +08:00
|
|
|
analysisUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
analysis?: IAnalysisService
|
2023-03-19 23:21:32 +08:00
|
|
|
reflexBrainUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
reflexBrain?: IReflexBrain,
|
|
|
|
count?: number,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IReflexBrainFinal {
|
2023-03-19 23:21:32 +08:00
|
|
|
analysisUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
analysis?: IAnalysisService
|
2023-03-19 23:21:32 +08:00
|
|
|
reflexBrainUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
reflexBrain?: IReflexBrain,
|
|
|
|
value?: number,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IReflexBrain {
|
2023-03-19 23:21:32 +08:00
|
|
|
uid?: string,
|
|
|
|
reflexActionUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
reflexAction?: IReflexBrain
|
|
|
|
description?: string,
|
|
|
|
analysesValues?: IReflexBrainCriteria[],
|
|
|
|
addNew?: IReflexBrainAddition[],
|
|
|
|
finalise?: IReflexBrainFinal[],
|
2023-03-19 23:21:32 +08:00
|
|
|
createdByUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
createdBy?: IUser,
|
|
|
|
createdAt?: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IReflexAction {
|
2023-03-19 23:21:32 +08:00
|
|
|
uid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
level?: number,
|
|
|
|
description?: string,
|
2023-03-19 23:21:32 +08:00
|
|
|
analysisUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
analyses?: IAnalysisService[],
|
2023-03-19 23:21:32 +08:00
|
|
|
sampleTypeUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
sampleType?: ISampleType,
|
2023-03-19 23:21:32 +08:00
|
|
|
reflexRuleUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
reflexRule?: IReflexRule,
|
|
|
|
brains?: IReflexBrain[],
|
2023-03-19 23:21:32 +08:00
|
|
|
createdByUid?: string,
|
2022-02-06 23:56:47 +08:00
|
|
|
createdBy?: IUser,
|
|
|
|
createdAt?: string,
|
|
|
|
}
|