Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

OBX segments of type 'ST' are not recognized

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OBX segments of type 'ST' are not recognized

    Hi,

    When looping through multiple OBX segments to process both 'CE' and 'ST' types, it seems that mirth only recognizes the 'CE' typed OBX segments. In my transformer I have a simple loop that writes out the value that is in the msg['OBX']['OBX.2']['OBX.2.1'] field.

    The log file correctly writes that the field has 'CE', but when it process a field with 'ST' (and also 'TX')...the log file writes out: undefined

    Also calling msg['OBX']['OBX.2']['OBX.2.1'].toString() will cause an error for non-CE segments because the value is supposedly undefined.

    What could be the cause of this phenomenon?

    Thanks,
    docinthebox

    INFO 2008-01-14 13:20:47,494 [d5e2fca6-6154-4e67-a157-6f30923add03_source_connector._fileEndpoint#409805 610.receiver.1] destination-transformer: ANTIBIOTIC TEST RESULT = undefined
    INFO 2008-01-14 13:20:47,494 [d5e2fca6-6154-4e67-a157-6f30923add03_source_connector._fileEndpoint#409805 610.receiver.1] destination-transformer: ANTIBIOTIC TEST RESULT = undefined
    INFO 2008-01-14 13:20:47,494 [d5e2fca6-6154-4e67-a157-6f30923add03_source_connector._fileEndpoint#409805 610.receiver.1] destination-transformer: ANTIBIOTIC TEST RESULT = undefined
    INFO 2008-01-14 13:20:47,591 [d5e2fca6-6154-4e67-a157-6f30923add03_source_connector._fileEndpoint#409805 610.receiver.1] destination-transformer: ANTIBIOTIC TEST RESULT = CE
    INFO 2008-01-14 13:20:47,607 [d5e2fca6-6154-4e67-a157-6f30923add03_source_connector._fileEndpoint#409805 610.receiver.1] destination-transformer: CE(if branch) ANTIBIOTIC TEST RESULT = CE
    INFO 2008-01-14 13:20:47,607 [d5e2fca6-6154-4e67-a157-6f30923add03_source_connector._fileEndpoint#409805 610.receiver.1] destination-transformer: ANTIBIOTIC TEST RESULT = undefined
Working...
X