public ProviderEntry(YellowstonePathology.Business.Domain.Physician physician) { this.m_Physician = physician; this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_PhysicianClientView = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianClientView(this.m_Physician.ObjectId); this.m_HpvStandingOrders = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); this.m_ClientCollection = new YellowstonePathology.Business.Client.Model.ClientCollection(); InitializeComponent(); this.m_ParentWindow = Window.GetWindow(this); this.DataContext = this; Loaded += ProviderEntry_Loaded; Closing += ProviderEntry_Closing; }
public ProviderEntry(YellowstonePathology.Business.Domain.Physician physician, bool isNewProvider) { YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullPhysician(physician, this); this.m_Physician = physician; this.m_IsNewProvider = isNewProvider; this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_PhysicianClientView = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianClientView(this.m_Physician.ObjectId); this.m_HpvStandingOrders = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); this.m_ClientCollection = new YellowstonePathology.Business.Client.Model.ClientCollection(); InitializeComponent(); this.m_ParentWindow = Window.GetWindow(this); this.DataContext = this; Loaded += ProviderEntry_Loaded; Closing += ProviderEntry_Closing; }
public ProviderEntry(YellowstonePathology.Business.Domain.Physician physician) { this.m_Physician = physician; this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_PhysicianClientView = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianClientView(this.m_Physician.ObjectId); this.m_HpvStandingOrders = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPVStandingOrders(); this.m_HPV1618StandingOrderCollection = YellowstonePathology.Business.Client.Model.StandingOrderCollection.GetHPV1618StandingOrders(); this.m_ClientCollection = new YellowstonePathology.Business.Client.Model.ClientCollection(); this.m_HPVStandingOrderCollection = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetHPVStandingOrderCollectionByPhysicianId(this.m_Physician.PhysicianId); this.m_HPVRuleAgeCollection = Business.Client.Model.HPVRuleCollection.GetHPVRuleAgeCollection(); this.m_HPVRulePAPResultCollection = Business.Client.Model.HPVRuleCollection.GetHPVRulePAPResultCollection(); this.m_HPVRulePreviousTestingCollection = Business.Client.Model.HPVRuleCollection.GetHPVRulePreviousTestingCollection(); this.m_HPVRuleEndocervicalCollection = Business.Client.Model.HPVRuleCollection.GetHPVRuleEndocervicalCollection(); InitializeComponent(); this.m_ParentWindow = Window.GetWindow(this); this.DataContext = this; Loaded += ProviderEntry_Loaded; Closing += ProviderEntry_Closing; }
public void GetPhysicianClientViewTest() { YellowstonePathology.Business.View.PhysicianClientView result = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianClientView("9"); Assert.IsTrue(result.PhysicianId == 9); Assert.IsTrue(result.Clients.Count == 4); }
public ProviderClientsHaveDistributionSetAudit(string providerId, YellowstonePathology.Business.View.PhysicianClientView physicianClientView) { this.m_ProviderId = providerId; this.m_PhysicianClientView = physicianClientView; this.m_MessageBegining = "Distribution is not set for "; }