public WomensHealthProfileTestOrder(string masterAccessionNo, string reportNo, string objectId,
			YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
            YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
			bool distribute)
            : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
        {
            this.m_AssignedToId = 5051;

            YellowstonePathology.Business.Client.Model.ReflexOrderNone reflexOrderNone = new YellowstonePathology.Business.Client.Model.ReflexOrderNone();
            this.m_HPVReflexOrderCode = reflexOrderNone.ReflexOrderCode;
            this.m_HPV1618ReflexOrderCode = reflexOrderNone.ReflexOrderCode;

            YellowstonePathology.Business.Client.Model.StandingOrderNotSet standingOrderNotSet = new YellowstonePathology.Business.Client.Model.StandingOrderNotSet();
            this.m_HPVStandingOrderCode = standingOrderNotSet.StandingOrderCode;
            this.m_HPV1618StandingOrderCode = standingOrderNotSet.StandingOrderCode;
        }
예제 #2
0
        public WomensHealthProfileTestOrder(string masterAccessionNo, string reportNo, string objectId,
                                            YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet,
                                            YellowstonePathology.Business.Interface.IOrderTarget orderTarget,
                                            bool distribute)
            : base(masterAccessionNo, reportNo, objectId, panelSet, orderTarget, distribute)
        {
            this.m_AssignedToId = 5051;

            YellowstonePathology.Business.Client.Model.ReflexOrderNone reflexOrderNone = new YellowstonePathology.Business.Client.Model.ReflexOrderNone();
            this.m_HPVReflexOrderCode     = reflexOrderNone.ReflexOrderCode;
            this.m_HPV1618ReflexOrderCode = reflexOrderNone.ReflexOrderCode;

            YellowstonePathology.Business.Client.Model.StandingOrderNotSet standingOrderNotSet = new YellowstonePathology.Business.Client.Model.StandingOrderNotSet();
            this.m_HPVStandingOrderCode     = standingOrderNotSet.StandingOrderCode;
            this.m_HPV1618StandingOrderCode = standingOrderNotSet.StandingOrderCode;
        }
 public override void Run()
 {
     YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTest womensHealthProfileTest = new YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTest();
     if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(womensHealthProfileTest.PanelSetId) == true)
     {
         YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder womensHealthProfileTestOrder = (YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(womensHealthProfileTest.PanelSetId);
         YellowstonePathology.Business.Client.Model.StandingOrderNotSet standingOrderNotSet = new YellowstonePathology.Business.Client.Model.StandingOrderNotSet();
         if (womensHealthProfileTestOrder.HPVStandingOrderCode == standingOrderNotSet.StandingOrderCode)
         {
             this.m_Message.AppendLine("Womens Health Profile HPV Standing Order Code is Not Set.");
             this.m_ActionRequired = true;
         }
         if (womensHealthProfileTestOrder.HPV1618StandingOrderCode == standingOrderNotSet.StandingOrderCode)
         {
             this.m_Message.AppendLine("Womens Health Profile HPV 16/18 Standing Order Code is Not Set.");
             this.m_ActionRequired = true;
         }
     }
 }
 public override void Run()
 {
     YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTest womensHealthProfileTest = new YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTest();
     if (this.m_AccessionOrder.PanelSetOrderCollection.Exists(womensHealthProfileTest.PanelSetId) == true)
     {
         YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder womensHealthProfileTestOrder = (YellowstonePathology.Business.Test.WomensHealthProfile.WomensHealthProfileTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(womensHealthProfileTest.PanelSetId);
         YellowstonePathology.Business.Client.Model.StandingOrderNotSet standingOrderNotSet = new YellowstonePathology.Business.Client.Model.StandingOrderNotSet();
         if (womensHealthProfileTestOrder.HPVStandingOrderCode == standingOrderNotSet.StandingOrderCode)
         {
             this.m_Message.AppendLine("Womens Health Profile HPV Standing Order Code is Not Set.");
             this.m_ActionRequired = true;
         }
         if (womensHealthProfileTestOrder.HPV1618StandingOrderCode == standingOrderNotSet.StandingOrderCode)
         {
             this.m_Message.AppendLine("Womens Health Profile HPV 16/18 Standing Order Code is Not Set.");
             this.m_ActionRequired = true;
         }
     }
 }