Ejemplo n.º 1
0
        public void FillUI(IemMainPageInfo info, IEmrHost app)
        {
            m_App     = app;
            m_IemInfo = info;

            //(new FillUIDelegate(FillUIInner)).BeginInvoke(null, null);
            FillUIInner();
        }
Ejemplo n.º 2
0
        public DrectSoft.FrameWork.IPlugIn Run(IEmrHost host)
        {
            PlugIn plg = new PlugIn(this.GetType().ToString(), this);

            m_App = host;

            return(plg);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// .ctor
 /// </summary>
 /// <param name="noOfInpat"></param>
 public HistoryEmrBatchIn(string noOfInpat, Inpatient currentInpatient, IEmrHost app, RecordDal recordDal, PatRecUtil patUtil)
 {
     m_NoOfInpat        = noOfInpat;
     m_App              = app;
     m_RecordDal        = recordDal;
     m_CurrentInpatient = currentInpatient;
     m_patUtil          = patUtil;
 }
Ejemplo n.º 4
0
 public FormRecordForMultiply(string noOfFirstPage, IEmrHost host, string consultApplySn)
     : this()
 {
     m_NoOfFirstPage  = noOfFirstPage;
     m_Host           = host;
     m_ConsultApplySn = consultApplySn;
     InitInner(false);
 }
Ejemplo n.º 5
0
 public PersonItemManager(IEmrHost app)
 {
     InitializeComponent();
     m_app         = app;
     m_ItemCatalog = new ItemCatalog(app);
     m_ItemContent = new ItemContentForm(app);
     sqlHelper     = m_app.SqlHelper;
 }
Ejemplo n.º 6
0
 public DiagLibForm(IEmrHost app, string name, string id)
     : this()
 {
     m_App      = app;
     m_DiagName = name;
     m_DiagID   = id;
     this.Text  = m_DiagName;
 }
Ejemplo n.º 7
0
 public frmChild(QcManagerNew.frmContainer parent, IEmrHost app, string noofinpat)
 {
     InitializeComponent();
     this.MdiParent  = parent;
     m_App           = app;
     m_noofinpat     = noofinpat;
     this.ControlBox = false;
 }
Ejemplo n.º 8
0
        public IPlugIn Run(IEmrHost host)
        {
            PlugIn plg = new PlugIn(this.GetType().ToString(), this);

            SqlUtil.App = host;

            return(plg);
        }
Ejemplo n.º 9
0
        public UcSingleDisease(IEmrHost app)
        {
            InitializeComponent();
            m_app = app;

            dateEdit_begin.Text = DateTime.Now.AddMonths(-1).ToShortDateString();
            dateEdit_end.Text   = DateTime.Now.ToShortDateString();
        }
Ejemplo n.º 10
0
 /// <summary>
 /// /构造函数
 /// </summary>
 /// <param name="myapp"></param>
 /// <param name="dt"></param>
 /// <param name="nursefo"></param>
 public PayConsultion(IEmrHost myapp, DataTable dt, NurseForm nursefo)
 {
     m_app = myapp;
     //NOOfINPAT = m_noofinpat;
     Dt_ConsultData = dt;
     m_NurserForm   = nursefo;
     InitializeComponent();
 }
Ejemplo n.º 11
0
        public IPlugIn Run(DrectSoft.FrameWork.WinForm.Plugin.IEmrHost host)
        {
            IPlugIn plg = new PlugIn(this.GetType().ToString(), this);

            m_app     = host;
            sqlHelper = host.SqlHelper;
            return(plg);
        }
Ejemplo n.º 12
0
        public void MyLoadNurseDocument(IWin32Window wind, IEmrHost m_app, DataRow drInpatient, out DevExpress.XtraEditors.XtraUserControl MymainNursingMeasure)
        {
            try
            {
                Form form = null;
                //获取病人对象
                Inpatient m_NewPat = new Inpatient();
                m_app.ChoosePatient(Convert.ToDecimal((drInpatient["NOOFINPAT"])).ToString(), out m_NewPat);
                DrectSoft.Core.NurseDocument.MainNursingMeasure mainNursingMeasure = new DrectSoft.Core.NurseDocument.MainNursingMeasure(drInpatient["NOOFINPAT"].ToString());
                string version = DrectSoft.Core.NurseDocument.ConfigInfo.GetNurseMeasureVersion(decimal.Parse(drInpatient["NOOFINPAT"].ToString()));
                mainNursingMeasure.CurrentPat         = drInpatient["NOOFINPAT"].ToString();
                mainNursingMeasure.eventHandlerXieRu += delegate(object sender1, EventArgs e1)
                {
                    if (form == null)
                    {
                        Assembly a    = Assembly.Load("DrectSoft.Core.NurseDocument");
                        Type     type = a.GetType(version);
                        form             = (Form)Activator.CreateInstance(type, new object[] { m_app, drInpatient["NOOFINPAT"].ToString() });
                        form.Height      = DrectSoft.Core.NurseDocument.ConfigInfo.GetNurseRecordSize(decimal.Parse(drInpatient["NOOFINPAT"].ToString()));
                        form.FormClosed += delegate(object sender2, FormClosedEventArgs e2)
                        {
                            form = null;
                            mainNursingMeasure.LoadDataImage(decimal.Parse(drInpatient["NOOFINPAT"].ToString()));
                        };
                        form.Show(wind);
                    }
                    mainNursingMeasure.LoadDataImage(decimal.Parse(drInpatient["NOOFINPAT"].ToString()));
                };
                mainNursingMeasure.Load(m_app, m_NewPat);
                mainNursingMeasure.ReadOnlyControl = true;
                if (form != null)
                {
                    switch (version.Trim())
                    {
                    case "DrectSoft.Core.NurseDocument.Controls.NursingRecordNew":
                        (form as DrectSoft.Core.NurseDocument.Controls.NursingRecordNew).RefreshDate(drInpatient["NOOFINPAT"].ToString());
                        (form as DrectSoft.Core.NurseDocument.Controls.NursingRecordNew).dateEdit_DateTimeChanged(null, null);

                        break;

                    case "DrectSoft.Core.NurseDocument.Controls.NursingRecord":
                        (form as DrectSoft.Core.NurseDocument.Controls.NursingRecord).RefreshDate(drInpatient["NOOFINPAT"].ToString());
                        (form as DrectSoft.Core.NurseDocument.Controls.NursingRecord).dateEdit_DateTimeChanged(null, null);

                        break;
                    }
                    form.FormClosed += delegate(object sender2, FormClosedEventArgs e2)
                    {
                        mainNursingMeasure.LoadDataImage(decimal.Parse(drInpatient["NOOFINPAT"].ToString()));
                    };
                }
                MymainNursingMeasure = mainNursingMeasure;
            }
            catch (Exception ex)
            {
                MymainNursingMeasure = null;
            }
        }
Ejemplo n.º 13
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="NoOfInpat"></param>
 public SetPatientsBaby(string NoOfInpat, IEmrHost myapp, string mpatname, DocCenter docCenter)
 {
     NOOFINPAT   = NoOfInpat;
     m_app       = myapp;
     PATNAME     = mpatname;
     m_DocCenter = docCenter;
     InitializeComponent();
     txtPatName.Focus();
 }
Ejemplo n.º 14
0
        public IPlugIn Run(IEmrHost host)
        {
            PlugIn plg = new PlugIn(this.GetType().ToString(), this);

            plg.PatientChanging += new PatientChangingHandler(plg_PatientChanging);
            plg.PatientChanged  += new PatientChangedHandler(plg_PatientChanged);
            m_host = host;
            return(plg);
        }
Ejemplo n.º 15
0
 public PatientListForNew(IEmrHost host)
 {
     InitializeComponent();
     m_Host = host;
     if (SqlHelper == null)
     {
         SqlHelper = new SqlHelper(m_Host.SqlHelper);
     }
 }
Ejemplo n.º 16
0
        public IPlugIn Run(IEmrHost host)
        {
            FormMainConsultation form = new FormMainConsultation(host);

            m_App = host;
            PlugIn plg = new PlugIn(this.GetType().ToString(), form);

            return(plg);
        }
Ejemplo n.º 17
0
        /// <summary>
        /// 患者病历评分列表页面
        /// </summary>
        public OutMedicalScore(IEmrHost app)
        {
            InitializeComponent();
            m_app = app;
            SqlManger m_SqlManger = new SqlManger(app);

            m_SqlManager = new SqlManger(app);
            m_userid     = app.User.DoctorId;
        }
Ejemplo n.º 18
0
 public EmrAutoScore(IEmrHost app)
 {
     m_app       = app;
     m_SqlManger = new SqlManger(app);
     //manger = new IemMainPageManger(DataAccess.App, Common.CommonObjects.CurrentPatient);
     //manger.GetIemInfo();
     DataAccess.App   = m_app;
     m_dtMainpageRule = DataAccess.GetIemMainPageQC();
 }
Ejemplo n.º 19
0
 public SaveAsForm(EmrModel model, IEmrHost app, RecordDal recordDal, string content)
     : this()
 {
     m_Model            = model;
     m_app              = app;
     m_RecordDal        = recordDal;
     m_Content          = content;
     this.StartPosition = FormStartPosition.CenterScreen;
 }
Ejemplo n.º 20
0
        /// <summary>
        /// 患者病历评分列表页面
        /// </summary>
        public QC_ScoreRecord(IEmrHost app)
        {
            InitializeComponent();
            m_app = app;
            SqlManger m_SqlManger = new SqlManger(app);

            m_SqlManager = new SqlManger(app);
            m_userid     = app.User.DoctorId;
        }
Ejemplo n.º 21
0
 public IemNewDiagInfo(IEmrHost app, DataTable foreTable, string gotype, string diagTypeName, string inputText)
     : this()
 {
     m_App          = app;
     m_DiagTypeName = diagTypeName;
     m_GoType       = gotype;
     inText         = inputText;//m_inputText
     INDData        = foreTable;
 }
Ejemplo n.º 22
0
 public BaseDataMaintain(IEmrHost app)
 {
     InitializeComponent();
     m_app = app;
     ucDictionary1.Host       = m_app;
     ucMacro1.Host            = m_app;
     ucSpecialCharacter1.Host = m_app;
     this.ActiveControl       = ucDictionary1;
 }
Ejemplo n.º 23
0
        public IPlugIn Run(IEmrHost host)
        {
            IPlugIn plg = new PlugIn(this.GetType().ToString(), this);

            m_App              = host;
            m_SqlHelper        = new SqlHelper(host.SqlHelper);
            m_SearchDataEntity = new SearchDataEntity();

            return(plg);
        }
Ejemplo n.º 24
0
 public UCRecord(IEmrHost app)
     : this()
 {
     m_App = app;
     BindLookUpEditorData();
     InitGridControl();
     InitDateEdit();
     //Search();
     textEditName.Focus();
 }
Ejemplo n.º 25
0
        public PrintForm(ConsultationEntity consultationEntity, bool PrintTip, IEmrHost m_App)
        {
            InitializeComponent();

            m_DrawConsultUtil = new DrawConsultUtil(consultationEntity);
            m_PrintDocument   = new PrintDocument();
            IsPrint           = PrintTip;
            consapply         = consultationEntity.ConsultApplySn;
            m_app             = m_App;
        }
Ejemplo n.º 26
0
 public new void Load(IEmrHost app, bool firstPageEditFlag)
 {
     try
     {
     }
     catch (Exception ex)
     {
         DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex);
     }
 }
