Beispiel #1
0
 public Appointment[] getAppointments(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getAppointments();
 }
Beispiel #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);
 }
Beispiel #3
0
 public InpatientStay[] getAdmissions(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getAdmissions();
 }
Beispiel #4
0
 public bool hasClinicAccess(AbstractConnection cxn, string clinicId)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).hasClinicAccess(clinicId);
 }
Beispiel #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);
 }
Beispiel #6
0
 public HospitalLocation[] getWards(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getWards();
 }
Beispiel #7
0
 public DictionaryHashList getTeams(AbstractConnection cxn)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getTeams();
 }
Beispiel #8
0
 public InpatientStay[] getStayMovementsByDateRange(AbstractConnection cxn, string fromDate, string toDate)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getStayMovementsByDateRange(fromDate, toDate);
 }
Beispiel #9
0
 public Site[] getSiteDivisions(AbstractConnection cxn, string siteId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getSiteDivisions(siteId);
 }
Beispiel #10
0
 public string getClinicAvailability(AbstractConnection cxn, string clinicId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinicAvailability(clinicId);
 }
Beispiel #11
0
 public IList<AppointmentType> getAppointmentTypes(AbstractConnection cxn, string target)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getAppointmentTypes(target);
 }
Beispiel #12
0
 public IList<AppointmentType> getAppointmentTypes(AbstractConnection cxn, string target)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).getAppointmentTypes(target);
 }
Beispiel #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);
 }
Beispiel #14
0
 public bool isValidStopCode(AbstractConnection cxn, string stopCodeId)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).isValidStopCode(stopCodeId);
 }
Beispiel #15
0
 public bool hasValidStopCode(AbstractConnection cxn, string clinicId)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).hasValidStopCode(clinicId);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #18
0
 public HospitalLocation getClinicSchedulingDetails(AbstractConnection cxn, string clinicId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinicSchedulingDetails(clinicId);
 }
Beispiel #19
0
 public InpatientStay getStayMovements(AbstractConnection cxn, string checkinId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getStayMovements(checkinId);
 }
Beispiel #20
0
 public IList<Appointment> getPendingAppointments(AbstractConnection cxn, string startDate)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getPendingAppointments(startDate);
 }
Beispiel #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);
 }
Beispiel #22
0
 public Appointment checkInAppointment(AbstractConnection cxn, Appointment appointment)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).checkInAppointment(appointment);
 }
Beispiel #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);
 }
Beispiel #24
0
 public HospitalLocation[] getClinics(AbstractConnection cxn, string target, string direction)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinics(target, direction);
 }
Beispiel #25
0
 public Drg[] getDRGRecords(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getDRGRecords();
 }
Beispiel #26
0
 public Adt[] getInpatientDischarges(AbstractConnection cxn, string pid)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getInpatientDischarges(pid);
 }
Beispiel #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);
 }
Beispiel #28
0
 public Adt[] getInpatientMoves(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getInpatientMoves();
 }
Beispiel #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);
 }
Beispiel #30
0
 public Appointment cancelAppointment(AbstractConnection cxn, Appointment appointment, string cancellationReason, string remarks)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).cancelAppointment(appointment, cancellationReason, remarks);
 }