Click or drag to resize

EdiFabric.Core.Annotations.Validation Namespace

 
Classes
 ClassDescription
Public classCode exampleConditionalAnyAttribute EDI DOM validation attribute for conditional data elements. Used for HIPAA SNIP Type 4. If the annotated EDI data element is not null then at least one of the EDI data elements at the specified positions must also be not null. The attribute is applied to only one of the EDI data elements included in the condition.
Public classCode exampleConditionalAttribute EDI DOM validation attribute for conditional EDI data elements. Used for HIPAA SNIP Type 4. If the annotated EDI data element is not null then all elements at the specified positions must also be not null.
Public classDataElementAttribute EDI DOM validation attribute for data elements data type. Validates X12 DT, X12 AN, X12 TM, X12 N, X12 R, EDIFACT A, EDIFACT AN, EDIFACT N, TELCO_DT, TELCO_TM, TELCO_AN, TELCO_D, TELCO_N Validates EDI code sets and EDI qualifiers Validates HIPAA D8 and HIPAA RD8 Alphabetic or alphanumeric types are validated only if a syntax set is provided. The available syntax sets are: EDIFACT UNOA EDIFACT UNOB X12 Basic X12 Extended TELCO Default
Public classCode exampleExclusionAttribute EDI DOM validation attribute for excluded EDI data elements. Used for HIPAA SNIP Type 4. Only one of the EDI data elements at the specified positions and the annotated data element altogether, must be not null.
Public classCode exampleExclusionIfAttribute EDI DOM validation attribute for exclusion if EDI data elements. Used for HIPAA SNIP Type 4. When the element at the specified position is equal to one of the specified codes, then the annotated element must be null.
Public classListCountAttribute EDI DOM validation attribute for lists. Sets the allowed minimum and maximum number of items in the list. Used for repeating EDI loops, EDI segments, EDI composite data elements, EDI component data elements and EDI data elements. Can only be applied to properties of generic List type.
Public classNotUsedAttribute EDI DOM validation attribute for data elements marked as "Not Used". When a "Not Used" data element's value is not null, it is marked as a validation error.
Public classCode examplePairedAttribute EDI DOM validation attribute for paired data elements. Used for HIPAA SNIP Type 4. If any of the elements at the specified positions or the annotated element is not null, then all the elements at the specified positions and the annotated element must be not null. It is applied to only one of all the paired items.
Public classCode exampleRequiredAnyAttribute EDI DOM validation attribute for required any EDI data elements. Used for HIPAA SNIP Type 4. At least one of the elements at the specified positions or the annotated element must be not null.
Public classRequiredAttribute EDI DOM validation attribute for mandatory items. Validates if the EDI item (EDI loop, EDI segment, EDI composite data element or EDI data element) is not null.
Public classCode exampleRequiredIfAttribute EDI DOM validation attribute for required if EDI data elements. Used for HIPAA SNIP Type 4. When the element at the specified position is equal to one of the specified codes, then the annotated element must be not null.
Public classSeqCountAttribute EDI DOM validation attribute for implied sequences. Check that the value at the specified position in each item in the list is correct. For example, in LX loops, checks that the values in the first data element, are 1, 2, 3 etc. Can only be applied to properties of generic List type.
Public classStringLengthAttribute EDI DOM validation attribute for the correct length of data elements. The range in which the data element length is considered valid according to the EDI rule. Counts empty spaces. For data elements of type X12 N, X12 R or EDIFACT N, decimal points and minus sign are excluded.
Public classValidationAttribute EDI DOM abstract attribute for validation. Every EDI validation attribute inherits from this class. The priority parameter specifies the order in which validation occurs for items annotated with multiple validation attributes.
Public classValidationContext The currently validated item in the DOM tree. Provides the instance, its parent in the DOM tree and the reflected property. Provides the position indexes of the item within the message, segment and composite element. Provides the index of the repetition of the item. Provides the syntax set of the item which can be used for data type validation.