Пример #1
0
        public ThinPrepPapTest()
        {
            this.m_PanelSetId = 15;
            this.m_PanelSetName = "Thin Prep Pap";
            this.m_Abbreviation = "PAP";
            this.m_CaseType = YellowstonePathology.Business.CaseType.Cytology;
            this.m_HasTechnicalComponent = true;
            this.m_HasProfessionalComponent = false;
            this.m_ResultDocumentSource = YellowstonePathology.Business.PanelSet.Model.ResultDocumentSourceEnum.YPIDatabase;
            this.m_ReportNoLetter = new YellowstonePathology.Business.ReportNoLetterP();
            this.m_Active = true;

            this.m_PanelSetOrderClassName = typeof(YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology).AssemblyQualifiedName;
            this.m_AllowMultiplePerAccession = false;
            this.m_ExpectedDuration = new TimeSpan(30, 0, 0);
            this.m_AcceptOnFinal = true;
            this.m_AttemptOrderTargetLookup = true;
            this.m_RequireAssignmentOnOrder = false;

            this.m_AddAliquotOnOrder = true;
            this.m_AliquotToAddOnOrder = new YellowstonePathology.Business.Specimen.Model.ThinPrepSlide();

            this.m_TechnicalComponentFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();
            this.m_TechnicalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_UniversalServiceIdCollection.Add(new YellowstonePathology.Business.ClientOrder.Model.UniversalServiceDefinitions.UniversalServiceTHINPREP());

            YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapScreeningPanel thinPrepPapScreeningPanel = new Test.ThinPrepPap.ThinPrepPapScreeningPanel();
            this.m_PanelCollection.Add(thinPrepPapScreeningPanel);

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
            this.OrderTargetTypeCollectionRestrictions.Add(thinPrepFluid);
        }
Пример #2
0
        public PanelSetArupNgct()
        {
            this.m_PanelSetId = 38;
            this.m_PanelSetName = "ARUP: CGMATF";
            this.m_CaseType = YellowstonePathology.Business.CaseType.Molecular;
            this.m_HasTechnicalComponent = true;
            this.m_HasProfessionalComponent = false;
            this.m_ResultDocumentSource = ResultDocumentSourceEnum.RetiredTestDocument;
            this.m_ReportNoLetter = new YellowstonePathology.Business.ReportNoLetterR();
            this.m_Active = false;
            this.m_WordDocumentClassName = typeof(YellowstonePathology.Business.Document.DoNotPublishReport).AssemblyQualifiedName;

            this.m_AllowMultiplePerAccession = true;

            string taskDescription = "Gather materials and send to ARUP.";
            this.m_TaskCollection.Add(new YellowstonePathology.Business.Task.Model.TaskFedexShipment(YellowstonePathology.Business.Task.Model.TaskAssignment.Molecular, taskDescription, new Facility.Model.NeogenomicsIrvine()));

            this.m_TechnicalComponentFacility = new YellowstonePathology.Business.Facility.Model.ARUP();
            this.m_ProfessionalComponentFacility = new YellowstonePathology.Business.Facility.Model.ARUP();

            this.m_TechnicalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.ARUP();
            this.m_ProfessionalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.ARUP();

            this.m_UniversalServiceIdCollection.Add(new YellowstonePathology.Business.ClientOrder.Model.UniversalServiceDefinitions.UniversalServiceCTGC());

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
            this.OrderTargetTypeCollectionRestrictions.Add(thinPrepFluid);
        }
        public WomensHealthProfileTest()
        {
            this.m_PanelSetId = 116;
            this.m_PanelSetName = "Womens Health Profile";
            this.m_CaseType = YellowstonePathology.Business.CaseType.ALLCaseTypes;
            this.m_HasTechnicalComponent = true;
            this.m_HasProfessionalComponent = true;
            this.m_ResultDocumentSource = YellowstonePathology.Business.PanelSet.Model.ResultDocumentSourceEnum.YPIDatabase;
            this.m_ReportNoLetter = new YellowstonePathology.Business.ReportNoLetterY();
            this.m_Active = true;
            this.m_ReflexTestingComment = string.Empty;
            this.m_EnforceOrderTarget = false;
            this.m_AttemptOrderTargetLookup = true;
            this.m_RequiresPathologistSignature = true;
            this.m_AcceptOnFinal = true;
            this.m_IsReflexPanel = true;
            this.m_AllowMultiplePerAccession = false;
            this.m_IsBillable = false;
            this.m_NeverDistribute = true;
            this.m_ShowResultPageOnOrder = true;
            this.m_ExpectedDuration = new TimeSpan(7, 0, 0, 0);

            this.m_PanelSetOrderClassName = typeof(YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder).AssemblyQualifiedName;

            this.m_TechnicalComponentFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();
            this.m_TechnicalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_ProfessionalComponentFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologistBillings();
            this.m_ProfessionalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_UniversalServiceIdCollection.Add(new YellowstonePathology.Business.ClientOrder.Model.UniversalServiceDefinitions.UniversalServicePathSummary());

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
            this.OrderTargetTypeCollectionRestrictions.Add(thinPrepFluid);
        }
