예제 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="severity">The level of severity of this medical alert.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;MedicalAlertMessage&amp;gt; element</param>
 ///
 public MedicalAlertMessage( MedicalAlertMessageSeverity severity, string value )
     : base(StudentDTD.MEDICALALERTMESSAGE)
 {
     this.SetSeverity( severity );
     this.Value = value;
 }
예제 #2
0
 /// <summary>
 /// Sets the value of the <c>Severity</c> attribute.
 /// </summary>
 /// <param name="val">A MedicalAlertMessageSeverity object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The level of severity of this medical alert."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetSeverity( MedicalAlertMessageSeverity val )
 {
     SetField( StudentDTD.MEDICALALERTMESSAGE_SEVERITY, val );
 }
예제 #3
0
 /// <summary>
 /// Sets the value of the <c>Severity</c> attribute.
 /// </summary>
 /// <param name="val">A MedicalAlertMessageSeverity object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The level of severity of this medical alert."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetSeverity(MedicalAlertMessageSeverity val)
 {
     SetField(StudentDTD.MEDICALALERTMESSAGE_SEVERITY, val);
 }
예제 #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="severity">The level of severity of this medical alert.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;MedicalAlertMessage&amp;gt; element</param>
 ///
 public MedicalAlertMessage(MedicalAlertMessageSeverity severity, string value) : base(StudentDTD.MEDICALALERTMESSAGE)
 {
     this.SetSeverity(severity);
     this.Value = value;
 }
예제 #5
0
 ///<summary>Adds the value of the <c>&lt;MedicalAlertMessage&gt;</c> element.</summary>
 /// <param name="Severity">The level of severity of this medical alert.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;MedicalAlertMessage&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setMedicalAlertMessage</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddMedicalAlertMessage</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddMedicalAlertMessage(MedicalAlertMessageSeverity Severity, string Value)
 {
     AddChild(StudentDTD.MEDICALALERTMESSAGES_MEDICALALERTMESSAGE, new MedicalAlertMessage(Severity, Value));
 }