Esempio n. 1
0
        public ClientEntry(Business.Client.Model.Client client)
        {
            this.m_Client         = client;
            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;

            this.m_PathGroupFacilities = Business.Facility.Model.FacilityCollection.GetPathGroupFacilities();
            this.m_ClientPhysicianView = Business.Gateway.PhysicianClientGateway.GetClientPhysicianViewByClientIdV2(this.m_Client.ClientId);

            this.m_PlaceOfServiceCodes = new Business.Client.Model.PlaceOfServiceCollection();

            if (this.m_ClientPhysicianView == null)
            {
                this.m_ClientPhysicianView = new Business.View.ClientPhysicianView();
            }

            this.m_InsuranceTypeCollection = new Business.Billing.Model.InsuranceTypeCollection(true);

            this.m_FacilityTypes = new List <string>();
            this.m_FacilityTypes.Add("Hospital");
            this.m_FacilityTypes.Add("Hospital Owned Clinic");
            this.m_FacilityTypes.Add("Non-Grandfathered Hospital");
            this.m_FacilityTypes.Add("Non-Hospital");

            this.m_DistributionTypeList        = new YellowstonePathology.Business.ReportDistribution.Model.DistributionTypeList();
            this.m_BillingRuleSetCollection    = YellowstonePathology.Business.Billing.Model.BillingRuleSetCollection.GetAllRuleSets();
            this.m_ClientSupplyOrderCollection = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetClientSupplyOrderCollectionByClientId(this.m_Client.ClientId);

            InitializeComponent();

            this.DataContext = this;
            Closing         += ClientEntry_Closing;
        }
        private void ButtonNewProvider_Click(object sender, RoutedEventArgs e)
        {
            string objectId    = MongoDB.Bson.ObjectId.GenerateNewId().ToString();
            int    physicianId = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetLargestPhysicianId() + 1;

            YellowstonePathology.Business.Domain.Physician physician = new Business.Domain.Physician(objectId, physicianId, "New Physician", "New Physician");
            Business.User.SystemIdentity systemIdentity = Business.User.SystemIdentity.Instance;
            YellowstonePathology.Business.Persistence.DocumentGateway.Instance.InsertDocument(physician, this);

            ProviderEntry providerEntry = new ProviderEntry(physician, true);

            YellowstonePathology.Business.Persistence.DocumentGateway.Instance.Push(this);
            providerEntry.ShowDialog();
        }
 public override void Acknowledge(TaskOrderDetail taskOrderDetail, Test.AccessionOrder accessionOrder, Business.User.SystemIdentity systemIdentity)
 {
     base.Acknowledge(taskOrderDetail, accessionOrder, systemIdentity);
 }
 public override void Acknowledge(Test.AccessionOrder accessionOrder, Business.User.SystemIdentity systemIdentity)
 {
     base.Acknowledge(accessionOrder, systemIdentity);
 }
Esempio n. 5
0
 public SystemIdentityReturnEventArgs(Business.User.SystemIdentity systemIdentity)
 {
     this.m_SystemIdentity = systemIdentity;
 }
 public SystemIdentityReturnEventArgs(Business.User.SystemIdentity systemIdentity)
 {
     this.m_SystemIdentity = systemIdentity;
 }
Esempio n. 7
0
 public void Execute(Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder panelSetOrderSurgical, Business.User.SystemIdentity systemIdentity, ExecutionStatus executionStatus)
 {
     this.m_AccessionOrder        = accessionOrder;
     this.m_PanelSetOrderSurgical = panelSetOrderSurgical;
     this.m_SystemIdentity        = systemIdentity;
     this.m_ExecutionStatus       = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }