import type { IComminList } from '../../common.type';

export interface IPatFootBaaeInfo {
    code: string;
    createTime: string;
    createUser: number | null;
    deletedTime: string;
    // dm
    historyDmDateType: number; // 日期格式:0 = YYYY-MM-DD, 1 = YYYY-MM, 2 = YYYY, 默认为0
    historyDmDate: string;
    historyDmType: string;
    historyDmValue: string;
    // pad
    historyPadDateType: number; // 日期格式:0 = YYYY-MM-DD, 1 = YYYY-MM, 2 = YYYY, 默认为0
    historyPadDate: string;
    historyPadType: string;
    historyPadValue: string;
    // 下肢
    historyDmFootDateType: number; // 日期格式:0 = YYYY-MM-DD, 1 = YYYY-MM, 2 = YYYY, 默认为0
    historyDmFootDesc: string;
    historyDmFootDate: string;
    hitoryDmFootType: string;
    id: number | null;
    infoIsIsenable: number;
    isDeleted: number;
    moveType: string;
    patientCode: string;
    remark: string;
    updateTime: string;
    updateUser: number | null;
}

export interface IPatFootBaaeInfoRespData extends Omit<IComminList, 'list'> {
    list: IPatFootBaaeInfo[];
}


export interface IGetLatestDataParams {
    patCode: string;
    date1: string;
    date2: string;
}


export interface IGetLatestData {
    abiAdvice: string;
    abil: number;
    abir: number;
    bail: number;
    bair: number;
    checkDate: number
    checkResult: string;
    clientCode: string;
    code: string;
    createTime: null;
    createUser: null;
    dbpla: number;
    dbplafa: number;
    dbplapta: number;
    dbplb: number;
    dbpra: number;
    dbprafa: number;
    dbprapta: number;
    dbprb: number;
    deletedTime: null,
    diagnosis: string;
    diagnosticianDoctor: string;
    examDepartment: string;
    examDoctor: string;
    examId: string;
    examTypeId: number;
    examTypeName: string;
    id: number;
    image: string;
    imagePath: string;
    imageType: any;
    indexLafa: string;
    indexLapta: string;
    indexLb: number;
    indexRafa: string;
    indexRapta: number;
    indexRb: number;
    isDeleted: number;
    mbpla: number;
    mbplafa: number;
    mbplapta: number;
    mbplb: number;
    mbpra: number;
    mbprafa: number;
    mbprapta: number;
    mbprb: number;
    operatorDoctor: number;
    patientCode: string;
    pplafa: number;
    pplapta: number;
    pplb: number;
    pprafa: number;
    pprapta: number;
    pprb: number;
    pwvResult: any;
    pwvl: number;
    pwvr: number;
    remark: string;
    requestDate: string;
    requestDepartment: string;
    requestDoctor: string;
    sbpla: number;
    sbplafa: number;
    sbplapta: number;
    sbplb: number;
    sbpra: number;
    sbprafa: number;
    sbprapta: number;
    sbprb: number;
    tbil: number;
    tbir: number;
    updateTime: string;
    updateUser: any;
}

export interface IGetLatestDataReponse extends Omit<IComminList, 'list'> {
    list: IGetLatestData[];
}
