public void Execute(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderCytology, YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology panelSetOrderCytology, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_PanelSetOrderCytology = panelSetOrderCytology; this.m_PanelOrderCytology = panelOrderCytology; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(executionStatus); }
public override void AcceptResults(YellowstonePathology.Business.Rules.RuleExecutionStatus ruleExecutionStatus, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, Business.User.SystemUser acceptingUser) { YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus(); YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.ReportNo); if (panelSetOrder.Final == true) { executionStatus.AddMessage(this.ReportNo + " is already finaled.", true); ruleExecutionStatus.PopulateFromLinqExecutionStatus(executionStatus); return; } if (this.Accepted == true) { executionStatus.AddMessage(this.ReportNo + " Acid Wash result has already been accepted.", true); ruleExecutionStatus.PopulateFromLinqExecutionStatus(executionStatus); return; } this.Accepted = true; this.AcceptedById = acceptingUser.UserId; this.AcceptedDate = DateTime.Today; this.AcceptedTime = DateTime.Now; this.Acknowledged = true; this.AcknowledgedById = acceptingUser.UserId; this.AcknowledgedDate = DateTime.Today; this.AcknowledgedTime = DateTime.Now; }
public void SetData(Paragraph otherCases, string reportNo, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { m_OtherCases = otherCases; m_ReportNo = reportNo; m_ExecutionStatus = executionStatus; this.m_Rule.Execute(m_ExecutionStatus); }
public void Execute(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToSet, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_PanelOrderToSet = panelOrderToSet; this.m_AccessionOrder = accessionOrder; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(this.m_ExecutionStatus); }
public void Execute(string masterAccessionNo, int assignToId, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_MasterAccessionNo = masterAccessionNo; this.m_AssignedToId = assignToId; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(executionStatus); }
public void Execute(YellowstonePathology.Business.User.SystemUser userPerformingFinal, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_UserPerformingFinal = userPerformingFinal; this.m_PanelOrder = panelOrder; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(this.m_ExecutionStatus); }
public void Execute(YellowstonePathology.Business.Amendment.Model.Amendment amendment, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus, YellowstonePathology.Business.User.SystemIdentity systemIdentity) { this.m_Amendment = amendment; this.m_ExecutionStatus = executionStatus; this.m_SystemIdentity = systemIdentity; this.m_Rule.Execute(this.m_ExecutionStatus); }
public void Execute(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology cytologyPanelOrderToUnfinal, YellowstonePathology.Business.Test.AccessionOrder cytologyAccessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_CytologyAccessionOrder = cytologyAccessionOrder; this.m_PanelOrderToUnfinal = cytologyPanelOrderToUnfinal; this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)this.m_CytologyAccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelOrderToUnfinal.ReportNo); this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(executionStatus); }
public void Execute(string resultCode, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ResultCode = resultCode; this.m_PanelOrder = panelOrder; this.m_AccessionOrder = accessionOrder; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(this.m_ExecutionStatus); }
public void Execute(YellowstonePathology.Business.Cytology.Model.ScreeningImpression screeningImpression, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ScreeningImpression = screeningImpression; this.m_PanelOrder = panelOrder; this.m_AccessionOrder = accessionOrder; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(this.m_ExecutionStatus); }
public void Execute(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder, YellowstonePathology.Business.Amendment.Model.Amendment amendment) { this.m_AccessionOrder = accessionOrder; this.m_PanelSetOrder = panelSetOrder; this.m_Amendment = amendment; this.m_ExecutionStatus = new ExecutionStatus(); this.m_Rule.Execute(m_ExecutionStatus); }
public void Execute(Rules.ExecutionStatus executionStatus, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder) { this.m_AccessionOrder = accessionOrder; this.m_PanelSetOrder = panelSetOrder; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(executionStatus); }
public void Execute(YellowstonePathology.Business.Cytology.Model.SpecimenAdequacy specimenAdequacy, List<YellowstonePathology.Business.Cytology.Model.SpecimenAdequacyComment> specimenAdequacyComments, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_SpecimenAdequacy = specimenAdequacy; this.m_SpecimenAdequacyComments = specimenAdequacyComments; this.m_PanelOrder = panelOrder; this.m_AccessionOrder = accessionOrder; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(this.m_ExecutionStatus); }
public void Execute(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus, YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder, bool createAmendment, YellowstonePathology.Business.User.SystemIdentity systemIdentity) { this.m_ExecutionStatus = executionStatus; this.m_PanelSetOrderItem = panelSetOrder; this.m_CreateAmendment = createAmendment; this.m_SystemIdentity = systemIdentity; this.m_Rule.Execute(executionStatus); }
public SearchNameOrReportNo() { this.m_ExecutionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus(); this.m_Rule = new YellowstonePathology.Business.Rules.Rule(); this.m_Rule.ActionList.Add(this.HasContent); this.m_Rule.ActionList.Add(this.GetReportNo); this.m_Rule.ActionList.Add(this.GetName); }
public void Execute(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus, Test.AccessionOrder accessionOrder, Test.PanelOrder panelOrder, YellowstonePathology.Business.User.SystemUser orderingUser, YellowstonePathology.Business.User.SystemUser acceptingUser) { this.m_AccessionOrder = accessionOrder; this.m_PanelSetOrder = accessionOrder.PanelSetOrderCollection.GetPanelSetOrder(panelOrder.ReportNo); this.m_PanelOrderBeingAccepted = this.m_PanelSetOrder.PanelOrderCollection.GetByPanelOrderId(panelOrder.PanelOrderId); this.m_ExecutionStatus = executionStatus; this.m_OrderingUser = orderingUser; this.m_AcceptingUser = acceptingUser; this.m_Rule.Execute(executionStatus); }
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 void Execute(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder, YellowstonePathology.Business.Common.FieldEnabler fieldEnabler, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_AccessionOrder = accessionOrder; this.m_PanelSetOrder = panelSetOrder; this.m_FieldEnabler = fieldEnabler; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(this.m_ExecutionStatus); }
public SetScreeningImpression() { this.m_Rule = new YellowstonePathology.Business.Rules.Rule(); this.m_ExecutionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus(); this.m_Rule.ActionList.Add(IsOkToSetScreeningImpression); this.m_Rule.ActionList.Add(SetScreeningImpressionResult); this.m_Rule.ActionList.Add(RemoveBiopsyPerformedInAnotherFacilityComment); this.m_Rule.ActionList.Add(SetScreeningImpressionCode); this.m_Rule.ActionList.Add(AddBiopsyPerformedInAnotherFacilityComment); }
public CanFinalizeCytologyPanelOrderAudit(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToFinal, YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology panelSetOrderCytology, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_PanelOrderToFinal = panelOrderToFinal; this.m_PanelSetOrderCytology = panelSetOrderCytology; this.m_AccessionOrder = accessionOrder; this.m_SystemIdentity = systemIdentity; this.m_ExecutionStatus = executionStatus; }
public void Execute(YellowstonePathology.Business.Interface.IPanelOrder panelOrderToDelete, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus, YellowstonePathology.Business.User.SystemIdentity systemIdentity) { this.m_ExecutionStatus = executionStatus; this.m_AccessionOrder = accessionOrder; this.m_PanelOrderToDelete = panelOrderToDelete; this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelOrderToDelete.ReportNo); this.m_CurrentUser = systemIdentity.User; this.m_Rule.Execute(executionStatus); }
public void Execute(string screeningType, YellowstonePathology.Business.Test.AccessionOrder cytologyAccessionOrder, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology initiatingPanelOrder, ProcessingModeEnum processingMode, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ScreeningType = screeningType; this.m_CytologyAccessionOrder = cytologyAccessionOrder; this.m_InitiatingPanelOrder = initiatingPanelOrder; this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)cytologyAccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(initiatingPanelOrder.ReportNo); this.m_ProcessingMode = processingMode; this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(this.m_ExecutionStatus); }
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 SetSpecimenAdequacy() { this.m_Rule = new YellowstonePathology.Business.Rules.Rule(); this.m_ExecutionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus(); this.m_Rule.ActionList.Add(IsOkToSetSpecimenAdequacy); this.m_Rule.ActionList.Add(SetSpecimenAdequacyResult); this.m_Rule.ActionList.Add(RemoveTZoneReportComment); this.m_Rule.ActionList.Add(RemoveUnsatResultComment); this.m_Rule.ActionList.Add(SetSpecimenAdequacyCode); this.m_Rule.ActionList.Add(HandleAbsentTZoneReportComment); this.m_Rule.ActionList.Add(HandleUnsatResult); }
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 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 void Execute(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.Execute(); }
public void ScreeningFinal(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToFinal, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { YellowstonePathology.Business.Audit.Model.AuditResult auditResult = this.m_PanelSetOrderCytology.IsOkToFinalize(this.m_AccessionOrder, panelOrderToFinal, this.m_SystemIdentity, executionStatus); if (this.m_PanelSetOrderCytology.Final == true) { Business.Audit.Model.AuditResult result = this.m_PanelSetOrderCytology.CheckFinaledUnsatResultWithAssociatedCases(this.m_AccessionOrder); if (result.Status == Business.Audit.Model.AuditStatusEnum.Failure) { MessageBox.Show(result.Message); } YellowstonePathology.Business.ReportDistribution.Model.MultiTestDistributionHandler multiTestDistributionHandler = YellowstonePathology.Business.ReportDistribution.Model.MultiTestDistributionHandlerFactory.GetHandler(this.m_AccessionOrder); multiTestDistributionHandler.Set(); if (this.m_AccessionOrder.PanelSetOrderCollection.WomensHealthProfileExists() == true) { this.m_AccessionOrder.PanelSetOrderCollection.GetWomensHealthProfile().SetExptectedFinalTime(this.m_AccessionOrder); this.SetHPVComment(); } this.StartWomensHealthProfilePath(); } }
private void HandleImagerError() { if (this.m_PanelOrderToFinal.ImagerError == true) { if (this.m_PanelSetOrderCytology.DoesScreeningReviewExist() == false) { YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview(); YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus(); addScreeningReview.Execute("Cytotech Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus); } } }
public void Execute(YellowstonePathology.Business.User.SystemUser userPerformingFinal, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToFinal, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_UserPerformingFinal = userPerformingFinal; this.m_ExecutionStatus = executionStatus; this.m_AccessionOrder = accessionOrder; this.m_PanelOrderToFinal = panelOrderToFinal; this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelOrderToFinal.ReportNo); this.m_Rule.Execute(executionStatus); }
public void ClearCase(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology cytologyPanelOrderToClear, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { YellowstonePathology.Business.Rules.Cytology.ClearCase clearCase = new YellowstonePathology.Business.Rules.Cytology.ClearCase(); clearCase.Execute(cytologyPanelOrderToClear, this.m_PanelSetOrderCytology, executionStatus); }
public void Execute(string reportComment, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ReportComment = reportComment; this.m_PanelOrder = panelOrder; this.m_Rule.Execute(executionStatus); }
public void Execute(YellowstonePathology.Business.User.SystemUser userPerformingFinal, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToFinal, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_UserPerformingFinal = userPerformingFinal; this.m_ExecutionStatus = executionStatus; this.m_AccessionOrder = accessionOrder; this.m_PanelOrderToFinal = panelOrderToFinal; this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelOrderToFinal.ReportNo); this.m_Rule.Execute(executionStatus); }
public void DeletePanelOrder(YellowstonePathology.Business.Interface.IPanelOrder panelOrderToDelete, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { YellowstonePathology.Business.Rules.Cytology.DeletePanelOrder deletePanelOrder = new YellowstonePathology.Business.Rules.Cytology.DeletePanelOrder(); deletePanelOrder.Execute(panelOrderToDelete, this.m_AccessionOrder, executionStatus, this.m_SystemIdentity); }
private void AddQCReviewIfNecessary() { YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus(); YellowstonePathology.Business.Rules.Cytology.AddCytologyQCPanelOrder addQC = new AddCytologyQCPanelOrder(); addQC.Execute(this.m_AccessionOrder, this.m_PanelOrderToFinal, executionStatus); }
public void AddAcidWashPanelOrder(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology orderingPanelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { string panelOrderId = MongoDB.Bson.ObjectId.GenerateNewId().ToString(); YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapAcidWashPanel thinPrepPapAcidWashPanel = new YellowstonePathology.Business.Test.ThinPrepPap.ThinPrepPapAcidWashPanel(); YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash panelOrderCytologyAcidWash = new YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderAcidWash(this.m_PanelSetOrderCytology.ReportNo, panelOrderId, panelOrderId, thinPrepPapAcidWashPanel, this.m_SystemIdentity.User.UserId, this.m_SystemIdentity.User.Initials); this.m_PanelSetOrderCytology.PanelOrderCollection.Add(panelOrderCytologyAcidWash); this.m_PanelSetOrderCytology.CalculateExpectedFinalTimeWhenAddingPanel(); orderingPanelOrder.AppendReportComment(thinPrepPapAcidWashPanel.ReportComment); }
public void Execute(string otherCondition, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_OtherCondition = otherCondition; this.m_PanelOrder = panelOrder; this.m_Rule.Execute(executionStatus); }
public void ScreeningFinal(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToFinal, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { YellowstonePathology.Business.Audit.Model.AuditResult auditResult = this.m_PanelSetOrderCytology.IsOkToFinalize(this.m_AccessionOrder, panelOrderToFinal, this.m_SystemIdentity, executionStatus); if (this.m_PanelSetOrderCytology.Final == true) { YellowstonePathology.Business.ReportDistribution.Model.MultiTestDistributionHandler multiTestDistributionHandler = YellowstonePathology.Business.ReportDistribution.Model.MultiTestDistributionHandlerFactory.GetHandler(this.m_AccessionOrder); multiTestDistributionHandler.Set(); if (this.m_AccessionOrder.PanelSetOrderCollection.WomensHealthProfileExists() == true) { this.m_AccessionOrder.PanelSetOrderCollection.GetWomensHealthProfile().SetExptectedFinalTime(this.m_AccessionOrder); } this.StartWomensHealthProfilePath(); } this.Save(false); }
public void Execute(YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder) { this.m_PanelSetOrderItem = panelSetOrder; this.m_ExecutionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus(); this.m_Rule.Execute(this.m_ExecutionStatus); }
public void SetResultToAgree(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology panelOrderToSet, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { YellowstonePathology.Business.Rules.Cytology.SetResultToAgree setResultToAgree = new YellowstonePathology.Business.Rules.Cytology.SetResultToAgree(); setResultToAgree.Execute(panelOrderToSet, this.m_AccessionOrder, executionStatus); }
public SimpleRule(YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_ExecutionStatus = executionStatus; this.m_ActionList = new List <Action>(); }
public void SetResult(string resultCode, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology selectedPanelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { YellowstonePathology.Business.Rules.Cytology.SetResult setResult = new YellowstonePathology.Business.Rules.Cytology.SetResult(); setResult.Execute(resultCode, selectedPanelOrder, this.m_AccessionOrder, executionStatus); }
public void RunWorkspaceEnableRules() { YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus(); YellowstonePathology.Business.Rules.WorkspaceEnableRules workspaceEnableRules = new YellowstonePathology.Business.Rules.WorkspaceEnableRules(); workspaceEnableRules.Execute(this.m_AccessionOrder, this.m_PanelSetOrder, this.m_FieldEnabler, executionStatus); }
public void ScreeningUnfinal(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology cytologyPanelOrderToUnfinal, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { YellowstonePathology.Business.Rules.Cytology.ScreeningUnfinal screeningUnfinal = new YellowstonePathology.Business.Rules.Cytology.ScreeningUnfinal(); screeningUnfinal.Execute(cytologyPanelOrderToUnfinal, this.m_AccessionOrder, executionStatus); }
public void SetReportComment(string comment, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology selectedPanelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { YellowstonePathology.Business.Rules.Cytology.SetReportComment setReportComment = new YellowstonePathology.Business.Rules.Cytology.SetReportComment(); setReportComment.Execute(comment, selectedPanelOrder, executionStatus); }
private void HandleUnsatPrimaryScreeningResult() { bool resultIsUnsat = YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsResultCodeUnsat(this.m_PanelOrderToFinal.ResultCode); if (resultIsUnsat == true) { if (this.m_PanelSetOrderCytology.DoesPathologistReviewExist() == false) { YellowstonePathology.Business.Rules.Cytology.AddScreeningReview addScreeningReview = new YellowstonePathology.Business.Rules.Cytology.AddScreeningReview(); YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new YellowstonePathology.Business.Rules.ExecutionStatus(); addScreeningReview.Execute("Pathologist Review", this.m_AccessionOrder, this.m_PanelOrderToFinal, this.m_ProcessingMode, executionStatus); } } }
public void SetOtherCondition(string otherCondition, YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology selectedPanelOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { YellowstonePathology.Business.Rules.Cytology.SetOtherCondition setOtherCondition = new YellowstonePathology.Business.Rules.Cytology.SetOtherCondition(); setOtherCondition.Execute(otherCondition, selectedPanelOrder, executionStatus); }
public void Execute(YellowstonePathology.Business.Test.ThinPrepPap.PanelOrderCytology cytologyPanelOrderToUnfinal, YellowstonePathology.Business.Test.AccessionOrder cytologyAccessionOrder, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_CytologyAccessionOrder = cytologyAccessionOrder; this.m_PanelOrderToUnfinal = cytologyPanelOrderToUnfinal; this.m_PanelSetOrderCytology = (YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology) this.m_CytologyAccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(this.m_PanelOrderToUnfinal.ReportNo); this.m_ExecutionStatus = executionStatus; this.m_Rule.Execute(executionStatus); }
public void SetData(Table moneyBoxTable, YellowstonePathology.Business.Amendment.Model.AmendmentCollection amendmentCollection, bool hasSignature, YellowstonePathology.Business.Rules.ExecutionStatus executionStatus) { this.m_MoneyBoxTable = moneyBoxTable; this.m_AmendmentCollection = amendmentCollection; m_HasSignature = hasSignature; m_ExecutionStatus = executionStatus; this.m_Rule.Execute(m_ExecutionStatus); }