File dtdFile = new File(dtdFilename);
if (!exists(dtdFile)) {
System.exit(-1);
}
PreProcessor pp = new ClinicalNotePreProcessor(dtdFile, false);
timestamp = System.currentTimeMillis();
DocumentMetaData dmd = pp.process(hl7Text);
elapsedTime = System.currentTimeMillis() - timestamp;
System.out.println("PreProcessor Took " + elapsedTime + "ms");
System.out.println("Plain Text Start");
System.out.println(dmd.getText());