Esempio n. 1
0
        public Patient(string p_unitnum)
        {
            unitnum = p_unitnum;

            relativeID = 1;
            relationship = "Self";

            FHx = new FamilyHistory(this);
            owningFHx = FHx;

            MedHx = new MedicationHx(this);
            SocialHx = new SocialHistory(this);
            PhysicalExam = new PhysicalExamination(this);
            ObGynHx = new ObGynHistory(this);
            // deprecated diet = new Diet(this);
            procedureHx = new ProcedureHx(this);
            breastImagingHx = new BreastImagingHx(this);
            transvaginalImagingHx = new TransvaginalImagingHx(this);
            labsHx = new LabsHx(this);
            follupSatus = new FollowupStatus(unitnum, apptid);
            Tasks = new TaskList(this);
            Providers = new ProviderList(this);
            cdsBreastOvary = new CDSBreastOvary(this);
            guiPreferences = new GUIPreferenceList(this);
            PediatricCDS = new PediatricConsiderations(this);
            SurveyReponses = new SurveyResponseList(this);
            MammographyHx = new MammographyHx(this);
        }
Esempio n. 2
0
        private void LoadOrGetMammoHxAndBreastBx()
        {
            //TODO what to do if HraObjects are indeed null for some reason???
            Patient activePatient = SessionManager.Instance.GetActivePatient();

            this._mammoHx = activePatient.MammographyHx;

            if (this._mammoHx != null)
            {
                this._mammoHx.AddHandlersWithLoad(MammoHxChangedHandler, MammoHxLoadedHandler, null);
            }

            if (activePatient.procedureHx != null)
            {
                this._breastBx = activePatient.procedureHx.breastBx;

                if (this._breastBx != null)
                {
                    this._breastBx.AddHandlersWithLoad(BreastBxChangedHander, BreastBxLoadedHandler, null);
                }
            }
        }