Institutional Claims - Facility (UB-04)

This dataset provides comprehensive, standardized records of institutional claims from hospitals and healthcare facilities, including financial charges, clinical codes, patient demographics, and billing details. It enables detailed analysis of healthcare utilization, cost patterns, and claim processing for both inpatient and outpatient services, supporting operational, regulatory, and research needs.

  • last updated 2 Nov 2025
  • by GoMask
The brief that made it

Healthcare cost and utilization analysis

Sample rows

preview · 8 of 100 rows · all 25 columns
claim_idstringservice_typestringfacility_chargesfloatdrg_codestringfacility_idstringpatient_idstringadmission_datedatedischarge_datedatetype_of_billstringrevenue_codestringroom_chargesfloatprimary_diagnosis_codestringsecondary_diagnosis_codestringprocedure_codestringpayer_idstringclaim_statusstringbilling_provider_npistringrendering_provider_npistringpatient_dobdatepatient_genderstringpatient_address_streetstringpatient_address_citystringpatient_address_statestringpatient_address_postal_codestringpatient_address_countrystring
CLM0001inpatient8200.75291FAC101PAT00012023-04-212023-04-2611101232350.5J18.9E11.999233PAYER01paid186547891015483920181952-08-17female123 Oak StClevelandOH44113USA
CLM0002outpatient630blankFAC102PAT0002blankblank1310450blankM54.5blank71020PAYER02submitted1839501873blank1988-02-13male456 Elm AvePhoenixAZ85016USA
CLM0003inpatient13500470FAC103PAT00032023-07-032023-07-0811201003700I10E78.527130PAYER03paid172938465019283746501956-11-05female78 Maple LaneColumbusOH43215USA
CLM0004emergency950blankFAC104PAT0004blankblank1310451blankR07.9blank99285PAYER04pending198765432112345678902001-09-14male99 Pine CtDallasTX75204USA
CLM0005inpatient7400193FAC105PAT00052023-05-102023-05-1211101202100.25J44.1E11.6531575PAYER05denied1234567891blank1975-03-22female101 Cedar DrMiamiFL33101USA
CLM0006outpatient210blankFAC106PAT0006blankblank1310300blankJ45.909blank94640PAYER06paid134679852110987654322010-01-30other250 Spruce BlvdDenverCO80203USA
CLM0007inpatient9000177FAC107PAT00072023-08-192023-08-2511301183000I63.9F17.20070450PAYER07paid198234567815432198761969-06-10male345 Birch StSeattleWA98101USA
CLM0008other320blankFAC108PAT0008blankblank1310420blankL20.84blank96372PAYER08pending1230987654blank1991-12-20female789 Willow RdAtlantaGA30303USA

What the 100 rows show

from the 100-row sample

Inpatient (service type) stands out: mean facility_charges is 7,750, against 637.9 for the rest.

  • 1,203median facility_charges
  • 4patient genders
  • 5claim statuses
  • 12type of bills
  • 15rendering provider npis
  • 18billing provider npis
Mean facility_charges by service_type100 rows
04,0008,0007,750inpatient44 rows391.0outpatie…26 rows1,103emergency20 rows349.8other10 rows
facility_charges100 rows, in bands of 2,000
030605641641203508,00016kfacility_charges →

Median 1,203, from 175.0 to 14,500.

drg_code44 rows with a value · 56 left blank
  1. 47010
  2. 1778
  3. 2917
  4. 1933
  5. 2923
  6. 2932
  7. 1942
  8. 6832
  9. 0811
  10. 3921
25 columns by typefrom the column list below
  • string 20
  • float 2
  • date 3

Columns

25 columns in three groups
blueprint · 25 columns
columntypedescriptionexample
Text 20 columns
claim_idstringUnique identifier for each institutional claimuniqueCLM0001
facility_idstringUnique identifier for the hospital or facility submitting the claimFAC101
patient_idstringUnique identifier for the patient receiving servicesPAT0001
service_typestringType of service provided (e.g., inpatient, outpatient, emergency)inpatient · outpatient · emergency · otherinpatient
type_of_billstringCode representing the type of bill submitted (UB-04 standard)12 bills111
drg_codestringDiagnosis Related Group code for the claimoptional291
revenue_codestringRevenue code indicating the type of service or department0123
primary_diagnosis_codestringPrimary diagnosis code (ICD-10 or ICD-9) for the claimJ18.9
secondary_diagnosis_codestringSecondary diagnosis code (ICD-10 or ICD-9) for the claim, if applicable11 codes · optionalE11.9
procedure_codestringProcedure code (CPT/HCPCS) for services providedoptional99233
payer_idstringIdentifier for the insurance payer or responsible partyPAYER01
claim_statusstringCurrent status of the claim (e.g., submitted, paid, denied, pending)submitted · paid · denied · pending · adjustedpaid
billing_provider_npistringNational Provider Identifier (NPI) of the billing provider1865478910
rendering_provider_npistringNational Provider Identifier (NPI) of the rendering provideroptional1548392018
patient_genderstringGender of the patientmale · female · other · unknown · optionalfemale
patient_address_streetstringStreet address of the patientoptional123 Oak St
patient_address_citystringCity of the patientoptionalCleveland
patient_address_statestringState of the patientoptionalOH
patient_address_postal_codestringPostal code of the patientoptional44113
patient_address_countrystringCountry of the patientoptionalUSA
Numbers 2 columns
room_chargesfloatTotal charges for room and board during the stay0 or more · optional2350.5
facility_chargesfloatTotal charges billed by the facility for services rendered0 or more8200.75
Dates and times 3 columns
admission_datedateDate the patient was admitted to the facilityoptional2023-04-21
discharge_datedateDate the patient was discharged from the facilityoptional2023-04-26
patient_dobdateDate of birth of the patientoptional1952-08-17

Use it for

  • median facilit…1,203100 rowsmean facility charges…7.7kinpa…391.0outp…1.1kemer…349.8other

    A healthcare dashboard

    Facility_charges by service_type and a breakdown of drg_code. Excel, Power BI or Tableau.

  • Why do the 44 inpatient rows have a mean facility_charges of 7,750?

    A root-cause class exercise

    Hand out the rows and one question. The answer is in the data, not in the brief.

  • A software demo

    Believable claims with facility_id, patient_id and admission_date to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 25 columns, your size and your rules. See 20 rows before you pay.

Preview 20 rows free

1,000 rows: $1.99 · 10,000: $12.99One-time. No subscription. All prices

This dataset100 rows25 columns
Yours1,000 rows25 columnspatient_address_street: UK only

blueprint · institutional-claims-facility-ub-04

Behind this dataset

Same schema. As many rows as you need.

These 100 rows came out of a blueprint — 25 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.

Rules it was built with
  • Claim ID unique per facility claim
  • UB-04 (CMS-1450) form for institutional billing
  • Type of bill: inpatient, outpatient, ER, observation
  • Revenue codes for departments (room, pharmacy, lab, radiology)
  • HCPCS codes for procedures
  • DRG (Diagnosis Related Group) for inpatient
  • MS-DRG with weight for Medicare severity adjustment
  • Admission date, discharge date, length of stay
Rows
Open the blueprint in Data Factory

1 credit per row. New accounts start with 25 free credits.

Exports
CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
Licence
yours to use, including commercially
API slug
institutional-claims-facility-ub-04

What should your data show?

Preview 20 rows free
No signup. No card.