public bool Equals(PatientInfo other) { var name = new PersonName(Name); var otherName = new PersonName(other.Name); return(name.Equals(otherName) && String.Equals(PatientId, other.PatientId, StringComparison.InvariantCultureIgnoreCase)); }
public bool Equals(PatientInfo other) { var name = new PersonName(Name); var otherName = new PersonName(other.Name); return(name.Equals(otherName) && String.Equals(PatientId, other.PatientId, StringComparison.InvariantCultureIgnoreCase)); }