The HL7Field type exposes the following members.

Methods

  NameDescription
Protected methodCheckIndex
Verifies the component index for a correct range and throws an if the index is not between 1 and MaxSize
Public methodCreateCopy
Creates a copy of this field. If this field has components each component is cloned separately. The class of the returned object is determined by the CreateField(String, HL7Toolkit..::..HL7Version) method.
Public methodStatic memberCreateField(String)
Creates a specific type of field object. If there is no class registered for the specified data type this method creates a HL7Field, base type object. The version of the HL7Field is determined by the default HL7 Version set by the DEFAULT_HL7_VERSION parameter
Public methodStatic memberCreateField(String, HL7Toolkit..::..HL7Version)
Creates a specific type of field object. If there is no class registered for the specified data type this method creates a HL7Field, base type object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBoolValue
Gets the value of this field as a bool. If this field has components the value of the first component is returned.
Public methodGetComponent
Gets a component of this field.
Public methodGetComponentDescription
Gets the description of a component in this field.
Public methodGetComponentLength
Gets the maximum number of characters for a component in this field.
Public methodGetComponentType
Gets the HL7 data type of a component in this field.
Public methodGetContent()()()()
Provides the HL7 encoded representation of the value in this field using the default separators.
Public methodGetContent(Boolean)
Provides the HL7 encoded representation of the value in this field using the default separators.
Public methodGetContent(HL7MessageConfiguration, Boolean)
Provides the HL7 encoded representation of the value in this field using the default separators.
Public methodGetDateValue
Gets the value of TM, DTM and DT type fields.
Public methodGetDoubleValue
Gets the value of double type fields.
Public methodStatic memberGetFieldFormatter
Gets the current field formatter used by the toolkit. The default field formatter implements escaping and un-escaping of the separator characters in FT,TX and CF field values.
Public methodgetFieldName
Gets the full name of the field
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodgetHL7Version
Get the HL7 version of this field
Public methodGetIntValue
Gets the value of integer type fields.
Public methodGetTableNo
Gets the table identifier of a component in this field.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue()()()()
Gets the value of this field. If the field has components, this method returns the value of the first component.
Public methodGetValue(Int32)
Gets the value of a component in this field. If this field does not have components and the index is 1, this method return the value of the field.
Public methodIsComponentMandatory
Tells whether a component is mandatory.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetComponent
Sets a component of this field.
Public methodSetContent(String)
Sets the value of this field from an HL7 encoded representation using the default separators.
Public methodSetContent(String, HL7MessageConfiguration, Boolean)
Sets the value of this field from an HL7 encoded representation.
Public methodStatic memberSetFieldClass
Registers an HL7Field derived class as the handler for the specified HL7 data type.
Public methodStatic memberSetFieldFormatter
Sets the field formatter that will be used by the toolkit.
Public methodSetValue(Boolean)
Sets the value of this field to "Y" or "N" as specified by the Yes/No table indicator (0136) in section 2.24.23.1.
Public methodSetValue(DateTime%)
Sets the value for TM, TS and DT type fields.
Public methodSetValue(Double)
Sets the value of this field. If this field has more than one component, this method sets the value of the first component.
Public methodSetValue(Int32)
Sets the value of this field. If this field has more than one component, this method sets the value of the first component.
Public methodSetValue(String)
Sets the value of this field. If this field has more than one component, this method sets the value of the first component.
Public methodSetValue(DateTime%, Int32)
Sets the value for TM, DTM and DT type fields.
Public methodSetValue(Int32, Double)
Sets the value of a component of this field.
Public methodSetValue(Int32, Int32)
Sets the value of a component of this field.
Public methodSetValue(Int32, String)
Sets the value of a component of this field.
Public methodToAnnotatedString()()()()
Provides an easy readable representation of this field.
Public methodToAnnotatedString(Int32, Int32)
Provides an easy readable representation of this field.
Public methodToString
Returns a string description of this instance.
(Overrides Object..::..ToString()()()().)

See Also