Section:

HIPAAsuite.AuroraWinFormsControlsLibrary

Class

Class Reference

18 Items

Type Description
Provides a UI editor for definitions used by the deidentifier.
Detailed Remarks
The control maintains two grids: criteria that identify a segment and target rules that describe which elements to redact or replace. Changes are surfaced through so callers can persist or validate updates. Value list and generator selectors are populated from to keep the UI aligned with available built-in and discovered options.
Usage Example
var control = new DeIdentifierSegmentRuleControl
{
    SegmentRule = new SegmentRule
    {
        SegmentId = "NM1",
        Description = "Identify subscribers",
        Criteria = new List<ElementCriterion>
        {
            new ElementCriterion(1, "IL")
        },
        Targets = new List<TargetElementRule>
        {
            new TargetElementRule
            {
                ElementPosition = 9,
                Condition = TargetCondition.Always,
                Replacement = new ReplacementStrategy
                {
                    Type = ReplacementType.RandomGenerator,
                    Generator = "name"
                }
            }
        }
    }
};
control.RuleChanged += (s, e) => SaveRule(control.SegmentRule);

Type Description
Displays validation errors in a virtualized DataGridView with dynamic columns.
Detailed Remarks
The panel listens for validator updates, builds columns only for fields that contain data, and raises selection events so callers can synchronize with file viewers or navigation controls. The grid runs in virtual mode to keep memory usage stable when large error sets are present.
Usage Example
var panel = new ErrorsDataGridViewPanel();
panel.validator = validator;
panel.CurrentLineNumberChanged += (s, line) => JumpToLine(line);

Type Description
Extension methods for tree view-related objects.
Detailed Remarks
These helpers make it easier to work with the navigator's node tags by centralizing the casting logic used across the UI.
Usage Example
var tag = node.ToNodeTagWrapper();

Type Description
Provides a WinForms user control that renders a navigable tree of parsed EDI content.
Detailed Remarks
The tree supports flat and hierarchical layouts, exposes events for selection changes, and integrates with validation output so errors can be highlighted alongside segments and loops. It also keeps a lightweight association between nodes and line numbers so editors can jump to the corresponding source text without re-parsing the file.
Usage Example
var navigator = new FileNavigatorTreeView
{
    validator = validator,
    NavigationStyle = NavigatorType.Hierarchical
};
navigator.OnNodeChangeGetLineNumber += line => JumpToLine(line);

Type Description
Displays a summary of parsed interchanges in a compact, label-based layout.
Detailed Remarks
The control renders key interchange statistics (counts, control numbers, separators) and provides a one-click copy action to export the summary text to the clipboard. It is optimized for quick diagnostics, presenting a dense but readable list of summary fields without requiring a full tree navigation view.
Usage Example
var summary = new FileSummary();
summary.interchanges = parser.ParseFile(path);

Type Description
Builds a flat, line-oriented tree view of an EDI file for navigation purposes.
Detailed Remarks
This generator preserves the source ordering of segments while optionally inserting loop nodes and validation errors to create a readable, searchable view. The resulting tree is ideal for line-based navigation because it aligns with the physical file order while still exposing loop headers for context.
Usage Example
var root = FlatFileStructureNodeGenerator.GenerateTreeView(
    validator, displayLoops: true, displaySegments: true,
    displayValidationErrors: true, displaySpacer: true);

Type Description
Builds a hierarchical tree view of an EDI file (interchange → group → set → loop → segment).
Detailed Remarks
This generator emphasizes the structural nesting of loops and segments so users can inspect the file according to the implementation guide hierarchy. Nodes are tagged with NodeTagWrapper metadata so downstream UI components can inspect raw lines, line numbers, and segment references without re-parsing.
Usage Example
var root = HierarchicalFileStructureNodeGenerator.GenerateTreeView(
    validator, displayLoops: true, displaySegments: true, displayValidationErrors: true);

Type Description
Hosts loop and segment information panels and switches between them.
Detailed Remarks
This control is used to display either loop metadata or segment metadata based on the currently selected standard object.
Usage Example
var panel = new InformationPanel();
panel.RefreshDisplay(loopStandard, segmentStandard);

Type Description
Represents a lookup option used by combo box columns.
Detailed Remarks
The UI stores the while displaying the friendly text in the grid.
Usage Example
var option = new LookupOption("name", "Name (name)");

Type Description
Displays loop metadata and a tree representation of loop contents.
Detailed Remarks
The panel renders child loops, segments, elements, and rules in a tree view to help visualize standard structure. It is designed for read-only inspection and does not mutate the underlying standard; edits should be performed through dedicated editor controls.
Usage Example
var panel = new LoopInformationPanel();
panel.Loop = loopStandard;

Type Description
Wraps metadata used to populate and interpret tree view nodes.
Detailed Remarks
The wrapper stores the node's semantic type, original tag, line number, and the raw line content used by information panels and context menus.
Usage Example
var tag = new NodeTagWrapper
{
    NodeType = NodeType.Segment,
    LineNumber = 42,
    Line = "NM1*IL*1*DOE*JOHN****MI*123456789~",
    Lines = new List<string> { "NM1*IL*1*DOE*JOHN****MI*123456789~" }
};

Type Description
Provides reflection-based inspection helpers for debugging and diagnostics.
Detailed Remarks
This helper is intentionally verbose and is typically used in UI tools or diagnostics panels where a quick, human-readable snapshot of an object's shape is useful.
Usage Example
var report = ObjectInspector.InspectObject(validator);

Type Description
Strongly typed accessor for resources in this assembly.
Detailed Remarks
This doc block is placed close to the generated type so documentation tooling can find it without traversing non-XML comments.
Usage Example
var icon = Resources.ResourceManager.GetObject("MyIcon");

Type Description
Displays segment metadata and a tree representation of segment contents.
Detailed Remarks
The panel renders elements, composite elements, and rules in a tree view to help visualize segment structure. It is intended for inspection and troubleshooting rather than editing; changes should be made through the standards editor UI.
Usage Example
var panel = new SegmentInformationPanel();
panel.Segment = segmentStandard;

Type Description
Provides helper routines for building tree nodes and attaching validation data.
Detailed Remarks
These utilities are shared by the flat and hierarchical generators to keep segment labeling, spacer insertion, and loop aggregation behavior consistent. The helpers also normalize how line data and validation errors are attached to nodes so downstream UI components can rely on a single tag contract.
Usage Example
var label = StructureGeneratorHelper.TranslateHL03("22");

Enum

Enum Reference

2 Items