What this document covers.
- Purpose
- Defines how FLAIR delivers signed radiology reports to a receiving EHR or RIS as HL7 v2 messages.
- Audience
- Interface analysts, integration engineers and security reviewers at the receiving organization.
- Scope
- The outbound result interface only, from FLAIR to you. It is unidirectional. Orders and patient updates reach FLAIR through a separate feed and are specified separately.
- Baseline
- HL7 v2.5.1, the version the IHE Radiology profiles build on. Versions 2.3 to 2.8 are supported by configuration.
| Version | Date | Change |
|---|---|---|
| 1.0 | 2026-10-06 | Initial release. |
One signed report, one confirmed message.
The report is frozen and queued before anything leaves FLAIR, so a network problem on either side never loses a report.
1Radiologist signs
Dictated, reviewed and signed in FLAIR. Signing is the only trigger.
2Report locked and versioned
Final text is frozen with a version number. Later edits become addenda, never silent changes.
3Durable delivery queue
A delivery job is written to the database in the same transaction as the signature.
4HL7 builder and validator
Builds the ORU^R01 from your mapping profile and checks it before it is sent.
Secure channel
- TLS 1.2+ / mutual TLS
- or site-to-site VPN
- IP allow-list both ways
AInterface engine or listener
Mirth, Rhapsody, Cloverleaf, Epic Bridges or a direct endpoint. Whatever you run today.
BValidate and map
Match patient and order by MRN and accession number. Apply your own routing rules.
CFile to the chart
Result lands in the EHR, RIS or document store as a final radiology report.
DReturn an acknowledgment
AA accepted, AE error, AR rejected. FLAIR records the outcome against the report.
Every report state has a defined message.
You choose which of these you want. Most sites start with final reports only and add the rest later.
| FLAIR event | HL7 message | Result status | What your system should do |
|---|---|---|---|
| Report signed | ORU^R01 | OBR-25 = F | File as the final report for the accession. |
| Preliminary read released | ORU^R01 | OBR-25 = P | Show as preliminary until a final arrives. Optional. |
| Addendum signed | ORU^R01 | OBR-25 = C | Replace or append to the earlier report, keeping history. ORC-1 stays RE by default and can be set to AD if your system keys on it. Configurable. |
| Report retracted or replaced | ORU^R01 | OBR-25 = C or X | Mark the earlier version superseded. Optional. |
| Manual resend | ORU^R01 | same status, new control ID | Idempotent. The accession and version identify the report, so repeats do not duplicate. |
Click a segment to see what is in it.
An example of the final report message. Every field value comes from the signed report and the original order. Field mapping is configured for each receiving system.
Patient name, MRN and all values shown here are made up.
Message variants
The same report in the forms most sites ask for. Highlighted lines differ from the first sample.
Segment by segment, field by field.
Only the fields below are populated. Everything else is left empty unless your mapping profile adds it.
Text and special characters
Report text is sent as UTF-8 when MSH-18 is UNICODE UTF-8. For ASCII-only channels, non-ASCII characters are sent as hex escapes. Characters that HL7 reserves are always escaped, so a report can never break the message structure.
| Character in report | Sent as | Meaning |
|---|---|---|
| | | \F\ | Field separator |
| ^ | \S\ | Component separator |
| & | \T\ | Subcomponent separator |
| ~ | \R\ | Repetition separator |
| \ | \E\ | Escape character |
| Line break | \.br\ | Formatted-text line break inside OBX-5 |
| é, ñ, µ, ° and other non-ASCII | UTF-8 bytes, or \Xc3a9\ on ASCII-only channels | Hex escape carries the UTF-8 byte sequence |
What we expect back, and what we do with it.
FLAIR uses original-mode acknowledgment (MSH-15 AL, MSH-16 NE). Enhanced mode is available on request. The ACK must carry the control ID of the message it answers.
| MSA-1 | Meaning | FLAIR action |
|---|---|---|
| AA | Application accept | Mark the report Delivered. Clear the stored payload. |
| AE | Application error, usually temporary | Keep the job open and retry on the backoff schedule. Log the ERR segment text, without patient data. |
| AR | Application reject, will not succeed on retry | Stop retrying. Alert FLAIR support and your named contact. Wait for a fix, then resend manually. |
| CA / CE / CR | Commit accept, error, reject (enhanced mode) | Handled like AA, AE and AR for the transport stage. Application stage is tracked separately. |
| wrong control ID | ACK whose MSA-2 does not match the message sent | Ignored and treated as no ACK. Logged. |
| unparseable | Reply that is not valid HL7, or an empty reply | Treated as AE. Alert if it repeats on three attempts in a row. |
| no ACK | No reply within the timeout (default 30 s) or connection dropped | Treated as AE. The retry carries the same accession and report version, so a repeat must not create a duplicate. |
This interface is outbound only. FLAIR reads ACKs on the connection it opened and does not accept result or order messages on it. If your system needs to send unsolicited messages to FLAIR, tell us and we will agree a separate inbound interface. Whatever your system receives, we ask it to return an ACK, even for a message it cannot process, so the connection is not left waiting.
Patient data is protected at every hop.
Layered controls, each of which can be tightened to match your security review.
TRANSPORTEncrypted in transit
Pick the channel your network team already supports.
- TLS 1.2 or higher, mutual certificate authentication
- Or a site-to-site IPsec VPN with MLLP inside
- Fixed source IPs, allow-listed on your firewall
DATAMinimum necessary
Only the fields in your agreed mapping profile are sent.
- Encrypted at rest in the queue and database
- No PHI in application logs or alerts
- Message payloads purged from the queue after confirmed delivery
ACCESSScoped credentials
The delivery service has its own identity and nothing else.
- Dedicated service account, no shared logins
- Certificates and secrets stored outside the code, rotated on schedule
- Separate test and production endpoints and keys
INTEGRITYNo duplicates, no gaps
Every message can be traced and safely repeated.
- Unique message control ID (MSH-10) per attempt
- Accession plus report version make the result idempotent
- ACK must reference the original control ID to count
AUDITFull trail
Every attempt is recorded and can be exported for your compliance team.
- Who signed, when it was queued, each send, each ACK code
- Searchable by accession number
- Delivery status visible on the FLAIR worklist
GOVERNANCEAgreements and review
Covered by the paperwork your organization requires.
- Business associate agreement in place before any PHI flows
- Test phase uses synthetic patients only
- Open to your security questionnaire and penetration test
Failure is a planned path, not an edge case.
Pick a scenario to see exactly what FLAIR does. Times are the default schedule and can be changed.
Parameters to agree for test and production.
Values that depend on the receiving system are set by its owner during connection setup.
MLLP framing
Each HL7 message is wrapped in the standard minimal lower layer protocol envelope and sent over TCP, inside the TLS session.
- Segments inside the message end with a carriage return (0x0D).
- One message is in flight per connection. The next is sent after the ACK, or after the timeout.
- Messages for the same accession are sent in report-version order, so an addendum never overtakes its final.
- Connections are kept open between messages, or opened per message. Your choice, agreed in Phase 2.
- If the connection drops mid-message, the message is treated as unacknowledged and sent again.
| Parameter | Test | Production |
|---|---|---|
| Protocol | MLLP over TLS 1.2+ | MLLP over TLS 1.2+ |
| Your endpoint host | Set by the receiving organization | Set by the receiving organization |
| Your endpoint port | Set by the receiving organization | Set by the receiving organization |
| FLAIR source addresses | Fixed IPs, shared in Phase 2 | Fixed IPs, shared in Phase 2 |
| Authentication | Mutual TLS. Certificates exchanged out of band | Mutual TLS. Separate certificates |
| Connection style | One connection per message or persistent, your choice | Same as test |
| ACK timeout | 30 seconds | 30 seconds |
| Character set | UTF-8 | UTF-8 |
| MSH-5 / MSH-6 | Set by the receiving organization | Set by the receiving organization |
| MSH-11 Processing ID | T | P |
| Patients | Synthetic only | Live |
We adapt to your interface, not the other way round.
Teal marks our usual starting point. Anything else on the line is available.
- HL7 version
- 2.32.3.12.42.5.12.62.72.8
- Transport
- MLLP over TLSMLLP over VPNHTTPS (HL7 over HTTP)SFTP file dropFHIR DiagnosticReport
- Report content
- Findings and impression as textFull report as textPDF embedded in OBXText plus PDFSigned, expiring link to the PDF A link carries a per-report token that expires, and can be restricted to your network addresses. Nothing identifying the patient appears in the URL. Text arrives as structured OBX segments. A PDF arrives as a Base64 encapsulated document.
- Patient and order matching
- MRN and accessionYour placer order numberVisit or encounter numberEnterprise ID
- Message type
- ORU^R01 resultMDM^T02 document notificationORU^R01 with NTE notes Use MDM^T02 if your system files reports as documents rather than results. A sample is in section 3.
- Sending trigger
- Final onlyPreliminary and finalAddenda as correctionsAddenda as new final
- Field mapping
- Per-site mapping profileCustom Z-segmentsLocal code tablesCharacter set (UTF-8, ASCII, ISO 8859-1) Radiologist, procedure code, facility and location values are mapped per site.
- Routing
- One endpoint per siteRoute by facility or modalityFan out to several systemsSeparate test and live
- Retry policy
- Exponential backoff, 24 h windowCustom scheduleAlert channel: email, SMS, webhook
What we aim for, stated plainly.
Targets for normal operation. Contractual commitments are set out in the service agreement.
| Measure | Target |
|---|---|
| Signature to first send attempt | Under 30 seconds in normal operation |
| Retry schedule | 1, 5, 15 and 60 minutes, then hourly |
| Retry window | 24 hours, then escalate to a person |
| Alert on a stuck report | Within 15 minutes of the first failure that retries cannot fix |
| Planned maintenance | Notice in advance. Queued reports are sent when service resumes |
| Delivery audit records | Kept for a period you specify |
| Daily reconciliation | Count of signed, sent and acknowledged reports, available on request |
Cases both teams sign off before go-live.
Run against the test endpoint with synthetic patients.
| ID | Case | Expected result |
|---|---|---|
| T01 | Connect and complete the TLS handshake | Session opens. Certificates validate on both sides. |
| T02 | Final report, text only | ACK AA. Report appears on the correct chart. |
| T03 | Final report with PDF | ACK AA. PDF opens and matches the text. |
| T04 | Addendum after final | ACK AA. Handled per the agreed replace or append rule. |
| T05 | Accents, ampersands, carets and line breaks | Text displays exactly as signed. |
| T06 | Very long report | Delivered whole, not truncated. |
| T07 | Unknown accession | ACK AR. FLAIR stops retrying and raises an alert. |
| T08 | Receiver offline, then back | Retries, then delivers once with ACK AA. |
| T09 | Same message sent twice | One report on the chart. |
| T10 | Certificate renewal | New certificate accepted with no missed reports. |
A short, testable path to production.
Timing depends mostly on how quickly connectivity and test access come together on your side.
Agree the spec
- Review this design together
- Fix field mapping and triggers
- Exchange sample messages
Connect
- Set up VPN or certificates
- Open firewall rules both ways
- First ACK round trip on a test endpoint
Validate
- Synthetic patients, all report states
- Your team checks charts in test
- Failure scenarios rehearsed
Go live
- Start with one site or one radiologist
- Daily delivery reconciliation
- Widen once counts match
Eight answers get us started.
Partial answers are fine. We will work out the rest with your interface analyst.
- Receiving systemEHR, RIS or interface engine, and the product and version.
- HL7 version and sample messageAn example ORU you accept today, with PHI removed.
- Transport and networkMLLP, HTTPS or SFTP, and TLS or VPN. Hostnames and ports for test and live.
- IdentifiersHow you match a result: MRN assigning authority, accession or placer number.
- Report formatPlain text, formatted text, PDF, or a combination.
- Addendum handlingDo you replace, append or version corrected reports?
- Interface contactsAnalyst and on-call contact for go-live and for failures.
- Security requirementsQuestionnaire, agreements and any certificate or IP rules.
Who does what, on each side.
Each side names one person for every role before work starts.
| Role | FLAIR | Receiving organization |
|---|---|---|
| Project lead | Owns the schedule and sign-off | Owns the schedule and sign-off |
| Interface analyst | Maintains the mapping profile and runs the test cases | Configures the receiving interface and confirms the mapping |
| Security and compliance | Supplies certificates, source addresses and security documentation | Reviews the design, issues certificates and approves firewall rules |
| Go-live and incident contact | Monitors delivery and responds to alerts | Names an on-call contact for go-live and for failures |
Terms and sources used in this document.
- ACK
- HL7 acknowledgment message returned for each message received.
- Accession number
- Unique identifier of one imaging exam. Links report to order.
- BAA
- Business associate agreement covering handling of protected health information.
- Interface engine
- Software that receives, transforms and routes HL7 messages, such as Mirth or Rhapsody.
- LOINC
- Standard code system used here to identify the Findings and Impression sections.
- MLLP
- Minimal Lower Layer Protocol, the usual framing for HL7 v2 over TCP.
- MRN
- Medical record number assigned by your organization.
- mTLS
- Mutual TLS. Both sides present certificates.
- OBR / OBX
- Observation request and observation result segments.
- ORU^R01
- HL7 message type for an unsolicited observation result.
- PHI
- Protected health information.
- Z-segment
- Site-specific custom segment, agreed between both teams.
References
- HL7 Version 2.5.1 Implementation Guide and Standard, Health Level Seven International. hl7.org
- HL7 Table 0123 Result Status, Table 0119 Order Control Codes, Table 0125 Value Type.
- IHE Radiology Technical Framework, Integrating the Healthcare Enterprise. ihe.net
- LOINC, Regenstrief Institute. 59776-5 Procedure findings, 19005-8 Impression. loinc.org
- RFC 8446 (TLS 1.3) and RFC 5246 (TLS 1.2), IETF. rfc-editor.org