///<summary>
        /// Returns  first repetition of ORD_O04_TIMING_TRAY (a Group object) - creates it if necessary
        ///</summary>
        public ORD_O04_TIMING_TRAY GetTIMING_TRAY()
        {
            ORD_O04_TIMING_TRAY ret = null;

            try {
                ret = (ORD_O04_TIMING_TRAY)this.GetStructure("TIMING_TRAY");
            } 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 ORD_O04_TIMING_TRAY
 ///</summary>
 public void RemoveTIMING_TRAY(ORD_O04_TIMING_TRAY toRemove)
 {
     this.RemoveStructure("TIMING_TRAY", toRemove);
 }