コード例 #1
0
        ///<summary>
        /// Returns  first repetition of CSU_C09_STUDY_PHARM (a Group object) - creates it if necessary
        ///</summary>
        public CSU_C09_STUDY_PHARM GetSTUDY_PHARM()
        {
            CSU_C09_STUDY_PHARM ret = null;

            try {
                ret = (CSU_C09_STUDY_PHARM)this.GetStructure("STUDY_PHARM");
            } 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_PHARM
 ///</summary>
 public void RemoveSTUDY_PHARM(CSU_C09_STUDY_PHARM toRemove)
 {
     this.RemoveStructure("STUDY_PHARM", toRemove);
 }