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