Hello everyone,
I receive an MDM format from a publisher with two values in the PID 3 field.
When there are two values in this field, I need to retrieve the value 2 in position 1.
Is there a script or manipulation that allows this?
example transform 1 to 2:
message type 1:
PID|||22222222^^^&1.2.34.8&ISO^INS~100456789^^^^PI||aa^bb^bb aa^^^^L~bb^aa^^^^^D||1966|F|||^^^^^^B^^75||||||||||||||||||||||V
message type 2:
PID|||100456789^^^^PI||aa^bb^bb aa^^^^L~bb^aa^^^^^D||1966|F|||^^^^^^B^^75||||||||||||||||||||||V
I also have a problem with the formalism not being respected.
There is an OBR line between PV1 and TXA. For this publisher, however, OBR is in the MDM format, which is as follows:
MSH
EVN
PID
[ PV1 ]
[ OBR ]
[ TXA ]
[ OBX ]
Is there a way to retrieve the standard format?