/// <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;MedicalAlertMsg&gt; element</param> /// public MedicalAlertMsg(MedicalAlertMsgSeverity severity, string value) : base(CommonDTD.MEDICALALERTMSG) { this.SetSeverity(severity); this.Value = value; }
/// <summary> /// Sets the value of the <c>Severity</c> attribute. /// </summary> /// <param name="val">A MedicalAlertMsgSeverity 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(MedicalAlertMsgSeverity val) { SetField(CommonDTD.MEDICALALERTMSG_SEVERITY, val); }
/// <summary> /// Sets the value of the <c>Severity</c> attribute. /// </summary> /// <param name="val">A MedicalAlertMsgSeverity 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( MedicalAlertMsgSeverity val ) { SetField( CommonDTD.MEDICALALERTMSG_SEVERITY, val ); }
/// <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;MedicalAlertMsg&gt; element</param> /// public MedicalAlertMsg( MedicalAlertMsgSeverity severity, string value ) : base(CommonDTD.MEDICALALERTMSG) { this.SetSeverity( severity ); this.Value = value; }
///<summary>Adds the value of the <c><MedicalAlertMsg></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 &lt;MedicalAlertMsg&gt; element</param> ///<remarks> /// <para>This form of <c>setMedicalAlertMsg</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddMedicalAlertMsg</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void AddMedicalAlertMsg(MedicalAlertMsgSeverity Severity, string Value) { AddChild(CommonDTD.MEDICALALERTMSGLIST_MEDICALALERTMSG, new MedicalAlertMsg(Severity, Value)); }