Construct an X12 837I institutional claim for an inpatient stay including all required UB-04 equivalent data elements in the correct loops and segments

domain: x12.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. In the 2300 claim information loop, set CLM05-01 to the appropriate facility type code and CLM05-02 to the claim frequency type code; for an inpatient claim, CLM05-01 is typically 11 for hospital inpatient and CLM05-02 is 1 for an original claim
  2. Populate the CL1 segment in the 2300 loop with the admission type code, admission source code, and patient status code at discharge; these three elements correspond to UB-04 form locators 14, 15, and 17 and are required for inpatient institutional claims
  3. Add HI segments to the 2300 loop to carry the principal diagnosis with qualifier ABK for ICD-10-CM, additional diagnosis codes with qualifier ABF, the principal procedure with qualifier BBQ for ICD-10-PCS, and the admitting diagnosis with qualifier ABJ; sequence the diagnosis codes in priority order as the payer will use sequence for DRG grouping
  4. Build the 2300 DRG value composite in the HI segment only if the submitter has already grouped the claim and is transmitting the DRG; otherwise omit the DRG and allow the payer to group using the submitted diagnoses and procedures
  5. In the 2400 service line loop, use SV2 instead of SV1 for revenue code-based line billing; SV201 is the revenue code, SV202 is the composite medical procedure identifier for the HCPCS or CPT code if applicable, SV203 is the charge amount, and SV205 is the billed units
  6. Populate the 2300 AMT segments with condition code-equivalent amounts such as total covered days and non-covered days, and add CLM19 to indicate whether the claim has attached clinical documentation referenced by a PWK segment with the applicable attachment report type code

Known gotchas

Related routes

Submit an X12 837I institutional claim for a hospital inpatient stay
x12.org · 6 steps · unrated
Identify and apply the key segment differences between an X12 837P professional claim and an 837I institutional claim
x12.org · 6 steps · unrated
Construct an X12 837 claim with Coordination of Benefits (COB) loops for secondary-payer submission after a Medicare crossover
healthcare · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans