Skip to content

DocumentOverrideService

Implements IDocumentOverrideService as a lookup for configured exceptions to the default document-classification rules: given an EDI document-type code and a provider-type code, it returns an alternate OnBase document type/subtype when a specific override has been configured for that combination, via IEbillDocumentQueryProvider.

Purpose

  • Resolves whether a document-type/provider-type combination has a configured OnBase classification override, returning null when no override applies (CheckForOverride).

Context

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

Public members

Member Signature Purpose
DocumentOverrideService public DocumentOverrideService(IEbillDocumentQueryProvider queryProvider) Wires the e-bill document query provider used to look up configured classification overrides.
CheckForOverride public DocumentOverrideResult CheckForOverride(string ebillDocumentTypeCode, string providerTypeCode) Returns the overridden OnBase document type and subtype for the given EDI document-type/provider-type pair, or null if no override is configured.

Behavioral notes

  • Consumed by ConfigurationService.GetImageClassification to replace the document's default classification only when an override record exists.

Sources

  • Services/SAIF.Services/Claims/EBilling/Imaging/DocumentOverrideService.cs