---
title: IAuditNoteQueryProvider
summary: API reference for IAuditNoteQueryProvider.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data
reference_type: package
---

# IAuditNoteQueryProvider

Contract implemented by `AuditNoteQueryProvider`.

## Purpose
- Defines the members that `AuditNoteQueryProvider` must provide to callers of this abstraction.

## Context
- Namespace: `SAIF.Data.Queries`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| GetAuditNote | `CbpNote GetAuditNote(long noteId)` | Retrieves audit note.* |
| GetAuditNotesForClaim | `IEnumerable<CbpNote> GetAuditNotesForClaim(long claimId, bool includeInactive = false)` | Retrieves audit notes for claim.* |
| GetAuditNotesForBill | `IEnumerable<CbpNote> GetAuditNotesForBill(long billId, bool includeInactive = false)` | Retrieves audit notes for bill.* |
| GetAllAuditNotes | `IEnumerable<CbpNote> GetAllAuditNotes(long billId, long claimId, bool includeInactive = false)` | Retrieves all audit notes.* |
| GetNoteTypeCode | `CbpNoteTypeCode GetNoteTypeCode(string typeCode, string categoryCode)` | Retrieves note type code.* |
| GetNoteCategories | `IEnumerable<CbpNoteCategoryCode> GetNoteCategories()` | Retrieves note categories.* |
| GetNoteTypes | `IEnumerable<CbpNoteTypeCode> GetNoteTypes()` | Retrieves note types.* |
| GetNoteTypesForCategory | `IEnumerable<CbpNoteTypeCode> GetNoteTypesForCategory(string category)` | Retrieves note types for category.* |
| IsAuditNoteNoContention | `bool IsAuditNoteNoContention(long noteId, int updateNumber)` | Indicates whether audit note no contention.* |

## Behavioral notes
- As an interface, this type defines no executable behavior of its own; behavior is determined by its implementation(s).*

## Constraints and usage notes
- Callers should depend on this interface rather than the concrete implementation(s) (`AuditNoteQueryProvider`) to preserve testability.*

> **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
- `Data/SAIF.Data/Queries/IAuditNoteQueryProvider.cs`
