Converted patient.java to not use EMF.