public static PhysicianClientDistribution GetPhysicianClientDistribution(string distributionType)
 {
     PhysicianClientDistribution physicianClientDistribution = null;
     switch (distributionType)
     {
         case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.FAX:
             physicianClientDistribution = new FaxPhysicianClientDistribution();
             break;
         case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.ECW:
             physicianClientDistribution = new ECWPhysicianClientDistribution();
             break;
         case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.ATHENA:
             physicianClientDistribution = new AthenaPhysicianClientDistribution();
             break;
         case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.EPIC:
             physicianClientDistribution = new EPICPhysicianClientDistribution();
             break;
         case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.MEDITECH:
             physicianClientDistribution = new MediTechPhysicianClientDistribution();
             break;
         case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.EPICANDFAX:
             physicianClientDistribution = new EPICAndFaxPhysicianClientDistribution();
             break;
         default:
             physicianClientDistribution = new PhysicianClientDistribution();
             break;
     }
     return physicianClientDistribution;
 }
 public virtual void From(PhysicianClientDistribution physicianClientDistribution)
 {
     this.m_ClientId         = physicianClientDistribution.m_ClientId;
     this.m_ClientName       = physicianClientDistribution.m_ClientName;
     this.m_PhysicianId      = physicianClientDistribution.m_PhysicianId;
     this.m_PhysicianName    = physicianClientDistribution.m_PhysicianName;
     this.m_LongDistance     = physicianClientDistribution.LongDistance;
     this.m_FaxNumber        = physicianClientDistribution.FaxNumber;
     this.m_DistributionType = physicianClientDistribution.DistributionType;
 }
        public static PhysicianClientDistribution GetPhysicianClientDistribution(string distributionType)
        {
            PhysicianClientDistribution physicianClientDistribution = null;

            switch (distributionType)
            {
            case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.FAX:
                physicianClientDistribution = new FaxPhysicianClientDistribution();
                break;

            case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.ECW:
                physicianClientDistribution = new ECWPhysicianClientDistribution();
                break;

            case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.ATHENA:
                physicianClientDistribution = new AthenaPhysicianClientDistribution();
                break;

            case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.EPIC:
                physicianClientDistribution = new EPICPhysicianClientDistribution();
                break;

            case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.MEDITECH:
                physicianClientDistribution = new MediTechPhysicianClientDistribution();
                break;

            case YellowstonePathology.Business.ReportDistribution.Model.DistributionType.EPICANDFAX:
                physicianClientDistribution = new EPICAndFaxPhysicianClientDistribution();
                break;

            default:
                physicianClientDistribution = new PhysicianClientDistribution();
                break;
            }
            return(physicianClientDistribution);
        }
 public virtual void From(PhysicianClientDistribution physicianClientDistribution)
 {
     this.m_ClientId = physicianClientDistribution.m_ClientId;
     this.m_ClientName = physicianClientDistribution.m_ClientName;
     this.m_PhysicianId = physicianClientDistribution.m_PhysicianId;
     this.m_PhysicianName = physicianClientDistribution.m_PhysicianName;
     this.m_LongDistance = physicianClientDistribution.LongDistance;
     this.m_FaxNumber = physicianClientDistribution.FaxNumber;
     this.m_DistributionType = physicianClientDistribution.DistributionType;
 }
Пример #5
0
 public override void From(PhysicianClientDistribution physicianClientDistribution)
 {
     base.From(physicianClientDistribution);
     this.m_DistributionType = YellowstonePathology.Business.ReportDistribution.Model.DistributionType.FAX;
 }
 public override void From(PhysicianClientDistribution physicianClientDistribution)
 {
     base.From(physicianClientDistribution);
     this.m_DistributionType = YellowstonePathology.Business.ReportDistribution.Model.DistributionType.ECW;
 }