|
@@ -10,12 +10,8 @@ import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.data.AMedicalRecordDTO;
|
|
import com.diagbot.dto.data.AMedicalRecordDTO;
|
|
import com.diagbot.dto.data.AMrContentDTO;
|
|
import com.diagbot.dto.data.AMrContentDTO;
|
|
import com.diagbot.entity.*;
|
|
import com.diagbot.entity.*;
|
|
-import com.diagbot.enums.data.BehospitalWayXmlEnum;
|
|
|
|
|
|
+import com.diagbot.enums.data.*;
|
|
import com.diagbot.enums.IsDeleteEnum;
|
|
import com.diagbot.enums.IsDeleteEnum;
|
|
-import com.diagbot.enums.data.FamousFamilyEnum;
|
|
|
|
-import com.diagbot.enums.data.NationalityEnum;
|
|
|
|
-import com.diagbot.enums.data.OccupationEnum;
|
|
|
|
-import com.diagbot.enums.data.RelationshipEnum;
|
|
|
|
import com.diagbot.facade.*;
|
|
import com.diagbot.facade.*;
|
|
import com.diagbot.service.impl.MedicalRecordServiceImpl;
|
|
import com.diagbot.service.impl.MedicalRecordServiceImpl;
|
|
import com.diagbot.service.impl.QcAbnormalServiceImpl;
|
|
import com.diagbot.service.impl.QcAbnormalServiceImpl;
|
|
@@ -413,7 +409,7 @@ public class AMedicalRecordFacade extends MedicalRecordServiceImpl {
|
|
} else if(YWDateUtils.isDate(paramsObj.getString("质控日期"), "yyyy年MM月dd日")){
|
|
} else if(YWDateUtils.isDate(paramsObj.getString("质控日期"), "yyyy年MM月dd日")){
|
|
aHomePageVO.setQcDate(paramsObj.getString("质控日期").replaceAll("[\u4e00-\u9fa5]", "-"));
|
|
aHomePageVO.setQcDate(paramsObj.getString("质控日期").replaceAll("[\u4e00-\u9fa5]", "-"));
|
|
}
|
|
}
|
|
- aHomePageVO.setLeaveHospitalType(paramsObj.getString("离院方式"));
|
|
|
|
|
|
+ aHomePageVO.setLeaveHospitalType(LeaveHospitalTypeEnum.getName(paramsObj.getString("离院方式")));
|
|
aHomePageVO.setAcceptOrgCode(paramsObj.getString("接收机构名称"));
|
|
aHomePageVO.setAcceptOrgCode(paramsObj.getString("接收机构名称"));
|
|
aHomePageVO.setAgainBehospitalPlan(paramsObj.getString("三十一天内再住院计划"));
|
|
aHomePageVO.setAgainBehospitalPlan(paramsObj.getString("三十一天内再住院计划"));
|
|
aHomePageVO.setAgainBehospitalGoal(paramsObj.getString("再住院目的"));
|
|
aHomePageVO.setAgainBehospitalGoal(paramsObj.getString("再住院目的"));
|
|
@@ -567,15 +563,15 @@ public class AMedicalRecordFacade extends MedicalRecordServiceImpl {
|
|
Long qcTypeId = Long.valueOf("0");
|
|
Long qcTypeId = Long.valueOf("0");
|
|
String behDeptId = behospitalInfo.getBehDeptId();
|
|
String behDeptId = behospitalInfo.getBehDeptId();
|
|
String recTypeId = medicalRecord.getRecTypeId();
|
|
String recTypeId = medicalRecord.getRecTypeId();
|
|
- if (recTypeId.contains("RJBL") || recTypeId.contains("24XSCRYJL")) {
|
|
|
|
|
|
+ if (recTypeId.contains("RJBL") || recTypeId.contains("24XSCRYJL") || recTypeId.contains("24XSCRYJL1")) {
|
|
if (behDeptId.equals("52425")) {
|
|
if (behDeptId.equals("52425")) {
|
|
/**妇科(住)日间病历、24小时出入院记录的病历模板,映射妇科日间*/
|
|
/**妇科(住)日间病历、24小时出入院记录的病历模板,映射妇科日间*/
|
|
behDeptId = "52883";
|
|
behDeptId = "52883";
|
|
} else if (behDeptId.equals("51944")) {
|
|
} else if (behDeptId.equals("51944")) {
|
|
/**乳腺外科日间病历、24小时出入院记录的病历模板,映射乳腺外科日间日间*/
|
|
/**乳腺外科日间病历、24小时出入院记录的病历模板,映射乳腺外科日间日间*/
|
|
behDeptId = "52923";
|
|
behDeptId = "52923";
|
|
- } else if (behDeptId.equals("52424") || behDeptId.equals("52643")) {
|
|
|
|
- /**儿科日间病历、24小时出入院记录的病历模板、小儿外科住,映射儿科日间*/
|
|
|
|
|
|
+ } else if (behDeptId.equals("52424") || behDeptId.equals("52643") || behDeptId.equals("51766")) {
|
|
|
|
+ /**儿科日间病历、24小时出入院记录的病历模板、小儿外科住、新生儿科,映射儿科日间*/
|
|
behDeptId = "52903";
|
|
behDeptId = "52903";
|
|
}
|
|
}
|
|
}
|
|
}
|