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