Home > Healthcare Integration > Rhapsody XML to PDF Filter

Rhapsody XML to PDF Filter

Using the XML to PDF filter in Rhapsody from a Rhapsody configuration perspective is easy. It supports three modes of operation via configuration.

The simplest is to configure it to accept an XSLT_FO file as a message on its input, which then causes it to output a PDF message.

The other two modes require the filter to be configured to use an XSLT_FO file that is filled in by data from the filter’s input message.

If the input to the filter is an XML file, the XSLT_FO file configured in the filter extracts data from the XML file using XPATH expressions and inserts data into itself producing a PDF message as its output.

If the input to the filter is a S3D file like an HL7 message, the filter further needs to be configured with the definition of that S3D file. Then XPATH expressions can be used in the configured XSLT_FO file to extract data from the message and insert it into itself producing a PDF message as its output.

The key to using this filter is understanding the XSLT_FO standard and XPATH expressions. We have used this filter to convert text in HL7 ORU and MDM messages into simple PDF documents by first converting the HL7 message into a simple XML file with three elements a root, header and content. A Rhapsody map is used to fill in the XML document, which is then passed to the XML to PDF filter that uses a XSLT_FO file that makes minimal use of the standard but we are able to create a header on each page with the content and page numbers in footer.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: