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

        public PEX_P07_RX_ADMINISTRATION GetRX_ADMINISTRATION()
        {
            PEX_P07_RX_ADMINISTRATION ret = null;

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