public PrescriptionLineAnalysisDto(VidalAPI.Domain.PrescriptionLineAnalysis line)
 {
     this.AlertList = AlertDtoHelper.vidalToAlertDtoList(line.AlertList);
     this.Dose = line.Dose;
     this.Drug = line.Drug != null ? new SummarizedDrugDto(line.Drug) : null;
     this.Dur = line.Dur;
     this.DurUnit = DurationTypeDtoHelper.vidalToDto(line.DurUnit);
     this.PosologyFrequency = PosologyFrequencyTypeDtoHelper.nativeToPosologyFrequencyTypeDto(line.PosologyFrequency);
     this.Unit = line.Unit;
 }
 public PrescriptionLineAnalysisDto(ServiceAnalysis.prescriptionLineAnalysis line)
 {
     this.AlertList = AlertDtoHelper.vidalToAlertDtoList(line.alertList);
     this.Dose = line.dose;
     this.Drug = line.drug != null ? new SummarizedDrugDto(line.drug) : null;
     this.Dur = line.dur;
     this.DurUnit = DurationTypeDtoHelper.vidalToDto(line.durUnit);
     this.PosologyFrequency = PosologyFrequencyTypeDtoHelper.wsToPosologyFrequencyTypeDto(line.posologyFrequency);
     this.Unit = line.unit;
 }