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

        public CSU_C10_STUDY_PHASE GetSTUDY_PHASE()
        {
            CSU_C10_STUDY_PHASE ret = null;

            try {
                ret = (CSU_C10_STUDY_PHASE)this.GetStructure("STUDY_PHASE");
            } 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_PHASE
 ///</summary>
 public void RemoveSTUDY_PHASE(CSU_C10_STUDY_PHASE toRemove)
 {
     this.RemoveStructure("STUDY_PHASE", toRemove);
 }