I am trying to null out all OBX segments in their entirety in an ADT message (Where the receiving system does not take the data in the OBX segments)
I have been trying to work with the Iterate and Pathcopy features.
First, here’s a copy of the message as it appears in the testing tool:
0(0).MSH(0) : >|^~&|ST02|L|LA01|L|201004140836||ADT^A01|PLW21213800856264009|P|2.2|||AL|NE< 0(0).EVN(0) : >|A01|201004140836||ADM|U75334^RUMICK^IRIS< 0(0).PID(0) : >|1|000008895|04111755^^^ST02L^MR||RUMICK^Oclink128554||19400203|M|||||||NR|||3022802^^^ST02L< 0(0).PV1(0) : >|1|I|MED^M250^A^L^OCC|2^I|||2218^RUSTOGI^ALOK^C^^^MD^HL70010|||MED||||2|||2393^RIAR^AMJAD^C^^^MD^HL70010|IP||S||PLS-1~DNA-N|||||||||||||||||AH||2|||201004140834||||||||4084^CHINERY^ROGER^C^^DR.< 0(0).PV2(0) : >||S|broken links< 0(0).OBX(0) : >|1|ST|^^^ABC^Assign Benefits^PLW-HL7|||||||||||20100414< 0(0).OBX(1) : >|2|ST|^^^LWDCF^Discharge Record Flags^PLW-HL7||~Y< 0(0).OBX(2) : >|3|ST|^^^LRRF^Reg Required Flags^PLW-HL7||~~~NR~~1< 0(0).DG1(0) : >|1|I9|443.9|PERIPH VASCULAR DIS NOS||NA|||||||||00< 3(0).0(0).IN1(0) : >|1|SELFPAY^SELF PAY/DISCOUNT 35|SE|SELF PAY|||||||||||Z< 4(0).ZLW(0) : >||none|||||3|||||||||||||3265||CCTS|ADM< I am not strong with my knowledge of iteration and establishing the proper basis and variables. I am trying to set up a situation where I can copy @null to the entire segment (something I succeed in when the segment does not repeat). So now I am trying to put the copy @null via the pathcopy inside an iterate. Thanks! Tom Arrowsmith Inova Loudoun Hospital (703) 779-5474