コード例 #1
0
        /// <summary>
        /// Returns  first repetition of DFT_P11_FINANCIAL_INSURANCE (a Group object) - creates it if
        /// necessary.
        /// </summary>
        ///
        /// <exception cref="Exception">    Thrown when an exception error condition occurs. </exception>
        ///
        /// <returns>   The financial insurance. </returns>

        public DFT_P11_FINANCIAL_INSURANCE GetFINANCIAL_INSURANCE()
        {
            DFT_P11_FINANCIAL_INSURANCE ret = null;

            try {
                ret = (DFT_P11_FINANCIAL_INSURANCE)this.GetStructure("FINANCIAL_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);
        }
コード例 #2
0
ファイル: DFT_P11_FINANCIAL.cs プロジェクト: nHapiNET/nHapi
 ///<summary>
 ///Removes the given DFT_P11_FINANCIAL_INSURANCE
 ///</summary>
 public void RemoveFINANCIAL_INSURANCE(DFT_P11_FINANCIAL_INSURANCE toRemove)
 {
     this.RemoveStructure("FINANCIAL_INSURANCE", toRemove);
 }