Announcement

Collapse

NextGen (Mirth) Connect 3.11.0 Released!

NextGen (Mirth) Connect 3.11.0 is now available as an appliance update and on our GitHub page. This release contains improvements to licensing and the NCPDP data type. It also includes various security fixes, general bug fixes, and improvements to commercial extensions. See the release notes for the complete list of fixes and improvements.

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

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

basic transform set PV1.18 to certain value in JSON message

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

  • basic transform set PV1.18 to certain value in JSON message

    new to Mirth - training coming up in a few weeks.
    in the meantime, trying to setup a simple translation.

    i.e. - if PV1.18 in (1,2,3,4) set PV1.18 = A
    else if PV1.18 in (4.5,6) set PV1.18 = B
    else if PV1.18 in (7,8,9) set PV1.18 = C
    else don't modify.

  • #2
    jkrebs that is SQL'ish @flistermin is simply saying if PV1.18 is any of those values. Although I think he has a typo since the first and second IN overlap.

    Also that particular use case is trivial in the message builder if you don't want to use native code.
    Last edited by pacmano; Today, 08:45 PM.
    Diridium Technologies, Inc.
    https://diridium.com

    Comment


    • #3
      jkrebs that is SQL'ish @flistermin is simply saying if PV1.18 is any of those values. Although I think he has a typo since the first and second IN overlap.

      Also that particular use case is trivial in the message builder if you don't want to use native code.
      Thanks for the clarification! Removing earlier post.
      Last edited by jkrebs; Today, 09:40 PM.

      Comment

      Working...
      X