public static MccPatientCallTemplate GetCallTemplate(string noteTitle) { MccPatientCallTemplate returnTemplate = new MccPatientCallTemplate(noteTitle); // *** Get the list of tabs *** returnTemplate.TabList = GetTabs(returnTemplate.CallType); return(returnTemplate); }
/// <summary> /// Returns a single call template based on type /// </summary> /// <param name="callType"></param> /// <returns></returns> public static MccPatientCallTemplate GetCallTemplate(MccPatientCallType callType) { MccPatientCallTemplate returnTemplate = new MccPatientCallTemplate(); // *** Set the type *** returnTemplate.CallType = callType; if (callType != MccPatientCallType.AdditionalCall) { // *** Get the list of tabs *** returnTemplate.TabList = GetTabs(callType); } return(returnTemplate); }