Пример #4
0
 public override void Visit(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
     if (this.m_SpecimenOrder.SpecimenId != thinPrepFluid.SpecimenId)
     {
         if (surgicalTestOrder.SurgicalSpecimenCollection.SpecimenOrderExists(this.m_SpecimenOrder.SpecimenOrderId) == false)
         {
             YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen = surgicalTestOrder.SurgicalSpecimenCollection.Add(surgicalTestOrder.ReportNo);
             surgicalSpecimen.FromSpecimenOrder(this.m_SpecimenOrder);
         }
     }
 }
Пример #5
0
        public NGCTTest()
        {
            this.m_PanelSetId = 3;
            this.m_PanelSetName = "NG-CT";
            this.m_Abbreviation = "NGCT";
            this.m_CaseType = YellowstonePathology.Business.CaseType.Molecular;
            this.m_HasTechnicalComponent = true;
            this.m_HasProfessionalComponent = false;
            this.m_ResultDocumentSource = YellowstonePathology.Business.PanelSet.Model.ResultDocumentSourceEnum.YPIDatabase;
            this.m_ReportNoLetter = new YellowstonePathology.Business.ReportNoLetterM();
            this.m_Active = true;
            this.m_AttemptOrderTargetLookup = true;
            this.m_PanelSetOrderClassName = typeof(YellowstonePathology.Business.Test.NGCT.NGCTTestOrder).AssemblyQualifiedName;
            this.m_WordDocumentClassName = typeof(YellowstonePathology.Business.Test.NGCT.NGCTWordDocument).AssemblyQualifiedName;
            this.m_AllowMultiplePerAccession = true;
            this.m_ExpectedDuration = new TimeSpan(4, 0, 0, 0);

            this.m_AddAliquotOnOrder = true;
            this.m_AliquotToAddOnOrder = new YellowstonePathology.Business.Specimen.Model.PantherAliquot();
            this.m_SendOrderToPanther = true;

            string taskDescription = "Gather materials and perform NGCT.";
            this.m_TaskCollection.Add(new YellowstonePathology.Business.Task.Model.Task(YellowstonePathology.Business.Task.Model.TaskAssignment.Molecular, taskDescription));

            this.m_TechnicalComponentFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();
            this.m_TechnicalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_HasSplitCPTCode = false;
            this.m_RequireAssignmentOnOrder = true;

            this.m_EpicDistributionIsImplemented = true;
            this.m_CMMCDistributionIsImplemented = true;

            YellowstonePathology.Business.Billing.Model.PanelSetCptCode panelSetCptCode1 = new YellowstonePathology.Business.Billing.Model.PanelSetCptCode(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT87491(), 1);
            YellowstonePathology.Business.Billing.Model.PanelSetCptCode panelSetCptCode2 = new YellowstonePathology.Business.Billing.Model.PanelSetCptCode(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT87591(), 1);
            this.m_PanelSetCptCodeCollection.Add(panelSetCptCode1);
            this.m_PanelSetCptCodeCollection.Add(panelSetCptCode2);

            this.m_UniversalServiceIdCollection.Add(new YellowstonePathology.Business.ClientOrder.Model.UniversalServiceDefinitions.UniversalServiceCTGC());

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
            this.OrderTargetTypeCollectionRestrictions.Add(thinPrepFluid);
        }
