コード例 #1
0
ファイル: DrugElement.cs プロジェクト: odnodn/mscui
 /// <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;
 }
コード例 #2
0
ファイル: Strength.cs プロジェクト: rbirkby/mscui
 /// <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);
 }
コード例 #3
0
ファイル: Dose.cs プロジェクト: rbirkby/mscui
 /// <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);
 }
コード例 #4
0
ファイル: AdministrationTimes.cs プロジェクト: rbirkby/mscui
 /// <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);
 }
コード例 #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);
 }
コード例 #6
0
ファイル: Form.cs プロジェクト: rbirkby/mscui
 /// <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);
 }
コード例 #7
0
ファイル: Frequency.cs プロジェクト: rbirkby/mscui
 /// <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);
 }
コード例 #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);
 }