class HibernateDiagnosisDAO implements DiagnosisDAO {

	@Override
	public Diagnosis getDiagnosisById(Integer diagnosisId) {
		return (Diagnosis) sessionFactory.getCurrentSession().get(Diagnosis.class, diagnosisId);
	}

}