Beispiel #1
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            if (my_type == DocumentListType.RiskClinic)
            {
                Patient proband = RiskApps3.Controllers.SessionManager.Instance.GetActivePatient();
                if (proband != null)
                {
                    pc.Add("unitnum", proband.unitnum);
                }
                LoadListArgs lla = new LoadListArgs("sp_3_LoadRiskClinicDocumentTemplates",
                                                    pc,
                                                    typeof(DocumentTemplate),
                                                    constructor_args);
                DoListLoad(lla);
                foreach (DocumentTemplate dt in this)
                {
                    if (string.IsNullOrEmpty(dt.relativeName) == false)
                    {
                        dt.documentName += (" for " + dt.relativeName);
                    }
                }
            }
            else
            {
                LoadListArgs lla = new LoadListArgs("sp_3_LoadDocumentTemplates",
                                                    pc,
                                                    typeof(DocumentTemplate),
                                                    constructor_args);
                DoListLoad(lla);
            }
        }
Beispiel #2
0
        /*****************************************************/

        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPMH.RelativeOwningPMH.owningFHx.proband.unitnum);
            pc.Add("relId", OwningPMH.RelativeOwningPMH.relativeID);
            pc.Add("apptid", OwningPMH.RelativeOwningPMH.owningFHx.proband.apptid);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadPastMedicalHistory",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
            foreach (ClincalObservation co in this)
            {
                if (co.disease.ToLower().Contains("breast") && co.disease.ToLower().Contains("cancer"))
                {
                    co.Details = new BreastCancerDetails();
                    co.Details.owningClincalObservation = co;
                    co.Details.BackgroundLoadWork();
                }
                if ((co.disease.ToLower().Contains("colon") ||
                     co.disease.ToLower().Contains("rectal") ||
                     co.disease.ToLower().Contains("uterine")) && co.disease.ToLower().Contains("cancer"))
                {
                    co.Details = new ColonCancerDetails();
                    co.Details.owningClincalObservation = co;
                    co.Details.BackgroundLoadWork();
                }
            }
        }
Beispiel #3
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            if (string.IsNullOrEmpty(Date) == false)
            {
                pc.Add("Date", Date);
            }
            if (string.IsNullOrEmpty(NameOrMrn) == false)
            {
                pc.Add("NameOrMrn", NameOrMrn);
            }
            if (string.IsNullOrEmpty(groupName) == false)
            {
                pc.Add("groupName", groupName);
            }

            if (clinicId != 0)  //dont check for null - int's init to 0 if not assigned
            {
                pc.Add("clinicId", clinicId);
            }

            pc.Add("userLogin", SessionManager.Instance.ActiveUser.userLogin);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadAppointmentList",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
        /*****************************************************/
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPMH.RelativeOwningPMH.owningFHx.proband.unitnum);
            pc.Add("relId", OwningPMH.RelativeOwningPMH.relativeID);
            pc.Add("apptid", OwningPMH.RelativeOwningPMH.owningFHx.proband.apptid);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadPastMedicalHistory",
                                                pc,
                                                typeof(ClincalObservation),
                                                constructor_args);
            DoListLoad(lla);
            foreach (ClincalObservation co in this)
            {
                if (co.disease.ToLower().Contains("breast") && co.disease.ToLower().Contains("cancer"))
                {
                    co.Details = new BreastCancerDetails();
                    co.Details.owningClincalObservation = co;
                    co.Details.BackgroundLoadWork();
                }
                if ((co.disease.ToLower().Contains("colon") ||
                    co.disease.ToLower().Contains("rectal") ||
                    co.disease.ToLower().Contains("uterine")) && co.disease.ToLower().Contains("cancer"))
                {
                    co.Details = new ColonCancerDetails();
                    co.Details.owningClincalObservation = co;
                    co.Details.BackgroundLoadWork();
                }
            }
        }