Ejemplo n.º 27
0
 /// <summary>
 /// 带参构造函数
 /// </summary>
 /// <param name="nodetitle"></param>
 /// <param name="nodecontent"></param>
 public ItemContent(string nodetitle, string nodecontent, string nodeid, string nid, string pnode, IEmrHost app)
 {
     NodeTitle   = nodetitle;
     NodeContent = nodecontent;
     NodeID      = nodeid;
     NID         = nid;
     ParentNode  = pnode;
     m_App       = app;
     InitializeComponent();
 }
Ejemplo n.º 28
0
 public FormApproveForMultiply(string noOfFirstPage, IEmrHost host, string consultApplySn)
     : this()
 {
     m_NoOfFirstPage  = noOfFirstPage;
     m_Host           = host;
     m_ConsultApplySn = consultApplySn;
     InitInner(false);
     ApplyForMultiply.ReadOnlyControl();
     memoEditSuggestion.Focus();
 }
Ejemplo n.º 29
0
        private void CustomInitialize(IEmrHost application)
        {
            ResetControlFont();

            navCtrlOrderSuit.Enabled             = false;
            navCtrlOrderSuit.ActiveGroupChanged += new NavBarGroupEventHandler(navCtrlOrderSuit_ActiveGroupChanged);
            navCtrlOrderSuit.ActiveGroup         = navGroupDept;


            ResetSelectedSuiteObject(null);
        }
Ejemplo n.º 30
0
 public TemplatePersonForm(IEmrHost app)
     : this()
 {
     this.m_App     = app;
     DataAccess.App = app;
     this.InitPersonModel();
     this.GetPersonTemplate();
     this.SetGridControlColor();
     this.treeListTemplatePerson.ExpandAll();
     this.InitLookUpEditorData();
 }