Ejemplo n.º 1
0
 public DiagtreatCardViewModel()
 {
     qryService   = XapServiceMgr.find <ICiOrdQryService>();
     enQryService = XapServiceMgr.find <IEnOutQryService>();
     //CacheUtils = new CacheUtils();
     KeyPointCacheUtils = new KeyPointCacheDataUtils();
     NewCacheUtils      = new NewCacheDataUtils();
 }
Ejemplo n.º 2
0
        /// <summary>
        /// 展现就诊历史时使用
        /// </summary>
        /// <param name="padId"></param>
        public EntHistoryViewModel(Ent4BannerDTO ent4BannerDTO)
        {
            service = XapServiceMgr.find <IEnOutQryService>();
            string codePat = ent4BannerDTO.Code_pat;

            string[] idEns = { ent4BannerDTO.Id_ent };

            if (!string.IsNullOrWhiteSpace(codePat))
            {
                entHisDiDTOs = service.GetHisEntDiList(codePat, FBoolean.False, FBoolean.True, idEns);
            }

            GetRecordInfoList();
        }
Ejemplo n.º 3
0
 public ConsRptViewModel(string id_orcons)
 {
     this.consDoService  = XapServiceMgr.find <ICiorappconsultMDOCrudService>();
     this.consrptService = XapServiceMgr.find <IConsrptCrudService>();
     this.ordService     = XapServiceMgr.find <ICiorderMDOCrudService>();
     this.enservice      = XapServiceMgr.find <IEnOutQryService>();
     this.consDo         = this.consDoService.findById(id_orcons);
     rptArray            = this.consrptService.find(" a0.id_apcons='" + id_orcons + "' ", null, FBoolean.False);
     if (rptArray.Count() == 0)
     {
         this.consDTO = this.AddConsDo();
     }
     else
     {
         this.consDTO = this.EditConsDo();
     }
 }
Ejemplo n.º 4
0
 public EmrEditorInitEvent()
 {
     InitializeComponent();
     // 患者信息服务接口
     iEnOutQryService = XapServiceMgr.find <IEnOutQryService>();
     // 临床医疗记录
     iCiemrCrudService = XapServiceMgr.find <ICiemrCrudService>();
     // 处置查询接口
     orderItemMService = XapServiceMgr.find <ICiorderMDOCrudService>();
     // 诊断信息 Agg 查询服务,支持保存删除等操作
     cidiagCrudService = XapServiceMgr.find <ICidiagCrudService>();
     // 病历服务接口
     ciservice = XapServiceMgr.find <ICiOrdQryService>();
     // 影响病历相关方法
     emrViewModel = new EmrEditorViewModel();
     // 诊断、处置数据转换服务
     emrCiViewModel = new EmrEditorCiViewModel();
 }
Ejemplo n.º 5
0
 public GetInHosTime()
 {
     this.service = XapServiceMgr.find <IEnOutQryService>();
 }