Hi
I need to get list of segments from a message , so that i can validate if EMR sending all valid segment against a msg structure. calling this function should return me below string
,MSH,EVN,PID,PD1,NK1,PV1,PV2,DB1,OBX,OBX,AL1,DG1,DRG,PR1,ROL,GT1,IN1,IN2,IN3,ACC,UB1,UB2,
Below is my HL7 msg