/// <summary> /// 险种类型 /// </summary> /// <param name="id_ent"></param> /// <returns></returns> public string getcodeHpkind(String id_ent) { String wherestr = "id_ent = '" + id_ent + "' and fg_maj='Y'"; EntHpDO[] entHpdp = iEnthpCrudService.find(wherestr, "", false); if (entHpdp != null && entHpdp.Length > 0) { MedicalSharingCache.setCode_hpkind(entHpdp[0].Code_hpkind); return(entHpdp[0].Code_hpkind); } return(null); }
/// <summary> /// 本院医保数据,(未上传医保中心的数据) /// </summary> /// <param name="ent4BannerDTO"></param> public void getMedicalSharingDTO(Ent4BannerDTO ent4BannerDTO) { Dictionary <string, MedicalSharingDTO[]> dict = null; MedicalSharingDTO[] medicalSharingDto = ciOrderQryService.getMedicalSharing(ent4BannerDTO.Id_pat, ent4BannerDTO.Id_hp); if (medicalSharingDto != null) { dict = new Dictionary <string, MedicalSharingDTO[]>(); dict.Add(ent4BannerDTO.No_hp, medicalSharingDto); MedicalSharingCache.setDicMedicalSharing(dict); } }
/// <summary> /// 医保共享排斥数据 /// </summary> /// <param name="id_hp"></param> /// <returns></returns> public Dictionary <string, BdHpUnlimitDrugDO> getDictbdHpUnlimitDrug(string id_hp) { string WhereStr = "id_hp ='" + id_hp + "'"; BdHpUnlimitDrugDO[] limitDrug = this.bdHpUnlimitDrugDoCrudService.find(WhereStr, "", new FBoolean()); Dictionary <string, BdHpUnlimitDrugDO> dict = null; if (limitDrug != null && limitDrug.Length > 0) { dict = new Dictionary <string, BdHpUnlimitDrugDO>(); foreach (BdHpUnlimitDrugDO drugDO in limitDrug) { dict.Add(drugDO.Code_hp, drugDO); } MedicalSharingCache.setBdHpUnlimitDrugDO(dict); } return(dict); }