|
@ -1273,13 +1273,13 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
@PostMapping(value= BaseHospitalRequestMapping.Prescription.prescriptionCheck)
|
|
|
@ApiOperation("处方-审方")
|
|
|
public ObjEnvelop prescriptionCheck(
|
|
|
@ApiParam(name = "operate", value = "operate", required = true)
|
|
|
@ApiParam(name = "operate", value = "审核人", required = true)
|
|
|
@RequestParam(required = true)String operate,
|
|
|
@ApiParam(name = "operateName", value = "operateName", required = true)
|
|
|
@ApiParam(name = "operateName", value = "审核人名字", required = true)
|
|
|
@RequestParam(required = true)String operateName,
|
|
|
@ApiParam(name = "reason", value = "reason", required = true)
|
|
|
@ApiParam(name = "reason", value = "审核原因", required = true)
|
|
|
@RequestParam(required = true)String reason,
|
|
|
@ApiParam(name = "status", value = "status", required = true)
|
|
|
@ApiParam(name = "status", value = "0未审核1审核退回2审核通过", required = true)
|
|
|
@RequestParam(required = true)Integer status,
|
|
|
@ApiParam(name = "prescriptionId", value = "prescriptionId", required = true)
|
|
|
@RequestParam(required = true)String prescriptionId) throws Exception {
|
|
@ -1292,6 +1292,43 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 医生端-处方处理
|
|
|
*
|
|
|
* @param operate
|
|
|
* @param reason
|
|
|
* @param status
|
|
|
* @param prescriptionId
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
@PostMapping(value= BaseHospitalRequestMapping.Prescription.savePrescriptionCheck)
|
|
|
@ApiOperation("医生端-处方处理")
|
|
|
public ObjEnvelop savePrescriptionCheck(
|
|
|
@ApiParam(name = "operate", value = "操作人code", required = true)
|
|
|
@RequestParam(required = true)String operate,
|
|
|
@ApiParam(name = "reason", value = "处理原因", required = true)
|
|
|
@RequestParam(required = true)String reason,
|
|
|
@ApiParam(name = "status", value = "3处方修改4执行处方", required = true)
|
|
|
@RequestParam(required = true)Integer status,
|
|
|
@ApiParam(name = "prescriptionId", value = "处方id", required = true)
|
|
|
@RequestParam(required = true)String prescriptionId) throws Exception {
|
|
|
try {
|
|
|
//String operate,String operateName,String reason,Integer status,String prescriptionId
|
|
|
return ObjEnvelop.getSuccess("ok",prescriptionService.savePrescriptionCheck(operate,reason,status,prescriptionId));
|
|
|
} catch (Exception e) {
|
|
|
return ObjEnvelop.getError(e.getMessage());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 查询审核历史记录
|
|
|
*
|
|
|
* @param prescriptionId
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
@GetMapping(value= BaseHospitalRequestMapping.Prescription.prescriptionCheckList)
|
|
|
@ApiOperation("查询审核历史记录")
|
|
|
public ObjEnvelop prescriptionCheckList(
|