示例#1
0
文件: RPI_I01.cs 项目: erichwu/nHapi
        ///<summary>
        /// Returns  first repetition of RPI_I01_PROVIDER (a Group object) - creates it if necessary
        ///</summary>
        public RPI_I01_PROVIDER GetPROVIDER()
        {
            RPI_I01_PROVIDER ret = null;

            try {
                ret = (RPI_I01_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);
        }
示例#2
0
        /// <summary> Returns  first repetition of RPI_I01_PROVIDER (a Group object) - creates it if necessary</summary>
        public virtual RPI_I01_PROVIDER getPROVIDER()
        {
            RPI_I01_PROVIDER ret = null;

            try
            {
                ret = (RPI_I01_PROVIDER)this.get_Renamed("PROVIDER");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
示例#3
0
文件: RPI_I01.cs 项目: erichwu/nHapi
 ///<summary>
 ///Removes the given RPI_I01_PROVIDER
 ///</summary>
 public void RemovePROVIDER(RPI_I01_PROVIDER toRemove)
 {
     this.RemoveStructure("PROVIDER", toRemove);
 }