Пример #6
0
        public TrichomonasTest()
        {
            this.m_PanelSetId               = 61;
            this.m_PanelSetName             = "Trichomonas Vaginalis";
            this.m_Abbreviation             = "TRICH";
            this.m_CaseType                 = YellowstonePathology.Business.CaseType.Molecular;
            this.m_HasTechnicalComponent    = true;
            this.m_HasProfessionalComponent = true;
            this.m_ResultDocumentSource     = YellowstonePathology.Business.PanelSet.Model.ResultDocumentSourceEnum.YPIDatabase;
            this.m_ReportNoLetter           = new YellowstonePathology.Business.ReportNoLetterM();
            this.m_Active = true;
            this.m_AllowMultiplePerAccession = true;

            this.m_AddAliquotOnOrder   = true;
            this.m_AliquotToAddOnOrder = new YellowstonePathology.Business.Specimen.Model.PantherAliquot();
            this.m_SendOrderToPanther  = true;

            this.m_PanelSetOrderClassName = typeof(YellowstonePathology.Business.Test.Trichomonas.TrichomonasTestOrder).AssemblyQualifiedName;
            string taskDescription = "Gather materials and perform testing.";

            this.m_TaskCollection.Add(new YellowstonePathology.Business.Task.Model.TaskRefernceLabSendout(YellowstonePathology.Business.Task.Model.TaskAssignment.Molecular, taskDescription));

            this.m_TechnicalComponentFacility        = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();
            this.m_TechnicalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_ProfessionalComponentFacility        = new YellowstonePathology.Business.Facility.Model.YellowstonePathologistBillings();
            this.m_ProfessionalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_HasSplitCPTCode = false;

            YellowstonePathology.Business.Billing.Model.PanelSetCptCode panelSetCptCode = new YellowstonePathology.Business.Billing.Model.PanelSetCptCode(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT87661(), 1);
            this.m_PanelSetCptCodeCollection.Add(panelSetCptCode);

            this.m_UniversalServiceIdCollection.Add(new YellowstonePathology.Business.ClientOrder.Model.UniversalServiceDefinitions.UniversalServiceTRCHMNAA());

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
            this.OrderTargetTypeCollectionRestrictions.Add(thinPrepFluid);
        }
Пример #7
0
        public PanelSetArupNgct()
        {
            this.m_PanelSetId               = 38;
            this.m_PanelSetName             = "ARUP: CGMATF";
            this.m_CaseType                 = YellowstonePathology.Business.CaseType.Molecular;
            this.m_HasTechnicalComponent    = true;
            this.m_HasProfessionalComponent = false;
            this.m_ResultDocumentSource     = ResultDocumentSourceEnum.RetiredTestDocument;
            this.m_ReportNoLetter           = new YellowstonePathology.Business.ReportNoLetterR();
            this.m_Active = false;


            this.m_AllowMultiplePerAccession = true;

            string taskDescription = "Gather materials and send to ARUP.";

            this.m_TaskCollection.Add(new YellowstonePathology.Business.Task.Model.TaskRefernceLabSendout(YellowstonePathology.Business.Task.Model.TaskAssignment.Molecular, taskDescription));

            this.m_TechnicalComponentFacility    = new YellowstonePathology.Business.Facility.Model.ARUP();
            this.m_ProfessionalComponentFacility = new YellowstonePathology.Business.Facility.Model.ARUP();

            this.m_TechnicalComponentBillingFacility    = new YellowstonePathology.Business.Facility.Model.ARUP();
            this.m_ProfessionalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.ARUP();

            this.m_UniversalServiceIdCollection.Add(new YellowstonePathology.Business.ClientOrder.Model.UniversalServiceDefinitions.UniversalServiceCTGC());

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
            this.OrderTargetTypeCollectionRestrictions.Add(thinPrepFluid);
        }
Пример #8
0
 private void ButtonPrintMolecularLabels_Click(object sender, RoutedEventArgs e)
 {
     if (string.IsNullOrEmpty(YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.MolecularLabelFormat) == false)
     {
         YellowstonePathology.Business.Label.Model.LabelFormatEnum labelFormat = (YellowstonePathology.Business.Label.Model.LabelFormatEnum)Enum.Parse(typeof(YellowstonePathology.Business.Label.Model.LabelFormatEnum), YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.MolecularLabelFormat);
         YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
         YellowstonePathology.Business.Label.Model.MolecularLabelPrinter molecularLabelPrinter       = new Business.Label.Model.MolecularLabelPrinter();
         YellowstonePathology.Business.Label.Model.Label label = YellowstonePathology.Business.Label.Model.LabelFactory.GetMolecularLabel(labelFormat, this.m_AccessionOrder.MasterAccessionNo, this.m_AccessionOrder.PFirstName, this.m_AccessionOrder.PLastName, thinPrepFluid.Description, null, false);
         molecularLabelPrinter.Queue.Enqueue(label);
         molecularLabelPrinter.Print();
     }
     else
     {
         MessageBox.Show("The label format must first be selected in User Preferences.");
     }
 }
