コード例 #1
0
 public Appointment[] getAppointments(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getAppointments();
 }
コード例 #2
0
ファイル: EncounterApi.cs プロジェクト: OSEHRA/mdo
 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);
 }
コード例 #3
0
 public InpatientStay[] getAdmissions(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getAdmissions();
 }
コード例 #4
0
ファイル: EncounterApi.cs プロジェクト: OSEHRA/mdo
 public bool hasClinicAccess(AbstractConnection cxn, string clinicId)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).hasClinicAccess(clinicId);
 }
コード例 #5
0
ファイル: ChemHemReport.cs プロジェクト: OSEHRA/mdo
 // 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);
 }
コード例 #6
0
 public HospitalLocation[] getWards(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getWards();
 }
コード例 #7
0
 public DictionaryHashList getTeams(AbstractConnection cxn)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getTeams();
 }
コード例 #8
0
 public InpatientStay[] getStayMovementsByDateRange(AbstractConnection cxn, string fromDate, string toDate)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getStayMovementsByDateRange(fromDate, toDate);
 }
コード例 #9
0
 public Site[] getSiteDivisions(AbstractConnection cxn, string siteId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getSiteDivisions(siteId);
 }
コード例 #10
0
ファイル: EncounterApi.cs プロジェクト: VAchris/mdo
 public string getClinicAvailability(AbstractConnection cxn, string clinicId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinicAvailability(clinicId);
 }
コード例 #11
0
ファイル: EncounterApi.cs プロジェクト: VAchris/mdo
 public IList<AppointmentType> getAppointmentTypes(AbstractConnection cxn, string target)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getAppointmentTypes(target);
 }
コード例 #12
0
ファイル: EncounterApi.cs プロジェクト: OSEHRA/mdo
 public IList<AppointmentType> getAppointmentTypes(AbstractConnection cxn, string target)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).getAppointmentTypes(target);
 }
コード例 #13
0
ファイル: EncounterApi.cs プロジェクト: OSEHRA/mdo
 //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);
 }
コード例 #14
0
ファイル: EncounterApi.cs プロジェクト: OSEHRA/mdo
 public bool isValidStopCode(AbstractConnection cxn, string stopCodeId)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).isValidStopCode(stopCodeId);
 }
コード例 #15
0
ファイル: EncounterApi.cs プロジェクト: OSEHRA/mdo
 public bool hasValidStopCode(AbstractConnection cxn, string clinicId)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).hasValidStopCode(clinicId);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #18
0
ファイル: EncounterApi.cs プロジェクト: VAchris/mdo
 public HospitalLocation getClinicSchedulingDetails(AbstractConnection cxn, string clinicId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinicSchedulingDetails(clinicId);
 }
コード例 #19
0
 public InpatientStay getStayMovements(AbstractConnection cxn, string checkinId)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getStayMovements(checkinId);
 }
コード例 #20
0
ファイル: EncounterApi.cs プロジェクト: VAchris/mdo
 public IList<Appointment> getPendingAppointments(AbstractConnection cxn, string startDate)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getPendingAppointments(startDate);
 }
コード例 #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);
 }
コード例 #22
0
ファイル: EncounterApi.cs プロジェクト: VAchris/mdo
 public Appointment checkInAppointment(AbstractConnection cxn, Appointment appointment)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).checkInAppointment(appointment);
 }
コード例 #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);
 }
コード例 #24
0
 public HospitalLocation[] getClinics(AbstractConnection cxn, string target, string direction)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getClinics(target, direction);
 }
コード例 #25
0
 public Drg[] getDRGRecords(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getDRGRecords();
 }
コード例 #26
0
 public Adt[] getInpatientDischarges(AbstractConnection cxn, string pid)
 {
     return ((IEncounterDao)cxn.getDao(DAO_NAME)).getInpatientDischarges(pid);
 }
コード例 #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);
 }
コード例 #28
0
 public Adt[] getInpatientMoves(AbstractConnection cxn)
 {
     IEncounterDao dao = (IEncounterDao)cxn.getDao(DAO_NAME);
     if (dao == null)
     {
         return null;
     }
     return dao.getInpatientMoves();
 }
コード例 #29
0
ファイル: ChemHemReport.cs プロジェクト: OSEHRA/mdo
 // 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);
 }
コード例 #30
0
ファイル: EncounterApi.cs プロジェクト: OSEHRA/mdo
 public Appointment cancelAppointment(AbstractConnection cxn, Appointment appointment, string cancellationReason, string remarks)
 {
     return ((ISchedulingDao)cxn.getDao("ISchedulingDao")).cancelAppointment(appointment, cancellationReason, remarks);
 }