public ProstateNeedleCoreTemplate()
        {
            this.m_TemplateName = "Prostate Needle Core";
            this.m_Text = "[identifier] and consists of [number] tan-pink cylindrical tissue fragments measuring [measurement].  " +
                "The specimen is entirely submitted in cassette [cassettelabel].  ";

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ProstateNeedleBiopsy nb = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ProstateNeedleBiopsy();
            this.m_SpecimenCollection.Add(nb);
        }
Пример #2
0
        public static bool IsMedicareProstateNeedleBiopsy(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
        {
            bool result = false;

            YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);
            if (panelSetOrder.PanelSetId == 13)
            {
                if (accessionOrder.PrimaryInsurance == "Medicare")
                {
                    YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ProstateNeedleBiopsy prostateNeedleBiopsy = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ProstateNeedleBiopsy();
                    foreach (YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder in accessionOrder.SpecimenOrderCollection)
                    {
                        if (specimenOrder.SpecimenId == prostateNeedleBiopsy.SpecimenId)
                        {
                            result = true;
                            break;
                        }
                    }
                }
            }
            return(result);
        }
        public ProstateNeedleCoreTemplate()
        {
            this.m_TemplateName = "Prostate Needle Core";
            this.m_Text         = "[identifier] and consists of [number] tan-pink cylindrical tissue fragments measuring [measurement].  " +
                                  "The specimen is entirely submitted in cassette [cassettelabel].  ";

            YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ProstateNeedleBiopsy nb = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ProstateNeedleBiopsy();
            this.m_SpecimenCollection.Add(nb);
        }
 public static bool IsMedicareProstateNeedleBiopsy(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
 {
     bool result = false;
     YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);
     if (panelSetOrder.PanelSetId == 13)
     {
         if (accessionOrder.PrimaryInsurance == "Medicare")
         {
             YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ProstateNeedleBiopsy prostateNeedleBiopsy = new YellowstonePathology.Business.Specimen.Model.SpecimenDefinition.ProstateNeedleBiopsy();
             foreach (YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder in accessionOrder.SpecimenOrderCollection)
             {
                 if (specimenOrder.SpecimenId == prostateNeedleBiopsy.SpecimenId)
                 {
                     result = true;
                     break;
                 }
             }
         }
     }
     return result;
 }