コード例 #1
0
        /// <summary>
        /// Returns the date of the last survey sent that matches the ActionItem for this patient.
        /// ActionItem is of form "NAME x Month Sent"
        /// </summary>
        /// <param name="surveyShortType">Either "QOL" or "EPIC"</param>
        /// <param name="month"></param>
        /// <returns></returns>
        private DataTable GetThisLastSurveySentRecord(string surveyName, int month, int patientId)
        {
            string actionName = FollowUpUtil.GetSurveyActionItem(surveyName, month.ToString());

            FollowUpDA da = new FollowUpDA();
            DataTable  dt = da.GetThisLastSurveySent(patientId, actionName);

            return(dt);
        }