/// <summary> /// Returns first repetition of REF_I12_RESULTS (a Group object) - creates it if necessary. /// </summary> /// /// <exception cref="Exception"> Thrown when an exception error condition occurs. </exception> /// /// <returns> The results. </returns> public REF_I12_RESULTS GetRESULTS() { REF_I12_RESULTS ret = null; try { ret = (REF_I12_RESULTS)this.GetStructure("RESULTS"); } 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 REF_I12_RESULTS ///</summary> public void RemoveRESULTS(REF_I12_RESULTS toRemove) { this.RemoveStructure("RESULTS", toRemove); }