///<summary> /// Returns first repetition of CCM_I21_MEDICATION_HISTORY (a Group object) - creates it if necessary ///</summary> public CCM_I21_MEDICATION_HISTORY GetMEDICATION_HISTORY() { CCM_I21_MEDICATION_HISTORY ret = null; try { ret = (CCM_I21_MEDICATION_HISTORY)this.GetStructure("MEDICATION_HISTORY"); } catch (HL7Exception e) { HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error accessing data - this is probably a bug in the source code generator.", e); throw new System.Exception("An unexpected error ocurred", e); } return(ret); }
///<summary> ///Removes the given CCM_I21_MEDICATION_HISTORY ///</summary> public void RemoveMEDICATION_HISTORY(CCM_I21_MEDICATION_HISTORY toRemove) { this.RemoveStructure("MEDICATION_HISTORY", toRemove); }