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.

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

Syntax

C#
public static HL7Field CreateField(
	string fieldType,
	HL7Toolkit..::..HL7Version version
)
Visual Basic
Public Shared Function CreateField ( _
	fieldType As String, _
	version As HL7Toolkit..::..HL7Version _
) As HL7Field
Visual C++
public:
static HL7Field^ CreateField(
	String^ fieldType, 
	HL7Toolkit..::..HL7Version version
)

Parameters

fieldType
Type: System..::..String
The HL7 data type of the field.
version
Type: Mergecom.HL7..::..HL7Toolkit..::..HL7Version
The HL7 version of the field.

Return Value

An empty HL7Field or HL7Field derived object.

See Also