Ejemplo n.º 1
0
 public void onSave(bool type, bool IsAdd, PatiVisitDO patientsDTO, string id_di)
 {
     if (this.CidixyAggDto != null)
     {
         XapDataList <Cidixy> xylist = this.CidixyAggDto.AggDO.getCidixy();
     }
 }
Ejemplo n.º 2
0
        public override void HandleState(object sender, DictionaryEventArgs eventArgs)
        {
            string uiEvent  = eventArgs.Data[UIConst.UI_EVENT] as string;
            string newState = eventArgs.Data[UIConst.NEW_STATE] as string;

            switch (uiEvent)
            {
            case UIEvent.REFRESH:
                this.LoadData();
                break;

            case UIEvent.LOAD:

                Dictionary <string, object> dic = eventArgs.Data[UIConst.DATA] as Dictionary <string, object>;
                if (dic != null)
                {
                    if (dic.Keys.Contains("PatientData"))
                    {
                        patDo = dic["PatientData"] as PatiVisitDO;
                    }
                    if (dic.Keys.Contains("IsInHospitalStation"))
                    {
                        patDo.Id_ent = dic["EncounterID"].ToString();
                    }
                }
                break;

            default:
                break;
            }
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 判断是否为诊闭状态
        /// </summary>
        /// <param name="ent4BannerDTO"></param>
        /// <returns>true 诊毕,false 未诊毕</returns>
        public bool IsEnFinish(string id_ent)
        {
            if (string.IsNullOrEmpty(id_ent))
            {
                return(false);
            }

            // 获取患者就诊对象
            PatiVisitDO PatiVisitDO = ipativisitCrudService.findById(id_ent);

            // 非诊闭状态是,撤回按钮不可用
            if (PatiVisitDO.Sd_status == EnDictCodeConst.SD_ENSTATUS_OP_FINISH)
            {
                return(true);
            }
            return(false);
        }