|
@ -731,6 +731,8 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(value = "outPatientId", required = true) String outPatientId,
|
|
|
@ApiParam(name = "advice", value = "医嘱")
|
|
|
@RequestParam(value = "advice", required = false) String advice,
|
|
|
@ApiParam(name = "isDisease", value = "是否特殊病种1是0否")
|
|
|
@RequestParam(value = "isDisease", required = false) String isDisease,
|
|
|
@ApiParam(name = "diseaseCode", value = "特殊病种")
|
|
|
@RequestParam(value = "diseaseCode", required = false) String diseaseCode,
|
|
|
@ApiParam(name = "diseaseName", value = "特殊病种名称")
|
|
@ -751,7 +753,7 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(value = "hisId", required = false) String hisId,
|
|
|
@ApiParam(name = "orderId", value = "上门服务订单号")
|
|
|
@RequestParam(value = "orderId", required = false) String orderId) throws Exception {
|
|
|
Map<String, Object> result = prescriptionService.makeDiagnosis(outPatientId, prescriptionId, advice, type, infoJsons, diagnosisJson, inspectionJson, emrJson, hisId,diseaseCode,diseaseName);
|
|
|
Map<String, Object> result = prescriptionService.makeDiagnosis(outPatientId, prescriptionId, advice, type, infoJsons, diagnosisJson, inspectionJson, emrJson, hisId,diseaseCode,diseaseName,isDisease);
|
|
|
try {
|
|
|
|
|
|
com.alibaba.fastjson.JSONObject msgObj = new com.alibaba.fastjson.JSONObject();
|
|
@ -3778,6 +3780,8 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
public Envelop updateOupatient(
|
|
|
@ApiParam(name = "outpatientId", value = "门诊id")
|
|
|
@RequestParam(value = "outpatientId", required = false) String outpatientId,
|
|
|
@ApiParam(name = "idDisease", value = "是否是特殊病种1是0否")
|
|
|
@RequestParam(value = "idDisease", required = false) String idDisease,
|
|
|
@ApiParam(name = "diseaseCode", value = "特殊病种code")
|
|
|
@RequestParam(value = "diseaseCode", required = false) String diseaseCode,
|
|
|
@ApiParam(name = "diseaseName", value = "特殊病种名称")
|
|
@ -3785,7 +3789,7 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
@ApiParam(name = "medicalState", value = "是否医保01")
|
|
|
@RequestParam(value = "medicalState", required = false) String medicalState) {
|
|
|
try {
|
|
|
return success("操作成功", prescriptionService.updateOutpatient(outpatientId,diseaseCode,diseaseName,medicalState));
|
|
|
return success("操作成功", prescriptionService.updateOutpatient(outpatientId,diseaseCode,diseaseName,medicalState,idDisease));
|
|
|
} catch (Exception e) {
|
|
|
return Envelop.getError(e.getMessage());
|
|
|
}
|