Beispiel #5
0
        public override void BackgroundListLoad()
        {
            throw new NotImplementedException("must implement sp!!!");
            pc.Clear(); //TODO create this SP if needed
            LoadListArgs lla = new LoadListArgs("sp3_LoadAssessments", this.pc, null);

            DoListLoad(lla);
        }
Beispiel #6
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            LoadListArgs lla = new LoadListArgs("sp_3_LoadNotYetInformedGeneticTestList",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
 public override void BackgroundListLoad()
 {
     pc.Clear();
     LoadListArgs lla = new LoadListArgs("sp_3_LoadNotYetInformedGeneticTestList",
                                         pc,
                                         typeof(NotYetInformedGeneticTest),
                                         constructor_args);
     DoListLoad(lla);
 }
Beispiel #8
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("providerID", providerID);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadProviderParagraphs",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #9
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("user_login", user_login);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadUserClinicList",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #10
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs("sp_3_LoadDefaultParagraphs",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #11
0
 public override void BackgroundListLoad()
 {
     pc.Clear();
     pc.Add("user_login", user_login);
     LoadListArgs lla = new LoadListArgs("sp_3_LoadUserClinicList",
                                         pc,
                                         typeof(Clinic),
                                         constructor_args);
     DoListLoad(lla);
 }
Beispiel #12
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPatient.unitnum);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadLabsHx",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #13
0
 public override void BackgroundListLoad()
 {
     pc.Clear();
     pc.Add("providerID", providerID);
     LoadListArgs lla = new LoadListArgs("sp_3_LoadProviderParagraphs",
                                         pc,
                                         typeof(ProviderParagraph),
                                         constructor_args);
     DoListLoad(lla);
 }
Beispiel #14
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs("sp_3_LoadUserGroupList",
                                                pc,
                                                constructor_args);
            DoListLoad(lla);

        }
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs("sp_3_LoadTestPatients",
                                                pc,
                                                typeof(TestAppointment),
                                                constructor_args);
            DoListLoad(lla);
        }
Beispiel #16
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs("sp_3_LoadApptProviders",
                                                pc,
                                                typeof(Provider),
                                                constructor_args);
            DoListLoad(lla);
        }
Beispiel #17
0
 public override void BackgroundListLoad()
 {
     pc.Clear();
     pc.Add("clinicId", clinicId);
     LoadListArgs lla = new LoadListArgs("sp_3_LoadPendingGeneticTestList",
                                         pc,
                                         typeof(PendingGeneticTest),
                                         constructor_args);
     DoListLoad(lla);
 }
Beispiel #18
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs("sp_3_LoadUserGroupList",
                                                pc,
                                                typeof(UserGroupMembership),
                                                constructor_args);
            DoListLoad(lla);
        }
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs("sp_3_LoadTestPatients",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #20
0
 public override void BackgroundListLoad()
 {
     pc.Clear();
     pc.Add("unitnum", OwningPatient.unitnum);
     LoadListArgs lla = new LoadListArgs("sp_3_LoadTaskList",
                                         pc,
                                         typeof(Task),
                                         constructor_args);
     DoListLoad(lla);
 }
Beispiel #21
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs("sp_3_LoadMasterParagraph",
                                                pc,
                                                typeof(MasterParagraph),
                                                constructor_args);
            DoListLoad(lla);
        }
Beispiel #22
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("clinicId", clinicId);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadPendingGeneticTestList",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #23
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadOrderTypes",
                this.pc,
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #24
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", patient_unitnum);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadPtFollowupCommunication",
                                                pc,
                                                typeof(PtFollowup),
                                                constructor_args);
            DoListLoad(lla);
        }
