|
@ -7674,11 +7674,10 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
}
|
|
|
String returnValue = "";
|
|
|
Map<String, String> params = new HashedMap();
|
|
|
params.put("type", "getPatInfoDataXml");
|
|
|
params.put("data", data);
|
|
|
returnValue = com.yihu.jw.utils.WebserviceUtil.post(url,
|
|
|
"http://business.htemr.haitaiinc.com",
|
|
|
"manageEmrDataAll",
|
|
|
"getPatInfoDataXml",
|
|
|
params);
|
|
|
|
|
|
logger.info("门诊病历列表信息,返回值xmlstr:" + returnValue);
|
|
@ -8206,11 +8205,10 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
|
|
|
/**
|
|
|
* 电子病历签名
|
|
|
* @param prescriptionDO
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public void SOF_SignDataWithExtraInfoEmr(WlyyPrescriptionEmrDO prescriptionEmrDO) throws Exception {
|
|
|
WlyyPrescriptionDO prescriptionDO = prescriptionDao.findOne(prescriptionEmrDO.getId());
|
|
|
WlyyPrescriptionDO prescriptionDO = prescriptionDao.findOne(prescriptionEmrDO.getPrescriptionId());
|
|
|
DoctorMappingDO doctorMappingDO = doctorMappingDao.findByDoctor(prescriptionDO.getDoctor());
|
|
|
BaseDoctorDO doctorDO = baseDoctorDao.findById(prescriptionDO.getDoctor());
|
|
|
BasePatientDO patientDO = basePatientDao.findById(prescriptionDO.getPatientCode());
|
|
@ -8218,9 +8216,6 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
PKIService_ServiceLocator locator = new PKIService_ServiceLocator();
|
|
|
URL portAddress = new URL("http://192.0.33.91:8080/pkis/services/v1?wsdl");
|
|
|
PKIService_PortType service = locator.getPKIServiceImplPort(portAddress);
|
|
|
WlyyOutpatientDO outpatientDO = outpatientDao.findById(prescriptionDO.getOutpatientId());
|
|
|
List<WlyyPrescriptionInfoDO> infoDOS = prescriptionInfoDao.findByPrescriptionId(prescriptionDO.getId(), 1);
|
|
|
List<WlyyInspectionDO> inspectionDOS = wlyyInspectionDao.findByPrescriptionId(prescriptionDO.getId(), 1);
|
|
|
|
|
|
//电子病历签名
|
|
|
com.alibaba.fastjson.JSONObject jsonData = new com.alibaba.fastjson.JSONObject();
|