예제 #1
0
 public NumberOfDosesDto(VidalAPI.Domain.NumberOfDoses doses)
 {
     this.AbsoluteDurationRange = doses.AbsoluteDurationRange!=null?new DurationRangeDto(doses.AbsoluteDurationRange):null;
     this.Alerts = SimplePosologyAlertDtoHelper.vidalToRouteDtoList(doses.Alerts);
     this.MaxAbsoluteNumberOfDose =doses.MaxAbsoluteNumberOfDose!=null?new NumberOfDoseDto(doses.MaxAbsoluteNumberOfDose):null;
     this.Routes = RouteDtoHelper.vidalToRouteDtoList(doses.Routes);
     this.UsualDurationRange = doses.UsualDurationRange!=null?new DurationRangeDto(doses.UsualDurationRange):null;
     this.UsualNumberOfDoseRange = doses.UsualNumberOfDoseRange!=null?new NumberOfDoseRangeDto(doses.UsualNumberOfDoseRange):null;
 }
예제 #2
0
 public NumberOfDoseRangeDto(VidalAPI.Domain.NumberOfDoseRange range)
 {
     this.Max = range.Max!=null?new NumberOfDoseDto(range.Max):null;
     this.Min = range.Min!=null?new NumberOfDoseDto(range.Min):null;
 }
예제 #3
0
 public NumberOfDoseRangeDto(ServicePoso.numberOfDoseRange range)
 {
     this.Max = range.max!=null?new NumberOfDoseDto(range.max):null;
     this.Min = range.min!=null?new NumberOfDoseDto(range.min):null;
 }