|
@@ -2,6 +2,7 @@ package com.lantone.qc.kernel.catalogue.leavehospital;
|
|
|
|
|
|
import com.google.common.collect.Lists;
|
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
+import com.lantone.qc.kernel.util.ClearBracketUtil;
|
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
import com.lantone.qc.pub.model.doc.DeathRecordDoc;
|
|
@@ -31,6 +32,8 @@ public class LEA02901 extends QCCatalogue {
|
|
|
if (deathRecordDoc == null || deathRecordDoc.getText() == null) {
|
|
|
Map<String, String> structureMap = leaveHospitalDoc.getStructureMap();
|
|
|
String dischargeOrder = structureMap.get("出院医嘱");
|
|
|
+ //跟医学部任燕青确认过, 去除括号里的东西
|
|
|
+ dischargeOrder = ClearBracketUtil.ClearBracket(dischargeOrder);
|
|
|
if (StringUtil.isNotBlank(dischargeOrder)) {
|
|
|
List<String> words = Lists.newArrayList("qd","bid","tid","qid","qh","q2h","q4h","q6h","q8h",
|
|
|
"qn","q3w","qod","biw","qw","prn","sos","ad","lib","st","stat","hs","am","po","ID","IH","IM",
|