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