コード例 #1
0
ファイル: MammographyHxView.cs プロジェクト: mahitosh/HRA4
        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);
                }
            }
        }
コード例 #2
0
ファイル: ProcedureHx.cs プロジェクト: mahitosh/HRA4
        public ProcedureHx(Patient owner)
        {
            theProband = owner;

            breastBx = new BreastBx(owner);
        }
コード例 #3
0
        }                        // Default constructor for serialization

        public ProcedureHx(Patient owner)
        {
            theProband = owner;

            breastBx = new BreastBx(owner);
        }