Ejemplo n.º 1
0
        public StainResultItemCollection GetCytochemicalStains(YellowstonePathology.Business.Test.Model.TestOrderCollection testOrderCollection)
        {
            StainResultItemCollection result = new StainResultItemCollection();

            foreach (StainResultItem stainresult in this)
            {
                if (stainresult.StainType == "Cytochemical" && stainresult.ClientAccessioned == false)
                {
                    result.Add(stainresult);
                }
            }
            return(result);
        }
Ejemplo n.º 2
0
        public StainResultItemCollection GetGradedStains(YellowstonePathology.Business.Test.Model.TestOrderCollection testOrderCollection)
        {
            StainResultItemCollection result = new StainResultItemCollection();

            foreach (StainResultItem stainresult in this)
            {
                YellowstonePathology.Business.Test.Model.TestOrder  testOrder  = testOrderCollection.Get(stainresult.TestOrderId);
                YellowstonePathology.Business.Test.Model.GradedTest gradedTest = YellowstonePathology.Business.Test.Model.TestCollectionInstance.GetClone(testOrder.TestId) as YellowstonePathology.Business.Test.Model.GradedTest;
                if (gradedTest != null)
                {
                    result.Add(stainresult);
                }
            }
            return(result);
        }
Ejemplo n.º 3
0
        public StainResultItemCollection GetMultiplexStains(YellowstonePathology.Business.Test.Model.TestOrderCollection testOrderCollection)
        {
            StainResultItemCollection result = new StainResultItemCollection();

            foreach (StainResultItem stainresult in this)
            {
                if (stainresult.StainType == "Immunohistochemical" && stainresult.ClientAccessioned == false)
                {
                    YellowstonePathology.Business.Test.Model.TestOrder testOrder = testOrderCollection.Get(stainresult.TestOrderId);
                    if (testOrder.OrderedAsDual == true)
                    {
                        result.Add(stainresult);
                    }
                }
            }
            return(result);
        }