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

            try {
                ret = (MDM_T02_OBXNTE)this.GetStructure("OBXNTE");
            } 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> Returns  first repetition of MDM_T02_OBXNTE (a Group object) - creates it if necessary</summary>
        public virtual MDM_T02_OBXNTE getOBXNTE()
        {
            MDM_T02_OBXNTE ret = null;

            try
            {
                ret = (MDM_T02_OBXNTE)this.get_Renamed("OBXNTE");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
コード例 #3
0
 ///<summary>
 ///Removes the given MDM_T02_OBXNTE
 ///</summary>
 public void RemoveOBXNTE(MDM_T02_OBXNTE toRemove)
 {
     this.RemoveStructure("OBXNTE", toRemove);
 }