|
@@ -8,6 +8,7 @@ import com.lantone.qc.pub.model.vo.MedrecVo;
|
|
import com.lantone.qc.pub.util.FastJsonUtils;
|
|
import com.lantone.qc.pub.util.FastJsonUtils;
|
|
import com.lantone.qc.pub.util.ListUtil;
|
|
import com.lantone.qc.pub.util.ListUtil;
|
|
import com.lantone.qc.trans.ModelDocTrans;
|
|
import com.lantone.qc.trans.ModelDocTrans;
|
|
|
|
+import com.lantone.qc.trans.xszyy.util.comsis.XszyyCommonAnalysisUtil;
|
|
|
|
|
|
import java.util.HashMap;
|
|
import java.util.HashMap;
|
|
import java.util.Iterator;
|
|
import java.util.Iterator;
|
|
@@ -24,11 +25,13 @@ public class BeiLunFirstPageRecordDocTrans extends ModelDocTrans {
|
|
@Override
|
|
@Override
|
|
public FirstPageRecordDoc extract(MedrecVo medrecVo) {
|
|
public FirstPageRecordDoc extract(MedrecVo medrecVo) {
|
|
Map<String, String> content = (Map) medrecVo.getContent();
|
|
Map<String, String> content = (Map) medrecVo.getContent();
|
|
|
|
+ content.put("姓名", XszyyCommonAnalysisUtil.extracReplace(content.get("姓名")));
|
|
FirstPageRecordDoc firstPageRecordDoc = new FirstPageRecordDoc();
|
|
FirstPageRecordDoc firstPageRecordDoc = new FirstPageRecordDoc();
|
|
firstPageRecordDoc.setStructureMap(content);
|
|
firstPageRecordDoc.setStructureMap(content);
|
|
|
|
|
|
Map<String, Object> structureExtMap = Maps.newHashMap();
|
|
Map<String, Object> structureExtMap = Maps.newHashMap();
|
|
structureExtMap.putAll(content);
|
|
structureExtMap.putAll(content);
|
|
|
|
+ structureExtMap.put("姓名", XszyyCommonAnalysisUtil.extracReplace(content.get("姓名")));
|
|
structureExtMap.put(Content.diagnose_cts, FastJsonUtils.getJsonToBean(content.get(Content.diagnose_cts), Object.class));
|
|
structureExtMap.put(Content.diagnose_cts, FastJsonUtils.getJsonToBean(content.get(Content.diagnose_cts), Object.class));
|
|
// structureExtMap.put(Content.outpatientEmergencyDiag, FastJsonUtils.getJsonToBean(content.get(Content.outpatientEmergencyDiag), Object.class));
|
|
// structureExtMap.put(Content.outpatientEmergencyDiag, FastJsonUtils.getJsonToBean(content.get(Content.outpatientEmergencyDiag), Object.class));
|
|
structureExtMap.put(Content.operative_information, FastJsonUtils.getJsonToBean(content.get(Content.operative_information), Object.class));
|
|
structureExtMap.put(Content.operative_information, FastJsonUtils.getJsonToBean(content.get(Content.operative_information), Object.class));
|