|
@@ -8,6 +8,7 @@ import com.diagbot.dto.ExportCommonStaticTestDTO;
|
|
|
import com.diagbot.dto.ExportCommonTestDTO;
|
|
|
import com.diagbot.dto.ExportLisStaticTestDTO;
|
|
|
import com.diagbot.dto.ExportLisTestDTO;
|
|
|
+import com.diagbot.dto.IndexBatchDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.entity.DiseaseConfig;
|
|
|
import com.diagbot.entity.DrugConfig;
|
|
@@ -197,16 +198,16 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
|
|
|
ConceptVO conceptVO = new ConceptVO();
|
|
|
conceptVO.setNames(uniqueNames);
|
|
|
conceptVO.setType(ConceptTypeEnum.LisPack.getKey());
|
|
|
- RespDTO<List<String>> respLisPackDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
+ RespDTO<List<IndexBatchDTO>> respLisPackDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
List<String> lisPackNames = Lists.newLinkedList();
|
|
|
if (RespDTOUtil.respIsOK(respLisPackDTO)) {
|
|
|
- lisPackNames = respLisPackDTO.data;
|
|
|
+ lisPackNames = respLisPackDTO.data.stream().map(IndexBatchDTO::getName).collect(Collectors.toList());
|
|
|
}
|
|
|
conceptVO.setType(ConceptTypeEnum.Lis.getKey());
|
|
|
- RespDTO<List<String>> respLisDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
+ RespDTO<List<IndexBatchDTO>> respLisDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
List<String> lisNames = Lists.newLinkedList();
|
|
|
if (RespDTOUtil.respIsOK(respLisDTO)) {
|
|
|
- lisNames = respLisDTO.data;
|
|
|
+ lisNames = respLisDTO.data.stream().map(IndexBatchDTO::getName).collect(Collectors.toList());
|
|
|
}
|
|
|
|
|
|
//判断是否有标准术语
|
|
@@ -395,10 +396,10 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
|
|
|
ConceptVO conceptVO = new ConceptVO();
|
|
|
conceptVO.setNames(uniqueNames);
|
|
|
conceptVO.setType(ConceptTypeEnum.Pacs.getKey());
|
|
|
- RespDTO<List<String>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
+ RespDTO<List<IndexBatchDTO>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
List<String> names = Lists.newLinkedList();
|
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
- names = respDTO.data;
|
|
|
+ names = respDTO.data.stream().map(IndexBatchDTO::getName).collect(Collectors.toList());
|
|
|
}
|
|
|
for (ResultStaticKnowledge result : mappingList) {
|
|
|
if (result.getHasStandName() == null || result.getHasStandName().equals(0)) {
|
|
@@ -586,10 +587,10 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
|
|
|
ConceptVO conceptVO = new ConceptVO();
|
|
|
conceptVO.setNames(uniqueNames);
|
|
|
conceptVO.setType(ConceptTypeEnum.Drug.getKey());
|
|
|
- RespDTO<List<String>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
+ RespDTO<List<IndexBatchDTO>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
List<String> names = Lists.newLinkedList();
|
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
- names = respDTO.data;
|
|
|
+ names = respDTO.data.stream().map(IndexBatchDTO::getName).collect(Collectors.toList());
|
|
|
}
|
|
|
for (ResultStaticKnowledge result : mappingList) {
|
|
|
if (result.getHasStandName() == null || result.getHasStandName().equals(0)) {
|
|
@@ -742,10 +743,10 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
|
|
|
ConceptVO conceptVO = new ConceptVO();
|
|
|
conceptVO.setNames(uniqueNames);
|
|
|
conceptVO.setType(ConceptTypeEnum.Disease.getKey());
|
|
|
- RespDTO<List<String>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
+ RespDTO<List<IndexBatchDTO>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
List<String> names = Lists.newLinkedList();
|
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
- names = respDTO.data;
|
|
|
+ names = respDTO.data.stream().map(IndexBatchDTO::getName).collect(Collectors.toList());
|
|
|
}
|
|
|
for (ResultStaticKnowledge result : mappingList) {
|
|
|
if (result.getHasStandName() == null || result.getHasStandName().equals(0)) {
|
|
@@ -898,10 +899,10 @@ public class ResultStaticKnowledgeFacade extends ResultStaticKnowledgeServiceImp
|
|
|
ConceptVO conceptVO = new ConceptVO();
|
|
|
conceptVO.setNames(uniqueNames);
|
|
|
conceptVO.setType(ConceptTypeEnum.Operation.getKey());
|
|
|
- RespDTO<List<String>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
+ RespDTO<List<IndexBatchDTO>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
|
List<String> names = Lists.newLinkedList();
|
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
- names = respDTO.data;
|
|
|
+ names = respDTO.data.stream().map(IndexBatchDTO::getName).collect(Collectors.toList());
|
|
|
}
|
|
|
for (ResultStaticKnowledge result : mappingList) {
|
|
|
if (result.getHasStandName() == null || result.getHasStandName().equals(0)) {
|