Click or drag to resize

ExclusionAttribute Class

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.
Inheritance Hierarchy

Namespace:  EdiFabric.Core.Annotations.Validation
Assembly:  EdiFabric (in EdiFabric.dll) Version: 10.4.1.0 (10.4.1.0)
Syntax
public class ExclusionAttribute : ValidationAttribute

The ExclusionAttribute type exposes the following members.

Constructors
  NameDescription
Public methodExclusionAttribute
Initializes a new instance of the ExclusionAttribute class.
Top
Properties
  NameDescription
Public propertyPositions
The positions of the excluded data elements.
Top
Methods
  NameDescription
Public methodValidateEdi
Detects if an EDI data element is valid according to its condition.
(Overrides ValidationAttributeValidateEdi(ValidationContext).)
Top
Examples
In N4 segment either AmbulanceDropoffStateorProvinceCode_02 or CountrySubdivisionCode_07 can exist but not both.
See Also