public TypingUIV2(System.Windows.Controls.TabItem writer) { this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_ParagraphTemplateCollection = new ParagraphTemplateCollection(); this.m_CaseListDate = DateTime.Today; Business.Specimen.Model.Specimen fluid = Specimen.Model.SpecimenCollection.Instance.GetSpecimen("SPCMFLUID"); // Definition.Fluid(); Business.Specimen.Model.Specimen urine = Specimen.Model.SpecimenCollection.Instance.GetSpecimen("SPCMNURINE"); // Definition.Urine(); this.m_FluidSpecimenList = new List <Specimen.Model.Specimen>(); this.m_FluidSpecimenList.Add(fluid); this.m_FluidSpecimenList.Add(urine); this.m_TypingUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Typing, true); this.m_SurgicalOrderList = new YellowstonePathology.Business.Surgical.SurgicalOrderList(); this.m_SurgicalOrderList.FillByAccessionDate(DateTime.Today); this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true); YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.AddAllToUserList(this.PathologistUsers, true); this.m_BillingSpecimenViewCollection = new View.BillingSpecimenViewCollection(); this.m_FieldEnabler = new YellowstonePathology.Business.Common.FieldEnabler(); this.m_Writer = writer; }
public TypingTemplateDialog() { this.m_ParagraphTemplateCollection = new YellowstonePathology.Business.Typing.ParagraphTemplateCollection(); InitializeComponent(); DataContext = this; }
public TypingUIV2(System.Windows.Controls.TabItem writer) { this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_ParagraphTemplateCollection = new ParagraphTemplateCollection(); this.m_CaseListDate = DateTime.Today; this.m_TypingUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Typing, true); this.m_SurgicalOrderList = new YellowstonePathology.Business.Surgical.SurgicalOrderList(); this.m_SurgicalOrderList.FillByAccessionDate(DateTime.Today); this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true); YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.AddAllToUserList(this.PathologistUsers, true); this.m_BillingSpecimenViewCollection = new View.BillingSpecimenViewCollection(); this.m_FieldEnabler = new YellowstonePathology.Business.Common.FieldEnabler(); this.m_Writer = writer; }