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

        public RRA_O02_ADMINISTRATION GetADMINISTRATION()
        {
            RRA_O02_ADMINISTRATION ret = null;

            try {
                ret = (RRA_O02_ADMINISTRATION)this.GetStructure("ADMINISTRATION");
            } 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
ファイル: RRA_O02_ORDER.cs プロジェクト: nHapiNET/nHapi
 ///<summary>
 ///Removes the given RRA_O02_ADMINISTRATION
 ///</summary>
 public void RemoveADMINISTRATION(RRA_O02_ADMINISTRATION toRemove)
 {
     this.RemoveStructure("ADMINISTRATION", toRemove);
 }