新增查询体检ecg报告数据
This commit is contained in:
parent
54145e4be0
commit
3f5e4318d2
@ -459,11 +459,23 @@ public class InspectPatientController {
|
||||
}
|
||||
@GetMapping("/getpatientjson")
|
||||
@Operation(summary = "根据体检获得患者信息")
|
||||
public CommonResult<InspectPatientDO> getPatientInfo(String medicalSn)
|
||||
public CommonResult<InspectPatientDO> getPatientInfo(@RequestParam("medicalSn") String medicalSn)
|
||||
{
|
||||
return success(patientService.getPatientInfo(medicalSn));
|
||||
}
|
||||
|
||||
@GetMapping("/getecgTj")
|
||||
@Operation(summary = "获取体检ecg数据")
|
||||
public CommonResult<Boolean> GetApiEcgInfo(@RequestParam("medicalSn") String medicalSn)
|
||||
{
|
||||
ConfigDO config = configService.getConfigByKey("url.ecgtj");
|
||||
String url = config.getValue();
|
||||
InspectPacsDataSaveReqVO inspectPacs = new InspectPacsDataSaveReqVO();
|
||||
inspectPacs.setCode(medicalSn);
|
||||
inspectPacs.setData(url+"/"+url+".jpg");
|
||||
inspectPacs.setType("ecg");
|
||||
pacsDataService.createPacsData(inspectPacs);
|
||||
return success(true);
|
||||
}
|
||||
@GetMapping("/page")
|
||||
@Operation(summary = "获得患者信息分页")
|
||||
public CommonResult<PageResult<InspectPatientRespVO>> getPatientPage(@Valid InspectPatientPageReqVO pageReqVO) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user