|
@@ -366,10 +366,13 @@ public class OtherTipProcess {
|
|
|
List<Long> specialConceptIds = drugGradeListMap.get(2).stream().map(KlDrug::getConceptId).collect(Collectors.toList());
|
|
|
List<String> specialUniqueNames = specialConceptIds.stream().map(drugConceptIdNameMap::get).collect(Collectors.toList());
|
|
|
String specialName = specialUniqueNames.stream().map(drugNameMap::get).collect(Collectors.joining("、"));
|
|
|
- String msg = "1、" +limitName + "为限制使用级药品,仅主治医师及以上级别可使用\n";
|
|
|
- msg += "2、" + specialName + "为特殊使用级药品,仅副主任及以上级别可使用";
|
|
|
- BillMsg billMsg = MsgUtil.getCommonOtherMsg(TypeEnum.other.getName(), msg, null, null, null);
|
|
|
+ String msg1 = limitName + "为限制使用级药品,仅主治医师及以上级别可使用";
|
|
|
+ BillMsg billMsg = MsgUtil.getCommonOtherMsg(TypeEnum.other.getName(), msg1, null, null, null);
|
|
|
CoreUtil.addBeanToList(otherList, billMsg);
|
|
|
+
|
|
|
+ String msg2 = specialName + "为特殊使用级药品,仅副主任及以上级别可使用";
|
|
|
+ BillMsg billMsg2 = MsgUtil.getCommonOtherMsg(TypeEnum.other.getName(), msg2, null, null, null);
|
|
|
+ CoreUtil.addBeanToList(otherList, billMsg2);
|
|
|
}else if (drugGradeListMap.containsKey(1)){
|
|
|
List<Long> limitConceptIds = drugGradeListMap.get(1).stream().map(KlDrug::getConceptId).collect(Collectors.toList());
|
|
|
List<String> limitUniqueNames = limitConceptIds.stream().map(drugConceptIdNameMap::get).collect(Collectors.toList());
|