|
@@ -88,7 +88,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
}
|
|
}
|
|
|
|
|
|
private OperationDiscussionDoc getOperationDiscussionDoc(String content) {
|
|
private OperationDiscussionDoc getOperationDiscussionDoc(String content) {
|
|
- Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue("//DocObjContent/Region", content);
|
|
|
|
|
|
+ Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue(content);
|
|
Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, operationDiscussion_keyContrasts);
|
|
Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, operationDiscussion_keyContrasts);
|
|
if (StringUtil.isNotBlank(structureMap.get("手术开始时间"))) {
|
|
if (StringUtil.isNotBlank(structureMap.get("手术开始时间"))) {
|
|
structureMap.put("手术时间", structureMap.get("手术开始时间"));
|
|
structureMap.put("手术时间", structureMap.get("手术开始时间"));
|
|
@@ -106,7 +106,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
|
|
|
|
OperationDiscussionDoc operationDiscussionDoc = ModelDocGenerate.operationDiscussionDocGen(cutWordMap);
|
|
OperationDiscussionDoc operationDiscussionDoc = ModelDocGenerate.operationDiscussionDocGen(cutWordMap);
|
|
operationDiscussionDoc.setText(text);
|
|
operationDiscussionDoc.setText(text);
|
|
- operationDiscussionDoc.setPageData((Map) xmlNodeValueMap);
|
|
|
|
|
|
+ operationDiscussionDoc.setPageData((Map) cutWordMap);
|
|
|
|
|
|
return operationDiscussionDoc;
|
|
return operationDiscussionDoc;
|
|
}
|
|
}
|
|
@@ -170,7 +170,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
}
|
|
}
|
|
|
|
|
|
private OperationRecordDoc getOperationRecordDoc(String content) {
|
|
private OperationRecordDoc getOperationRecordDoc(String content) {
|
|
- Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue("//DocObjContent", content);
|
|
|
|
|
|
+ Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue(content);
|
|
Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, operationRecord_keyContrasts);
|
|
Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, operationRecord_keyContrasts);
|
|
if (StringUtil.isNotBlank(structureMap.get("签名"))) {
|
|
if (StringUtil.isNotBlank(structureMap.get("签名"))) {
|
|
structureMap.put("记录医师", structureMap.get("签名"));
|
|
structureMap.put("记录医师", structureMap.get("签名"));
|
|
@@ -185,7 +185,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
|
|
|
|
OperationRecordDoc operationRecordDoc = ModelDocGenerate.operationRecordDocGen(cutWordMap);
|
|
OperationRecordDoc operationRecordDoc = ModelDocGenerate.operationRecordDocGen(cutWordMap);
|
|
operationRecordDoc.setText(text);
|
|
operationRecordDoc.setText(text);
|
|
- operationRecordDoc.setPageData((Map) xmlNodeValueMap);
|
|
|
|
|
|
+ operationRecordDoc.setPageData((Map) cutWordMap);
|
|
|
|
|
|
return operationRecordDoc;
|
|
return operationRecordDoc;
|
|
}
|
|
}
|
|
@@ -259,7 +259,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
}
|
|
}
|
|
|
|
|
|
private PreoperativeDiscussionDoc getPreoperativeDiscussionDoc(String content) {
|
|
private PreoperativeDiscussionDoc getPreoperativeDiscussionDoc(String content) {
|
|
- Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue("//DocObjContent//Region", content);
|
|
|
|
|
|
+ Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue(content);
|
|
Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, preoperativeDiscussion_keyContrasts);
|
|
Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, preoperativeDiscussion_keyContrasts);
|
|
structureMap.put(
|
|
structureMap.put(
|
|
"术前准备内容",
|
|
"术前准备内容",
|
|
@@ -275,7 +275,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
}
|
|
}
|
|
if (StringUtil.isNotBlank(structureMap.get("拟行治疗指征及禁忌症"))) {
|
|
if (StringUtil.isNotBlank(structureMap.get("拟行治疗指征及禁忌症"))) {
|
|
structureMap.put("拟行术式", structureMap.get("拟行治疗指征及禁忌症"));
|
|
structureMap.put("拟行术式", structureMap.get("拟行治疗指征及禁忌症"));
|
|
- } else if (StringUtil.isNotBlank(structureMap.get("拟施手术方式"))){
|
|
|
|
|
|
+ } else if (StringUtil.isNotBlank(structureMap.get("拟施手术方式"))) {
|
|
structureMap.put("拟行术式", structureMap.get("拟施手术方式"));
|
|
structureMap.put("拟行术式", structureMap.get("拟施手术方式"));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -289,7 +289,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
|
|
|
|
PreoperativeDiscussionDoc preoperativeDiscussionDoc = ModelDocGenerate.preoperativeDiscussionDocGen(cutWordMap);
|
|
PreoperativeDiscussionDoc preoperativeDiscussionDoc = ModelDocGenerate.preoperativeDiscussionDocGen(cutWordMap);
|
|
preoperativeDiscussionDoc.setText(text);
|
|
preoperativeDiscussionDoc.setText(text);
|
|
- preoperativeDiscussionDoc.setPageData((Map) xmlNodeValueMap);
|
|
|
|
|
|
+ preoperativeDiscussionDoc.setPageData((Map) cutWordMap);
|
|
|
|
|
|
return preoperativeDiscussionDoc;
|
|
return preoperativeDiscussionDoc;
|
|
}
|
|
}
|
|
@@ -353,7 +353,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
}
|
|
}
|
|
|
|
|
|
private OperationInformedConsentDoc getOperationInformedConsentDoc(String content) {
|
|
private OperationInformedConsentDoc getOperationInformedConsentDoc(String content) {
|
|
- Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue("//DocObjContent", content);
|
|
|
|
|
|
+ Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue(content);
|
|
Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, operationInformedConsent_keyContrasts);
|
|
Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, operationInformedConsent_keyContrasts);
|
|
|
|
|
|
String text = CxXmlUtil.getTextByNodePath(content, "//DocObjContent/Content_Text");
|
|
String text = CxXmlUtil.getTextByNodePath(content, "//DocObjContent/Content_Text");
|
|
@@ -365,7 +365,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
|
|
|
|
OperationInformedConsentDoc operationInformedConsentDoc = ModelDocGenerate.operationInformedConsentDocGen(cutWordMap);
|
|
OperationInformedConsentDoc operationInformedConsentDoc = ModelDocGenerate.operationInformedConsentDocGen(cutWordMap);
|
|
operationInformedConsentDoc.setText(text);
|
|
operationInformedConsentDoc.setText(text);
|
|
- operationInformedConsentDoc.setPageData((Map) xmlNodeValueMap);
|
|
|
|
|
|
+ operationInformedConsentDoc.setPageData((Map) cutWordMap);
|
|
|
|
|
|
return operationInformedConsentDoc;
|
|
return operationInformedConsentDoc;
|
|
}
|
|
}
|
|
@@ -427,8 +427,8 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
}
|
|
}
|
|
|
|
|
|
private OperationSafetyChecklistDoc getOperationSafetyChecklistDoc(String content) {
|
|
private OperationSafetyChecklistDoc getOperationSafetyChecklistDoc(String content) {
|
|
- Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue("//DocObjContent", content);
|
|
|
|
- Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, operationSafetyChecklist_keyContrasts);
|
|
|
|
|
|
+ Map<String, String> xmlNodeValueMap = CxXmlUtil.firstLevelNodeValue(content);
|
|
|
|
+ Map<String, String> structureMap = OrdinaryAssistant.mapKeyContrast(xmlNodeValueMap, operationSafetyChecklist_keyContrasts);
|
|
|
|
|
|
String text = CxXmlUtil.getTextByNodePath(content, "//DocObjContent/Content_Text");
|
|
String text = CxXmlUtil.getTextByNodePath(content, "//DocObjContent/Content_Text");
|
|
if (StringUtil.isBlank(text)) {
|
|
if (StringUtil.isBlank(text)) {
|
|
@@ -439,7 +439,7 @@ public class ChangxOperationDocTrans extends ModelDocTrans {
|
|
|
|
|
|
OperationSafetyChecklistDoc operationSafetyChecklistDoc = ModelDocGenerate.operationSafetyChecklistDocGen(cutWordMap);
|
|
OperationSafetyChecklistDoc operationSafetyChecklistDoc = ModelDocGenerate.operationSafetyChecklistDocGen(cutWordMap);
|
|
operationSafetyChecklistDoc.setText(text);
|
|
operationSafetyChecklistDoc.setText(text);
|
|
- operationSafetyChecklistDoc.setPageData((Map) xmlNodeValueMap);
|
|
|
|
|
|
+ operationSafetyChecklistDoc.setPageData((Map) cutWordMap);
|
|
|
|
|
|
return operationSafetyChecklistDoc;
|
|
return operationSafetyChecklistDoc;
|
|
}
|
|
}
|