i create a channel and send a xml file through the channel but it showing this error
//Adding datas to MSH field
40:
41: var tmp;
42: tmp['MSH']={};
43:
44: tmp['MSH']['MSH.3']['MSH.3.1']="AMRITA HIS";
45: tmp['MSH']['MSH.4']['MSH.4.1']="AHIS";
46: tmp['MSH']['MSH.5']['MSH.5.1']="FUJI";
LINE NUMBER: 42
DETAILS: TypeError: Cannot set property "MSH" of undefined to "[object Object]"
at 96b547d2-a1c5-4c9e-af81-1e42c89e9887:42 (doTransform)
at 96b547d2-a1c5-4c9e-af81-1e42c89e9887:206 (doScript)
at 96b547d2-a1c5-4c9e-af81-1e42c89e9887:208
at com.mirth.connect.server.transformers.JavaScriptFi lterTransformer$FilterTransformerTask.call(JavaScr iptFilterTransformer.java:134)
at com.mirth.connect.server.transformers.JavaScriptFi lterTransformer$FilterTransformerTask.call(JavaScr iptFilterTransformer.java:100)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
please help me to fix the error
//Adding datas to MSH field
40:
41: var tmp;
42: tmp['MSH']={};
43:
44: tmp['MSH']['MSH.3']['MSH.3.1']="AMRITA HIS";
45: tmp['MSH']['MSH.4']['MSH.4.1']="AHIS";
46: tmp['MSH']['MSH.5']['MSH.5.1']="FUJI";
LINE NUMBER: 42
DETAILS: TypeError: Cannot set property "MSH" of undefined to "[object Object]"
at 96b547d2-a1c5-4c9e-af81-1e42c89e9887:42 (doTransform)
at 96b547d2-a1c5-4c9e-af81-1e42c89e9887:206 (doScript)
at 96b547d2-a1c5-4c9e-af81-1e42c89e9887:208
at com.mirth.connect.server.transformers.JavaScriptFi lterTransformer$FilterTransformerTask.call(JavaScr iptFilterTransformer.java:134)
at com.mirth.connect.server.transformers.JavaScriptFi lterTransformer$FilterTransformerTask.call(JavaScr iptFilterTransformer.java:100)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
please help me to fix the error
my thread
0 commentaires:
Enregistrer un commentaire