/// <summary> /// Copys the values of a specified drug attribute. /// </summary> /// <param name="drugAttribute">The drug attribute to copy.</param> public void Copy(DrugElement drugAttribute) { this.Value = drugAttribute.Value; this.ValidBrands = drugAttribute.ValidBrands; this.ValidDosages = drugAttribute.ValidDosages; this.ValidDoseDurations = drugAttribute.ValidDoseDurations; this.ValidForms = drugAttribute.ValidForms; this.ValidFrequencies = drugAttribute.ValidFrequencies; this.ValidRoutes = drugAttribute.ValidRoutes; this.ValidStrengths = drugAttribute.ValidStrengths; this.ValidVolumes = drugAttribute.ValidVolumes; this.Description = drugAttribute.Description; }
/// <summary> /// Initializes a new instance of the Strength class with a drug attribute to copy. /// </summary> /// <param name="drugAttribute">The drug attribute to copy.</param> public Strength(DrugElement drugAttribute) { this.Copy(drugAttribute); }
/// <summary> /// Initializes a new instance of the Dose class with a drug attribute to copy. /// </summary> /// <param name="drugAttribute">The drug attribute to copy.</param> public Dose(DrugElement drugAttribute) { this.Copy(drugAttribute); }
/// <summary> /// Initializes a new instance of the AdministrationTimes class with a drug attribute to copy. /// </summary> /// <param name="drugAttribute">The drug attribute to copy.</param> public AdministrationTimes(DrugElement drugAttribute) { this.Copy(drugAttribute); }
/// <summary> /// Initializes a new instance of the Form class with a drug attribute to copy. /// </summary> /// <param name="drugAttribute">The drug attribute to copy.</param> public Form(DrugElement drugAttribute) { this.Copy(drugAttribute); }
/// <summary> /// Initializes a new instance of the Frequency class with a drug attribute to copy. /// </summary> /// <param name="drugAttribute">The drug attribute to copy.</param> public Frequency(DrugElement drugAttribute) { this.Copy(drugAttribute); }