|
@@ -43,8 +43,18 @@ public class YwzxyyOperationRecordXmlAnalysis implements YwzxyyXmlAnalysis {
|
|
|
|
|
|
CommonAnalysisUtil.repKey(structureMap, "记录时间", "时间");
|
|
|
CommonAnalysisUtil.repKey(structureMap, "记录医生", "记录医师");
|
|
|
- CommonAnalysisUtil.repKey(structureMap, "手术开始时间", " ");
|
|
|
- CommonAnalysisUtil.repKey(structureMap, "手术结束时间", " ");
|
|
|
+ if(StringUtil.isNotBlank(structureMap.get("手术开始时间")) && structureMap.get("手术开始时间").contains(".")){
|
|
|
+ structureMap.put("手术开始时间",structureMap.get("手术开始时间").replace(".","/"));
|
|
|
+ }else {
|
|
|
+ CommonAnalysisUtil.repKey(structureMap, "手术开始时间", " ");
|
|
|
+ }
|
|
|
+
|
|
|
+ if(StringUtil.isNotBlank(structureMap.get("手术结束时间")) && structureMap.get("手术结束时间").contains(".")){
|
|
|
+ structureMap.put("手术结束时间",structureMap.get("手术结束时间").replace(".","/"));
|
|
|
+ }else {
|
|
|
+ CommonAnalysisUtil.repKey(structureMap, "手术结束时间", " ");
|
|
|
+ }
|
|
|
+
|
|
|
if (StringUtil.isNotBlank(structureMap.get("记录时间"))) {
|
|
|
structureMap.put("记录时间", structureMap.get("记录时间").replaceAll("时间", ""));
|
|
|
}
|