///<summary>
        /// Returns  first repetition of RPR_I03_PROVIDER (a Group object) - creates it if necessary
        ///</summary>
        public RPR_I03_PROVIDER GetPROVIDER()
        {
            RPR_I03_PROVIDER ret = null;

            try {
                ret = (RPR_I03_PROVIDER)this.GetStructure("PROVIDER");
            } 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);
        }
Example #2
0
        /// <summary> Returns  first repetition of RPR_I03_PROVIDER (a Group object) - creates it if necessary</summary>
        public virtual RPR_I03_PROVIDER getPROVIDER()
        {
            RPR_I03_PROVIDER ret = null;

            try
            {
                ret = (RPR_I03_PROVIDER)this.get_Renamed("PROVIDER");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Example #3
0
 ///<summary>
 ///Removes the given RPR_I03_PROVIDER
 ///</summary>
 public void RemovePROVIDER(RPR_I03_PROVIDER toRemove)
 {
     this.RemoveStructure("PROVIDER", toRemove);
 }