/// <summary> /// Returns first repetition of MFR_M02_MF_STAFF (a Group object) - creates it if necessary. /// </summary> /// /// <exception cref="Exception"> Thrown when an exception error condition occurs. </exception> /// /// <returns> The mf staff. </returns> public MFR_M02_MF_STAFF GetMF_STAFF() { MFR_M02_MF_STAFF ret = null; try { ret = (MFR_M02_MF_STAFF)this.GetStructure("MF_STAFF"); } 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 MFR_M02_MF_STAFF (a Group object) - creates it if necessary</summary> public virtual MFR_M02_MF_STAFF getMF_STAFF() { MFR_M02_MF_STAFF ret = null; try { ret = (MFR_M02_MF_STAFF)this.get_Renamed("MF_STAFF"); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
///<summary> ///Removes the given MFR_M02_MF_STAFF ///</summary> public void RemoveMF_STAFF(MFR_M02_MF_STAFF toRemove) { this.RemoveStructure("MF_STAFF", toRemove); }