public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            CareActivityEN t = obj as CareActivityEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
 public CareActivityEN(CareActivityEN careActivity)
 {
     this.init(Id, careActivity.CarePlanTemplate, careActivity.Periodicity, careActivity.Description, careActivity.Duration, careActivity.Medication, careActivity.Location, careActivity.OutcomeCode, careActivity.NutritionOrder, careActivity.TypeActivity, careActivity.Notification, careActivity.ActivityCode, careActivity.Name, careActivity.Appointment);
 }