public PatientHistoryReview() { this.m_WordSearchList = new YellowstonePathology.Business.Rules.Surgical.WordSearchList(); YellowstonePathology.Business.Rules.Surgical.WordSearchListItem uterusDysplasiaItem = new YellowstonePathology.Business.Rules.Surgical.WordSearchListItem("UTERUS", true, CheckPatientHistoryMessage); this.m_WordSearchList.Add(uterusDysplasiaItem); YellowstonePathology.Business.Rules.Surgical.WordSearchListItem alopeciaItem = new YellowstonePathology.Business.Rules.Surgical.WordSearchListItem("SCALP", true, AlopeciaMessage); this.m_WordSearchList.Add(alopeciaItem); YellowstonePathology.Business.Rules.Surgical.WordSearchListItem cervixItem = new YellowstonePathology.Business.Rules.Surgical.WordSearchListItem("CERVIX", true, CervixMessage); this.m_WordSearchList.Add(cervixItem); }
public PatientHistoryReview() { this.m_WordSearchList = new YellowstonePathology.Business.Rules.Surgical.WordSearchList(); YellowstonePathology.Business.Rules.Surgical.WordSearchListItem uterusDysplasiaItem = new YellowstonePathology.Business.Rules.Surgical.WordSearchListItem("UTERUS", true, CheckPatientHistoryMessage); this.m_WordSearchList.Add(uterusDysplasiaItem); YellowstonePathology.Business.Rules.Surgical.WordSearchListItem alopeciaItem = new YellowstonePathology.Business.Rules.Surgical.WordSearchListItem("SCALP", true, AlopeciaMessage); this.m_WordSearchList.Add(alopeciaItem); YellowstonePathology.Business.Rules.Surgical.WordSearchListItem cervixItem = new YellowstonePathology.Business.Rules.Surgical.WordSearchListItem("CERVIX", true, CervixMessage); this.m_WordSearchList.Add(cervixItem); }
public PapCorrelationIsRequiredAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_AccessionOrder = accessionOrder; this.m_PapCorrelationWordList = new Business.Rules.Surgical.WordSearchList(); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("ECC", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("CERVIX", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("CERVICAL", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("VAGINAL", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("ENDOCERVICAL", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("BLADDER", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("THYROID", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("BREAST", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("GALLBLADDER", false, string.Empty)); }
public PapCorrelationIsRequiredAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_AccessionOrder = accessionOrder; this.m_PapCorrelationWordList = new Business.Rules.Surgical.WordSearchList(); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("ECC", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("CERVIX", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("CERVICAL", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("VAGINAL", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("ENDOCERVICAL", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("BLADDER", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("THYROID", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("BREAST", true, string.Empty)); this.m_PapCorrelationWordList.Add(new Business.Rules.Surgical.WordSearchListItem("GALLBLADDER", false, string.Empty)); }
public bool FindWordsInDescription(YellowstonePathology.Business.Rules.Surgical.WordSearchList wordSearchList) { bool result = false; foreach (YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder in this) { if (string.IsNullOrEmpty(specimenOrder.Description) == false) { if (wordSearchList.Search(specimenOrder.Description) == true) { result = true; break; } } } return(result); }