예제 #1
0
        /// <summary>
        /// Returns  first repetition of CSU_C10_STUDY_SCHEDULE (a Group object) - creates it if
        /// necessary.
        /// </summary>
        ///
        /// <exception cref="Exception">    Thrown when an exception error condition occurs. </exception>
        ///
        /// <returns>   The study schedule. </returns>

        public CSU_C10_STUDY_SCHEDULE GetSTUDY_SCHEDULE()
        {
            CSU_C10_STUDY_SCHEDULE ret = null;

            try {
                ret = (CSU_C10_STUDY_SCHEDULE)this.GetStructure("STUDY_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);
        }
예제 #2
0
 ///<summary>
 ///Removes the given CSU_C10_STUDY_SCHEDULE
 ///</summary>
 public void RemoveSTUDY_SCHEDULE(CSU_C10_STUDY_SCHEDULE toRemove)
 {
     this.RemoveStructure("STUDY_SCHEDULE", toRemove);
 }