Esempio n. 1
0
 /// <summary>
 /// 参照回写是自定义服务时的操作
 /// </summary>
 /// <param name="drugNew"></param>
 public void handleRefResultSrvIsFtmSrv(EmsOrDrug drugNew)
 {
     drugNew.Fg_mm   = false;
     drugNew.Fg_ctm  = true;
     drugNew.Fg_self = true;
     drugNew.Spec_mm = "";
     if (drugNew.Id_unit_med != null)
     {
         if (cacheUnitMed.ContainsKey(drugNew.Id_unit_med))
         {
             drugNew.Name_unit_med = cacheUnitMed[drugNew.Id_unit_med];
         }
         else
         {
             MeasDocDO meas = cof.getMeasDocDoById(drugNew.Id_unit_med);
             if (meas != null)
             {
                 drugNew.Name_unit_med = meas.Name;
             }
             cacheUnitMed.Add(drugNew.Id_unit_med, drugNew.Name_unit_med);
         }
     }
     cof.concateExtNote(new XapDataList <EmsOrDrug> {
         drugNew
     }, EmsHeadDO.PatInfo, EmsHeadDO);
     drugNew.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(item_PropertyChanged);
 }