예제 #1
0
 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());
 }
예제 #2
0
 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());
 }