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); } } }
public ProcedureHx(Patient owner) { theProband = owner; breastBx = new BreastBx(owner); }
} // Default constructor for serialization public ProcedureHx(Patient owner) { theProband = owner; breastBx = new BreastBx(owner); }