The following article explains how to take an HL7 OBX message and convert it into a PDF.
www.qvera.com/kb/index.php/287