public HandleClientDataEntryPropertyAccess(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_ExecutionStatus.ContinueExecutionOnHalt = false; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_Rule.ActionList.Add(HasOrderBeenReceived); this.m_Rule.ActionList.Add(IsCurrentUserTheOwnerOfThisOrder); this.m_Rule.ActionList.Add(SetAreDemographicsEnabledToTrue); //Must be last. }
public HandleClientDataEntryPropertyAccess(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_ExecutionStatus.ContinueExecutionOnHalt = false; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_Rule.ActionList.Add(HasOrderBeenReceived); this.m_Rule.ActionList.Add(IsCurrentUserTheOwnerOfThisOrder); this.m_Rule.ActionList.Add(SetAreDemographicsEnabledToTrue); //Must be last. }
public SignInRules(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_ApplicationSettings = ApplicationSettings.Instance; this.m_ApplicationIdentity = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance; this.m_Rule.ActionList.Add(IsAccountKeySet); this.m_Rule.ActionList.Add(LookupWebServiceAccount); this.m_Rule.ActionList.Add(SetDomainAccount); }
public ClientAuthentication(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_ApplicationSettings = ApplicationSettings.Instance; this.m_ApplicationIdentity = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_Rule.ActionList.Add(ValidateWithWebService); //this.m_Rule.ActionList.Add(LookupDomainAccount); //this.m_Rule.ActionList.Add(IsPasswordCorret); //this.m_Rule.ActionList.Add(SaveCurrentSignInfo); }
public ApplicationStartupRules(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_ApplicationSettings = ApplicationSettings.Instance; this.m_ApplicationIdentity = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance; this.m_Rule.ActionList.Add(CreateApplicationRoot); this.m_Rule.ActionList.Add(CreateSettingsFile); this.m_Rule.ActionList.Add(UpgradeSettings); this.m_Rule.ActionList.Add(CreateLocalFolders); }
public ContainerIdValidation(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_ExecutionStatus.ContinueExecutionOnHalt = false; this.m_ExecutionStatus.SuccessMessage = "The container id is valid."; this.m_Rule.ActionList.Add(IsContainerIdLengthValid); this.m_Rule.ActionList.Add(IsContainerIdFormatValid); this.m_Rule.ActionList.Add(DoesConainerIdExistInCurrentOrder); this.m_Rule.ActionList.Add(DoesConainerIdExistInOrderCollection); }
public ContainerIdValidation(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_ExecutionStatus.ContinueExecutionOnHalt = false; this.m_ExecutionStatus.SuccessMessage = "The container id is valid."; this.m_Rule.ActionList.Add(IsContainerIdLengthValid); this.m_Rule.ActionList.Add(IsContainerIdFormatValid); this.m_Rule.ActionList.Add(DoesConainerIdExistInCurrentOrder); this.m_Rule.ActionList.Add(DoesConainerIdExistInOrderCollection); }
public ClientAuthentication(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_ApplicationSettings = ApplicationSettings.Instance; this.m_ApplicationIdentity = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_Rule.ActionList.Add(ValidateWithWebService); //this.m_Rule.ActionList.Add(LookupDomainAccount); //this.m_Rule.ActionList.Add(IsPasswordCorret); //this.m_Rule.ActionList.Add(SaveCurrentSignInfo); }
public ClientOrderValidation(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_ExecutionStatus.ContinueExecutionOnHalt = true; this.m_ExecutionStatus.SuccessMessage = "The client order has been successfully validated."; this.m_ExecutionStatus.FailureMessage = "We were unable to validate the client order because of the following issues:"; this.m_Rule.ActionList.Add(IsPreOpNull); this.m_Rule.ActionList.Add(IsBirthdateValid); this.m_Rule.ActionList.Add(IsSvhMedicalRecordValid); this.m_Rule.ActionList.Add(IsSvhAccountNoValid); this.m_Rule.ActionList.Add(DoesFirstNameExist); this.m_Rule.ActionList.Add(DoesLastNameExist); this.m_Rule.ActionList.Add(DoesProviderExist); this.m_Rule.ActionList.Add(DoAllSpecimenHaveDescriptions); this.m_Rule.ActionList.Add(IsPlacentalQuestionnaireNeeded); }
public ClientOrderValidation(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_Rule = new Business.Rules.SimpleRule(this.m_ExecutionStatus); this.m_ExecutionStatus.ContinueExecutionOnHalt = true; this.m_ExecutionStatus.SuccessMessage = "The client order has been successfully validated."; this.m_ExecutionStatus.FailureMessage = "We were unable to validate the client order because of the following issues:"; this.m_Rule.ActionList.Add(IsPreOpNull); this.m_Rule.ActionList.Add(IsBirthdateValid); this.m_Rule.ActionList.Add(IsSvhMedicalRecordValid); this.m_Rule.ActionList.Add(IsSvhAccountNoValid); this.m_Rule.ActionList.Add(DoesFirstNameExist); this.m_Rule.ActionList.Add(DoesLastNameExist); this.m_Rule.ActionList.Add(DoesProviderExist); this.m_Rule.ActionList.Add(DoAllSpecimenHaveDescriptions); this.m_Rule.ActionList.Add(IsPlacentalQuestionnaireNeeded); }