both parts now working together, made patientparser