Hi guys I came across this bug while dragging and dropping hl7 segments from the hl7 tree tab into the mapping text box in "edit transformer".
When I drag PID.3 CX.1 into the textbox it gives me this:
msg['ORU_R01.PATIENT_RESULT']['ORU_R01.PATIENT']['PID']['PID.3']['CX.1'].toString()
but when I deploy it simply returns and empty string, upon examination of the xml under the "transformed message" tab i discovered this:
<ORU_R01.PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI>
<ORU_R01.PIDPD1NK1NTEPV1PV2>
<PID>
<PID.3>
<CX.1>780293</CX.1>
which meant I had to change the mapping to:
msg['ORU_R01.PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI ']['ORU_R01.PIDPD1NK1NTEPV1PV2']['PID']['PID.3']['CX.1'].toString()
in order for it to work. I'm using mirth 1.3.2
Any thoughts?
Thanks.
When I drag PID.3 CX.1 into the textbox it gives me this:
msg['ORU_R01.PATIENT_RESULT']['ORU_R01.PATIENT']['PID']['PID.3']['CX.1'].toString()
but when I deploy it simply returns and empty string, upon examination of the xml under the "transformed message" tab i discovered this:
<ORU_R01.PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI>
<ORU_R01.PIDPD1NK1NTEPV1PV2>
<PID>
<PID.3>
<CX.1>780293</CX.1>
which meant I had to change the mapping to:
msg['ORU_R01.PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI ']['ORU_R01.PIDPD1NK1NTEPV1PV2']['PID']['PID.3']['CX.1'].toString()
in order for it to work. I'm using mirth 1.3.2
Any thoughts?
Thanks.
Comment