Пример #1
0
        /// <summary>
        /// Returns  first repetition of CSU_C09_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_C09_STUDY_SCHEDULE GetSTUDY_SCHEDULE()
        {
            CSU_C09_STUDY_SCHEDULE ret = null;

            try {
                ret = (CSU_C09_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_C09_STUDY_SCHEDULE
 ///</summary>
 public void RemoveSTUDY_SCHEDULE(CSU_C09_STUDY_SCHEDULE toRemove)
 {
     this.RemoveStructure("STUDY_SCHEDULE", toRemove);
 }