Reference·ROL Segment·ROL-5
HL7 v2 Reference

HL7 v2 ROL-5 (Role Begin Date/Time): Format, Values, and Testing Notes

Jul 28, 2026 · 4 min read
← ROL-4

ROL-5 records when a role actually took effect, and it is the field that makes it possible to tell an on-call provider handoff from a data-entry correction after the fact.

Quick answer

ROL-5 is a timestamp marking when the role identified in the segment became effective. For a role that never changes hands during an encounter, it is often close to the encounter start time; for one that is reassigned partway through, such as a consulting provider added mid-stay, it reflects the actual moment that reassignment happened.

What this field contains

Format
Date/time string — follows the standard HL7 v2 timestamp pattern, typically down to the second
Cardinality
Often optional — many systems populate it only when the effective moment matters, leaving it blank for roles considered effective for the whole encounter
Common failure
Copied send time — generators that stamp ROL-5 with the message's own send time instead of the role's actual effective time make handoff sequencing untestable

Example

Synthetic example Generated by Synthibase
ROL|2|UP|RT^Referring Provider^SYNTHIBLOCAL|4498210^OKONKWO^DAVID^^^DR^MD|20260727093000

ROL-5 here is 20260727093000, a fabricated timestamp roughly a day before the message itself would have been sent.

Where this trips people up

It is common to see this field populated with whatever timestamp the message-generation tool happens to be using at send time, rather than a value that reflects when the role genuinely began. That distinction rarely matters for a single static role, but it matters a great deal for scenarios like a consulting provider being added two days into a stay, where downstream reporting or billing logic needs the real effective date to calculate duration correctly. If every ROL-5 in your test data lines up suspiciously close to MSH-7, that logic is not actually being tested.

HL7 v2 ROL Segment Guide: Fields, Format, and Testing Gotchas
Epic vs. Cerner vs. MEDITECH: An Interoperability Comparison
HL7 ADT Messages: A01 through A08 Explained
Test role handoffs with realistic timing
Synthibase generates role begin timestamps that genuinely diverge from message send time, so duration-dependent billing and reporting logic gets exercised the way production traffic actually exercises it.
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.