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