FLAIR
Integration specification · October 2026
Report delivery

From signed report to your system, over HL7.

When a radiologist signs a report in FLAIR, we push it to your EHR or RIS as an HL7 result message. Delivery is encrypted, confirmed by an acknowledgment from your side, retried on failure, and logged end to end. Every part of it is configurable to match your interface.

Event drivenSent the moment a report is signed. No polling, no batch window.
Secure by defaultTLS or VPN tunnel, allow-listed endpoints, no patient data in logs.
Confirmed deliveryA report counts as delivered only when your system returns an ACK.
Fits your setupHL7 v2.3 to v2.8, your transport, your identifiers, your field mapping.
Document
FLAIR-INT-HL7-001
Version
1.0
Status
Current
Date
6 Oct 2026
Audience
Interface and security teams
Classification
Public
Scope and revision history

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.
VersionDateChange
1.02026-10-06Initial release.
1 · How it works

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.

FLAIR

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

→ HL7 ORU^R01
  • TLS 1.2+ / mutual TLS
  • or site-to-site VPN
  • IP allow-list both ways
← ACK (AA / AE / AR)
Your system

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.

AA → marked Delivered AE or no reply → retried with backoff AR or retries exhausted → alert to both teams
Sequence for one signed report
Radiologist FLAIR app Delivery worker Your interface Your EHR / RIS 1 Sign report 2 Lock and enqueue 3 Build and validate 4 ORU^R01 over TLS 5 Map 6 File result 7 ACK (AA) 8 Mark Delivered No ACK or AE: retry from 4 on backoff. AR: stop, alert, wait for fix.
2 · Triggers

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 eventHL7 messageResult statusWhat your system should do
Report signedORU^R01OBR-25 = FFile as the final report for the accession.
Preliminary read releasedORU^R01OBR-25 = PShow as preliminary until a final arrives. Optional.
Addendum signedORU^R01OBR-25 = CReplace 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 replacedORU^R01OBR-25 = C or XMark the earlier version superseded. Optional.
Manual resendORU^R01same status, new control IDIdempotent. The accession and version identify the report, so repeats do not duplicate.
3 · Sample message

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.

      4 · Field specification

      Segment by segment, field by field.

      Only the fields below are populated. Everything else is left empty unless your mapping profile adds it.

      R requiredRE required, may be empty if unknownC conditionalO optionalSample values are examples.

      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 reportSent asMeaning
      |\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-ASCIIUTF-8 bytes, or \Xc3a9\ on ASCII-only channelsHex escape carries the UTF-8 byte sequence
      5 · Acknowledgments

      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-1MeaningFLAIR action
      AAApplication acceptMark the report Delivered. Clear the stored payload.
      AEApplication error, usually temporaryKeep the job open and retry on the backoff schedule. Log the ERR segment text, without patient data.
      ARApplication reject, will not succeed on retryStop retrying. Alert FLAIR support and your named contact. Wait for a fix, then resend manually.
      CA / CE / CRCommit accept, error, reject (enhanced mode)Handled like AA, AE and AR for the transport stage. Application stage is tracked separately.
      wrong control IDACK whose MSA-2 does not match the message sentIgnored and treated as no ACK. Logged.
      unparseableReply that is not valid HL7, or an empty replyTreated as AE. Alert if it repeats on three attempts in a row.
      no ACKNo reply within the timeout (default 30 s) or connection droppedTreated 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.

      6 · Security and integrity

      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
      7 · Failure handling

      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.

      8 · Connectivity

      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.

      <SB> 0x0BHL7 message<EB> 0x1C<CR> 0x0D
      • 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.
      ParameterTestProduction
      ProtocolMLLP over TLS 1.2+MLLP over TLS 1.2+
      Your endpoint hostSet by the receiving organizationSet by the receiving organization
      Your endpoint portSet by the receiving organizationSet by the receiving organization
      FLAIR source addressesFixed IPs, shared in Phase 2Fixed IPs, shared in Phase 2
      AuthenticationMutual TLS. Certificates exchanged out of bandMutual TLS. Separate certificates
      Connection styleOne connection per message or persistent, your choiceSame as test
      ACK timeout30 seconds30 seconds
      Character setUTF-8UTF-8
      MSH-5 / MSH-6Set by the receiving organizationSet by the receiving organization
      MSH-11 Processing IDTP
      PatientsSynthetic onlyLive
      9 · Options

      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
      10 · Service targets

      What we aim for, stated plainly.

      Targets for normal operation. Contractual commitments are set out in the service agreement.

      MeasureTarget
      Signature to first send attemptUnder 30 seconds in normal operation
      Retry schedule1, 5, 15 and 60 minutes, then hourly
      Retry window24 hours, then escalate to a person
      Alert on a stuck reportWithin 15 minutes of the first failure that retries cannot fix
      Planned maintenanceNotice in advance. Queued reports are sent when service resumes
      Delivery audit recordsKept for a period you specify
      Daily reconciliationCount of signed, sent and acknowledged reports, available on request
      11 · Test plan

      Cases both teams sign off before go-live.

      Run against the test endpoint with synthetic patients.

      IDCaseExpected result
      T01Connect and complete the TLS handshakeSession opens. Certificates validate on both sides.
      T02Final report, text onlyACK AA. Report appears on the correct chart.
      T03Final report with PDFACK AA. PDF opens and matches the text.
      T04Addendum after finalACK AA. Handled per the agreed replace or append rule.
      T05Accents, ampersands, carets and line breaksText displays exactly as signed.
      T06Very long reportDelivered whole, not truncated.
      T07Unknown accessionACK AR. FLAIR stops retrying and raises an alert.
      T08Receiver offline, then backRetries, then delivers once with ACK AA.
      T09Same message sent twiceOne report on the chart.
      T10Certificate renewalNew certificate accepted with no missed reports.
      12 · Rollout

      A short, testable path to production.

      Timing depends mostly on how quickly connectivity and test access come together on your side.

      Phase 1

      Agree the spec

      • Review this design together
      • Fix field mapping and triggers
      • Exchange sample messages
      Phase 2

      Connect

      • Set up VPN or certificates
      • Open firewall rules both ways
      • First ACK round trip on a test endpoint
      Phase 3

      Validate

      • Synthetic patients, all report states
      • Your team checks charts in test
      • Failure scenarios rehearsed
      Phase 4

      Go live

      • Start with one site or one radiologist
      • Daily delivery reconciliation
      • Widen once counts match
      13 · Inputs needed

      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.
      14 · Roles

      Who does what, on each side.

      Each side names one person for every role before work starts.

      RoleFLAIRReceiving organization
      Project leadOwns the schedule and sign-offOwns the schedule and sign-off
      Interface analystMaintains the mapping profile and runs the test casesConfigures the receiving interface and confirms the mapping
      Security and complianceSupplies certificates, source addresses and security documentationReviews the design, issues certificates and approves firewall rules
      Go-live and incident contactMonitors delivery and responds to alertsNames an on-call contact for go-live and for failures
      15 · Glossary and references

      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