Mirth Connect and Cerner Integration: HL7 v2 and PowerChart
CTO & Co-Founder
CTO & Co-Founder at Nirmitee.io. Leads US healthcare integration work across EHRs, payers and clearinghouses: X12 claims, eligibility, ERA posting, prior auth and FHIR, plus ABDM and NHCX in India. Writes from builds the team has taken live.

Updated October 31, 2026. Oracle pages read the same day.
Mirth Connect and Cerner integration means running an interface engine between your application and Oracle Health Millennium, so HL7 v2 and FHIR traffic has one place to be received, mapped, logged and retried. HL7 v2 feeds connect to Millennium, and PowerChart is the clinician's application that displays what Millennium stores. So when a buyer asks for "HL7 into PowerChart", the work is an interface into Millennium plus a check of how that hospital displays the data.
This guide is for product and integration leaders planning Cerner HL7 feeds. If you want a team to build them, see our Oracle Health and Cerner integration services or our Mirth Connect integration services. For the wider choice of routes, read the Cerner API integration guide.
How HL7 data reaches PowerChart
HL7 data reaches PowerChart in two steps: an interface files the message into Millennium, and PowerChart then shows what is stored. Oracle's product descriptions never list PowerChart as an interface endpoint. They name "a Cerner system" or "Cerner Millennium" and "a foreign system".
Oracle's wording supports this split in three places. Results Incoming says results are "stored as discrete data elements in the Cerner database where they are available for viewing". An older Cerner training page says "Millennium architecture features HL7 as the conduit for information exchange into and out of the database". Oracle describes PowerChart Oncology, for its part, as providing "access to an electronic health record", with visits, test results, images and medications.
That split is our reading of those documents. Oracle does not publish a sentence saying "HL7 does not connect to PowerChart", and the training page is dated 2007. Which folder or flowsheet shows your result depends on the hospital's build, and that detail is not public.
Is this your use case?
Start with the business need, since each need points at a different interface and a different owner at the hospital.
| Your situation | What you may not know yet | What it means |
|---|---|---|
| Your lab or device results must show in the chart | Oracle separates discrete results from displayable text | Decide with clinicians first. Discrete data can be stored as data elements, and text comes back as you sent it. |
| You need to know when a patient is admitted or discharged | Oracle lists ADTs Demographics Outgoing as its own interface | Ask whether the hospital already runs it, and whether you can share it through their engine. |
| You place or fill orders | Orders Outgoing can ask your system to assign an order number and return it | Agree which system owns the order number before you build. |
| You file notes or documents | Oracle describes the Clinical Documents interface for dictation, transcription and voice systems, and Encounter Notes Incoming as a flat file format | Confirm the route for your document type, and compare it with a FHIR write. |
| You send charges | Charges Incoming is listed as its own interface | Bring finance into the scope. Clinical and billing feeds have different owners. |
| Your buyer says "into PowerChart" | The interface connects to Millennium, and display is the hospital's build | Ask where it should appear, and who builds that view. |
Which HL7 feeds carry which data
Oracle lists separate licensed interfaces by data type and direction, so scope your feeds the same way. The table uses Oracle's product names from its list dated 8 July 2026. The message types in the last column are the usual HL7 families, added by us. Oracle's descriptions mostly do not name them, and each hospital's specification decides.
| Data | Into Millennium | Out of Millennium | Usual HL7 family |
|---|---|---|---|
| Patient and encounter | ADTs Demographics Incoming | ADTs Demographics Outgoing | ADT |
| Orders | Orders Incoming (with statuses) | Orders Outgoing (with statuses) | ORM or OMG |
| Results | Results Incoming, as discrete data or displayable text | Results Outgoing, as discrete data or displayable text | ORU |
| Documents and notes | Clinical Documents Medical Document Mgmt Incoming, Encounter Notes Incoming | Not confirmed from public text | MDM |
| Appointments | Appointment Notifications Incoming | Appointment Notifications Outgoing | SIU, to be confirmed |
| Charges | Charges Incoming | Billing Outgoing (Batch) | DFT, to be confirmed |
| Vaccinations | Not confirmed from public text | Vaccinations Outgoing | VXU, per Oracle's description |
Three details from those descriptions affect scope. Discrete results are stored as data elements, while displayable text results are "presented together for review in the same textual format sent by the foreign system", so the choice changes what clinicians can trend or act on. Orders Outgoing can ask the other system to assign its own order number and send it back. And Oracle says the Clinical Documents interface is for dictation, transcription and voice recognition systems, so confirm it fits before you plan to file other documents through it. If you need a filing route for notes, also compare FHIR DocumentReference and our guide to MDM messages.
What these messages look like
These two samples are illustrative, made up for this guide, with synthetic data. They follow the general HL7 v2 format. They are not Oracle's specification, since that is not public, and a real hospital's fields will differ. They help a buyer see what the feed carries and where disagreements arise.
An admission (ADT^A01), which tells other systems that a patient has arrived:
MSH|^~\&|MILLENNIUM|TESTHOSP|YOURAPP|YOURORG|20261031101500||ADT^A01|MSG00001|T|2.5.1
EVN|A01|20261031101400
PID|1||TEST000123^^^TESTHOSP^MR||SYNTHETIC^PATIENT||19800101|F
PV1|1|I|4WEST^401^A^TESTHOSP||||TEST1^PROVIDER^SAMPLE|||MED||||||||V00045678 A lab result (ORU^R01), going from an outside system toward Millennium:
MSH|^~\&|YOURLAB|YOURORG|MILLENNIUM|TESTHOSP|20261031113000||ORU^R01|MSG00002|T|2.5.1
PID|1||TEST000123^^^TESTHOSP^MR||SYNTHETIC^PATIENT||19800101|F
PV1|1|I|4WEST^401^A^TESTHOSP||||||||||||||||V00045678
ORC|RE|ORD1001|LAB2002
OBR|1|ORD1001|LAB2002|718-7^Hemoglobin^LN|||20261031103000
OBX|1|NM|718-7^Hemoglobin^LN||13.2|g/dL|12.0-15.5|N|||F|||20261031110000 | Segment | What it carries | The business question it raises |
|---|---|---|
| MSH | Sender, receiver, message type, and a test or production flag | Are we sure test traffic cannot reach production? |
| PID | Patient identifiers and demographics | Which identifier does this hospital trust, and what happens on a mismatch? |
| PV1 | Visit, location and visit number | Must the result attach to a specific encounter? |
| ORC and OBR | Order numbers and what was ordered | Is there an order to match, and who owns its number? |
| OBX | The result, units, range and status | Which code system will the hospital accept, and who maps local codes? |
Whose engine, and whose license
Ask this before you scope anything, because two engines may be involved. Oracle names its own engines: Open Engine, which it describes as supporting interfaces that comply with HL7, ASTM and X12, and OPENLink, which its developer page calls "a full-featured interface engine". Mirth Connect is a separate engine that you or the hospital runs. Oracle's list shows each interface as a licensed item, often on a full-time-equivalent basis.
We found no public price, and no public statement of which interfaces a given hospital already holds. Oracle's message specifications are not public either, so ask the hospital for its specification and sample messages early.
Why put Mirth Connect in the middle
An engine gives you one place to receive, inspect, transform and route every message, with logging and retries, so a quiet feed at 2 am leaves a record. Millennium data is rarely shaped the way your application wants it, and you need somewhere to reshape it. Mirth Connect, also sold as NextGen Connect, handles HL7 v2 over MLLP, FHIR, CCDA, X12 and files. Our complete guide to Mirth Connect explains where it fits, and our architecture and deployment guide covers running it.
HL7 or FHIR for each Cerner data need
Use HL7 v2 when you need an event as it happens, and FHIR R4 when your application pulls or writes specific records. Mature systems often run both. If they overlap, name one source for each data element, because two feeds can disagree.
HL7 usually runs over a secured network link arranged with the hospital's team, so hospital time is the main dependency. FHIR uses OAuth 2.0 with scoped access. A FHIR-to-HL7 choice also affects writes: Oracle's secure sandbox allowed writes on 21 of 44 FHIR R4 resource types on 31 October 2026, and a hospital's domain needs its own check. Our PowerChart integration guide covers putting a screen in the chart, which HL7 cannot do.
Inside a Mirth channel for Cerner data
A Mirth channel has four parts, and most of the work sits in the transformer. The source receives the message, through an MLLP listener for HL7 or a polling job for FHIR. The filter drops events you do not need. The transformer maps fields and code values. The destination writes the result to a database, a FHIR store or another system.
This trimmed transformer uses synthetic values and pulls fields from an inbound ORU^R01:
// Transformer: extract result fields from an ORU^R01
var mrn = msg['PID']['PID.3']['PID.3.1'].toString();
var testName = msg['OBX']['OBX.3']['OBX.3.2'].toString();
var value = msg['OBX']['OBX.5']['OBX.5.1'].toString();
var localCode = msg['OBX']['OBX.3']['OBX.3.1'].toString();
// Map the local code to a standard LOINC code
var loinc = $('localToLoinc')[localCode] || 'UNMAPPED';
channelMap.put('result', JSON.stringify({
mrn: mrn, test: testName, value: value, loinc: loinc
})); Real segment use depends on the hospital's specification, and a result message usually has many OBX segments, so production channels loop over them. Our guide to ORU lab result routing goes further.
The Cerner code value problem
Expect local codes in the feed, and budget for mapping them to standards. Oracle's provisioning guide shows the same issue on the FHIR side, where customers file a service request to map the codable concepts an app uses. The mapping is usually site specific, so one hospital's table will not automatically fit the next.
In practice this is a lookup table that the transformer reads. Keep it under version control, and alert on unmapped codes so new ones surface before a clinician notices. Our HL7 v2 to FHIR mapping guide goes deep on building these tables.
What breaks in production
Oracle's product descriptions set the boundaries in the first three rows. The others are our engineering judgment from how HL7 feeds behave in general, and are labelled so.
| What happens | Basis | What to decide up front |
|---|---|---|
| A result arrives as text and cannot be trended | Oracle: displayable text results are presented in the same textual format sent | Choose discrete or text with clinicians, per result type. |
| Who controls an outgoing feed | Oracle: Cerner system users control timing and selection criteria for Results Outgoing, and foreign system users control receipt and format | Agree the filter and timing with the hospital in writing. |
| What an inbound feed can do depends on the Cerner system | Oracle says incoming and outgoing transactions depend on the capabilities of the Cerner system | Test each event type you depend on in that domain. |
| A new local code appears | Our judgment | Alert on unmapped codes, and hold the message for review. |
| A feed goes quiet | Our judgment | Alert on silence by expected volume, and name who responds. |
| A message fails partway | Our judgment | Keep failed messages for replay, and test replay for duplicates. |
| Patient matching fails | Our judgment | Send it to a person. Never guess a patient. |
What to ask before you sign
Oracle publishes no interface timeline, and hospital time is the largest unknown. Get these answers before you give a customer a date:
- Which interfaces do you already license and run, and which would be new?
- Which engine will we connect to, and who supports it?
- Can we have your specification and sample messages, with synthetic data?
- Where will this result or document appear in PowerChart, and who builds that view?
- Do you have a test domain, and who sends test traffic?
- Who approves the network link, and is a Business Associate Agreement in place?
What Nirmitee has shown here, and what it has not
Our public Oracle Health evidence is a recorded SMART on FHIR run in the developer sandbox with test patients. It does not show an HL7 feed into a hospital's Millennium domain, and our service page marks hospital-domain work as dependent on access. For HL7 on Millennium, we start from the hospital's specification. Book a Cerner HL7 scoping call and bring the feed you need first.
Sources
All read 31 October 2026.
- Oracle Health Licensed Software Solution Descriptions (updated 8 July 2026)
- Cerner uLearn HL7 training, welcome page (dated 2007, older but still online)
- Oracle Health developer resources
- Oracle, FHIR Application Provisioning (dated July 2024)
- Oracle secure sandbox capability statement
Oracle Health, Cerner, Millennium, PowerChart, Open Engine and OPENLink are trademarks of Oracle and/or its affiliates. Mirth is a trademark of its owner. Nirmitee is an independent company, and this guide is not endorsed by Oracle. Examples use synthetic data.
Ready to scale?
Talk to our healthcare engineering team about building, integrating, and shipping faster.
Frequently Asked Questions
Does HL7 connect directly to PowerChart?
How do results from an outside lab appear in PowerChart?
Does Cerner use HL7?
Can Mirth Connect connect to Cerner?
Is HL7 or FHIR better for Cerner?
Are Cerner HL7 specifications public?


