Claim Domain Guide
This page is the practical reference for working with BriteCore claims across CSV, API, and report-view layers.
What a claim is
A claim is the operational record for an insured loss or claim event. In practice, a claim usually has:
- a claim header (
claim_id,claim_number, status, type, dates) - a policy or revision lineage (
policy_number,revision_id) - one or more parties (
contacts) - associated financial activity (
payments, item amounts) - additional event detail (
dates,items,perils,disputes,changes)
Core identity
The important identities for a claim are:
claim_id— internal identity for claim detail and bridge tablesclaim_number— human-facing claim keyrevision_id— policy-term lineage anchorpolicy_number— policy business key
The pattern is usually:
claim_number -> claim_id -> claim detail tables
policy_number -> revision_id -> claim linkage
Best starting tables
CSV
claims.csv— claim master rowclaims_contacts.csv— claim party linkageclaims_payments.csv— payment rowsclaims_payment_item_amounts.csvor equivalent item detailclaims_perils.csv— perils / coverage contextclaims_changes.csv— lifecycle or state change trail
API
claims.get_claim(claim_id=...)claims.get_claim(claim_number=...)claims.get_claim_contacts(claim_id=...)claims.get_claim_payments(claim_id=...)- relationship-specific claim endpoints under the claim domain
SQL/report
v_claims— claim master viewv_claims_contacts— claim-to-contact relationship rowsv_claim_payments— claim payment rowsv_claim_items— item-level claim detailv_claims_dates— dates and claim timeline fieldsv_claims_perils— peril coverage detail
Common claim trace pattern
SELECT c.claim_id,
c.claim_number,
c.policy_number,
c.revision_id,
c.claim_status,
c.loss_date
FROM v_claims c
WHERE c.claim_number = 'YOUR_CLAIM_NUMBER';
Then fan out:
SELECT cc.claim_id, cc.contact_id, ct.contact_name, ct.contact_type
FROM v_claims_contacts cc
LEFT JOIN v_contacts ct
ON ct.contact_id = cc.contact_id
WHERE cc.claim_id = 'YOUR_CLAIM_ID';
SELECT cp.claim_id, cp.claim_payment_id, cp.amount, cp.transaction_date
FROM v_claim_payments cp
WHERE cp.claim_id = 'YOUR_CLAIM_ID';
Typical data shape differences
CSV shape
The raw export usually looks like a normalized set of files:
- one row per claim in
claims.csv - separate rows in bridge/detail tables for related parties and payment events
This means a full claim reconstruction usually takes multiple files.
API shape
The API often returns the claim as a nested object, then attaches sibling collections via relationship-specific API calls. This is typically much easier to read as a single object graph.
SQL/report shape
The reporting layer usually collapses those relationship details into flattened views, making it easier to query and aggregate.
Key fields to watch
Important claim fields include:
claim_idclaim_numberclaim_statusclaim_typeloss_datedate_reportedpolicy_numberrevision_idcatastrophe_idloss_location_address_*
Especially important for lineage:
revision_idlinks the claim back to the policy termclaim_idis the central join key for claim-detail tablespolicy_numberties the claim to the policy identity at a business level
Common gotchas
1. The claim number is not enough for all joins
The claim number is the business key. The relationship tables usually use the internal claim_id.
2. A claim may have many contact rows
Do not assume one claim-to-contact row. A claim can have multiple associated parties.
3. Payment detail may be split across multiple tables
Payment header rows and payment item-detail rows often live in different tables or views.
4. Claim status and claim event dates are not always the same concept
Use status for lifecycle state and date fields for event timing.
Recommended working model
For a claim workflow, the order is usually:
- find the claim by
claim_numberorclaim_id - confirm the claim master row
- join to the related contact bridge table
- join to the payment rows
- if needed, join to item detail or peril/date tables
That sequence keeps the grain clear and avoids confusing the relationship layer with the base claim record.
Claim quick reference
claim_number -> claim_id -> claim detail / bridge tables
-> revision_id -> policy term context
-> policy_number -> policy record context
This is the most reliable mental model for claim-related work.