Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            RelationshipEN t = obj as RelationshipEN;

            if (t == null)
            {
                return(false);
            }
            if (Identifier.Equals(t.Identifier))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 2
0
 public RelationshipEN(RelationshipEN relationship)
 {
     this.init(Identifier, relationship.Relationship, relationship.PatientOID, relationship.RelatedPersonOID);
 }