Announcement

Collapse
No announcement yet.

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