|
@@ -7,6 +7,7 @@ import com.lantone.qc.pub.model.doc.RescueDoc;
|
|
|
import com.lantone.qc.pub.model.vo.MedrecVo;
|
|
|
import com.lantone.qc.pub.util.FastJsonUtils;
|
|
|
import com.lantone.qc.trans.ModelDocTrans;
|
|
|
+import com.lantone.qc.trans.comsis.CommonAnalysisUtil;
|
|
|
import com.lantone.qc.trans.comsis.OrdinaryAssistant;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -41,6 +42,14 @@ public class YiWuRescueDocTrans extends ModelDocTrans {
|
|
|
sourceMap.put("mode_id=" + contentMap.get("modeId").toString(), "");
|
|
|
sourceMap.put("rec_title=" + contentMap.get("recTitle").toString(), "");
|
|
|
structureMap = OrdinaryAssistant.mapKeyContrast(sourceMap, keyContrasts, modeId);
|
|
|
+ if (structureMap.containsKey("原始文本")) {
|
|
|
+ String originalText = structureMap.get("原始文本");
|
|
|
+ List<String> titles = Lists.newArrayList("抢救实施的时间及措施", "抢救后的状况", "参加抢救人员姓名及专业技术职称", "医师签名");
|
|
|
+ CommonAnalysisUtil.cutByTitles(originalText, titles, 0, structureMap);
|
|
|
+ if (structureMap.containsKey("抢救措施") && structureMap.containsKey("抢救实施的时间及措施")) {
|
|
|
+ structureMap.put("抢救措施", structureMap.get("抢救措施").replace(structureMap.get("抢救实施的时间及措施"), ""));
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
RescueDoc rescueDoc = new RescueDoc();
|
|
@@ -62,7 +71,8 @@ public class YiWuRescueDocTrans extends ModelDocTrans {
|
|
|
"参与抢救人员名单=参加抢救的医务人员姓名及专业技术职称",
|
|
|
"参加抢救人员名单=参加抢救的医务人员姓名及专业技术职称",
|
|
|
"记录医师=记录医生",
|
|
|
- "病程内容=抢救措施"
|
|
|
+ "病程内容=抢救措施",
|
|
|
+ "患者签名时间=日期"
|
|
|
);
|
|
|
|
|
|
}
|