Struct Objective
Represents a clinical goal objective.
Implements
System.Xml.Serialization.IXmlSerializable
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: VMS.TPS.Common.Model.Types
Assembly: VMS.TPS.Common.Model.Types.dll
Syntax
public struct Objective
Constructors
Objective(ObjectiveGoalType, Double, ObjectiveUnit, ObjectiveOperator, Double, ObjectiveUnit)
Clinical Goal Objective constructor
Declaration
public Objective(ObjectiveGoalType type, double value, ObjectiveUnit valueUnit, ObjectiveOperator oper, double limit, ObjectiveUnit limitUnit)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectiveGoalType | type | Objective type. |
| System.Double | value | Objective value. |
| ObjectiveUnit | valueUnit | Value unit. |
| ObjectiveOperator | oper | Operator. |
| System.Double | limit | Limit. |
| ObjectiveUnit | limitUnit | Limit unit. |
Properties
Limit
Objective limit
Declaration
public readonly double Limit { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
LimitUnit
Objective limit unit
Declaration
public readonly ObjectiveUnit LimitUnit { get; }
Property Value
| Type | Description |
|---|---|
| ObjectiveUnit |
Operator
Objective operator
Declaration
public readonly ObjectiveOperator Operator { get; }
Property Value
| Type | Description |
|---|---|
| ObjectiveOperator |
Type
Objective type
Declaration
public readonly ObjectiveGoalType Type { get; }
Property Value
| Type | Description |
|---|---|
| ObjectiveGoalType |
Value
Objective value
Declaration
public readonly double Value { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
ValueUnit
Objective value
Declaration
public readonly ObjectiveUnit ValueUnit { get; }
Property Value
| Type | Description |
|---|---|
| ObjectiveUnit |
Methods
GetSchema()
This member is internal to the Eclipse Scripting API.
Declaration
public XmlSchema GetSchema()
Returns
| Type | Description |
|---|---|
| System.Xml.Schema.XmlSchema | XmlSchema. |
ReadXml(XmlReader)
This member is internal to the Eclipse Scripting API.
Declaration
public void ReadXml(XmlReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Xml.XmlReader | reader | XmlReader. |
WriteXml(XmlWriter)
Serialization support. TODO: Convert unit and operator to human form.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Xml.XmlWriter | writer | The System.Xml.XmlWriter stream to which the object is serialized. |
Implements
System.Xml.Serialization.IXmlSerializable