0558244 10002707ADM 11/23/20073PAI_INT
0558244 10002707ADM 11/23/20074PAI_INTA
0558244 10002707DSCH11/20/20071TSC_SD_03
0558244 10002707DSCH11/20/20071TSC_SD_04
0558244 10002707DSCH11/20/20071TSC_SD_08
0558244 10002707DSCH11/20/20071TSC_SD_10
0558245 10002807ADM 11/15/20070PAI_INT
0558245 10002807ADM 11/15/20074PAI_INT
0558245 10002807ADM 11/15/20077PAI_INT
0558245 10002807DSCH11/15/20070TSC_SD_01
0558245 10002807DSCH11/15/20070TSC_SD_08
0558245 10002807DSCH11/15/20070TSC_SD_09
0558245 10002807DSCH11/15/20071TSC_SD_02
OBX Value just after 2007 on each line
I have create the FRL to include all the fields .
Each record inlcude a MEd Rec no. , Encounter number, ADM /DSCH, date, a OBX value and OBX Identifier.
I need to create a single ORU HL7 message for all the ADMs and a single ORU message for all the DSCH.
The OBX field is repeating over the single message.
So I need to format.
MSH
PID
OBR
{OBX}
I have tried to create a HRL using the FRL but having trouble since I need to repeat the OBX.
Anyone , any thoughts would be appreciated.
Thanks