|
@@ -387,7 +387,7 @@ public class CommonFacade {
|
|
PacsLabel pacsLabel = wordCrfDTO.getPacsLabel();
|
|
PacsLabel pacsLabel = wordCrfDTO.getPacsLabel();
|
|
List<Item> pacsResList = pacsLabel.getRes();
|
|
List<Item> pacsResList = pacsLabel.getRes();
|
|
PacsLabel pacsPresentLabel = wordCrfDTO.getPresentLabel().getPacsLabel();
|
|
PacsLabel pacsPresentLabel = wordCrfDTO.getPresentLabel().getPacsLabel();
|
|
- if (presentLabel != null) {
|
|
|
|
|
|
+ if (pacsPresentLabel != null) {
|
|
// 添加辅检项目名称
|
|
// 添加辅检项目名称
|
|
if (ListUtil.isNotEmpty(pacsPresentLabel.getItem())) {
|
|
if (ListUtil.isNotEmpty(pacsPresentLabel.getItem())) {
|
|
pacsLabel.getItem().addAll(pacsPresentLabel.getItem());
|
|
pacsLabel.getItem().addAll(pacsPresentLabel.getItem());
|
|
@@ -395,28 +395,34 @@ public class CommonFacade {
|
|
// 添加辅检的诊断
|
|
// 添加辅检的诊断
|
|
if (ListUtil.isNotEmpty(pacsPresentLabel.getDisease())) {
|
|
if (ListUtil.isNotEmpty(pacsPresentLabel.getDisease())) {
|
|
pacsLabel.getDisease().addAll(pacsPresentLabel.getDisease());
|
|
pacsLabel.getDisease().addAll(pacsPresentLabel.getDisease());
|
|
- for (Pacs pacs : pacsPresentLabel.getDisease()) {
|
|
|
|
- Item item = new Item();
|
|
|
|
- item.setName(pacs.getName());
|
|
|
|
- item.setUniqueName(pacs.getStandName());
|
|
|
|
- pacsResList.add(item);
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
// 添加辅检的描述
|
|
// 添加辅检的描述
|
|
if (ListUtil.isNotEmpty(pacsPresentLabel.getPacsResults())) {
|
|
if (ListUtil.isNotEmpty(pacsPresentLabel.getPacsResults())) {
|
|
pacsLabel.getPacsResults().addAll(pacsPresentLabel.getPacsResults());
|
|
pacsLabel.getPacsResults().addAll(pacsPresentLabel.getPacsResults());
|
|
- for (Pacs pacs : pacsPresentLabel.getPacsResults()) {
|
|
|
|
- Item item = new Item();
|
|
|
|
- item.setName(pacs.getName());
|
|
|
|
- item.setUniqueName(pacs.getStandName());
|
|
|
|
- pacsResList.add(item);
|
|
|
|
- // 部位 + 描述循环放入
|
|
|
|
- for (BodyPart bodyPart : pacs.getBodyPartList()) {
|
|
|
|
- Item itemPart = new Item();
|
|
|
|
- itemPart.setName(bodyPart.getName() + pacs.getName());
|
|
|
|
- itemPart.setUniqueName(bodyPart.getStandName() + pacs.getStandName());
|
|
|
|
- pacsResList.add(itemPart);
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (ListUtil.isNotEmpty(pacsLabel.getDisease())) {
|
|
|
|
+ for (Pacs pacs : pacsLabel.getDisease()) {
|
|
|
|
+ Item item = new Item();
|
|
|
|
+ item.setName(pacs.getName());
|
|
|
|
+ item.setUniqueName(pacs.getStandName());
|
|
|
|
+ pacsResList.add(item);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ // 添加辅检的描述
|
|
|
|
+ if (ListUtil.isNotEmpty(pacsLabel.getPacsResults())) {
|
|
|
|
+ for (Pacs pacs : pacsLabel.getPacsResults()) {
|
|
|
|
+ Item item = new Item();
|
|
|
|
+ item.setName(pacs.getName());
|
|
|
|
+ item.setUniqueName(pacs.getStandName());
|
|
|
|
+ pacsResList.add(item);
|
|
|
|
+ // 部位 + 描述循环放入
|
|
|
|
+ for (BodyPart bodyPart : pacs.getBodyPartList()) {
|
|
|
|
+ Item itemPart = new Item();
|
|
|
|
+ itemPart.setName(bodyPart.getName() + pacs.getName());
|
|
|
|
+ itemPart.setUniqueName(bodyPart.getStandName() + pacs.getStandName());
|
|
|
|
+ pacsResList.add(itemPart);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|