/// <summary>
        /// Returns  first repetition of CSU_C11_STUDY_OBSERVATION (a Group object) - creates it if
        /// necessary.
        /// </summary>
        ///
        /// <exception cref="Exception">    Thrown when an exception error condition occurs. </exception>
        ///
        /// <returns>   The study observation. </returns>

        public CSU_C11_STUDY_OBSERVATION GetSTUDY_OBSERVATION()
        {
            CSU_C11_STUDY_OBSERVATION ret = null;

            try {
                ret = (CSU_C11_STUDY_OBSERVATION)this.GetStructure("STUDY_OBSERVATION");
            } 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_C11_STUDY_OBSERVATION
 ///</summary>
 public void RemoveSTUDY_OBSERVATION(CSU_C11_STUDY_OBSERVATION toRemove)
 {
     this.RemoveStructure("STUDY_OBSERVATION", toRemove);
 }