Access the Java CAPS documentation pages at http://developers.sun.com/docs/javacaps/tutorials/samples.jsp.
Next to Sun Master Patient Index, click Sample Project Zip File.
Save the ZIP file to your computer.
Extract the file to the directory you specified for the inbound File Adapter in Define the Environment.
The inbound File Adapters pick up the files and append “.~in” to the file name so you know that each was picked up. After the data is processed, the outbound File Adapters create an output file for each input file. The files contain the output of executeMatch.
For the Collaboration project, the full text of the message along with the EUID is returned in the output file. For the Business Process project, only the EUID and result code are returned. The result codes are 1 (new record), 2 (system and local ID match found), and 3 (assumed match). Both 2 and 3 update existing records. Since the records in both files match, if the Collaboration file is processed first, the Business Process file will return all “2” result codes. If the Business Process file is run first, the result codes should be mostly “1”.