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

# CbpBillService

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

## Purpose
- Models cbp bill service 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 |
| --- | --- | --- |
| Bill | `CbpBill Bill { get; set; }` | Reference to the associated `CbpBill` record.* |
| PrescribingProviderLocation | `ProviderLocation PrescribingProviderLocation { get; set; }` | Reference to the associated `ProviderLocation` record.* |
| ServicingProviderLocation | `ProviderLocation ServicingProviderLocation { get; set; }` | Reference to the associated `ProviderLocation` record.* |
| MsrpInvoiceCode | `CbpMsrpInvoiceCode MsrpInvoiceCode { get; set; }` | Reference to the associated `CbpMsrpInvoiceCode` record.* |
| PharmacyDispenseAsWrittenCode | `PharmacyDispenseAsWrittenCode PharmacyDispenseAsWrittenCode { get; set; }` | Reference to the associated `PharmacyDispenseAsWrittenCode` record.* |
| Id | `int Id { get; set; }` | Primary key / surrogate identifier for this record.* |
| BillServiceDate | `DateTime? BillServiceDate { get; set; }` | Date/time value for bill service date.* |
| BillServiceEndDate | `DateTime? BillServiceEndDate { get; set; }` | Date/time value for bill service end date.* |
| ProviderServiceCode | `string ProviderServiceCode { get; set; }` | Coded value identifying provider service code.* |
| ServiceModifierCode1 | `string ServiceModifierCode1 { get; set; }` | Coded value identifying service modifier code1.* |
| ServiceModifierCode2 | `string ServiceModifierCode2 { get; set; }` | Coded value identifying service modifier code2.* |
| ServiceModifierCode3 | `string ServiceModifierCode3 { get; set; }` | Coded value identifying service modifier code3.* |
| ServiceModifierCode4 | `string ServiceModifierCode4 { get; set; }` | Coded value identifying service modifier code4.* |
| ServiceQuantity | `decimal? ServiceQuantity { get; set; }` | Value of service quantity exposed by this type.* |
| ChargeAmount | `decimal? ChargeAmount { get; set; }` | Monetary amount for charge amount.* |
| MsrpInvoiceAmount | `decimal? MsrpInvoiceAmount { get; set; }` | Monetary amount for msrp invoice amount.* |
| ToothNumber | `decimal? ToothNumber { get; set; }` | Value of tooth number exposed by this type.* |
| ServiceLocationCode | `string ServiceLocationCode { get; set; }` | Coded value identifying service location code.* |
| DaysSupplyQuantity | `decimal? DaysSupplyQuantity { get; set; }` | Value of days supply quantity exposed by this type.* |
| BillServiceTypeCode | `string BillServiceTypeCode { get; set; }` | Coded value identifying bill service type code.* |
| 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.* |
| SecondaryProvServiceCode | `string SecondaryProvServiceCode { get; set; }` | Coded value identifying secondary prov service code.* |
| DiagnosisPointerCode1 | `string DiagnosisPointerCode1 { get; set; }` | Coded value identifying diagnosis pointer code1.* |
| DiagnosisPointerCode2 | `string DiagnosisPointerCode2 { get; set; }` | Coded value identifying diagnosis pointer code2.* |
| DiagnosisPointerCode3 | `string DiagnosisPointerCode3 { get; set; }` | Coded value identifying diagnosis pointer code3.* |
| DiagnosisPointerCode4 | `string DiagnosisPointerCode4 { get; set; }` | Coded value identifying diagnosis pointer code4.* |
| SecondaryBillServiceTypeCode | `string SecondaryBillServiceTypeCode { get; set; }` | Coded value identifying secondary bill service type code.* |
| PrescriptionWrittenDate | `DateTime? PrescriptionWrittenDate { get; set; }` | Date/time value for prescription written date.* |
| CompoundDrugFlag | `string CompoundDrugFlag { get; set; }` | Value of compound drug flag exposed by this type.* |
| PrescribingProviderId | `string PrescribingProviderId { get; set; }` | Foreign-key identifier referencing the related prescribing provider record.* |
| PrescriberLastName | `string PrescriberLastName { get; set; }` | Value of prescriber last name exposed by this type.* |
| PrescriberFirstName | `string PrescriberFirstName { get; set; }` | Value of prescriber first name exposed by this type.* |
| TaxChargedAmount | `decimal? TaxChargedAmount { get; set; }` | Monetary amount for tax charged amount.* |
| PrescribingProviderCode | `string PrescribingProviderCode { get; set; }` | Coded value identifying prescribing provider code.* |
| CbpAuditedServices | `IList<CbpAuditedService> CbpAuditedServices { get; set; }` | Value of cbp audited services exposed by this type.* |
| Equals | `bool Equals(object obj)` | Performs the `Equals` operation.* |
| GetHashCode | `int GetHashCode()` | Retrieves hash code.* |
| InpatientServiceLocation | `string InpatientServiceLocation` | Field exposing inpatient service location.* |
| OutpatientServiceLocation | `string OutpatientServiceLocation` | Field exposing outpatient service location.* |
| CbpBillService() | `CbpBillService()` | 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/CbpBillService.cs`
