/// <summary> /// Returns first repetition of RDR_RDR_DEFINITION (a Group object) - creates it if necessary. /// </summary> /// /// <exception cref="Exception"> Thrown when an exception error condition occurs. </exception> /// /// <returns> The definition. </returns> public RDR_RDR_DEFINITION GetDEFINITION() { RDR_RDR_DEFINITION ret = null; try { ret = (RDR_RDR_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 RDR_RDR_DEFINITION (a Group object) - creates it if necessary</summary> public virtual RDR_RDR_DEFINITION getDEFINITION() { RDR_RDR_DEFINITION ret = null; try { ret = (RDR_RDR_DEFINITION)this.get_Renamed("DEFINITION"); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
///<summary> ///Removes the given RDR_RDR_DEFINITION ///</summary> public void RemoveDEFINITION(RDR_RDR_DEFINITION toRemove) { this.RemoveStructure("DEFINITION", toRemove); }