Skip to content

Edi835File

Represents an EDI X12 835 (Health Care Claim Payment/Advice) transaction set — the outbound "explanation of benefits" file sent to a clearinghouse describing how bills were paid or denied. It wraps a raw IEdiFile's segments so downstream builders (File835Builder) can populate content under the I835File contract, and carries a reference to the Batch the 835 belongs to for status tracking.

Purpose

  • Adapts a generic IEdiFile segment list into the I835File contract shape expected by 835 file builders and consumers.
  • Associates the transaction set with the e-billing Batch record that produced or will transmit it.

Context

  • Namespace: SAIF.Services.Claims.Ebilling
  • Assembly/package: SAIF.Services (packaged inside the SAIF.SAIFCode.Core NuGet package)

Public members

Member Signature Purpose
Edi835File public Edi835File(IEdiFile file) Copies the segments and file name from an existing IEdiFile into this 835-typed wrapper.
Batch public Core.Contracts.Claims.Ebilling.Batch Batch { get; set; } The e-billing batch this 835 transaction set is associated with.

Behavioral notes

  • The constructor performs no EDI-content validation; it assumes the supplied file already contains valid 835 segments.*

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Services/SAIF.Services/Claims/EBilling/Edi835File.cs