public InpatientStay[] getAdmissions(AbstractConnection cxn) { IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME); if (dao == null) { return null; } return dao.getAdmissions(); }
public Appointment[] getAppointments(AbstractConnection cxn) { IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME); if (dao == null) { return null; } return dao.getAppointments(); }
public Appointment[] getAppointments(AbstractConnection cxn, int pastDays, int futureDays) { IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME); if (dao == null) { return null; } return dao.getAppointments(pastDays,futureDays); }
public void addConnection(string sitecode, AbstractConnection cxn) { lock (_cxns) { if (!_cxns.ContainsKey(sitecode)) { _cxns.Add(sitecode, new List<AbstractConnection>()); } _cxns[sitecode].Add(cxn); } }
public string[] ddrLister( AbstractConnection cxn, string file, string iens, string flds, string flags, string maxRex, string from, string part, string xref, string screen, string identifier) { VistaToolsDao dao = new VistaToolsDao(cxn); return dao.ddrLister(file, iens, flds, flags, maxRex, from, part, xref, screen, identifier); }
// This constructor is needed for API level tests. public MockConnection(string siteId, string protocol, bool updateRpc = false) : base(null) { this.DataSource = new DataSource(); this.DataSource.SiteId = new SiteId(siteId, "Mock"); this.DataSource.Protocol = protocol; _sqliteCxn = new XSqliteConnection(this.DataSource); this.Account = new MockAccount(this); //this.Account.IsAuthenticated = true; this.updateRpc = updateRpc; AbstractCredentials credentials = new VistaCredentials(); credentials.AccountName = "AccessCode"; credentials.AccountPassword = "******"; AbstractPermission permission = new MenuOption(VistaConstants.MDWS_CONTEXT); permission.IsPrimary = true; this.Account.Permissions.Add(permission.Name, permission); }
public override IToolsDao getToolsDao(AbstractConnection cxn) { return new VistaToolsDao(cxn); ; }
internal static IClaimsDao getDao(AbstractConnection cxn) { AbstractDaoFactory f = AbstractDaoFactory.getDaoFactory(AbstractDaoFactory.getConstant(cxn.DataSource.Protocol)); return f.getClaimsDao(cxn); }
public MockConnection(DataSource dataSource) : base(dataSource) { _sqliteCxn = new XSqliteConnection(dataSource); }
public abstract object getDao(string daoName, AbstractConnection c);
public override object getDao(string daoName, AbstractConnection c) { AbstractDaoFactory f = AbstractDaoFactory.getDaoFactory(AbstractDaoFactory.getConstant(c.DataSource.Protocol)); return f.getDaoByName(daoName, c); }
public override IRadiologyDao getRadiologyDao(AbstractConnection cxn) { return(new VistaRadiologyDao(cxn)); }
public override INoteDao getNoteDao(AbstractConnection cxn) { return(new VistaNoteDao(cxn)); }
public override ILabsDao getLabsDao(AbstractConnection cxn) { return(new VistaLabsDao(cxn)); }
public override IPharmacyDao getPharmacyDao(AbstractConnection cxn) { return(new VistaPharmacyDao(cxn)); }
public override IEncounterDao getEncounterDao(AbstractConnection cxn) { return(new VistaEncounterDao(cxn)); }
public override IPatientDao getPatientDao(AbstractConnection cxn) { return(new VistaPatientDao(cxn)); }
public override IUserDao getUserDao(AbstractConnection cxn) { return(new VistaUserDao(cxn)); }
public override IToolsDao getToolsDao(AbstractConnection cxn) { return(new VistaToolsDao(cxn));; }
public override IEncounterDao getEncounterDao(AbstractConnection cxn) { return new VistaEncounterDao(cxn); }
public override IVitalsDao getVitalsDao(AbstractConnection cxn) { return(new VistaVitalsDao(cxn)); }
public override IPharmacyDao getPharmacyDao(AbstractConnection cxn) { return new VistaPharmacyDao(cxn); }
public override IChemHemDao getChemHemDao(AbstractConnection cxn) { return(new VistaChemHemDao(cxn)); }
public abstract override bool skipThisConnection(AbstractConnection c);
public override IClaimsDao getClaimsDao(AbstractConnection cxn) { return(new VistaClaimsDao(cxn)); }
public override bool skipThisConnection(AbstractConnection c) { return !c.IsConnected; }
public override IConsultDao getConsultDao(AbstractConnection cxn) { return(new VistaConsultDao(cxn)); }
public abstract bool skipThisConnection(AbstractConnection c);
public override IRemindersDao getRemindersDao(AbstractConnection cxn) { return(new VistaRemindersDao(cxn)); }
public void reallocateConnection(AbstractConnection cxn) { Thread t = new Thread(new ParameterizedThreadStart(threadedReallocateConnection)); t.Start(cxn); }
public override IVitalsDao getVitalsDao(AbstractConnection cxn) { return new VistaVitalsDao(cxn); }
public override IRemindersDao getRemindersDao(AbstractConnection cxn) { return new VistaRemindersDao(cxn); }
public override IClinicalDao getClinicalDao(AbstractConnection cxn) { return new VistaClinicalDao(cxn); }
public override IUserDao getUserDao(AbstractConnection cxn) { return new VistaUserDao(cxn); }
public override ISchedulingDao getSchedulingDao(AbstractConnection cxn) { return(new VistaSchedulingDao(cxn)); }
public override IChemHemDao getChemHemDao(AbstractConnection cxn) { return new VistaChemHemDao(cxn); }
public override ILocationDao getLocationDao(AbstractConnection cxn) { return new VistaLocationDao(cxn); }
public override IConsultDao getConsultDao(AbstractConnection cxn) { return new VistaConsultDao(cxn); }
public override IOrdersDao getOrdersDao(AbstractConnection cxn) { return new VistaOrdersDao(cxn); }
public override ILabsDao getLabsDao(AbstractConnection cxn) { return new VistaLabsDao(cxn); }
public override IOrdersDao getOrdersDao(AbstractConnection cxn) { return(new VistaOrdersDao(cxn)); }
public override INoteDao getNoteDao(AbstractConnection cxn) { return new VistaNoteDao(cxn); }
public ConnectionSet(AbstractConnection c) { myCxns = new Dictionary<string, AbstractConnection>(); myCxns.Add(c.DataSource.SiteId.Id, c); baseSiteId = c.DataSource.SiteId.Id; }
public override IPatientDao getPatientDao(AbstractConnection cxn) { return new VistaPatientDao(cxn); }
public override object getDao(string daoName, AbstractConnection c) { return c; }
public override IRadiologyDao getRadiologyDao(AbstractConnection cxn) { return new VistaRadiologyDao(cxn); }