Beispiel #1
0
 /// <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;
 }
Beispiel #2
0
 /// <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);
 }
Beispiel #3
0
 /// <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);
 }
Beispiel #4
0
 /// <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);
 }
Beispiel #5
0
 /// <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);
 }
Beispiel #6
0
 /// <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);
 }
Beispiel #7
0
 /// <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);
 }
Beispiel #8
0
 /// <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);
 }