Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PatientController"/> class.
        /// </summary>
        public PatientLedgerController()
        {
            this.patientLedgerManager = new PatientLedgerIt2Manager();
            if (!this.User.Identity.IsAuthenticated)
            {
                return;
            }

            var authorizationTicketHelper = new AuthorizationTicketHelper();

            this.practiceLocationId = authorizationTicketHelper.GetPracticeLocationId();
        }
        /// <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;
        }
Exemplo n.º 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PatientController"/> class.
        /// </summary>
        public PatientOrderController()
        {
            this.manager = new PatientOrderWorkInProgressManager();
            if (!this.User.Identity.IsAuthenticated)
            {
                return;
            }

            var authorizationTicketHelper = new AuthorizationTicketHelper();

            this.companyId = authorizationTicketHelper.GetCompanyId();
            this.officeNum = authorizationTicketHelper.GetPracticeLocationId();
            this.userId    = authorizationTicketHelper.GetUserInfo().Id;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ContactLensOrderController"/> class.
        /// </summary>
        public ContactLensOrderController()
        {
            this.contactLensOrderIt2Manager = new ContactLensOrderIt2Manager();
            this.patientInsuranceManager    = new PatientInsuranceManager();
            if (!this.User.Identity.IsAuthenticated)
            {
                return;
            }

            var authorizationTicketHelper = new AuthorizationTicketHelper();

            this.companyId    = authorizationTicketHelper.GetCompanyId();
            this.officeNumber = authorizationTicketHelper.GetPracticeLocationId();
            this.userId       = authorizationTicketHelper.GetUserInfo().Id;
        }
Exemplo n.º 5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PatientController"/> class.
        /// </summary>
        public PatientDocumentController()
        {
            this.lookupServices          = Container.Resolve <ILookupServices>();
            this.miscellaneousServices   = Container.Resolve <IMiscellaneousServices>();
            this.patientServices         = Container.Resolve <IPatientServices>();
            this.patientDocumentServices = Container.Resolve <IPatientDocumentServices>();

            this.patientDocumentIt2Manager = new PatientDocumentIt2Manager(this.lookupServices, this.miscellaneousServices, this.patientServices, this.patientDocumentServices);
            this.documentManager           = new DocumentIt2Manager();

            if (!this.User.Identity.IsAuthenticated)
            {
                return;
            }

            var authorizationTicketHelper = new AuthorizationTicketHelper();

            this.practiceLocationId = authorizationTicketHelper.GetPracticeLocationId();
        }