I am trying to copy the value of PID.3.6 into MSH.4
Everytime I do that I get the value copied in MSH.4.6 which is not where I want it to be. I would like the value to only be in MSH.4
MSH|^~\&|RAD|^^^^^CC||184|20141121180203||ORU^R01| 207668846|T|2.3||||||PRELIM
PID|1|1008737005|^^^^^CC|800011081158^Centricity RIS-IC|TESTINO^BARBARA^^^^||19470621|F|||1
The simple copy from one field to another does not work!
tmp['MSH'][MSH.4']['MSH.4.1']= msg['PID'][PID.3']['PID.3.6'];
Any help is appreciated.
Everytime I do that I get the value copied in MSH.4.6 which is not where I want it to be. I would like the value to only be in MSH.4
MSH|^~\&|RAD|^^^^^CC||184|20141121180203||ORU^R01| 207668846|T|2.3||||||PRELIM
PID|1|1008737005|^^^^^CC|800011081158^Centricity RIS-IC|TESTINO^BARBARA^^^^||19470621|F|||1
The simple copy from one field to another does not work!
tmp['MSH'][MSH.4']['MSH.4.1']= msg['PID'][PID.3']['PID.3.6'];
Any help is appreciated.
copying from PID.3.6 to MSH segment
0 commentaires:
Enregistrer un commentaire