No announcement yet.

List of Mirth HL7 Variable Names

  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    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.


    • #3
      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.
      Last edited by narupley; 11-21-2012, 10:17 AM.
      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.