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;
 }
Exemplo n.º 3
0
 public NumberOfDoseDto(VidalAPI.Domain.NumberOfDose nod)
 {
     this.Type = PosologyFrequencyTypeDtoHelper.nativeToPosologyFrequencyTypeDto(nod.Type);
     this.Unit = PosologyUnitDtoHelper.vidalToDto(nod.Unit);
     this.Value = nod.Value;
 }
Exemplo n.º 4
0
 public NumberOfDoseDto(ServicePoso.numberOfDose nod)
 {
     this.Type = PosologyFrequencyTypeDtoHelper.wsToPosologyFrequencyTypeDto(nod.type);
     this.Unit = PosologyUnitDtoHelper.vidalToDto(nod.unit);
     this.Value = nod.value;
 }