DSC segments and Continuation Pointers - Has anyone had to code in Ensemble for Large ORU results?

Our lab system is now sending DSC segments in large Pathology results in the ORU message that is followed by a partial continuation message with only MSH and OBX segments.  the  pointer is in the MSH;14 in the subsequent message.  I believe the goal is to concatenate the first and second message but imagine this will require some custom functions which I have not done much of.  Anyone already tackled this by chance? 

Initial message:

MSH|^~\&|SOFTPATH^2.16.840.1.113883.3.3013.77.4^ISO|SCC|EPIC^2.16.840.1.113883.3.677^ISO|Inova Loudoun Lab^49D0222568^CLIA|20190122075426-0500||ORU^R01^ORU_R01|00464076|P|2.5.1|||AL|NE
PID|1||16204052^^^IHSMRN&1.2.840.114350.1.13.323.2.7.5.737384.67&ISO^MR^IHS&1.2.840.114350.1.13.323.2.7.8.696570.1&ISO~111-17-1111^^^IHSMRN&1.2.840.114350.1.13.323.2.7.5.737384.67&ISO^SS^IHS&1.2.840.114350.1.13.323.2.7.8.696570.1&ISO||SOFT^LHONE||19900308|M||2106-3^White^HL70005^W^White^L|456 GROVE ST^^FAIRFAX^VA^22030^USA^P^^FAIRFAX CI||^PRN^PH^^^703^5555555|||||12000321292||||U^Unknown^HL70189^U^Unknown^L||||||||N|||201812181358
NK1|1
PV1|1|I|LOBSV^W109^A^^^^^^L1|U|12000321292||1636^CHANG^ANTHONY^C^^Dr^^^INOVA Namespace ID&2.16.840.1.113883.3.3013.25.5&ISO^L^^^DN^INOVA Namespace ID&2.16.840.1.113883.3.3013.25.5&ISO|||INPATIENT|||||||1636^CHANG^ANTHONY^C^^Dr^^^INOVA Namespace ID&2.16.840.1.113883.3.3013.25.5&ISO^L^^^DN^INOVA Namespace ID&2.16.840.1.113883.3.3013.25.5&ISO|I|12000321292|||||||||||||||||||||||||201803281431
ORC|RE|628138^^^|7^INOVA^2.16.840.1.113883.3.3013.25.5^ISO|LX-19-9^INOVA^2.16.840.1.113883.3.3013.25.5^ISO||||||RB||1636^CHANG^ANTHONY^C^^Dr^^^INOVA Namespace ID&2.16.840.1.113883.3.3013.25.5&ISO^L^^^DN^INOVA Namespace ID&2.16.840.1.113883.3.3013.25.5&ISO|LOBSV||||||||^L^^^^^XX^^^LH|44045 RIVERSIDE PARKWAY^^LEESBURG^VA^20176^^B|^^PH|2901 TELESTAR CT^200^FALLS CHURCH^VA^22042^
OBR|1|628138^^^|7^INOVA^2.16.840.1.113883.3.3013.25.5^ISO|SUR^SURGICAL SPECIMEN^L^SUR^SURGICAL SPECIMEN^L^NA^NA^SURGICAL SPECIMEN

 OBX|520|TX|^^LN^SUR^SURGICAL SPECIMEN^L^^NA||hemorrhagic contains an ill-defined pink-tan and broad-based area|||A|||F||||||||||||^D^^^^^XX|^^^^^|^^^^^^^^^L^^^DN
OBX|521|TX|^^LN^SUR^SURGICAL SPECIMEN^L^^NA||measuring 1 x 0.9 cm, 0.1 cm from the closest edge. The margin is inked|||A|||F||||||||||||^D^^^^^XX|^^^^^|^^^^^^^^^L^^^DN
OBX|522|TX|^^LN^SUR^SURGICAL SPECIMEN^L^^NA||black and serially sectioned and entirely submitted in four cassettes|||A|||F||||||||||||^D^^^^^XX|^^^^^|^^^^^^^^^L^^^DN
DSC|004640761|F

 Continuation message.

MSH|^~\&|SOFTPATH^2.16.840.1.113883.3.3013.77.4^ISO|SCC|EPIC^2.16.840.1.113883.3.677^ISO|Inova Loudoun Lab^49D0222568^CLIA|20190122075426-0500||ORU^R01|00464076|P|2.5.1||004640761||||||||HIS1~HIS1~HIS1
OBX|523|TX|^^LN^SUR^SURGICAL SPECIMEN^L^^NA||with the described possible lesion in cassettes #A1 and #A2.|||A^^^A^Abnormal (applies to non-numeric results)^HL70078^^2.5.1|||F
 

  • 0
  • 0
  • 40
  • 0
  • 0