Reference·OBR Segment·OBR-24
HL7 v2 Reference

HL7 v2 OBR-24 Field Guide: Diagnostic Serv Sect ID Codes and Common Mistakes

Jul 27, 2026 · 4 min read
← OBR-16 OBR-25 →

OBR-24 is what a results-routing engine reads to decide which worklist an order lands on — chemistry, microbiology, radiology. It's a site-defined table, not a fixed one, so an interface tuned against one hospital's code set will misroute orders the moment it connects to a second site using different values for the same department.

Quick answer

OBR-24 is the twenty-fourth field of the HL7 v2 OBR segment — the Diagnostic Service Section ID, a short code identifying which department or service section is expected to perform the ordered study.

Common values

CH
Chemistry — commonly used for chemistry panels such as basic metabolic or CBC-adjacent testing
MB
Microbiology — commonly used for culture and susceptibility orders
RAD
Radiology — commonly used for imaging studies
CY
Cytology — commonly used for cytology and pathology-adjacent studies
site-defined
Local variation — the exact code set is defined per installation, not fixed by the standard

Example

Synthetic example Generated by Synthibase
OBR|1|ORD44219^SYNTHIB|FIL98831^SYNTHIB|CBC^Complete Blood Count^L|||20260726090000|||||||||3021^HAYES^DEREK^A^^^MD||||||||CH|F||||||R/O anemia

OBR-24 carries CH, routing this order to the chemistry section. Synthetic order — not a real patient.

Where this trips people up

Because OBR-24 draws from a locally defined table rather than a universal one, a routing rule hardcoded against one facility's values ('CH' for chemistry, say) can silently misfire against a second facility that uses a different short code for the same department. This tends to surface only during a multi-site rollout or an acquisition integration, well after the original interface passed all its single-site tests. Always confirm the actual value set with each sending facility rather than assuming it matches a prior integration.

HL7 v2 OBR Segment Guide: Fields, Format, and Testing Gotchas
How to Write EDI Test Cases That Actually Catch Go-Live Failures
Regression Testing for EHR Upgrades: A Complete Guide
Generate orders across multiple site configurations
Synthibase generates synthetic OBR segments using distinct, site-specific diagnostic service section codes, so multi-facility rollouts get tested before go-live.
Start free trial →
This page is written independently by Synthibase for testing and informational purposes. It is not an official publication of HL7 International or X12/Washington Publishing Company, and is not a substitute for reviewing the official standard or your trading partner's companion guide. See our Terms of Service for full legal terms.