Пример #9
0
        public HPVTest()
        {
            this.m_PanelSetId               = 14;
            this.m_PanelSetName             = "High Risk HPV";
            this.m_Abbreviation             = "HPV";
            this.m_CaseType                 = YellowstonePathology.Business.CaseType.Molecular;
            this.m_HasTechnicalComponent    = true;
            this.m_HasProfessionalComponent = false;
            this.m_ResultDocumentSource     = YellowstonePathology.Business.PanelSet.Model.ResultDocumentSourceEnum.YPIDatabase;
            this.m_ReportNoLetter           = new YellowstonePathology.Business.ReportNoLetterM();
            this.m_Active = true;

            this.m_PanelSetOrderClassName    = typeof(YellowstonePathology.Business.Test.HPV.HPVTestOrder).AssemblyQualifiedName;
            this.m_AcceptOnFinal             = true;
            this.m_AllowMultiplePerAccession = true;
            this.m_ExpectedDuration          = new TimeSpan(4, 0, 0, 0);
            this.m_AttemptOrderTargetLookup  = true;
            this.m_RequireAssignmentOnOrder  = false;

            this.m_AddAliquotOnOrder   = true;
            this.m_AliquotToAddOnOrder = new YellowstonePathology.Business.Specimen.Model.PantherAliquot();
            this.m_SendOrderToPanther  = true;

            string taskDescription = "Perform HPV Testing on sample.";

            this.m_TaskCollection.Add(new YellowstonePathology.Business.Task.Model.TaskRefernceLabSendout(YellowstonePathology.Business.Task.Model.TaskAssignment.Molecular, taskDescription));

            this.m_TechnicalComponentFacility        = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();
            this.m_TechnicalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_HasSplitCPTCode = false;

            YellowstonePathology.Business.Billing.Model.PanelSetCptCode panelSetCptCode = new YellowstonePathology.Business.Billing.Model.PanelSetCptCode(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT87624(), 1);
            this.m_PanelSetCptCodeCollection.Add(panelSetCptCode);

            this.m_UniversalServiceIdCollection.Add(new YellowstonePathology.Business.ClientOrder.Model.UniversalServiceDefinitions.UniversalServiceHRHPVTEST());

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
            this.OrderTargetTypeCollectionRestrictions.Add(thinPrepFluid);
        }
Пример #10
0
 public override void Visit(YellowstonePathology.Business.Test.Surgical.SurgicalTestOrder surgicalTestOrder)
 {
     YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
     if (this.m_SpecimenOrder.SpecimenId != thinPrepFluid.SpecimenId)
     {
         if (surgicalTestOrder.SurgicalSpecimenCollection.Exists(this.m_SpecimenOrder.SpecimenOrderId) == false)
         {
             YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen = surgicalTestOrder.SurgicalSpecimenCollection.Add(surgicalTestOrder.ReportNo);
             surgicalSpecimen.FromSpecimenOrder(this.m_SpecimenOrder);
         }
     }
 }
Пример #11
0
        public WomensHealthProfileTest()
        {
            this.m_PanelSetId               = 116;
            this.m_PanelSetName             = "Womens Health Profile";
            this.m_CaseType                 = YellowstonePathology.Business.CaseType.ALLCaseTypes;
            this.m_HasTechnicalComponent    = true;
            this.m_HasProfessionalComponent = true;
            this.m_ResultDocumentSource     = YellowstonePathology.Business.PanelSet.Model.ResultDocumentSourceEnum.YPIDatabase;
            this.m_ReportNoLetter           = new YellowstonePathology.Business.ReportNoLetterY();
            this.m_Active = true;
            this.m_ReflexTestingComment         = string.Empty;
            this.m_EnforceOrderTarget           = false;
            this.m_AttemptOrderTargetLookup     = true;
            this.m_RequiresPathologistSignature = true;
            this.m_AcceptOnFinal             = true;
            this.m_IsReflexPanel             = true;
            this.m_AllowMultiplePerAccession = false;
            this.m_IsBillable            = false;
            this.m_NeverDistribute       = true;
            this.m_ShowResultPageOnOrder = true;
            this.m_ExpectedDuration      = new TimeSpan(7, 0, 0, 0);

            this.m_PanelSetOrderClassName = typeof(YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder).AssemblyQualifiedName;

            this.m_TechnicalComponentFacility        = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();
            this.m_TechnicalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_ProfessionalComponentFacility        = new YellowstonePathology.Business.Facility.Model.YellowstonePathologistBillings();
            this.m_ProfessionalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_UniversalServiceIdCollection.Add(new YellowstonePathology.Business.ClientOrder.Model.UniversalServiceDefinitions.UniversalServicePathSummary());

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
            this.OrderTargetTypeCollectionRestrictions.Add(thinPrepFluid);
        }
