Exemple #1
0
        public string GetAppointmentSessions(string odsCode, DateTime fromDate, DateTime toDate)
        {
            Session[] sessions = DataStore.GetSessions(odsCode, fromDate, toDate);
            EomAppointmentSessions.AppointmentSessionList session = EomAppointmentTranform.ToEomSessionList(sessions);

            return(Utilities.Serialize <EomAppointmentSessions.AppointmentSessionList>(session));
        }
Exemple #2
0
        public string GetPatientAppointments(string odsCode, Guid patientGuid, DateTime fromDate, DateTime toDate)
        {
            Slot[] slots = DataStore.GetSlotsForPatient(odsCode, patientGuid, fromDate, toDate);

            EomGetPatientAppointments.PatientAppointmentList appointmentList = EomAppointmentTranform.ToEomPatientAppointmentList(slots);

            return(Utilities.Serialize <EomGetPatientAppointments.PatientAppointmentList>(appointmentList));
        }
Exemple #3
0
        public string GetSlotsForSession(string odsCode, int sessionId)
        {
            Slot[] slots = DataStore.GetSlots(odsCode, sessionId);

            EomSlotsForSession.SlotListStruct slot = EomAppointmentTranform.ToEomSlotList(slots);

            return(Utilities.Serialize <EomSlotsForSession.SlotListStruct>(slot));
        }