///<summary> /// Returns first repetition of MFN_M05_MF_LOCATION (a Group object) - creates it if necessary ///</summary> public MFN_M05_MF_LOCATION GetMF_LOCATION() { MFN_M05_MF_LOCATION ret = null; try { ret = (MFN_M05_MF_LOCATION)this.GetStructure("MF_LOCATION"); } 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> Returns first repetition of MFN_M05_MF_LOCATION (a Group object) - creates it if necessary</summary> public virtual MFN_M05_MF_LOCATION getMF_LOCATION() { MFN_M05_MF_LOCATION ret = null; try { ret = (MFN_M05_MF_LOCATION)this.get_Renamed("MF_LOCATION"); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
///<summary> ///Removes the given MFN_M05_MF_LOCATION ///</summary> public void RemoveMF_LOCATION(MFN_M05_MF_LOCATION toRemove) { this.RemoveStructure("MF_LOCATION", toRemove); }