Beispiel #25
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadActiveSurveyList",
                this.pc,
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #26
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", patient_unitnum);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadPtFollowupCommunication",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #27
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs(
                "sp_Automation",
                this.pc,
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #28
0
 public override void BackgroundListLoad()
 {
     pc.Clear();
     pc.Add("unitnum", OwningPatient.unitnum);
     pc.Add("apptid", OwningPatient.apptid);
     LoadListArgs lla = new LoadListArgs("sp_3_LoadNCCN",
                                         pc,
                                         typeof(NCCNFactors),
                                         constructor_args);
     DoListLoad(lla);
 }
Beispiel #29
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", proband.unitnum);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadProviderList",
                                                pc,
                                                typeof(Provider),
                                                constructor_args);
            DoListLoad(lla);
        }
Beispiel #30
0
 public override void BackgroundListLoad()
 {
     pc.Clear();
     pc.Add("unitnum", OwningPatient.unitnum);
     pc.Add("apptid", OwningPatient.apptid);
     LoadListArgs lla = new LoadListArgs("sp_3_LoadBrcaproCancerRisk",
                                         pc,
                                         typeof(BrcaProCancerRiskByAge),
                                         constructor_args);
     DoListLoad(lla);
 }
Beispiel #31
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPatient.unitnum);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadBreastImaging",
                                                pc,
                                                typeof(BreastImagingStudy),
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #32
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs("sp_3_LoadMasterParagraph",
                                                pc,
                                                typeof(MasterParagraph),
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #33
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadQueueParameterList",
                this.pc,
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #34
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            //gets lkpProviders
            LoadListArgs lla = new LoadListArgs("sp_3_LoadApptProviders",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #35
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPatient.unitnum);
            pc.Add("apptid", OwningPatient.apptid);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadBrcaproCancerRisk",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #36
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", proband.unitnum);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadProviderList",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #37
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadQueueParameterList",
                this.pc,
                typeof(QueueParameter),
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #38
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadDiseases",
                this.pc,
                typeof(DiseaseObject),
                this.constructor_args);

            DoListLoad(lla);
        }
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPatient.unitnum);
            pc.Add("apptid", OwningPatient.apptid);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadPediatricConsiderations",
                                                pc,
                                                constructor_args);

            //Azure was timing out on this for no obvious reason
            //DoListLoad(lla);
        }
Beispiel #40
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPatient.unitnum);
            pc.Add("apptid", OwningPatient.apptid);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadNCCN",
                                                pc,
                                                typeof(NCCNFactors),
                                                constructor_args);

            DoListLoad(lla);
        }
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs(
                "sp_Automation",
                this.pc,
                typeof(AutomationQueueEntry),
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #42
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadActiveSurveyList",
                this.pc,
                typeof(ActiveSurvey),
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #43
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("includePrinted", includePrinted);

            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadPrintQueueEntries",
                this.pc,
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #44
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPatient.unitnum);
            pc.Add("apptid", OwningPatient.apptid);
            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadSurveyResponses",
                this.pc,
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #45
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadGeneticTests",
                this.pc,
                typeof(GeneticTestObject),
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #46
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs
                               (
                "sp_3_GetUnitnumList",
                this.pc,
                this.construction_args
                               );

            DoListLoad(lla);
        }
Beispiel #47
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", person.owningFHx.proband.unitnum);
            pc.Add("relativeID", person.relativeID);
            pc.Add("apptid", person.owningFHx.proband.apptid);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadEthnicity",
                                                pc,
                                                typeof(Race),
                                                constructor_args);
            DoListLoad(lla);
        }
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPatient.unitnum);
            pc.Add("apptid", OwningPatient.apptid);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadPediatricConsiderations",
                                                pc,
                                                typeof(PediatricRule),
                                                constructor_args);

               //Azure was timing out on this for no obvious reason
            //DoListLoad(lla);
        }
Beispiel #49
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningTask.owningPatient.unitnum);
            pc.Add("taskID", OwningTask.taskID);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadPtFollowupCommunication",
                                                pc,
                                                typeof(PtFollowup),
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #50
0
        /**************************************************************************************************/
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", person.owningFHx.proband.unitnum);
            pc.Add("apptid", person.owningFHx.proband.apptid);
            pc.Add("relativeID", person.relativeID);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadNationality",
                                                pc,
                                                constructor_args);

            DoListLoad(lla);
        }
