class HibernateDiagnosisDAO implements DiagnosisDAO {

	@Override
	public Diagnosis getDiagnosisByUuid(String uuid){
		return (Diagnosis) sessionFactory.getCurrentSession().createQuery("from Diagnosis d where d.uuid = :uuid")
			.setString("uuid", uuid).uniqueResult();
	}

}