web stats
List of Mirth HL7 Variable Names - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 11-20-2012, 09:26 PM
xuto xuto is offline
What's HL7?
Join Date: Aug 2010
Posts: 4
xuto is on a distinguished road
Default List of Mirth HL7 Variable Names

I am looking for a complete list of all of the built in Mirth variables such as ${observationOrResult0_observationValue_value} that represent standard HL7. I can obtain the list by entering a template and mapping every value out of the template but this is very time consuming and hard to keep strait. Does anyone know if there is a list of all of theses variables somewhere?
Reply With Quote
Old 11-20-2012, 09:32 PM
xuto xuto is offline
What's HL7?
Join Date: Aug 2010
Posts: 4
xuto is on a distinguished road

What I am trying to do is to list all of the standard variables for HL7 in a mysql insert statement so that when an message comes in to the channel it will populate a new row in the DB that has a column for every standard hl7 segment and populate fields with hl7 data when present.
Reply With Quote
Old 11-21-2012, 08:30 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road

The "observationOrResult_observationValue_value" variable name you're seeing is just the default name that Mapper steps use. Basically it just walks the DOM down to the node you're mapping, and concatenates the camelCased node description to the variable name. They aren't "built-in" per se; they're built dynamically based on the serialized XML.
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.

Last edited by narupley; 11-21-2012 at 11:17 AM.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 02:10 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation