Exemplo n.º 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;MedicalAlertMsg&amp;gt; element</param>
 ///
 public MedicalAlertMsg(MedicalAlertMsgSeverity severity, string value) : base(CommonDTD.MEDICALALERTMSG)
 {
     this.SetSeverity(severity);
     this.Value = value;
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <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 );
 }
Exemplo n.º 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;MedicalAlertMsg&amp;gt; element</param>
 ///
 public MedicalAlertMsg( MedicalAlertMsgSeverity severity, string value )
     : base(CommonDTD.MEDICALALERTMSG)
 {
     this.SetSeverity( severity );
     this.Value = value;
 }
Exemplo n.º 5
0
 ///<summary>Adds the value of the <c>&lt;MedicalAlertMsg&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;MedicalAlertMsg&amp;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));
 }