Getting Started With Sun Master Patient Index

Run the Sample Files

Running the sample files inserts patient records into the Sun Master Patient Index database. The data in both sample files is identical, so if you run both files only one record should be created for each entry in the files depending on how the match string and match thresholds have been modified.

ProcedureTo Access and Process the Sample Files

  1. Access the Java CAPS documentation pages at http://developers.sun.com/docs/javacaps/tutorials/samples.jsp.

  2. Next to Sun Master Patient Index, click Sample Project Zip File.

  3. Save the ZIP file to your computer.

  4. 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.


    Note –

    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”.