/// <summary> /// Returns first repetition of MFK_M01_MF (a Group object) - creates it if necessary. /// </summary> /// /// <exception cref="Exception"> Thrown when an exception error condition occurs. </exception> /// /// <returns> The mf. </returns> public MFK_M01_MF GetMF() { MFK_M01_MF ret = null; try { ret = (MFK_M01_MF)this.GetStructure("MF"); } 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 MFK_M01_MF ///</summary> public void RemoveMF(MFK_M01_MF toRemove) { this.RemoveStructure("MF", toRemove); }