public Boolean IsEqual(MemberCaseCarePlan compareObject) { Boolean isEqual = base.IsEqual((CoreExtensibleObject)compareObject); return(isEqual); }
public MemberCaseCarePlan Copy() { Server.Application.MemberCaseCarePlan serverObject = (Server.Application.MemberCaseCarePlan)ToServerObject(); MemberCaseCarePlan copiedObject = new MemberCaseCarePlan(application, serverObject); return(copiedObject); }
public MemberCaseCarePlan CarePlan(Int64 forCarePlanId) { MemberCaseCarePlan carePlan = null; foreach (MemberCaseCarePlan currentCarePlan in carePlans) { if (currentCarePlan.Id == forCarePlanId) { carePlan = currentCarePlan; break; } } return(carePlan); }
public MemberCaseCarePlan FindMemberCaseCarePlan(Int64 memberCaseCarePlanId) { MemberCaseCarePlan memberCaseCarePlan = null; foreach (MemberCaseCarePlan currentCarePlan in CarePlans) { if (currentCarePlan.Id == memberCaseCarePlanId) { memberCaseCarePlan = currentCarePlan; break; } } return(memberCaseCarePlan); }
public MemberCaseCarePlan FindMemberCaseCarePlanByGoalId(Int64 memberCaseCarePlanGoalId) { MemberCaseCarePlan memberCaseCarePlan = null; foreach (MemberCaseCarePlan currentCarePlan in CarePlans) { if (currentCarePlan.ContainsGoal(memberCaseCarePlanGoalId)) { memberCaseCarePlan = currentCarePlan; break; } } return(memberCaseCarePlan); }
public MemberCase(Application applicationReference, Mercury.Server.Application.MemberCase serverObject) { BaseConstructor(applicationReference, serverObject); memberId = serverObject.MemberId; referenceNumber = serverObject.ReferenceNumber; status = serverObject.Status; assignedToWorkTeamId = serverObject.AssignedToWorkTeamId; assignedToWorkTeamDate = serverObject.AssignedToWorkTeamDate; assignedToSecurityAuthorityId = serverObject.AssignedToSecurityAuthorityId; assignedToUserAccountId = serverObject.AssignedToUserAccountId; assignedToUserAccountName = serverObject.AssignedToUserAccountName; assignedToUserDisplayName = serverObject.AssignedToUserDisplayName; assignedToDate = serverObject.AssignedToDate; lockedBySecurityAuthorityId = serverObject.LockedBySecurityAuthorityId; lockedByUserAccountId = serverObject.LockedByUserAccountId; lockedByUserAccountName = serverObject.LockedByUserAccountName; lockedByUserDisplayName = serverObject.LockedByUserDisplayName; lockedByDate = serverObject.LockedByDate; effectiveDate = serverObject.EffectiveDate; terminationDate = serverObject.TerminationDate; problemClasses.Clear(); foreach (Server.Application.MemberCaseProblemClass currentServerProblemClass in serverObject.ProblemClasses) { MemberCaseProblemClass problemClass = new MemberCaseProblemClass(Application, currentServerProblemClass); problemClass.MemberCase = this; problemClasses.Add(problemClass); } carePlans.Clear(); foreach (Server.Application.MemberCaseCarePlan currentServerCarePlan in serverObject.CarePlans) { MemberCaseCarePlan carePlan = new MemberCaseCarePlan(Application, currentServerCarePlan); carePlan.MemberCase = this; carePlans.Add(carePlan); } careInterventions.Clear(); foreach (Server.Application.MemberCaseCareIntervention currentServerCareIntervention in serverObject.CareInterventions) { MemberCaseCareIntervention careIntervention = new MemberCaseCareIntervention(Application, currentServerCareIntervention); careIntervention.MemberCase = this; careInterventions.Add(careIntervention); } return; }