|
@ -3635,8 +3635,10 @@ public class EntranceService {
|
|
|
YlzMedicalRelationDO ylzMedicalRelationDO = ylzMedicailRelationDao.findByLog_no(resultJSON.getString("xtgzh0"));
|
|
|
List<WlyyPrescriptionDO> prescriptionDOList = prescriptionDao.findByRealOrderAndStatusList(resultJSON.getString("xtgzh0"));
|
|
|
String diseaseCode = "";
|
|
|
String diseaseName = "";
|
|
|
if (prescriptionDOList!=null&&prescriptionDOList.size()!=0){
|
|
|
diseaseCode= prescriptionDOList.get(0).getDiseaseCode();
|
|
|
diseaseName = prescriptionDOList.get(0).getDiseaseName();
|
|
|
}
|
|
|
|
|
|
List<YlzMedicalIcdDO> icdDOList = new ArrayList<>();
|
|
@ -3673,6 +3675,7 @@ public class EntranceService {
|
|
|
ylzMedicalRelationDO.setDataSource("53");
|
|
|
ylzMedicalRelationDO.setBalance(cardFee+"");
|
|
|
ylzMedicalRelationDO.setDiseaseCode(diseaseCode);
|
|
|
ylzMedicalRelationDO.setDiseaseName(diseaseName);
|
|
|
ylzMedicalRelationDO.setPreCount(resultJSON.getString("cfxms0"));
|
|
|
BaseDoctorDO baseDoctorDO = baseDoctorDao.findById(outpatientDO.getDoctor());
|
|
|
if (baseDoctorDO!=null){
|
|
@ -3808,6 +3811,7 @@ public class EntranceService {
|
|
|
ylzMedicalRelationDO.setOrgCode("3502000303");
|
|
|
ylzMedicalRelationDO.setRegionCode("350200");
|
|
|
ylzMedicalRelationDO.setDiseaseCode(diseaseCode);
|
|
|
ylzMedicalRelationDO.setDiseaseName(diseaseName);
|
|
|
ylzMedicalRelationDO.setIdcard(outpatientDO.getIdcard());
|
|
|
ylzMedicalRelationDO.setName(resultJSON.getString("xming0"));
|
|
|
ylzMedicalRelationDO.setCertType("01");
|
|
@ -3986,8 +3990,10 @@ public class EntranceService {
|
|
|
YlzMedicalRelationDO ylzMedicalRelationDO = ylzMedicailRelationDao.findByLog_no(resultJSON.getString("xtgzh0"));
|
|
|
List<WlyyPrescriptionDO> prescriptionDOList = prescriptionDao.findByRealOrderAndStatusList(resultJSON.getString("xtgzh0"));
|
|
|
String diseaseCode = "";
|
|
|
String diseaseName = "";
|
|
|
if (prescriptionDOList!=null&&prescriptionDOList.size()!=0){
|
|
|
diseaseCode= prescriptionDOList.get(0).getDiseaseCode();
|
|
|
diseaseName = prescriptionDOList.get(0).getDiseaseName();
|
|
|
}
|
|
|
|
|
|
List<YlzMedicalIcdDO> icdDOList = new ArrayList<>();
|
|
@ -4024,6 +4030,7 @@ public class EntranceService {
|
|
|
ylzMedicalRelationDO.setDataSource("53");
|
|
|
ylzMedicalRelationDO.setBalance(cardFee+"");
|
|
|
ylzMedicalRelationDO.setDiseaseCode(diseaseCode);
|
|
|
ylzMedicalRelationDO.setDiseaseName(diseaseName);
|
|
|
ylzMedicalRelationDO.setPreCount(resultJSON.getString("cfxms0"));
|
|
|
BaseDoctorDO baseDoctorDO = baseDoctorDao.findById(outpatientDO.getDoctor());
|
|
|
if (baseDoctorDO!=null){
|
|
@ -4159,6 +4166,7 @@ public class EntranceService {
|
|
|
ylzMedicalRelationDO.setOrgCode("3502000303");
|
|
|
ylzMedicalRelationDO.setRegionCode("350200");
|
|
|
ylzMedicalRelationDO.setDiseaseCode(diseaseCode);
|
|
|
ylzMedicalRelationDO.setDiseaseName(diseaseName);
|
|
|
ylzMedicalRelationDO.setIdcard(outpatientDO.getIdcard());
|
|
|
ylzMedicalRelationDO.setName(resultJSON.getString("xming0"));
|
|
|
ylzMedicalRelationDO.setCertType("01");
|
|
@ -4368,8 +4376,10 @@ public class EntranceService {
|
|
|
YlzMedicalRelationDO ylzMedicalRelationDO = ylzMedicailRelationDao.findByLog_no(resultJSON.getString("xtgzh0"));
|
|
|
List<WlyyPrescriptionDO> prescriptionDOList = prescriptionDao.findByRealOrderAndStatusList(resultJSON.getString("xtgzh0"));
|
|
|
String diseaseCode = "";
|
|
|
String diseaseName = "";
|
|
|
if (prescriptionDOList!=null&&prescriptionDOList.size()!=0){
|
|
|
diseaseCode= prescriptionDOList.get(0).getDiseaseCode();
|
|
|
diseaseName = prescriptionDOList.get(0).getDiseaseName();
|
|
|
}
|
|
|
List<YlzMedicalIcdDO> icdDOList = new ArrayList<>();
|
|
|
List<YlzMedicalMxDO> mxDOList = new ArrayList<>();
|
|
@ -4405,6 +4415,7 @@ public class EntranceService {
|
|
|
ylzMedicalRelationDO.setDataSource("53");
|
|
|
ylzMedicalRelationDO.setBalance(cardFee+"");
|
|
|
ylzMedicalRelationDO.setDiseaseCode(diseaseCode);
|
|
|
ylzMedicalRelationDO.setDiseaseName(diseaseName);
|
|
|
ylzMedicalRelationDO.setPreCount(resultJSON.getString("cfxms0"));
|
|
|
BaseDoctorDO baseDoctorDO = baseDoctorDao.findById(outpatientDO.getDoctor());
|
|
|
if (baseDoctorDO!=null){
|
|
@ -4540,6 +4551,7 @@ public class EntranceService {
|
|
|
ylzMedicalRelationDO.setOrgCode("3502000303");
|
|
|
ylzMedicalRelationDO.setRegionCode("350200");
|
|
|
ylzMedicalRelationDO.setDiseaseCode(diseaseCode);
|
|
|
ylzMedicalRelationDO.setDiseaseName(diseaseName);
|
|
|
ylzMedicalRelationDO.setIdcard(outpatientDO.getIdcard());
|
|
|
ylzMedicalRelationDO.setName(resultJSON.getString("xming0"));
|
|
|
ylzMedicalRelationDO.setCertType("01");
|