|
|
@@ -59,34 +59,10 @@ public class SuperviseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Operation(summary = "测试医院药品目录推送单对象接口", description = "互联网医院药品目录推送接口")
|
|
|
- @PostMapping("/sendDrugCategoryOne")
|
|
|
- @ResponseBody
|
|
|
- public HisResponseTO sendDrugCategoryOne(HttpServletRequest request,@Valid @RequestBody DrugCategoryReq param) {
|
|
|
- String urlType = request.getHeader("urlType");
|
|
|
- String apiUrl = url;
|
|
|
- if(StringUtils.isNotBlank(urlType)&&"1".equals(urlType)){
|
|
|
- apiUrl = localUrl;
|
|
|
- }
|
|
|
- PostUtil.setApiUrl(apiUrl);
|
|
|
- PostUtil.setAppKey(appKey);
|
|
|
- PostUtil.setAppSecret(appSecret);
|
|
|
- try{
|
|
|
- return openapi.updateInterface.PostUtil.post(ServiceMethodEnum.DRUG_PUSH.getServiceMethod(), param);
|
|
|
- }catch (Exception e){
|
|
|
- log.error("方法名称:-/supervise/sendDrugCategory 错误信息:"+e.getMessage());
|
|
|
- HisResponseTO<?> hisResponse = new HisResponseTO();
|
|
|
- hisResponse.setCode(40012);
|
|
|
- hisResponse.setMsg("错误信息:"+e.getMessage());
|
|
|
- return hisResponse;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
@Operation(summary = "2.2.1.2.在线咨询信息推送接口", description = "在线咨询信息推送接口")
|
|
|
- @PostMapping("/sendNursingMaterial")
|
|
|
+ @PostMapping("/sendConsultingIndicators")
|
|
|
@ResponseBody
|
|
|
- public HisResponseTO sendNursingMaterial(HttpServletRequest request,@Valid @RequestBody List<NursingMaterialReq> list) {
|
|
|
+ public HisResponseTO sendConsultingIndicators(HttpServletRequest request,@Valid @RequestBody List<ZiXunIndicatorsReq> list) {
|
|
|
String urlType = request.getHeader("urlType");
|
|
|
String apiUrl = url;
|
|
|
if(StringUtils.isNotBlank(urlType)&&"1".equals(urlType)){
|
|
|
@@ -129,7 +105,7 @@ public class SuperviseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Operation(summary = "2.2.3.在线处方信息", description = "在线处方信息")
|
|
|
+ @Operation(summary = "2.2.3.2在线处方信息", description = "在线处方信息")
|
|
|
@PostMapping("/sendRecipeIndicators")
|
|
|
@ResponseBody
|
|
|
public HisResponseTO sendRecipeIndicators(HttpServletRequest request,@Valid @RequestBody List<RecipeIndicatorsReq> list) {
|
|
|
@@ -175,7 +151,7 @@ public class SuperviseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Operation(summary = "2.2.9.互联网预约挂号记录", description = "互联网预约挂号记录")
|
|
|
+ @Operation(summary = "2.2.9.2互联网预约挂号记录", description = "互联网预约挂号记录")
|
|
|
@PostMapping("/sendAppointRecord")
|
|
|
@ResponseBody
|
|
|
public HisResponseTO sendAppointRecord(HttpServletRequest request,@Valid @RequestBody List<AppointRecordIndicatorsReq> list) {
|
|
|
@@ -198,7 +174,7 @@ public class SuperviseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Operation(summary = "2.2.10电子病历信息", description = "电子病历信息")
|
|
|
+ @Operation(summary = "2.2.10.2电子病历信息", description = "电子病历信息")
|
|
|
@PostMapping("/sendElectMedicalRecord")
|
|
|
@ResponseBody
|
|
|
public HisResponseTO sendElectMedicalRecord(HttpServletRequest request,@Valid @RequestBody List<uploadElectMedicalRecordReq> list) {
|
|
|
@@ -221,7 +197,7 @@ public class SuperviseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @Operation(summary = "2.3.1.远程门诊记录", description = "远程门诊记录")
|
|
|
+ @Operation(summary = "2.3.1.2远程门诊记录", description = "远程门诊记录")
|
|
|
@PostMapping("/sendCloudAppointRecordIndicators")
|
|
|
@ResponseBody
|
|
|
public HisResponseTO sendCloudAppointRecordIndicators(HttpServletRequest request,@Valid @RequestBody List<uploadCloudAppointRecordIndicatorsReq> list) {
|
|
|
@@ -234,7 +210,7 @@ public class SuperviseController {
|
|
|
PostUtil.setAppKey(appKey);
|
|
|
PostUtil.setAppSecret(appSecret);
|
|
|
try{
|
|
|
- return PostUtil.post(ServiceMethodEnum.ONLINE_CONSULTATION.getServiceMethod(), JSONObject.toJSONString(list));
|
|
|
+ return PostUtil.post(ServiceMethodEnum.REMOTE_OUTPATIENT.getServiceMethod(), JSONObject.toJSONString(list));
|
|
|
}catch (Exception e){
|
|
|
log.error("方法名称:-/supervise/sendCloudAppointRecordIndicators 错误信息:"+e.getMessage());
|
|
|
HisResponseTO<?> hisResponse = new HisResponseTO();
|