public override int GetHashCode() { return(Id.GetHashCode() ^ PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ SourceConceptId.GetHashCode() ^ (CareSiteId.GetHashCode()) ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ AdmittingSourceConceptId.GetHashCode() ^ (AdmittingSourceValue != null ? AdmittingSourceValue.GetHashCode() : 0) ^ DischargeToConceptId.GetHashCode() ^ (DischargeToSourceValue != null ? DischargeToSourceValue.GetHashCode() : 0) ^ PrecedingVisitOccurrenceId.GetHashCode()); }
public override int GetHashCode() { return(Id.GetHashCode() ^ PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ (StartTime != null ? StartTime.GetHashCode() : 0) ^ (EndTime != null ? EndTime.GetHashCode() : 0) ^ SourceConceptId.GetHashCode() ^ (CareSiteId.GetHashCode()) ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ AdmittingSourceConceptId.GetHashCode() ^ (AdmittingSourceValue != null ? AdmittingSourceValue.GetHashCode() : 0) ^ (ProviderKey != null ? ProviderKey.GetHashCode() : 0) ^ (ProviderId.GetHashCode()) ^ DischargeToConceptId.GetHashCode() ^ (DischargeToSourceValue != null ? DischargeToSourceValue.GetHashCode() : 0) ^ PrecedingVisitDetailId.GetHashCode() ^ VisitDetailParentId.GetHashCode()); }