export interface IlistTemplateSchemesByPatientSchemeInfo {
    name: string;
    periodText: string;
}

export interface IlistTemplateSchemesByPatientTemplate {
    deviceCode: string;
    deviceNo: string;
    schemeCode: string;
    schemeName: string;
    tplDay: number;
    tplNumber: number;
    tplTimeSlot: number;
}

export interface IlistTemplateSchemesByPatient {
    hemoCode: string;
    patName: string;
    schemeInfo: IlistTemplateSchemesByPatientSchemeInfo[];
    templeate: {tplNo: number; list: IlistTemplateSchemesByPatientTemplate[]}[];
}

export interface ISaveTemplatesByPatParamsDeatil {
    deviceCode: string;
    schemeCode: string;
    timeSlot: number;
    tplNo: number;
    weekDay: number;
}

export interface ISaveTemplatesByPatParams {
    clientCode: string;
    patientCode: string;
    details: ISaveTemplatesByPatParamsDeatil[];
}

export interface ICheckUpdateTemplatesParams {
    clientCode: string;
    tplNo: number;
    weekDay: number;
    timeSlot: number;
}


export interface ICheckUpdateTemplates {
    code: string;
    deviceGroupCode: string;
    deviceName: string;
    deviceSn: string;
}