public ClaimsInformationVm GetModel(string practiceLocationId)
        {
            AccessControl.VerifyUserAccessToMultiLocationOffice(practiceLocationId);
            var result = new ClaimsInformationVm();
            var office = ClaimsInformationIt2Manager.GetClaimsInfoFromIt2(practiceLocationId);

            if (office != null)
            {
                result.PracticeLocationId = practiceLocationId;
                result.Npi = office.Npi;
                result.CompanyBillingName = office.CompanyBillingName;
                result.BillingName        = office.BillingName;
                result.BillingNpi         = office.BillingNpi;
                result.BillingEin         = office.BillingEin;
                result.BillingAddress1    = office.BillingAddress1;
                result.BillingAddress2    = office.BillingAddress2;
                result.CLIANumber         = office.CLIANumber;
                result.NpiType            = office.NpiType;
                if (office.CityStateZip != null)
                {
                    var zip          = office.CityStateZip.Zip.Replace("-", string.Empty);
                    var zipExtension = string.Empty;

                    if (zip.Length > 5)
                    {
                        zipExtension = zip.Substring(5);
                        zip          = zip.Substring(0, 5);
                    }

                    result.CityStateZip = new CityStateZip
                    {
                        City         = office.CityStateZip.City,
                        State        = office.CityStateZip.State,
                        Zip          = zip,
                        ZipExtension = zipExtension
                    };
                }
                else
                {
                    result.CityStateZip = new CityStateZip
                    {
                        City         = string.Empty,
                        State        = string.Empty,
                        Zip          = string.Empty,
                        ZipExtension = string.Empty
                    };
                }
            }

            this.LoadStates(ref result);

            return(result);
        }
        /// <summary>
        /// The load states.
        /// </summary>
        /// <param name="model">
        /// The model.
        /// </param>
        private void LoadStates(ref ClaimsInformationVm model)
        {
            var result = new List <SelectListItem>();
            var states = ClaimsInformationIt2Manager.GetStatesFromIt2();

            if (states != null)
            {
                states.ForEach(item => result.Add(new SelectListItem {
                    Selected = false, Text = item, Value = item
                }));
            }

            model.States = result.ToKeyValuePairs();
        }