public ReminderReportPatientListTO getPatientListForReminderReport(string rptId)
{
ReminderReportPatientListTO result = new ReminderReportPatientListTO();
if (!mySession.ConnectionSet.IsAuthorized)
{
result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
}
else if (String.IsNullOrEmpty(rptId))
{
result.fault = new FaultTO("Empty rptId");
}
if (result.fault != null)
{
return result;
}
try
{
ReminderReportPatientList lst = ClinicalReminder.getPatientListForReminderReport(mySession.ConnectionSet.BaseConnection, rptId);
result = new ReminderReportPatientListTO(lst);
}
catch (Exception e)
{
result.fault = new FaultTO(e);
}
return result;
}