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

# CbpBill

Domain entity representing Cbp bill data within the claims bills area of the claims/policy domain, mapped for NHibernate persistence.*

## Purpose
- Models cbp bill data used by the claims bills area of this library.*
- Inherits shared identity/lifecycle behavior from `EntityBase`.

## Context
- Namespace: `SAIF.Data.Model.Claims.Bills`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Id | `long Id { get; set; }` | Primary key / surrogate identifier for this record.* |
| PatientReferenceNumber | `string PatientReferenceNumber { get; set; }` | Value of patient reference number exposed by this type.* |
| MailRoomReceivedDate | `DateTime? MailRoomReceivedDate { get; set; }` | Date/time value for mail room received date.* |
| SaifClaimNumber | `string SaifClaimNumber { get; set; }` | Value of saif claim number exposed by this type.* |
| SaifClaimCheckCharacter | `string SaifClaimCheckCharacter { get; set; }` | Value of saif claim check character exposed by this type.* |
| WorkerFirstName | `string WorkerFirstName { get; set; }` | Value of worker first name exposed by this type.* |
| WorkerMiddleInitial | `string WorkerMiddleInitial { get; set; }` | Value of worker middle initial exposed by this type.* |
| WorkerLastName | `string WorkerLastName { get; set; }` | Value of worker last name exposed by this type.* |
| WorkerPhoneNumber | `string WorkerPhoneNumber { get; set; }` | Value of worker phone number exposed by this type.* |
| WorkerBirthDate | `DateTime? WorkerBirthDate { get; set; }` | Date/time value for worker birth date.* |
| WorkerAddressLine1 | `string WorkerAddressLine1 { get; set; }` | Value of worker address line1 exposed by this type.* |
| WorkerAddressLine2 | `string WorkerAddressLine2 { get; set; }` | Value of worker address line2 exposed by this type.* |
| WorkerAddressLine3 | `string WorkerAddressLine3 { get; set; }` | Value of worker address line3 exposed by this type.* |
| WorkerAddressLine4 | `string WorkerAddressLine4 { get; set; }` | Value of worker address line4 exposed by this type.* |
| GenderCode | `string GenderCode { get; set; }` | Coded value identifying gender code.* |
| PatientAccountNumber | `string PatientAccountNumber { get; set; }` | Value of patient account number exposed by this type.* |
| ProviderTaxId | `string ProviderTaxId { get; set; }` | Foreign-key identifier referencing the related provider tax record.* |
| ProviderAddressLine1 | `string ProviderAddressLine1 { get; set; }` | Value of provider address line1 exposed by this type.* |
| ProviderAddressLine2 | `string ProviderAddressLine2 { get; set; }` | Value of provider address line2 exposed by this type.* |
| ProviderCityName | `string ProviderCityName { get; set; }` | Value of provider city name exposed by this type.* |
| ProviderStateCode | `string ProviderStateCode { get; set; }` | Coded value identifying provider state code.* |
| ProviderZipCode | `decimal? ProviderZipCode { get; set; }` | Coded value identifying provider zip code.* |
| ProviderLicenseNumber | `string ProviderLicenseNumber { get; set; }` | Value of provider license number exposed by this type.* |
| AdmissionDate | `DateTime? AdmissionDate { get; set; }` | Date/time value for admission date.* |
| DischargeDate | `DateTime? DischargeDate { get; set; }` | Date/time value for discharge date.* |
| StatementFromDate | `DateTime? StatementFromDate { get; set; }` | Date/time value for statement from date.* |
| StatementThruDate | `DateTime? StatementThruDate { get; set; }` | Date/time value for statement thru date.* |
| WorkerTaxId | `string WorkerTaxId { get; set; }` | Foreign-key identifier referencing the related worker tax record.* |
| TowId | `long? TowId { get; set; }` | Foreign-key identifier referencing the related tow record.* |
| IsRebill | `bool IsRebill { get; set; }` | Indicates whether rebill.* |
| CurrentBillStatusId | `long? CurrentBillStatusId { get; set; }` | Foreign-key identifier referencing the related current bill status record.* |
| PriorityNumber | `int PriorityNumber { get; set; }` | Value of priority number exposed by this type.* |
| UpdateUser | `string UpdateUser { get; set; }` | Value of update user exposed by this type.* |
| UpdateNumber | `int UpdateNumber { get; set; }` | Value of update number exposed by this type.* |
| UpdateDate | `DateTime UpdateDate { get; set; }` | Date/time value for update date.* |
| ReferringProviderName | `string ReferringProviderName { get; set; }` | Value of referring provider name exposed by this type.* |
| BillTotalAmount | `decimal BillTotalAmount { get; set; }` | Monetary amount for bill total amount.* |
| DrgCode | `string DrgCode { get; set; }` | Coded value identifying drg code.* |
| BillPackageQuantity | `int? BillPackageQuantity { get; set; }` | Value of bill package quantity exposed by this type.* |
| WorkflowBypassCode | `string WorkflowBypassCode { get; set; }` | Coded value identifying workflow bypass code.* |
| CurrentResponsiblePartyId | `string CurrentResponsiblePartyId { get; set; }` | Foreign-key identifier referencing the related current responsible party record.* |
| CurrentStatusEffectiveDate | `DateTime? CurrentStatusEffectiveDate { get; set; }` | Date/time value for current status effective date.* |
| CurrentUpdateUser | `string CurrentUpdateUser { get; set; }` | Value of current update user exposed by this type.* |
| CurrentNextReviewDate | `DateTime? CurrentNextReviewDate { get; set; }` | Date/time value for current next review date.* |
| UbBillTypeCode | `string UbBillTypeCode { get; set; }` | Coded value identifying ub bill type code.* |
| CbpAdmissionTypeCode | `string CbpAdmissionTypeCode { get; set; }` | Coded value identifying cbp admission type code.* |
| ImageId | `long? ImageId { get; set; }` | Foreign-key identifier referencing the related image record.* |
| ClaimId | `long? ClaimId { get; set; }` | Foreign-key identifier referencing the related claim record.* |
| Claim | `InjuryClaim Claim { get; set; }` | Reference to the associated `InjuryClaim` record.* |
| BillType | `CbpBillTypeCode BillType { get; set; }` | Reference to the associated `CbpBillTypeCode` record.* |
| BillingProvider | `ProviderLocation BillingProvider { get; set; }` | Reference to the associated `ProviderLocation` record.* |
| BillStatus | `CbpBillStatusCode BillStatus { get; set; }` | Reference to the associated `CbpBillStatusCode` record.* |
| BillStatusItem | `CbpBillStatus BillStatusItem { get; set; }` | Reference to the associated `CbpBillStatus` record.* |
| BillEntrySource | `CbpBillEntrySourceCode BillEntrySource { get; set; }` | Reference to the associated `CbpBillEntrySourceCode` record.* |
| FinancialTransactions | `IList<FinancialTransaction> FinancialTransactions { get; set; }` | Value of financial transactions exposed by this type.* |
| Audits | `IList<CbpAudit> Audits { get; set; }` | Value of audits exposed by this type.* |
| Diagnoses | `IList<CbpBillDiagnosis> Diagnoses { get; set; }` | Value of diagnoses exposed by this type.* |
| Services | `IList<CbpBillService> Services { get; set; }` | Value of services exposed by this type.* |
| Procedures | `IList<CbpBillProcedure> Procedures { get; set; }` | Value of procedures exposed by this type.* |
| StatusHistory | `IList<CbpBillStatus> StatusHistory { get; set; }` | Value of status history exposed by this type.* |
| Notes | `IList<CbpNote> Notes { get; set; }` | Value of notes exposed by this type.* |
| AddDiagnosis | `void AddDiagnosis(CbpBillDiagnosis diagnosis)` | Adds diagnosis.* |
| AddProcedure | `void AddProcedure(CbpBillProcedure procedure)` | Adds procedure.* |
| AddService | `void AddService(CbpBillService service)` | Adds service.* |
| AddStatus | `void AddStatus(CbpBillStatus status)` | Adds status.* |
| AddNote | `void AddNote(CbpNote note)` | Adds note.* |
| CbpBill() | `CbpBill()` | Initializes a new instance of the type with the supplied dependencies.* |

## Behavioral notes
- Properties are typically declared `virtual` to support NHibernate lazy-loading proxies (see the corresponding mapping file under `Data/SAIF.Data.NHibernate`).*

## Constraints and usage notes
- No additional usage constraints beyond standard NHibernate entity/DTO conventions could be confirmed from static analysis.**

> **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/Model/Claims/Bills/CbpBill.cs`
