|
@@ -13,7 +13,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
-import java.util.HashMap;
|
|
|
|
import java.util.LinkedHashMap;
|
|
import java.util.LinkedHashMap;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
@@ -29,12 +28,28 @@ public class TranEnDeFacade {
|
|
private TranServiceClient tranServiceClient;
|
|
private TranServiceClient tranServiceClient;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 根据医院编码和套餐名称获取化验公表映射关系(返回map加密)
|
|
|
|
|
|
+ * 根据医院编码和套餐名称获取化验公表映射关系(返回map原文)
|
|
*
|
|
*
|
|
* @param lisConfigVO
|
|
* @param lisConfigVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public Map<String, Map<String, List<String>>> getLisConfigByMealNameAndHosCode(@RequestBody LisConfigVO lisConfigVO) {
|
|
public Map<String, Map<String, List<String>>> getLisConfigByMealNameAndHosCode(@RequestBody LisConfigVO lisConfigVO) {
|
|
|
|
+ RespDTO<Map<String, Map<String, List<String>>>> respDTO = tranServiceClient.getLisConfigByMealNameAndHosCode(lisConfigVO);
|
|
|
|
+ Map<String, Map<String, List<String>>> retMap = new LinkedHashMap<>();
|
|
|
|
+ if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
|
+ Map<String, Map<String, List<String>>> map = respDTO.data;
|
|
|
|
+ retMap = map;
|
|
|
|
+ }
|
|
|
|
+ return retMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据医院编码和套餐名称获取化验公表映射关系(返回map加密)
|
|
|
|
+ *
|
|
|
|
+ * @param lisConfigVO
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public Map<String, Map<String, List<String>>> getLisConfigByMealNameAndHosCode_en(@RequestBody LisConfigVO lisConfigVO) {
|
|
RespDTO<Map<String, Map<String, List<String>>>> respDTO = tranServiceClient.getLisConfigByMealNameAndHosCode(lisConfigVO);
|
|
RespDTO<Map<String, Map<String, List<String>>>> respDTO = tranServiceClient.getLisConfigByMealNameAndHosCode(lisConfigVO);
|
|
Map<String, Map<String, List<String>>> retMap = new LinkedHashMap<>();
|
|
Map<String, Map<String, List<String>>> retMap = new LinkedHashMap<>();
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
@@ -53,13 +68,30 @@ public class TranEnDeFacade {
|
|
return retMap;
|
|
return retMap;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
/**
|
|
/**
|
|
- * 根据医院编码获取辅检公表映射关系(返回map加密)
|
|
|
|
|
|
+ * 根据医院编码获取辅检公表映射关系(返回map原文)
|
|
*
|
|
*
|
|
* @param hosCodeVO
|
|
* @param hosCodeVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public Map<String, String> getPacsConfigByHosCode(@RequestBody HosCodeVO hosCodeVO) {
|
|
public Map<String, String> getPacsConfigByHosCode(@RequestBody HosCodeVO hosCodeVO) {
|
|
|
|
+ RespDTO<Map<String, String>> respDTO = tranServiceClient.getPacsConfigByHosCode(hosCodeVO);
|
|
|
|
+ Map<String, String> retMap = new LinkedHashMap<>();
|
|
|
|
+ if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
|
+ Map<String, String> map = respDTO.data;
|
|
|
|
+ retMap = map;
|
|
|
|
+ }
|
|
|
|
+ return retMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据医院编码获取辅检公表映射关系(返回map加密)
|
|
|
|
+ *
|
|
|
|
+ * @param hosCodeVO
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public Map<String, String> getPacsConfigByHosCode_en(@RequestBody HosCodeVO hosCodeVO) {
|
|
RespDTO<Map<String, String>> respDTO = tranServiceClient.getPacsConfigByHosCode(hosCodeVO);
|
|
RespDTO<Map<String, String>> respDTO = tranServiceClient.getPacsConfigByHosCode(hosCodeVO);
|
|
Map<String, String> retMap = new LinkedHashMap<>();
|
|
Map<String, String> retMap = new LinkedHashMap<>();
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
@@ -72,12 +104,28 @@ public class TranEnDeFacade {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 获取辅检映射关系(返回map加密)
|
|
|
|
|
|
+ * 获取辅检映射关系(返回map原文)
|
|
*
|
|
*
|
|
* @param pacsConfigVO
|
|
* @param pacsConfigVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public Map<String, List<String>> getPacsConfig(@RequestBody PacsConfigVO pacsConfigVO) {
|
|
public Map<String, List<String>> getPacsConfig(@RequestBody PacsConfigVO pacsConfigVO) {
|
|
|
|
+ RespDTO<Map<String, List<String>>> respDTO = tranServiceClient.getPacsConfig(pacsConfigVO);
|
|
|
|
+ Map<String, List<String>> retMap = new LinkedHashMap<>();
|
|
|
|
+ if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
|
+ Map<String, List<String>> map = respDTO.data;
|
|
|
|
+ retMap = map;
|
|
|
|
+ }
|
|
|
|
+ return retMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 获取辅检映射关系(返回map加密)
|
|
|
|
+ *
|
|
|
|
+ * @param pacsConfigVO
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public Map<String, List<String>> getPacsConfig_en(@RequestBody PacsConfigVO pacsConfigVO) {
|
|
RespDTO<Map<String, List<String>>> respDTO = tranServiceClient.getPacsConfig(pacsConfigVO);
|
|
RespDTO<Map<String, List<String>>> respDTO = tranServiceClient.getPacsConfig(pacsConfigVO);
|
|
Map<String, List<String>> retMap = new LinkedHashMap<>();
|
|
Map<String, List<String>> retMap = new LinkedHashMap<>();
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
@@ -93,12 +141,28 @@ public class TranEnDeFacade {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 根据医院编码获取提示信息标题映射关系
|
|
|
|
|
|
+ * 根据医院编码获取提示信息标题映射关系(返回map原文)
|
|
*
|
|
*
|
|
* @param hosCodeVO
|
|
* @param hosCodeVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public Map<String, String> getTitleMappingHosCode(@RequestBody HosCodeVO hosCodeVO) {
|
|
public Map<String, String> getTitleMappingHosCode(@RequestBody HosCodeVO hosCodeVO) {
|
|
|
|
+ RespDTO<Map<String, String>> respDTO = tranServiceClient.getTitleMappingHosCode(hosCodeVO);
|
|
|
|
+ Map<String, String> retMap = new LinkedHashMap<>();
|
|
|
|
+ if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
|
+ Map<String, String> map = respDTO.data;
|
|
|
|
+ retMap = map;
|
|
|
|
+ }
|
|
|
|
+ return retMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据医院编码获取提示信息标题映射关系(返回map加密)
|
|
|
|
+ *
|
|
|
|
+ * @param hosCodeVO
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public Map<String, String> getTitleMappingHosCode_en(@RequestBody HosCodeVO hosCodeVO) {
|
|
RespDTO<Map<String, String>> respDTO = tranServiceClient.getTitleMappingHosCode(hosCodeVO);
|
|
RespDTO<Map<String, String>> respDTO = tranServiceClient.getTitleMappingHosCode(hosCodeVO);
|
|
Map<String, String> retMap = new LinkedHashMap<>();
|
|
Map<String, String> retMap = new LinkedHashMap<>();
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
@@ -111,12 +175,28 @@ public class TranEnDeFacade {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 根据医院编码查询诊断icd映射
|
|
|
|
|
|
+ * 根据医院编码查询诊断icd映射(返回map原文)
|
|
*
|
|
*
|
|
* @param hosCodeVO
|
|
* @param hosCodeVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public Map<String, String> getDiseaseIcdByHosCode(@RequestBody HosCodeVO hosCodeVO) {
|
|
public Map<String, String> getDiseaseIcdByHosCode(@RequestBody HosCodeVO hosCodeVO) {
|
|
|
|
+ RespDTO<Map<String, String>> respDTO = tranServiceClient.getDiseaseIcdByHosCode(hosCodeVO);
|
|
|
|
+ Map<String, String> retMap = new LinkedHashMap<>();
|
|
|
|
+ if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
|
+ Map<String, String> map = respDTO.data;
|
|
|
|
+ retMap = map;
|
|
|
|
+ }
|
|
|
|
+ return retMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据医院编码查询诊断icd映射(返回map加密)
|
|
|
|
+ *
|
|
|
|
+ * @param hosCodeVO
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public Map<String, String> getDiseaseIcdByHosCode_en(@RequestBody HosCodeVO hosCodeVO) {
|
|
RespDTO<Map<String, String>> respDTO = tranServiceClient.getDiseaseIcdByHosCode(hosCodeVO);
|
|
RespDTO<Map<String, String>> respDTO = tranServiceClient.getDiseaseIcdByHosCode(hosCodeVO);
|
|
Map<String, String> retMap = new LinkedHashMap<>();
|
|
Map<String, String> retMap = new LinkedHashMap<>();
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
@@ -129,12 +209,28 @@ public class TranEnDeFacade {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 获取诊断名称映射map
|
|
|
|
|
|
+ * 获取诊断名称映射map(返回map原文)
|
|
*
|
|
*
|
|
* @param diseaseIcdVO
|
|
* @param diseaseIcdVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public Map<String, String> getDiseaseIcdMap(DiseaseIcdVO diseaseIcdVO) {
|
|
public Map<String, String> getDiseaseIcdMap(DiseaseIcdVO diseaseIcdVO) {
|
|
|
|
+ RespDTO<Map<String, String>> respDTO = tranServiceClient.getDiseaseIcdMap(diseaseIcdVO);
|
|
|
|
+ Map<String, String> retMap = new LinkedHashMap<>();
|
|
|
|
+ if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
|
+ Map<String, String> map = respDTO.data;
|
|
|
|
+ retMap = map;
|
|
|
|
+ }
|
|
|
|
+ return retMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 获取诊断名称映射map(返回map加密)
|
|
|
|
+ *
|
|
|
|
+ * @param diseaseIcdVO
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public Map<String, String> getDiseaseIcdMap_en(DiseaseIcdVO diseaseIcdVO) {
|
|
RespDTO<Map<String, String>> respDTO = tranServiceClient.getDiseaseIcdMap(diseaseIcdVO);
|
|
RespDTO<Map<String, String>> respDTO = tranServiceClient.getDiseaseIcdMap(diseaseIcdVO);
|
|
Map<String, String> retMap = new LinkedHashMap<>();
|
|
Map<String, String> retMap = new LinkedHashMap<>();
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
@@ -147,12 +243,28 @@ public class TranEnDeFacade {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 根据医院编码获取化验公表映射关系,公表项做key
|
|
|
|
|
|
+ * 根据医院编码获取化验公表映射关系,公表项做key(返回map原文)
|
|
*
|
|
*
|
|
* @param lisConfigVO
|
|
* @param lisConfigVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public Map<String, List<String>> getLisConfigByUniqueNameAndHosCode(@RequestBody LisConfigVO lisConfigVO) {
|
|
public Map<String, List<String>> getLisConfigByUniqueNameAndHosCode(@RequestBody LisConfigVO lisConfigVO) {
|
|
|
|
+ RespDTO<Map<String, List<String>>> respDTO = tranServiceClient.getLisConfigByUniqueNameAndHosCode(lisConfigVO);
|
|
|
|
+ Map<String, List<String>> retMap = new LinkedHashMap<>();
|
|
|
|
+ if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
|
+ Map<String, List<String>> map = respDTO.data;
|
|
|
|
+ retMap = map;
|
|
|
|
+ }
|
|
|
|
+ return retMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据医院编码获取化验公表映射关系,公表项做key(返回map加密)
|
|
|
|
+ *
|
|
|
|
+ * @param lisConfigVO
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public Map<String, List<String>> getLisConfigByUniqueNameAndHosCode_en(@RequestBody LisConfigVO lisConfigVO) {
|
|
RespDTO<Map<String, List<String>>> respDTO = tranServiceClient.getLisConfigByUniqueNameAndHosCode(lisConfigVO);
|
|
RespDTO<Map<String, List<String>>> respDTO = tranServiceClient.getLisConfigByUniqueNameAndHosCode(lisConfigVO);
|
|
Map<String, List<String>> retMap = new LinkedHashMap<>();
|
|
Map<String, List<String>> retMap = new LinkedHashMap<>();
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
@@ -168,12 +280,28 @@ public class TranEnDeFacade {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 根据医院编码查询辅检公表映射,公表项做key
|
|
|
|
|
|
+ * 根据医院编码查询辅检公表映射,公表项做key(返回map原文)
|
|
*
|
|
*
|
|
* @param hosCodeVO
|
|
* @param hosCodeVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public Map<String, List<String>> getPacsConfigByUniqueNameAndHosCode(@RequestBody HosCodeVO hosCodeVO) {
|
|
public Map<String, List<String>> getPacsConfigByUniqueNameAndHosCode(@RequestBody HosCodeVO hosCodeVO) {
|
|
|
|
+ RespDTO<Map<String, List<String>>> respDTO = tranServiceClient.getPacsConfigByUniqueNameAndHosCode(hosCodeVO);
|
|
|
|
+ Map<String, List<String>> retMap = new LinkedHashMap<>();
|
|
|
|
+ if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
|
+ Map<String, List<String>> map = respDTO.data;
|
|
|
|
+ retMap = map;
|
|
|
|
+ }
|
|
|
|
+ return retMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据医院编码查询辅检公表映射,公表项做key(返回map加密)
|
|
|
|
+ *
|
|
|
|
+ * @param hosCodeVO
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public Map<String, List<String>> getPacsConfigByUniqueNameAndHosCode_en(@RequestBody HosCodeVO hosCodeVO) {
|
|
RespDTO<Map<String, List<String>>> respDTO = tranServiceClient.getPacsConfigByUniqueNameAndHosCode(hosCodeVO);
|
|
RespDTO<Map<String, List<String>>> respDTO = tranServiceClient.getPacsConfigByUniqueNameAndHosCode(hosCodeVO);
|
|
Map<String, List<String>> retMap = new LinkedHashMap<>();
|
|
Map<String, List<String>> retMap = new LinkedHashMap<>();
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|