gov.va.medora.mdws.ClinicalRemindersLib.getReminderReportTemplates C# (CSharp) Method

getReminderReportTemplates() public method

public getReminderReportTemplates ( ) : TextArray
return TextArray
        public TextArray getReminderReportTemplates()
        {
            TextArray result = new TextArray();

            if (!mySession.ConnectionSet.IsAuthorized)
            {
                result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
            }
            if (result.fault != null)
            {
                return result;
            }

            try
            {
                string[] templates = ClinicalReminder.getReminderReportTemplates(mySession.ConnectionSet.BaseConnection);
                result = new TextArray(templates);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
            }
            return result;
        }