///<summary> /// Returns first repetition of CQU_I19_MEDICATION_HISTORY (a Group object) - creates it if necessary ///</summary> public CQU_I19_MEDICATION_HISTORY GetMEDICATION_HISTORY() { CQU_I19_MEDICATION_HISTORY ret = null; try { ret = (CQU_I19_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 CQU_I19_MEDICATION_HISTORY ///</summary> public void RemoveMEDICATION_HISTORY(CQU_I19_MEDICATION_HISTORY toRemove) { this.RemoveStructure("MEDICATION_HISTORY", toRemove); }