|
@@ -214,12 +214,33 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
* @return
|
|
|
*/
|
|
|
public List<ConceptRetrievalDTO> retrivelConceptInfo(RetrievalVO retrievalVO){
|
|
|
- List<Integer> typeList = new ArrayList<>();
|
|
|
+ Boolean bla = true;
|
|
|
if (null != retrievalVO.getType()){
|
|
|
- if(retrievalVO.getType().intValue() == ConceptTypeEnum.Lis.getKey()){
|
|
|
+ if(retrievalVO.getType().intValue() == ConceptTypeEnum.Lis.getKey()){//如果是化验,添加化验子项类型
|
|
|
retrievalVO.setDetilType(LexiconTypeEnum.LIS_DETAILS.getKey());
|
|
|
+ bla = true;
|
|
|
+ }else if(retrievalVO.getType().intValue() == ConceptTypeEnum.Past.getKey()
|
|
|
+ || retrievalVO.getType().intValue() == ConceptTypeEnum.Other.getKey()){//如果是其他史设置其他史类型
|
|
|
+ List<Integer> typeList = new ArrayList<>();
|
|
|
+ typeList.add(LexiconTypeEnum.HISTORY_OF_PAST_DISEASES.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.HISTORY_OF_TRAUMA.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.HISTORY_OF_SURGERY.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.HISTORY_OF_BLOOD_TRANSFUSION.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.INFECTIOUS_DISEASE_HISTORY.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.BAD_HABITS.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.MARITAL_HISTORY.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.HISTORY_OF_MARRIAGE_AND_CHILDBEARING.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.BIRTH_HISTORY.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.FAMILY_HISTORY.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.FOOD_ALLERGY_HISTORY.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.HISTORY_OF_DRUG_ALLERGY.getKey());
|
|
|
+ typeList.add(LexiconTypeEnum.FAMILY_RELATED_INFECTIOUS_DISEASE_HISTORY.getKey());
|
|
|
+ retrievalVO.setOtherType(typeList);
|
|
|
+ bla = false;
|
|
|
+ }
|
|
|
+ if(bla){
|
|
|
+ retrievalVO.setType(ParamConvertUtil.conceptConvert2Lib(retrievalVO.getType()));
|
|
|
}
|
|
|
- retrievalVO.setType(ParamConvertUtil.conceptConvert2Lib(retrievalVO.getType()));
|
|
|
}
|
|
|
List<ConceptRetrievalDTO> conceptRetrievalDTOS = this.retrievalConcept(retrievalVO);
|
|
|
List<ConceptRetrievalDTO> res = new ArrayList<>();
|