Announcement

Collapse

Mirth Connect 4.1.0 Released!

Mirth Connect 4.1.0 is now available as an appliance update and on our GitHub page. Mirth Connect 4.1.0 includes new features such as new event log messages, additional fields to the Welcome to Mirth Connect screen, new information included in alerts as well as many smaller changes, updates, and improvements. This release also contains several 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

Mapping entire field with all subfields

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

  • Mapping entire field with all subfields

    When I map in a transformer the entire field PV1-3 (assigned patient location) the variable contains the XML for the field <PV1.3><PV1.3.1/><PV1.3.2/><PV1.3.3/><PV1.3.4>A<PV1.3.4/><PV1.3.5><PV1.3.5/> and not the contents of the field which I expected to be ;;;A; If I map to a specific subfield I am then passed the contents of that subfield.
    How can I pull the entire field and not have to map each individual subfield?

    Thanks.

  • #2
    Re:Mapping entire field with all subfields

    Try
    p.text().toXMLString()

    (beeing 'p' the PV1.3> node )

    Comment


    • #3
      Re:Mapping entire field with all subfields

      I would also like to know how to do that..
      Where should I place that code albert?
      Will I declare 'p' as var?
      Tonet

      Comment

      Working...
      X