|
@ -237,6 +237,8 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
vos = tnPrescriptionService.findOutpatientList(patient, cardNo, startTime, endTime, demoFlag, ksdm, flag);
|
|
|
} else if (wxId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
vos = hcyyPrescriptionService.selectOutpatientList(patient,startTime,endTime,cardNo);
|
|
|
} else if (wxId.equalsIgnoreCase("xm_tasy_wx")) {
|
|
|
vos = prescriptionService.findOutpatientList(patient, startTime, endTime, demoFlag, ksdm, cardNo);
|
|
|
} else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
@ -262,6 +264,8 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
obj = tnPrescriptionService.findOutpatientInfo(patient, conNo, demoFlag, null);
|
|
|
} else if (wxId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
obj = hcyyPrescriptionService.selectOutpatientInfo(patient,conNo);
|
|
|
} else if (wxId.equalsIgnoreCase("xm_tasy_wx")) {
|
|
|
obj = prescriptionService.findOutpatientInfo(patient, conNo);
|
|
|
} else {
|
|
|
return ObjEnvelop.getError("尚未开发!");
|
|
|
}
|
|
@ -291,7 +295,9 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
obj = tnPrescriptionService.findOriginPrescriptionList(registerSn, patNo, realOrder, admNo, demoFlag);
|
|
|
} else if (wxId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
obj = hcyyPrescriptionService.selectOriginPrescriptionListLocal(registerSn,patNo,admNo,realOrder);
|
|
|
} else {
|
|
|
} else if (wxId.equalsIgnoreCase("xm_tasy_wx")) {
|
|
|
obj = prescriptionService.findOriginPrescriptionList(registerSn, patNo, realOrder, admNo, demoFlag);
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
|
|
|
@ -640,7 +646,9 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
return success(tnPrescriptionService.getICD10(pyKey, false));
|
|
|
} else if (wxId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
return success(hcyyPrescriptionService.selectIcd10Dict(pyKey));
|
|
|
} else {
|
|
|
} if (wxId.equalsIgnoreCase("xm_tasy_wx")) {
|
|
|
return success(prescriptionService.getICD10(pyKey));
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
|
|
|
@ -672,7 +680,9 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
} else if (wxId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
logger.info("pyKey"+pyKey);
|
|
|
return success(hcyyPrescriptionService.selectDrugDict(pyKey,drugNo));
|
|
|
} else {
|
|
|
} else if (wxId.equalsIgnoreCase("xm_tasy_wx")) {
|
|
|
return success(prescriptionService.getDrugDictionary(drugNo, pyKey, winNo, groupNo));
|
|
|
} else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
|
}
|
|
@ -692,7 +702,9 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
return success(tnPrescriptionService.getDrugUse(pyKey, demoFlag));
|
|
|
} else if (wxId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
return success(hcyyPrescriptionService.selectMedicineUsed(pyKey));
|
|
|
} else {
|
|
|
} else if (wxId.equalsIgnoreCase("xm_tasy_wx")) {
|
|
|
return success(prescriptionService.getDrugUse(drugNo, pyKey));
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
|
|
|
@ -710,7 +722,9 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
return success(tnPrescriptionService.getDrugFrequency(demoFlag));
|
|
|
} else if (wxId.equalsIgnoreCase("xm_hcyy_wx")) {
|
|
|
return success(hcyyPrescriptionService.selectFrequencyDict());
|
|
|
} else {
|
|
|
} else if (wxId.equalsIgnoreCase("xm_tasy_wx")) {
|
|
|
return success(prescriptionService.getDrugFrequency());
|
|
|
}else {
|
|
|
return ListEnvelop.getError("尚未开发!");
|
|
|
}
|
|
|
}
|