Beispiel #51
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("includePrinted", includePrinted);

            LoadListArgs lla = new LoadListArgs(
                "sp_3_LoadPrintQueueEntries",
                this.pc,
                typeof(PrintQueueEntry),
                this.constructor_args);

            DoListLoad(lla);
        }
Beispiel #52
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("clinicId", clinicID);
            pc.Add("start", StartTime.ToShortDateString());
            pc.Add("end", EndTime.ToShortDateString());
            pc.Add("type", type);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadLifetimeLynchCancerRiskStats",
                                    pc,
                                    typeof(ColonRiskStat),
                                    construction_args);
            DoListLoad(lla);
        }
Beispiel #53
0
        public override void BackgroundListLoad()
        {
            pc.Clear();

            LoadListArgs lla = new LoadListArgs
            (
                "sp_3_LoadMutations",
                this.pc,
                typeof(MutationObject),
                this.construction_args
            );

            DoListLoad(lla);
        }
Beispiel #54
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("clinicId", clinicID);
            pc.Add("start", StartTime.ToShortDateString());
            pc.Add("end", EndTime.ToShortDateString());
            pc.Add("type", type);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadBrOvCancerFrequency",
                                    pc,
                                    typeof(BrOvCancerStat),
                                    construction_args);
            DoListLoad(lla);
        }
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("start", StartTime.ToShortDateString());
            pc.Add("end", EndTime.ToShortDateString());
            LoadListArgs lla = new LoadListArgs
            (
                "sp_3_GetRiskClinicReferringProviders",
                this.pc,
                typeof(ReferringProvider),
                this.construction_args
            );

            DoListLoad(lla);
        }
Beispiel #56
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("startDate", StartTime.ToShortDateString());
            pc.Add("endDate", EndTime.ToShortDateString());
            LoadListArgs lla = new LoadListArgs
            (
                "sp_3_GetAuditUserLoginsReport",
                this.pc,
                typeof(AuditUserLoginsReportEntry),
                this.construction_args
            );

            DoListLoad(lla);
        }
Beispiel #57
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPatient.unitnum);
            pc.Add("apptid", OwningPatient.apptid);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadClausLifetimeRisk",
                                                pc,
                                                typeof(ClausRiskByAge),
                                                constructor_args);
            DoListLoad(lla);

            RiskFactors.unitnum = OwningPatient.unitnum;
            RiskFactors.apptid = OwningPatient.apptid;
            RiskFactors.BackgroundLoadWork();
        }
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("clinicId", clinicID);
            pc.Add("start", StartTime.ToShortDateString());
            pc.Add("end", EndTime.ToShortDateString());
            pc.Add("type", type);
            pc.Add("monthly", 1);

            LoadListArgs lla = new LoadListArgs("sp_3_LoadAppointmentHistoryStats",
                                    pc,
                                    typeof(AppointmentStat),
                                    construction_args);
            DoListLoad(lla);
        }
Beispiel #59
0
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("unitnum", OwningPatient.unitnum);
            LoadListArgs lla = new LoadListArgs("sp_3_LoadGUIPreferenceList",
                                                pc,
                                                typeof(GUIPreference),
                                                constructor_args);
            DoListLoad(lla);

            foreach(GUIPreference gp in this)
            {
                gp.annotations.BackgroundListLoad();
            }
        }
        public override void BackgroundListLoad()
        {
            pc.Clear();
            pc.Add("clinicId", clinicID);
            pc.Add("start", StartTime.ToShortDateString());
            pc.Add("end", EndTime.ToShortDateString());
            LoadListArgs lla = new LoadListArgs
            (
                "sp_3_GetRiskClinicPatientCohort",
                this.pc,
                typeof(PatientCohortMember),
                this.construction_args
            );

            DoListLoad(lla);
        }