Ejemplo n.º 1
0
        /// <summary>
        /// 获取特殊病提示消息
        /// </summary>
        /// <param name="ctx">患者就诊环境</param>
        /// <param name="drugList">EmsOrDrug对象集合</param>
        /// <returns>特殊病诊断提示信息</returns>
        public string GetSpecialDiseaseJudgeRst(CiEnContextDTO ctx, List <EmsOrDrug> drugList)
        {
            FMap mmMap = new FMap();

            // 非特殊病患者,直接返回空串
            if (!CiEnContextUtil.IsHpSpecillPat(ctx.Ent4BannerDTO))
            {
                return("");
            }

            foreach (EmsOrDrug drug in drugList)
            {
                if (drug.Fg_selfpay == FBoolean.True)
                {
                    continue;
                }
                mmMap.Add(drug.Id_mm, drug.Name_srv + "[" + drug.Name_mm + "]");
            }
            if (mmMap.Count == 0)
            {
                return("");
            }

            string specialMsg = this.ciOrdMedicalInsuranceService.GetSpecialDiseaseJudgeRst(ctx, mmMap);

            if (!string.IsNullOrEmpty(specialMsg))
            {
                specialMsg += "请录入!";
            }

            return(specialMsg);
        }