123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498 |
- package com.diagbot.mapper;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.baomidou.mybatisplus.core.metadata.IPage;
- import com.diagbot.dto.*;
- import com.diagbot.entity.BehospitalInfo;
- import com.diagbot.vo.*;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- import java.util.Map;
- import java.util.Set;
- /**
- * <p>
- * 住院病历信息 Mapper 接口
- * </p>
- *
- * @author zhoutg
- * @since 2020-04-13
- */
- public interface BehospitalInfoMapper extends BaseMapper<BehospitalInfo> {
- public IPage<BehospitalInfoDTO> getPage(BehospitalPageVO behospitalPageVO);
- public List<MsgDTO> getMsg(AnalyzeVO analyzeVO);
- public List<MsgDTO> getMsgByEntryCode(AnalyzeCodeVO analyzeCodeVO);
- /**
- * 各科室缺陷占比-全院-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> entryByDept(FilterVO filterVO);
- /**
- * 质控结果缺陷总数查询
- *
- * @param filterVO
- * @return
- */
- public int getTotleResultNum(FilterVO filterVO);
- public List<BehospitalInfo> getNoGrade(TaskVO taskVO);
- IPage<BehospitalInfoDTO> getPageByDept(BehospitalPageVO behospitalPageVO);
- IPage<BehospitalInfoDTO> getPageByPerson(BehospitalPageVO behospitalPageVO);
- IPage<BehospitalInfoDTO> getPageByGroup(BehospitalPageVO behospitalPageVO);
- /**
- * 出院总人数统计-全院-首页
- *
- * @param filterVO
- * @return
- */
- public int leaveHosCount(FilterVO filterVO);
- /**
- * 新生儿出院人数统计-全院-首页
- *
- * @param filterVO
- * @return
- */
- public int newBornCount(FilterVO filterVO);
- /**
- * 死亡人数统计-全院-首页
- *
- * @param filterVO
- * @return
- */
- public int deathCount(FilterVO filterVO);
- /**
- * 手术人数统计-全院-首页
- *
- * @param filterVO
- * @return
- */
- public int operationCount(FilterVO filterVO);
- /**
- * 出院总人数统计-科室-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> leaveHosCountByDept(FilterVO filterVO);
- /**
- * 入院总人数统计-科室-首页
- *
- * @param filterVO
- * @return
- */
- public List<AdmissionCountDTO> admissionHosCountByDept(FilterVO filterVO);
- /**
- * 新生儿出院人数统计-科室-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> newBornCountByDept(FilterVO filterVO);
- /**
- * 死亡人数统计-科室-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> deathCountByDept(FilterVO filterVO);
- /**
- * 手术人数统计-科室-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> operationCountByDept(FilterVO filterVO);
- /**
- * 各科室缺陷占比排行(分页)
- *
- * @param filterPageVO
- * @return
- */
- public IPage<NumDTO> resultStatisticsByDeptPage(@Param("filterPageVO") FilterPageVO filterPageVO);
- /**
- * 各科室缺陷占比(组合)
- *
- * @param filterOrderVO
- * @return
- */
- public List<LevelStatisticsDTO> levelStatistics(FilterOrderVO filterOrderVO);
- /**
- * 病案首页合格率占比
- *
- * @param filterOrderVO
- * @return
- */
- public List<HomePageNumDTO> homePageLevelStatistics(FilterOrderVO filterOrderVO);
- /**
- * 各科室缺陷占比(主任医生)
- *
- * @param filterOrderVO
- * @return
- */
- public List<LevelStsByDeptDTO> levelStatisticsByDept(FilterOrderVO filterOrderVO);
- /**
- * 病案首页合格率占比(主任医生)
- *
- * @param filterOrderByDeptVO
- * @return
- */
- public List<HomePageByDeptDTO> homePageLevelStatisticsByDept(FilterOrderByDeptVO filterOrderByDeptVO);
- /**
- * 单条条目缺陷统计-首页
- *
- * @param filterVO
- * @return
- */
- public List<AdmissionCountDTO> casesEntryStatisticsByDept(FilterVO filterVO);
- /**
- * 科室缺陷占比-科室(分页)
- *
- * @param filterPageByDeptVO
- * @return
- */
- public IPage<DeptNumDTO> resultStatisticsByDeptAndDoctorPage(@Param("filterPageByDeptVO") FilterPageByDeptVO filterPageByDeptVO);
- /**
- * 病案首页合格/不合格数
- *
- * @param qcResultPageVO
- * @return
- */
- public IPage<QcResultShortDTO> getIsGoodLevelByDept(QcResultPageVO qcResultPageVO);
- /**
- * 各科室缺陷占比(组合)-全院-根据内外科系统统计-关联上级科室
- *
- * @param filterOrderVO
- * @return
- */
- public List<LevelStatisticsTZDTO> levelStatisticsByDeptClass(FilterOrderVO filterOrderVO);
- /**
- * 各科室缺陷占比(组合)-全院-根据内外科系统统计(台州)
- *
- * @param filterOrderVO
- * @return
- */
- public List<LevelStatisticsTZDTO> levelStatisticsByDeptClass_TZ(FilterOrderVO filterOrderVO);
- List<ExportExcelDTO> exportExcel();
- /**
- * 质控评分导出到excel
- *
- * @param exportQcresultVO
- * @return
- */
- public List<ExportExcelDTO> exportQcresult(ExportQcresultVO exportQcresultVO);
- /**
- * 个人质控评分导出到excel
- *
- * @param exportQcresultVO
- * @return
- */
- public List<ExportExcelDTO> exportQcresultByPerson(ExportQcresultVO exportQcresultVO);
- /**
- * 科室质控评分导出到excel
- *
- * @param exportQcresultVO
- * @return
- */
- public List<ExportExcelDTO> exportQcresultByDept(ExportQcresultVO exportQcresultVO);
- /**
- * 医疗组质控评分导出到excel
- *
- * @param exportQcresultVO
- * @return
- */
- public List<ExportExcelDTO> exportQcresultByGroup(ExportQcresultVO exportQcresultVO);
- /**
- * 条目缺陷质控评分页(内页)
- *
- * @param qcResultShortPageVO
- * @return
- */
- public IPage<QcResultShortDTO> qcResultShortPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 条目缺陷质控评分页-科室(内页)
- *
- * @param qcResultShortPageVO
- * @return
- */
- public IPage<QcResultShortDTO> qcResultShortByDeptPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 根据两个主键-批量修改
- *
- * @param list
- */
- public void updateBatchByKey(List<BehospitalInfo> list);
- /**
- * 关键条目缺陷占比统计
- *
- * @param entryStatisticsVO
- * @return
- */
- public List<EntryStatisticsDTO> entryStatistics(EntryStatisticsVO entryStatisticsVO);
- /**
- * 关键条目缺陷占比统计-科室
- *
- * @param entryStatisticsVO
- * @return
- */
- public List<EntryStasByDeptDTO> entryStatisticsByDept(EntryStatisticsVO entryStatisticsVO);
- /**
- * 非医嘱离院病人记录
- *
- * @param filterVO
- * @return
- */
- public int nonAdviceCount(FilterVO filterVO);
- /**
- * 31天内再入院记录
- *
- * @param filterVO
- * @return
- */
- public int get31DaysBehospitalCount(FilterVO filterVO);
- /**
- * 病案首页质控病历数统计-全院(首页)
- *
- * @param filterVO
- * @return
- */
- public HomePageNumDTO homePageQcPercent(FilterVO filterVO);
- /**
- * 病案首页完整率统计-全院(首页)
- *
- * @param filterVO
- * @return
- */
- public HomePageNumDTO hmEmptyEntryPercent(FilterVO filterVO);
- /**
- * 离院病人质控评分详情页
- *
- * @param qcResultShortPageVO
- * @return
- */
- public IPage<QcResultShortDTO> leaveHosMRPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 离院病人质控评分年龄单独查询详情页
- *
- * @param
- * @return
- */
- List<Map<String,Object>>getAge(@Param("hospitalId")String hospitalId, @Param("behospitalCodes")Set<String> behospitalCodes);
- /**
- * 改善率统计-全院(首页)
- *
- * @param filterVO
- * @return
- */
- public HomePageImproveDTO homePageImproveCount(FilterVO filterVO);
- /**
- * 质控核查统计(内页)
- *
- * @param filterOrderVO
- * @return
- */
- public List<HomePageImproveDTO> qcCheckStatistics(FilterOrderVO filterOrderVO);
- /**
- * 离院病人质控评分详情页导出到excel
- *
- * @param qcResultShortPageVO
- * @return
- */
- public List<ExportExcelDTO> leaveHosMRPageExport(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 条目缺陷质控评分详情页导出到excel
- *
- * @param qcResultShortPageVO
- * @return
- */
- public List<ExportExcelDTO> qcResultShortPageExport(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 未整改病历统计
- *
- * @param filterUnModifyMRVO
- * @return
- */
- public List<UnModifyMRDetailDTO> unModifyMRStatistics(FilterUnModifyMRVO filterUnModifyMRVO);
- /**
- * 病历稽查表
- *
- * @param filterVO
- * @return
- */
- public IPage<MedicalCheckDTO> getMedicalCheck(@Param("filterVO")FilterMedicalCheckVO filterVO);
- public List<MedicalCheckIdNameDTO> getMedicalEntryIds(@Param("casesEntryIds")List<Long> casesEntryIds);
- /**
- * 病历稽查表导出
- *
- * @param filterVO
- * @return
- */
- public List<MedicalCheckExportDTO> getMedicalCheckExport(@Param("filterVO")FilterMedicalCheckVO filterVO);
- /**
- * 未整改病历质控评分页(内页)
- *
- * @param qcResultShortPageVO
- * @return
- */
- public IPage<QcResultShortDTO> unModifyMRPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 不合格/合格数病历号(内页)
- *
- * @param qcResultPageVO
- * @return
- */
- public IPage<QcResultShortDTO> badLevelPage(@Param("qcResultPageVO") QcResultPageVO qcResultPageVO);
- /**
- * 未整改病历缺陷评分详情页导出
- *
- * @param qcResultShortPageVO
- * @return
- */
- public List<ExportExcelDTO> unModifyMRPageExport(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 病案首页不合格/合格数病历详情页导出
- *
- * @param qcResultShortPageVO
- * @return
- */
- public List<ExportExcelDTO> badLevelPagePageExport(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 病案首页不合格/合格数病历详情页导出-科室
- *
- * @param qcResultShortPageVO
- * @return
- */
- public List<ExportExcelByDeptDTO> homePageOrLevelExportByDept(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 缺陷详情质控评分页导出-科室
- *
- * @param qcResultShortPageVO
- * @return
- */
- public List<ExportExcelByDeptDTO> qcResultShortByDeptPageExport(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 31天再入院详情页
- *
- * @param reBeHosPageVO
- * @return
- */
- public IPage<ReBeHosMergeDTO> reHos31DaysPage(@Param("reBeHosPageVO") ReBeHosPageVO reBeHosPageVO);
- /**
- * 入院人数统计-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> beHosCount(FilterVO filterVO);
- /**
- * 单条条目缺陷统计-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> casesEntryStatisticsById(FilterVO filterVO);
- /**
- * 病案首页改善率质控评分页(内页)
- *
- * @param qcResultShortPageVO
- * @return
- */
- public IPage<QcResultShortDTO> hmImproveMRPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 病案首页改善率质控评分页导出
- *
- * @param qcResultShortPageVO
- * @return
- */
- public List<ExportExcelDTO> hmImproveMRPageExport(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 质控核查质控评分页(内页)
- *
- * @param qcResultShortPageVO
- * @return
- */
- public IPage<QcResultShortDTO> qcCheckMRPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 质控核查质控评分页导出
- *
- * @param qcResultShortPageVO
- * @return
- */
- public List<ExportExcelDTO> qcCheckMRPageExport(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- }
|