Пример #12
0
        private void MenuItemPrintMolecularLabel_Click(object sender, RoutedEventArgs e)
        {
            if (this.ListViewCaseList.SelectedItems.Count != 0)
            {
                if (string.IsNullOrEmpty(YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.MolecularLabelFormat) == false)
                {
                    foreach (YellowstonePathology.Business.Search.ReportSearchItem item in this.ListViewCaseList.SelectedItems)
                    {
                        YellowstonePathology.Business.PanelSet.Model.PanelSetCollection panelSetCollection = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetAll();
                        YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet = panelSetCollection.GetPanelSet(item.PanelSetId);

                        YellowstonePathology.Business.Label.Model.LabelFormatEnum labelFormat = (YellowstonePathology.Business.Label.Model.LabelFormatEnum)Enum.Parse(typeof(YellowstonePathology.Business.Label.Model.LabelFormatEnum), YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.MolecularLabelFormat);
                        YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
                        YellowstonePathology.Business.Label.Model.MolecularLabelPrinter molecularLabelPrinter = new Business.Label.Model.MolecularLabelPrinter();
                        YellowstonePathology.Business.Label.Model.Label label = YellowstonePathology.Business.Label.Model.LabelFactory.GetMolecularLabel(labelFormat, item.MasterAccessionNo, item.PFirstName, item.PLastName, item.SpecimenDescription, panelSet, true);
                        molecularLabelPrinter.Queue.Enqueue(label);
                        molecularLabelPrinter.Print();
                    }
                }
                else
                {
                    MessageBox.Show("The label format must first be selected in User Preferences.");
                }
            }
        }
Пример #13
0
        public ThinPrepPapTest()
        {
            this.m_PanelSetId               = 15;
            this.m_PanelSetName             = "Thin Prep Pap";
            this.m_Abbreviation             = "PAP";
            this.m_CaseType                 = YellowstonePathology.Business.CaseType.Cytology;
            this.m_HasTechnicalComponent    = true;
            this.m_HasProfessionalComponent = false;
            this.m_ResultDocumentSource     = YellowstonePathology.Business.PanelSet.Model.ResultDocumentSourceEnum.YPIDatabase;
            this.m_ReportNoLetter           = new YellowstonePathology.Business.ReportNoLetterP();
            this.m_Active = true;

            this.m_PanelSetOrderClassName    = typeof(YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology).AssemblyQualifiedName;
            this.m_AllowMultiplePerAccession = false;
            this.m_ExpectedDuration          = new TimeSpan(30, 0, 0);
            this.m_AcceptOnFinal             = true;
            this.m_AttemptOrderTargetLookup  = true;
            this.m_RequireAssignmentOnOrder  = false;

            this.m_AddAliquotOnOrder   = true;
            this.m_AliquotToAddOnOrder = new YellowstonePathology.Business.Specimen.Model.ThinPrepSlide();

            this.m_TechnicalComponentFacility        = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();
            this.m_TechnicalComponentBillingFacility = new YellowstonePathology.Business.Facility.Model.YellowstonePathologyInstituteBillings();

            this.m_UniversalServiceIdCollection.Add(new YellowstonePathology.Business.ClientOrder.Model.UniversalServiceDefinitions.UniversalServiceTHINPREP());

            YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapScreeningPanel thinPrepPapScreeningPanel = new Test.ThinPrepPap.ThinPrepPapScreeningPanel();
            this.m_PanelCollection.Add(thinPrepPapScreeningPanel);

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid thinPrepFluid = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ThinPrepFluid();
            this.OrderTargetTypeCollectionRestrictions.Add(thinPrepFluid);
        }