public SummarizedAlertDto(ServiceAnalysis.summarizedAlert alert) { this.AllergiesAlert = SummarizedAllergyAlertDtoHelper.wsToSummarizedAllergyAlertDto(alert.allergiesAlert); this.ContraIndicationsAlert = SummarizedContraIndicationAlertDtoHelper.wsToSummarizedContraIndicationAlertDto(alert.contraIndicationsAlert); this.InteractionsAlert = SummarizedInteractionAlertDtoHelper.wsToSummarizedInteractionAlertDto(alert.interactionsAlert); this.PhysicoChemicalAlert = SummarizedPhysicoChemicalAlertDtoHelper.wsToSummarizedPhysicoChemicalAlertDto(alert.physicoChemicalAlert); this.PosologyAlert = SummarizedPosologyAlertDtoHelper.wsToSummarizedPosologyAlertDto(alert.posologyAlert); this.PrecautionsAlert = SummarizedPrecautionAlertDtoHelper.wsToSummarizedPrecautionAlertDto(alert.precautionsAlert); this.RedundantInteractionsAlert = SummarizedRedundantInteractionAlertDtoHelper.wsToSummarizedRedundantInteractionAlertDto(alert.redundantInteractionsAlert); }
public SummarizedAlertDto(VidalAPI.Domain.SummarizedAlert alert) { this.AllergiesAlert = SummarizedAllergyAlertDtoHelper.nativeToSummarizedAllergyAlertDto(alert.AllergiesAlert); this.ContraIndicationsAlert = SummarizedContraIndicationAlertDtoHelper.nativeToSummarizedContraIndicationAlertDto(alert.ContraIndicationsAlert); this.InteractionsAlert = SummarizedInteractionAlertDtoHelper.nativeToSummarizedInteractionAlertDto(alert.InteractionsAlert); this.PhysicoChemicalAlert = SummarizedPhysicoChemicalAlertDtoHelper.nativeToSummarizedPhysicoChemicalAlertDto(alert.PhysicoChemicalAlert); this.PosologyAlert = SummarizedPosologyAlertDtoHelper.nativeToSummarizedPosologyAlertDto(alert.PosologyAlert); this.PrecautionsAlert = SummarizedPrecautionAlertDtoHelper.nativeToSummarizedPrecautionAlertDto(alert.PrecautionsAlert); this.RedundantInteractionsAlert = SummarizedRedundantInteractionAlertDtoHelper.nativeToSummarizedRedundantInteractionAlertDto(alert.RedundantInteractionsAlert); }