Ejemplo n.º 1
0
 public Appointment[] getAppointments(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getAppointments();
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 public InpatientStay[] getAdmissions(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getAdmissions();
 }
Ejemplo n.º 4
0
 public bool hasClinicAccess(AbstractConnection cxn, string clinicId)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).hasClinicAccess(clinicId);
 }
Ejemplo n.º 5
0
 // Gets multiple reports from a single site
 public static ChemHemReport[] getChemHemReports(AbstractConnection cxn, string pid, string fromDate, string toDate)
 {
     return ((IChemHemDao)cxn.getDao(DAO_NAME)).getChemHemReports(pid, fromDate, toDate);
 }
Ejemplo n.º 6
0
 public HospitalLocation[] getWards(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getWards();
 }
Ejemplo n.º 7
0
 public DictionaryHashList getTeams(AbstractConnection cxn)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getTeams();
 }
Ejemplo n.º 8
0
 public InpatientStay[] getStayMovementsByDateRange(AbstractConnection cxn, string fromDate, string toDate)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getStayMovementsByDateRange(fromDate, toDate);
 }
Ejemplo n.º 9
0
 public Site[] getSiteDivisions(AbstractConnection cxn, string siteId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getSiteDivisions(siteId);
 }
Ejemplo n.º 10
0
 public string getClinicAvailability(AbstractConnection cxn, string clinicId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinicAvailability(clinicId);
 }
Ejemplo n.º 11
0
 public IList<AppointmentType> getAppointmentTypes(AbstractConnection cxn, string target)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getAppointmentTypes(target);
 }
Ejemplo n.º 12
0
 public IList<AppointmentType> getAppointmentTypes(AbstractConnection cxn, string target)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).getAppointmentTypes(target);
 }
Ejemplo n.º 13
0
 //public string getClinicAvailability(AbstractConnection cxn, string clinicId)
 //{
 //    return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).getClinicAvailability(clinicId);
 //}
 public Appointment makeAppointment(AbstractConnection cxn, Appointment appointment)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).makeAppointment(appointment);
 }
Ejemplo n.º 14
0
 public bool isValidStopCode(AbstractConnection cxn, string stopCodeId)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).isValidStopCode(stopCodeId);
 }
Ejemplo n.º 15
0
 public bool hasValidStopCode(AbstractConnection cxn, string clinicId)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).hasValidStopCode(clinicId);
 }
Ejemplo n.º 16
0
 public Adt[] getInpatientMovesByCheckinId(AbstractConnection cxn, string checkinId)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getInpatientMovesByCheckinId(checkinId);
 }
Ejemplo n.º 17
0
 public HospitalLocation[] getLocations(AbstractConnection cxn, string target, string direction)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.lookupLocations(target, direction);
 }
Ejemplo n.º 18
0
 public HospitalLocation getClinicSchedulingDetails(AbstractConnection cxn, string clinicId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinicSchedulingDetails(clinicId);
 }
Ejemplo n.º 19
0
 public InpatientStay getStayMovements(AbstractConnection cxn, string checkinId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getStayMovements(checkinId);
 }
Ejemplo n.º 20
0
 public IList<Appointment> getPendingAppointments(AbstractConnection cxn, string startDate)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getPendingAppointments(startDate);
 }
Ejemplo n.º 21
0
 public InpatientStay[] getStaysForWard(AbstractConnection cxn, string wardId)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getStaysForWard(wardId);
 }
Ejemplo n.º 22
0
 public Appointment checkInAppointment(AbstractConnection cxn, Appointment appointment)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).checkInAppointment(appointment);
 }
Ejemplo n.º 23
0
 public Visit[] getVisits(AbstractConnection cxn, string fromDate, string toDate)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getVisits(fromDate, toDate);
 }
Ejemplo n.º 24
0
 public HospitalLocation[] getClinics(AbstractConnection cxn, string target, string direction)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinics(target, direction);
 }
Ejemplo n.º 25
0
 public Drg[] getDRGRecords(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getDRGRecords();
 }
Ejemplo n.º 26
0
 public Adt[] getInpatientDischarges(AbstractConnection cxn, string pid)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getInpatientDischarges(pid);
 }
Ejemplo n.º 27
0
 public string getAppointmentText(AbstractConnection cxn, string apptId)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getAppointmentText(apptId);
 }
Ejemplo n.º 28
0
 public Adt[] getInpatientMoves(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getInpatientMoves();
 }
Ejemplo n.º 29
0
 // Gets a single report from a single site
 public static ChemHemReport getChemHemReport(AbstractConnection cxn, string pid, ref string nextDate)
 {
     return ((IChemHemDao)cxn.getDao(DAO_NAME)).getChemHemReport(pid, ref nextDate);
 }
Ejemplo n.º 30
0
 public Appointment cancelAppointment(AbstractConnection cxn, Appointment appointment, string cancellationReason, string remarks)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).cancelAppointment(appointment, cancellationReason, remarks);
 }