Click or drag to resize

HL7_ANValidate Method

Validates the attribute data element according to this type.

Namespace:  EdiFabric.Core.Model.Hl7
Assembly:  EdiFabric (in EdiFabric.dll) Version: 10.4.1.0 (10.4.1.0)
Syntax
public static DataElementErrorContext Validate(
	string value,
	ValidationContext validationContext,
	string code,
	SyntaxSet regex
)

Parameters

value
Type: SystemString
The value to validate.
validationContext
Type: EdiFabric.Core.Annotations.ValidationValidationContext
The validation context.
code
Type: SystemString
The data element code.
regex
Type: EdiFabric.Core.Model.EdiSyntaxSet
The regex expression to override the generic type validation.

Return Value

Type: DataElementErrorContext
The result as a DataElementErrorContext
See Also