/// <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 &lt;MedicalAlertMessage&gt; element</param> /// public MedicalAlertMessage( Severity severity, string value ) : base(StudentDTD.MEDICALALERTMESSAGE) { this.SetSeverity( severity ); this.Value = value; }
/// <summary> /// Sets the value of the <c>Severity</c> attribute. /// </summary> /// <param name="val">A Severity 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.3</para> /// </remarks> public void SetSeverity( Severity val ) { SetField( StudentDTD.MEDICALALERTMESSAGE_SEVERITY, val ); }