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

Namespace:  Mergecom.HL7
Assembly:  Mergecom.HL7 (in Mergecom.HL7.dll) Version: 4.2.0.0

Syntax

C#
public static HL7Field CreateField(
	string fieldType
)
Visual Basic (Declaration)
Public Shared Function CreateField ( _
	fieldType As String _
) As HL7Field
Visual C++
public:
static HL7Field^ CreateField(
	String^ fieldType
)

Parameters

fieldType
Type: System..::.String
The HL7 data type of the field

Return Value

An empty HL7Field or HL7Field derived object.

See Also