コード例 #1
0
ファイル: REF_I12.cs プロジェクト: carlhuth/GenXSource
        /// <summary> Returns  first repetition of REF_I12_INSURANCE (a Group object) - creates it if necessary</summary>
        public virtual REF_I12_INSURANCE getINSURANCE()
        {
            REF_I12_INSURANCE ret = null;

            try
            {
                ret = (REF_I12_INSURANCE)this.get_Renamed("INSURANCE");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
コード例 #2
0
        /**
         * Returns  first repetition of REF_I12_INSURANCE (a Group object) - creates it if necessary
         */
        public REF_I12_INSURANCE getINSURANCE()
        {
            REF_I12_INSURANCE ret = null;

            try
            {
                ret = (REF_I12_INSURANCE)this.get_Renamed("INSURANCE");
            }
            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);
        }
コード例 #3
0
ファイル: REF_I12.cs プロジェクト: nHapiNET/nHapi
 ///<summary>
 ///Removes the given REF_I12_INSURANCE
 ///</summary>
 public void RemoveINSURANCE(REF_I12_INSURANCE toRemove)
 {
     this.RemoveStructure("INSURANCE", toRemove);
 }