web stats
fhir bundle write error - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2019, 10:11 AM
rhumphrys rhumphrys is offline
Mirth Newb
 
Join Date: Feb 2018
Posts: 24
rhumphrys is on a distinguished road
Default fhir bundle write error

I am perplexed by this error. I have looked everywhere and can not find the cause.

mirth:3.63

============================
Transformer error
ERROR MESSAGE: Error evaluating transformer
com.mirth.connect.server.MirthJavascriptTransforme rException:
CHANNEL: xxxxxxxxxxxxxxxxxxxxxxx
CONNECTOR: FHIR Resource Bundles
SCRIPT SOURCE: TRANSFORMER
SOURCE CODE:
1485:
1486: //Add Race
1487:
1488: var raceout = JSON.parse($('Jrace')); //this is the array of 1-many races from the death cert
1489:
1490: var r1code = raceout[0].rcode;
1491: var r1name = raceout[0].rname;
1492:
1493:
1494:
LINE NUMBER: 1490
DETAILS: TypeError: Cannot read property "rcode" from undefined
at cff6484d-91d8-4d42-ac72-becc5afcaa0c:1490 (doTransform)
at cff6484d-91d8-4d42-ac72-becc5afcaa0c:1675 (doScript)
at cff6484d-91d8-4d42-ac72-becc5afcaa0c:1677
at com.mirth.connect.server.transformers.JavaScriptFi lterTransformer$FilterTransformerTask.doCall(JavaS criptFilterTransformer.java:154)
at com.mirth.connect.server.transformers.JavaScriptFi lterTransformer$FilterTransformerTask.doCall(JavaS criptFilterTransformer.java:119)
at com.mirth.connect.server.util.javascript.JavaScrip tTask.call(JavaScriptTask.java:113)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation