@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime
				* result
				+ ((diagnosisComment == null) ? 0 : diagnosisComment.hashCode());
		result = prime * result
				+ ((diagnosisDate == null) ? 0 : diagnosisDate.hashCode());
		result = prime * result
				+ ((diagnosisName == null) ? 0 : diagnosisName.hashCode());
		result = prime * result + ((doctor == null) ? 0 : doctor.hashCode());
		result = prime * result
				+ ((patientCard == null) ? 0 : patientCard.hashCode());
		result = prime
				* result
				+ ((patientHistoryId == null) ? 0 : patientHistoryId.hashCode());
		return result;
	}