Java Code Comparison And Medical Record