#1
|
|||
|
|||
![]()
Primary insurance name is Medicare. Secondary is Anthem PPO. When using the drag and drop variable mapping, the XML path is exactly the same.
How can I assign variable "secondaryins" to IN1|2| 4.1 IN1|1|PLANID1|2620|Medicare|PO Box 182932^^Columbus^OH^43218||||||||||PI|LASTNAME^FIR STNAME|1|19481228|411 5th Street Ne^^Barberton^OH^44203||||||||||||N|||||291467782A GT1|1||LASTNAME^FIRSTNAME||411 5th Street Ne^^Barberton^OH^44203|3307454123||19481228|M||1|| ||| IN1|2|PLANID2|244|Anthem PPO|Po Box 37180^^Louisville^KY^40233|||00109669|||||||PI|LAS TNAME^FIRSTNAME|1|19481228|411 5th Street Ne^^Barberton^OH^44203||||||||||||N|||||YRP492M552 30 GT1|2||LASTNAME^FIRSTNAME||411 5th Street Ne^^Barberton^OH^44203|3307454123||19481228|M||1|| ||| |
#2
|
|||
|
|||
![]()
Refer support forum post, "Patients w/ multiple insurance":
http://www.mirthproject.org/index.ph...d=73&Itemid=63 Hope it helps! |
#3
|
|||
|
|||
![]()
Also, see the wiki for my write up on processing multiple segments of the same type in a message. Its a Filter example, but a more appropiate use would be in a JAVASCRIPT transformer step. They are basically the same. Essentially, once you get the values using the map location syntax and then the "array" value, you can then use
Code:
var firstInsurance = whatever the mapping is[0]; var secondInsurance = whatever the mapping is[1]; localMap.put('Insurance1',firstInsurance); localMap.put('Insurance2', secondInsurance); Good luck. -Justin |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Assign null value in channelmap.put | ricber | Support | 4 | 02-11-2011 10:07 AM |
Multiple insurance segments | dfelton | Support | 5 | 10-17-2007 06:32 AM |
Insurance array mapping wrong value | arumpke | Support | 1 | 06-23-2007 10:33 PM |
SQL field showing variable name and not variable itself | oakwood | Support | 5 | 04-05-2007 08:45 AM |
Patients w/ multiple insurance | nshaik | Support | 2 | 10-05-2006 01:39 PM |