///<summary> /// Returns first repetition of MFN_M16_MATERIAL_LOCATION (a Group object) - creates it if necessary ///</summary> public MFN_M16_MATERIAL_LOCATION GetMATERIAL_LOCATION() { MFN_M16_MATERIAL_LOCATION ret = null; try { ret = (MFN_M16_MATERIAL_LOCATION)this.GetStructure("MATERIAL_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> ///Removes the given MFN_M16_MATERIAL_LOCATION ///</summary> public void RemoveMATERIAL_LOCATION(MFN_M16_MATERIAL_LOCATION toRemove) { this.RemoveStructure("MATERIAL_LOCATION", toRemove); }