HL7 Anon is an application that removes as much personally identifiable information from HL7 messages as it can. Please be careful to check each and every message by hand to ensure that it has been properly cleaned before using the message for anything beyond its original purpose. The author of this software makes no guarantee that the program performs any task competently, and treat any data that it processes as if it were your own.
Please run the program and view the documentation there to see more details on how it works.
If you download the zip file you can also run the utility on the command line if you wish to use it for batch processing. The syntax is as follows:
java -jar Hl7Anon.jar [inputfile.txt] > [outputfile.txt]
If you run it without the input file as an argument it will attempt to start the GUI.
When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:
java -jar "Hl7Anon.jar"
To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
* If two JAR files on the project classpath have the same name, only the first JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, none of the classpath elements are copied to the lib folder. In such a case, you need to copy the classpath elements to the lib folder manually after the build.
* If a library on the projects classpath also has a Class-Path element specified in the manifest,the content of the Class-Path element has to be on the projects runtime path.
* To set a main class in a standard Java project, right-click the project node in the Projects window and choose Properties. Then click Run and enter the class name in the Main Class field. Alternatively, you can manually type the class name in the manifest Main-Class element.