For each order we receive a OBR segment followed by OBX segments.
If the message has more than one Lab order we receive multiple OBR, OBX segments, but not the ORC segment.
The recieving system needs to have the OBR, OBX segments preceded with the ORC segment.
Has anyone copied a single segment and then inserted into a message in a location where there is no place for that segment?
I am wondering if I need to modify the variant?
Here is an example of what we receive.
MSH|^~&|ORCHARD|OSU|GS|GS|20121004075649||ORM^O01|2012100407564920871|T|2.3
PID|1|111-11-1001|111-11-1001||OSUTEST^LAB ONE||19800101|F|||11 OSU DRIVE^^Corvallis^OR^97331||(541) 111-1001|||||||||||||||||
PV1|1||^^^OSU Lab||||WRENROD^Wren^Rodney||||||||||||55117|||||||||||||||||||||||||20121004075602||||||
ORC|NW|55117||||||||||||||||||
OBR|1|55117||BMP^BASIC METABOLIC PANEL|R||20121004075602|||^Lee^Allison||||201210040756||WRENROD^Wren^Rodney|||||||||||^^^^^R||||||||||||||||||||||||||||
OBX|1|ST|LFASTING||N-NON-FASTING
OBX|2|ST|OEBMPP||
OBX|3|ST|OEBMPP1||
OBR|2|55117||UC^CULTURE, URINE COLONY COUNT|R||20121004075602|||^Lee^Allison||||201210040756||WRENROD^Wren^Rodney|||||||||||^^^^^R||||||||||||||||||||||||||||
OBX|1|ST|LMICCOM||
OBX|2|ST|OESR||UR-URINE
OBX|3|ST|OEDQ||CC-CLEAN CATCH
Here is what we need it to look like
MSH|^~&|ORCHARD|OSU|GS|GS|20121004075649||ORM^O01|2012100407564920871|T|2.3
PID|1|111-11-1001|111-11-1001||OSUTEST^LAB ONE||19800101|F|||11 OSU DRIVE^^Corvallis^OR^97331||(541) 111-1001|||||||||||||||||
PV1|1||^^^OSU Lab||||WRENROD^Wren^Rodney||||||||||||55117|||||||||||||||||||||||||20121004075602||||||
ORC|NW|55117||||||||||||||||||
OBR|1|55117||BMP^BASIC METABOLIC PANEL|R||20121004075602|||^Lee^Allison||||201210040756||WRENROD^Wren^Rodney|||||||||||^^^^^R||||||||||||||||||||||||||||
OBX|1|ST|LFASTING||N-NON-FASTING
OBX|2|ST|OEBMPP||
OBX|3|ST|OEBMPP1||
ORC|NW|55117||||||||||||||||||
OBR|2|55117||UC^CULTURE, URINE COLONY COUNT|R||20121004075602|||^Lee^Allison||||201210040756||WRENROD^Wren^Rodney|||||||||||^^^^^R||||||||||||||||||||||||||||
OBX|1|ST|LMICCOM||
OBX|2|ST|OESR||UR-URINE
OBX|3|ST|OEDQ||CC-CLEAN CATCH