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

        public DFT_P03_FINANCIAL_PROCEDURE GetFINANCIAL_PROCEDURE()
        {
            DFT_P03_FINANCIAL_PROCEDURE ret = null;

            try {
                ret = (DFT_P03_FINANCIAL_PROCEDURE)this.GetStructure("FINANCIAL_PROCEDURE");
            } 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);
        }
 ///<summary>
 ///Removes the given DFT_P03_FINANCIAL_PROCEDURE
 ///</summary>
 public void RemoveFINANCIAL_PROCEDURE(DFT_P03_FINANCIAL_PROCEDURE toRemove)
 {
     this.RemoveStructure("FINANCIAL_PROCEDURE", toRemove);
 }