|
@ -224,6 +224,8 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
vos = prescriptionService.findOutpatientList(patient, startTime, endTime, demoFlag,ksdm,cardNo);
|
|
|
}else if (wxId.equalsIgnoreCase("sd_tnzyy_wx")){
|
|
|
vos = tnPrescriptionService.findOutpatientList(patient, cardNo,startTime, endTime, demoFlag,ksdm,flag);
|
|
|
}else if (wxId.equalsIgnoreCase("xm_hcyy_wx")){
|
|
|
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
@ -247,6 +249,8 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
obj = prescriptionService.findOutpatientInfo(patient,conNo);
|
|
|
}else if (wxId.equalsIgnoreCase("sd_tnzyy_wx")){
|
|
|
obj = tnPrescriptionService.findOutpatientInfo(patient,conNo,demoFlag,null);
|
|
|
}else if (wxId.equalsIgnoreCase("xm_hcyy_wx")){
|
|
|
|
|
|
}else {
|
|
|
return ObjEnvelop.getError("尚未开发!");
|
|
|
}
|
|
@ -274,6 +278,8 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
obj= prescriptionService.findOriginPrescriptionList(registerSn, patNo, realOrder, admNo,demoFlag);
|
|
|
}else if (wxId.equalsIgnoreCase("sd_tnzyy_wx")){
|
|
|
obj= tnPrescriptionService.findOriginPrescriptionList(registerSn, patNo, realOrder, admNo,demoFlag);
|
|
|
}else if (wxId.equalsIgnoreCase("xm_hcyy_wx")){
|
|
|
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
@ -619,10 +625,12 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
return success(xzzxEntranceService.selectIcd10Dict(pyKey));
|
|
|
}else if (wxId.equalsIgnoreCase("sd_tnzyy_wx")){
|
|
|
return success(tnPrescriptionService.getICD10(pyKey,false));
|
|
|
}else if (wxId.equalsIgnoreCase("xm_hcyy_wx")){
|
|
|
ListEnvelop listEnvelop = new ListEnvelop();
|
|
|
return listEnvelop;
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -643,6 +651,9 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
return success(xzzxEntranceService.selectDrugDict(pyKey,drugNo));
|
|
|
}else if (wxId.equalsIgnoreCase("sd_tnzyy_wx")){
|
|
|
return success(tnPrescriptionService.getDrugDictionary(drugNo,pyKey,null,groupNo,null));
|
|
|
}else if (wxId.equalsIgnoreCase("xm_hcyy_wx")){
|
|
|
ListEnvelop listEnvelop = new ListEnvelop();
|
|
|
return listEnvelop;
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
@ -661,6 +672,9 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
return success(xzzxEntranceService.selectMedicineUsed(pyKey));
|
|
|
}else if (wxId.equalsIgnoreCase("sd_tnzyy_wx")){
|
|
|
return success(tnPrescriptionService.getDrugUse(pyKey,demoFlag));
|
|
|
}else if (wxId.equalsIgnoreCase("xm_hcyy_wx")){
|
|
|
ListEnvelop listEnvelop = new ListEnvelop();
|
|
|
return listEnvelop;
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
@ -677,6 +691,9 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
return success(xzzxEntranceService.selectFrequencyDict());
|
|
|
}else if (wxId.equalsIgnoreCase("sd_tnzyy_wx")){
|
|
|
return success(tnPrescriptionService.getDrugFrequency(demoFlag));
|
|
|
}else if (wxId.equalsIgnoreCase("xm_hcyy_wx")){
|
|
|
ListEnvelop listEnvelop = new ListEnvelop();
|
|
|
return listEnvelop;
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|