|
@@ -23,96 +23,96 @@ import com.diagbot.vo.PacsCheckItemVO;
|
|
|
public class DockingImportFacade {
|
|
|
|
|
|
public LisRetrieveListAllDTO lisDockingImport(LisArgumentsVO lisArgumentsVO) {
|
|
|
- // TODO 測試數據
|
|
|
- LisRetrieveListAllDTO lisRetrieveList = new LisRetrieveListAllDTO();
|
|
|
- lisRetrieveList.setAgr(24);
|
|
|
- lisRetrieveList.setName("Tom");
|
|
|
- lisRetrieveList.setPatientNum("123456");
|
|
|
- lisRetrieveList.setSex(0);
|
|
|
- lisRetrieveList.setStartTime("2019-05-01 00:00:00");
|
|
|
- lisRetrieveList.setEndTime("2019-05-31 00:00:00");
|
|
|
- List<LisRetrieveDTO> lisRetrieveDTO = new ArrayList<LisRetrieveDTO>();
|
|
|
- for (int i = 0; i < 10; i++) {
|
|
|
+ // TODO 测试数据
|
|
|
+ LisRetrieveListAllDTO lisRetrieveList = new LisRetrieveListAllDTO();// TODO 测试数据
|
|
|
+ lisRetrieveList.setAgr(24);// TODO 测试数据
|
|
|
+ lisRetrieveList.setName("Tom");// TODO 测试数据
|
|
|
+ lisRetrieveList.setPatientNum("123456");// TODO 测试数据
|
|
|
+ lisRetrieveList.setSex(0);// TODO 测试数据
|
|
|
+ lisRetrieveList.setStartTime("2019-05-01 00:00:00");// TODO 测试数据
|
|
|
+ lisRetrieveList.setEndTime("2019-05-31 00:00:00");// TODO 测试数据
|
|
|
+ List<LisRetrieveDTO> lisRetrieveDTO = new ArrayList<LisRetrieveDTO>();// TODO 测试数据
|
|
|
+ for (int i = 0; i < 10; i++) {// TODO 测试数据
|
|
|
LisRetrieveDTO list = new LisRetrieveDTO();
|
|
|
list.setGroupName("呼吸道病毒三联检" + i);
|
|
|
- list.setInspectDoctor("admin" + i);
|
|
|
- list.setInspectTime(DateUtil.now());
|
|
|
+ list.setInspectDoctor("admin" + i);// TODO 测试数据
|
|
|
+ list.setInspectTime(DateUtil.now());// TODO 测试数据
|
|
|
list.setReportTime(DateUtil.now());
|
|
|
- list.setSpecimenType("血清" + i);
|
|
|
+ list.setSpecimenType("血清" + i);// TODO 测试数据
|
|
|
lisRetrieveDTO.add(list);
|
|
|
}
|
|
|
- lisRetrieveList.setLisRetrieveData(lisRetrieveDTO);
|
|
|
+ lisRetrieveList.setLisRetrieveData(lisRetrieveDTO);// TODO 测试数据
|
|
|
|
|
|
- return lisRetrieveList;
|
|
|
+ return lisRetrieveList;// TODO 测试数据
|
|
|
}
|
|
|
|
|
|
public LisDataDTO getByGroupNameLisDatas(LisGroupNameVO lisGroupNameVO) {
|
|
|
// TODO 測試數據
|
|
|
- LisDataDTO lisDataDTO = new LisDataDTO();
|
|
|
- lisDataDTO.setHospitalCode("121365465");
|
|
|
- lisDataDTO.setGroupName("呼吸道病毒三联检");
|
|
|
+ LisDataDTO lisDataDTO = new LisDataDTO();// TODO 测试数据
|
|
|
+ lisDataDTO.setHospitalCode("121365465");// TODO 测试数据
|
|
|
+ lisDataDTO.setGroupName("呼吸道病毒三联检");// TODO 测试数据
|
|
|
List<LisExcelWrapperVO> lisExcelWrapper = new ArrayList<LisExcelWrapperVO>();
|
|
|
- for (int i = 0; i < 10; i++) {
|
|
|
+ for (int i = 0; i < 10; i++) {// TODO 测试数据
|
|
|
LisExcelWrapperVO lisExcelWrapperVO = new LisExcelWrapperVO();
|
|
|
- lisExcelWrapperVO.setItemName("糖代谢检查" + i);
|
|
|
+ lisExcelWrapperVO.setItemName("糖代谢检查" + i);// TODO 测试数据
|
|
|
lisExcelWrapperVO.setMax("1" + i);
|
|
|
- lisExcelWrapperVO.setMealName("-空腹血糖(Glu)" + i);
|
|
|
- lisExcelWrapperVO.setMin("" + i);
|
|
|
- lisExcelWrapperVO.setTime("");
|
|
|
- lisExcelWrapperVO.setType("1");
|
|
|
+ lisExcelWrapperVO.setMealName("-空腹血糖(Glu)" + i);// TODO 测试数据
|
|
|
+ lisExcelWrapperVO.setMin("" + i);// TODO 测试数据
|
|
|
+ lisExcelWrapperVO.setTime("");// TODO 测试数据
|
|
|
+ lisExcelWrapperVO.setType("1");// TODO 测试数据
|
|
|
lisExcelWrapperVO.setUniquemealName("-空腹血糖(Glu)" + i);
|
|
|
- lisExcelWrapperVO.setUniqueName("糖代谢检查" + i);
|
|
|
- lisExcelWrapperVO.setUnit("mo/l");
|
|
|
- lisExcelWrapperVO.setValue("15" + i);
|
|
|
- lisExcelWrapper.add(lisExcelWrapperVO);
|
|
|
+ lisExcelWrapperVO.setUniqueName("糖代谢检查" + i);// TODO 测试数据
|
|
|
+ lisExcelWrapperVO.setUnit("mo/l");// TODO 测试数据
|
|
|
+ lisExcelWrapperVO.setValue("15" + i);// TODO 测试数据
|
|
|
+ lisExcelWrapper.add(lisExcelWrapperVO);// TODO 测试数据
|
|
|
}
|
|
|
|
|
|
- lisDataDTO.setLisExcelWrapper(lisExcelWrapper);
|
|
|
- return lisDataDTO;
|
|
|
+ lisDataDTO.setLisExcelWrapper(lisExcelWrapper);// TODO 测试数据
|
|
|
+ return lisDataDTO;// TODO 测试数据
|
|
|
}
|
|
|
|
|
|
public PacsRetrieveListAllDTO pacsDockingImports(PacsArgumentsVO pacsArgumentsVO) {
|
|
|
- // TODO 測試數據
|
|
|
- PacsRetrieveListAllDTO pacsRetrieveList = new PacsRetrieveListAllDTO();
|
|
|
- pacsRetrieveList.setAgr(24);
|
|
|
- pacsRetrieveList.setName("Tom");
|
|
|
- pacsRetrieveList.setPatientNum("123456");
|
|
|
- pacsRetrieveList.setSex(0);
|
|
|
- pacsRetrieveList.setStartTime("2019-05-01 00:00:00");
|
|
|
- pacsRetrieveList.setEndTime("2019-05-31 00:00:00");
|
|
|
- List<PacsRetrieveDTO> pacsRetrieveDTO = new ArrayList<PacsRetrieveDTO>();
|
|
|
- for (int i = 0; i < 10; i++) {
|
|
|
- PacsRetrieveDTO list = new PacsRetrieveDTO();
|
|
|
- list.setCheckItem("呼吸道病毒三联检" + i);
|
|
|
- list.setCheckNum("123456" + i);
|
|
|
- list.setName("心电图" + i);
|
|
|
- list.setInspectTime(DateUtil.now());
|
|
|
- list.setReportTime(DateUtil.now());
|
|
|
- list.setApplicationNum("8888" + i);
|
|
|
- list.setType(i);
|
|
|
- pacsRetrieveDTO.add(list);
|
|
|
+ // TODO 测试数据
|
|
|
+ PacsRetrieveListAllDTO pacsRetrieveList = new PacsRetrieveListAllDTO();// TODO 测试数据
|
|
|
+ pacsRetrieveList.setAgr(24);// TODO 测试数据
|
|
|
+ pacsRetrieveList.setName("Tom");// TODO 测试数据
|
|
|
+ pacsRetrieveList.setPatientNum("123456");// TODO 测试数据
|
|
|
+ pacsRetrieveList.setSex(0);// TODO 测试数据
|
|
|
+ pacsRetrieveList.setStartTime("2019-05-01 00:00:00");// TODO 测试数据
|
|
|
+ pacsRetrieveList.setEndTime("2019-05-31 00:00:00");// TODO 测试数据
|
|
|
+ List<PacsRetrieveDTO> pacsRetrieveDTO = new ArrayList<PacsRetrieveDTO>();// TODO 测试数据
|
|
|
+ for (int i = 0; i < 10; i++) {// TODO 测试数据
|
|
|
+ PacsRetrieveDTO list = new PacsRetrieveDTO();// TODO 测试数据
|
|
|
+ list.setCheckItem("呼吸道病毒三联检" + i);// TODO 测试数据
|
|
|
+ list.setCheckNum("123456" + i);// TODO 测试数据
|
|
|
+ list.setName("心电图" + i);// TODO 测试数据
|
|
|
+ list.setInspectTime(DateUtil.now());// TODO 测试数据
|
|
|
+ list.setReportTime(DateUtil.now());// TODO 测试数据
|
|
|
+ list.setApplicationNum("8888" + i);// TODO 测试数据
|
|
|
+ list.setType(i);// TODO 测试数据
|
|
|
+ pacsRetrieveDTO.add(list);// TODO 测试数据
|
|
|
}
|
|
|
- pacsRetrieveList.setPacsRetrieveData(pacsRetrieveDTO);
|
|
|
-
|
|
|
- return pacsRetrieveList;
|
|
|
+ pacsRetrieveList.setPacsRetrieveData(pacsRetrieveDTO);// TODO 测试数据
|
|
|
+ // TODO 测试数据
|
|
|
+ return pacsRetrieveList;// TODO 测试数据
|
|
|
}
|
|
|
|
|
|
public PacsDataDTO getByCheckItemPacsDatas(PacsCheckItemVO pacsGroupNameVO) {
|
|
|
// TODO 測試數據
|
|
|
- PacsDataDTO pacsDataDTO = new PacsDataDTO();
|
|
|
- pacsDataDTO.setHospitalCode("121365465");
|
|
|
- pacsDataDTO.setCheckItem("心电图");
|
|
|
- List<PacsResultDTO> pacsExcelWrapper = new ArrayList<PacsResultDTO>();
|
|
|
- for (int i = 0; i < 10; i++) {
|
|
|
- PacsResultDTO pacsExcelWrapperVO = new PacsResultDTO();
|
|
|
- pacsExcelWrapperVO.setCheckItem("胸部正位" + i);
|
|
|
- pacsExcelWrapperVO.setImagingDiagnose("影像所见" + i);
|
|
|
- pacsExcelWrapperVO.setImagingResults("影像诊断" + i);
|
|
|
- pacsExcelWrapper.add(pacsExcelWrapperVO);
|
|
|
+ PacsDataDTO pacsDataDTO = new PacsDataDTO();// TODO 测试数据
|
|
|
+ pacsDataDTO.setHospitalCode("121365465");// TODO 测试数据
|
|
|
+ pacsDataDTO.setCheckItem("心电图");// TODO 测试数据
|
|
|
+ List<PacsResultDTO> pacsExcelWrapper = new ArrayList<PacsResultDTO>();// TODO 测试数据
|
|
|
+ for (int i = 0; i < 10; i++) {// TODO 测试数据
|
|
|
+ PacsResultDTO pacsExcelWrapperVO = new PacsResultDTO();// TODO 测试数据
|
|
|
+ pacsExcelWrapperVO.setCheckItem("胸部正位" + i);// TODO 测试数据
|
|
|
+ pacsExcelWrapperVO.setImagingDiagnose("影像所见" + i);// TODO 测试数据
|
|
|
+ pacsExcelWrapperVO.setImagingResults("影像诊断" + i);// TODO 测试数据
|
|
|
+ pacsExcelWrapper.add(pacsExcelWrapperVO);// TODO 测试数据
|
|
|
}
|
|
|
|
|
|
- pacsDataDTO.setPacsResultDTO(pacsExcelWrapper);
|
|
|
- return pacsDataDTO;
|
|
|
+ pacsDataDTO.setPacsResultDTO(pacsExcelWrapper);// TODO 测试数据
|
|
|
+ return pacsDataDTO;// TODO 测试数据
|
|
|
}
|
|
|
|
|
|
}
|