|
@@ -20,6 +20,7 @@ import com.diagbot.entity.node.OralMedicine;
|
|
|
import com.diagbot.entity.node.PacsDescribe;
|
|
|
import com.diagbot.entity.node.Vital;
|
|
|
import com.diagbot.entity.node.YiBaoOperationName;
|
|
|
+import com.diagbot.entity.relationship.YiBaoOperationGroup;
|
|
|
import com.diagbot.enums.TypeEnum;
|
|
|
import com.diagbot.model.label.PacsLabel;
|
|
|
import com.diagbot.model.label.VitalLabel;
|
|
@@ -101,12 +102,15 @@ public class YiBaoOperationNameNode {
|
|
|
opBillNeoDTO.getDisease().add(NeoUtil.updateNodeInfo(nodeInfo));
|
|
|
}
|
|
|
|
|
|
- Set<Group> conflict_group = operation.getGroups();
|
|
|
- for (Group group : conflict_group) {
|
|
|
- nodeInfo = new NodeInfo();
|
|
|
- nodeInfo.setName(group.getName());
|
|
|
- nodeInfo.setTypeval(Constants.group);
|
|
|
- opBillNeoDTO.getGroup().add(NeoUtil.updateNodeInfo(nodeInfo));
|
|
|
+ Set<YiBaoOperationGroup> operationGroups = operation.getGroups();
|
|
|
+ for (YiBaoOperationGroup conflict_group : operationGroups) {
|
|
|
+ if (null!=conflict_group.getStatus() && conflict_group.getStatus()==1) {
|
|
|
+ Group group = conflict_group.getGroup();
|
|
|
+ nodeInfo = new NodeInfo();
|
|
|
+ nodeInfo.setName(group.getName());
|
|
|
+ nodeInfo.setTypeval(Constants.group);
|
|
|
+ opBillNeoDTO.getGroup().add(NeoUtil.updateNodeInfo(nodeInfo));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
Set<PacsDescribe> conflict_pacsdesc = operation.getPacsdescs();
|