Ejemplo n.º 1
0
        private static void SaveCancerRiskFactors()
        {
            Breast bcancer = new Breast();

            CancerRiskFactors breast = new Breast()
            {
                MensturationHistory = new MensturationHistory()
                {
                    AgeOfFirstPeriod="",
                    AgePeriodStopped="",
                    Confident="",
                    LMP="",
                    StillHavingPeriods=""
                },
                PhysicalData = new PhysicalData()
                {
                    Weight="",
                    Feet= "",
                    Inches=""
                },
            };

            CancerRiskFactors colorectal = new Colorectal()
            {
                MensturationHistory = new MensturationFactors()
                {
                    AgePeriodStopped = "",
                    StillHavingPeriods = ""
                },
                PhysicalData = new PhysicalData()
                {
                    Weight = "",
                    Feet = "",
                    Inches = ""
                },
            };

            SessionManager.Instance.SetActivePatient("99911041507",7);
            PhysicalExamination physical = new PhysicalExamination(SessionManager.Instance.GetActivePatient());
               // physical.weightPounds = "75";
            //HraModelChangedEventArgs args = new HraModelChangedEventArgs(null);
            //args.updatedMembers.Add(physical.GetMemberByName("weightPounds")); // Edit And save

            //physical.BackgroundPersistWork(args);

            physical.weightPounds = "80";
            physical.BackgroundPersistWork(new HraModelChangedEventArgs(null));
        }
Ejemplo n.º 2
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);
        }
Ejemplo n.º 3
0
        /**************************************************************************************************/
        private void LoadOrGetPhysicalExam()
        {
            //  get active patinet object from session manager
            physicalExam = SessionManager.Instance.GetActivePatient().PhysicalExam;

            if (physicalExam != null)
            {
                physicalExam.AddHandlersWithLoad(PhysicalExamChanged, PhysicalExamLoaded, null);
            }
        }