public static PhysicianClientDistributionListItem GetPhysicianClientDistribution(string distributionType)
 {
     PhysicianClientDistributionListItem 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 PhysicianClientDistributionListItem();
             break;
     }
     return physicianClientDistribution;
 }
Exemple #2
0
 public virtual void From(PhysicianClientDistributionListItem 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_FaxNumber        = physicianClientDistribution.FaxNumber;
     this.m_DistributionType = physicianClientDistribution.DistributionType;
 }
        public static PhysicianClientDistributionListItem GetPhysicianClientDistribution(string distributionType)
        {
            PhysicianClientDistributionListItem 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 PhysicianClientDistributionListItem();
                break;
            }
            return(physicianClientDistribution);
        }
 public override void From(PhysicianClientDistributionListItem physicianClientDistribution)
 {
     base.From(physicianClientDistribution);
     this.m_DistributionType = YellowstonePathology.Business.ReportDistribution.Model.DistributionType.ATHENA;
 }
 public virtual void From(PhysicianClientDistributionListItem 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 override void From(PhysicianClientDistributionListItem physicianClientDistribution)
 {
     base.From(physicianClientDistribution);
     this.m_DistributionType = YellowstonePathology.Business.ReportDistribution.Model.DistributionType.ECW;
 }