Exemplo n.º 1
0
        private bool CreateMissingInfo(StringBuilder result)
        {
            bool res = false;

            if (this.CheckBoxABN.IsChecked == true ||
                this.CheckBoxCytologyDXCode.IsChecked == true ||
                this.CheckBoxPatientDemographics.IsChecked == true ||
                this.CheckBoxNGCTDXCode.IsChecked == true ||
                this.CheckBoxTestType.IsChecked == true ||
                this.CheckBoxOrderingPhysician.IsChecked == true ||
                this.CheckBoxCollectionDate.IsChecked == true)
            {
                MissingInfoLetterBody missingInfoLetterBody = new MissingInfoLetterBody();
                missingInfoLetterBody.GetLetterBody(result, this.m_PatientNameWithBirthDate,
                                                    this.CheckBoxABN.IsChecked == true,
                                                    this.CheckBoxCytologyDXCode.IsChecked == true,
                                                    this.CheckBoxPatientDemographics.IsChecked == true,
                                                    this.CheckBoxNGCTDXCode.IsChecked == true,
                                                    this.CheckBoxTestType.IsChecked == true,
                                                    this.CheckBoxOrderingPhysician.IsChecked == true,
                                                    this.CheckBoxCollectionDate.IsChecked == true);

                res = true;

                if (this.CheckBoxABN.IsChecked == true)
                {
                    this.AppendToEventDescription(m_InfoEventComment, "ABN");
                }
                if (this.CheckBoxCytologyDXCode.IsChecked == true)
                {
                    this.AppendToEventDescription(m_InfoEventComment, "Diagnosis Code");
                }
                if (this.CheckBoxPatientDemographics.IsChecked == true)
                {
                    this.AppendToEventDescription(m_InfoEventComment, "Patient Demographics");
                }
                if (this.CheckBoxNGCTDXCode.IsChecked == true)
                {
                    this.AppendToEventDescription(m_InfoEventComment, "NG/CT Diagnosis Code");
                }
                if (this.CheckBoxTestType.IsChecked == true)
                {
                    this.AppendToEventDescription(m_InfoEventComment, "Test Type");
                }
                if (this.CheckBoxOrderingPhysician.IsChecked == true)
                {
                    this.AppendToEventDescription(m_InfoEventComment, "Ordering Physician");
                }
                if (this.CheckBoxCollectionDate.IsChecked == true)
                {
                    this.AppendToEventDescription(m_InfoEventComment, "Collection Date");
                }
            }
            return(res);
        }
Exemplo n.º 2
0
        private bool CreateMissingInfo(StringBuilder result)
        {
            bool res = false;
            if (this.CheckBoxABN.IsChecked == true ||
                this.CheckBoxCytologyDXCode.IsChecked == true ||
                this.CheckBoxPatientDemographics.IsChecked == true ||
                this.CheckBoxNGCTDXCode.IsChecked == true ||
                this.CheckBoxTestType.IsChecked == true ||
                this.CheckBoxOrderingPhysician.IsChecked == true ||
                this.CheckBoxCollectionDate.IsChecked == true)
            {
                MissingInfoLetterBody missingInfoLetterBody = new MissingInfoLetterBody();
                missingInfoLetterBody.GetLetterBody(result, this.m_PatientNameWithBirthDate,
                    this.CheckBoxABN.IsChecked == true,
                    this.CheckBoxCytologyDXCode.IsChecked == true,
                    this.CheckBoxPatientDemographics.IsChecked == true,
                    this.CheckBoxNGCTDXCode.IsChecked == true,
                    this.CheckBoxTestType.IsChecked == true,
                    this.CheckBoxOrderingPhysician.IsChecked == true,
                    this.CheckBoxCollectionDate.IsChecked == true);

                res = true;

                if (this.CheckBoxABN.IsChecked == true) this.AppendToEventDescription(m_InfoEventComment, "ABN");
                if (this.CheckBoxCytologyDXCode.IsChecked == true) this.AppendToEventDescription(m_InfoEventComment, "Diagnosis Code");
                if (this.CheckBoxPatientDemographics.IsChecked == true) this.AppendToEventDescription(m_InfoEventComment, "Patient Demographics");
                if (this.CheckBoxNGCTDXCode.IsChecked == true) this.AppendToEventDescription(m_InfoEventComment,  "NG/CT Diagnosis Code");
                if (this.CheckBoxTestType.IsChecked == true) this.AppendToEventDescription(m_InfoEventComment, "Test Type");
                if (this.CheckBoxOrderingPhysician.IsChecked == true) this.AppendToEventDescription(m_InfoEventComment, "Ordering Physician");
                if (this.CheckBoxCollectionDate.IsChecked == true) this.AppendToEventDescription(m_InfoEventComment, "Collection Date");
            }
            return res;
        }