/// <summary>
        /// Initializes a new instance of the <see cref="PatientController"/> class.
        /// </summary>
        public PatientExamsController()
        {
            this.patientExamsIt2Manager = new PatientExamsIt2Manager();
            if (!this.User.Identity.IsAuthenticated)
            {
                return;
            }

            var authorizationTicketHelper = new AuthorizationTicketHelper();

            this.practiceLocationId = authorizationTicketHelper.GetPracticeLocationId();
            this.companyId          = authorizationTicketHelper.GetCompanyId();
            this.userId             = authorizationTicketHelper.GetUserInfo().Id;
        }
 public PatientExamsController(string officeNumber)
 {
     this.practiceLocationId     = officeNumber;
     this.patientExamsIt2Manager = new PatientExamsIt2Manager();
 }