Exemple #1
0
        /// <summary>
        /// Returns  first repetition of OML_O21_ORDER_GENERAL (a Group object) - creates it if necessary.
        /// </summary>
        ///
        /// <exception cref="Exception">    Thrown when an exception error condition occurs. </exception>
        ///
        /// <returns>   The order general. </returns>

        public OML_O21_ORDER_GENERAL GetORDER_GENERAL()
        {
            OML_O21_ORDER_GENERAL ret = null;

            try {
                ret = (OML_O21_ORDER_GENERAL)this.GetStructure("ORDER_GENERAL");
            } 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);
        }
Exemple #2
0
        /// <summary> Returns  first repetition of OML_O21_ORDER_GENERAL (a Group object) - creates it if necessary</summary>
        public virtual OML_O21_ORDER_GENERAL getORDER_GENERAL()
        {
            OML_O21_ORDER_GENERAL ret = null;

            try
            {
                ret = (OML_O21_ORDER_GENERAL)this.get_Renamed("ORDER_GENERAL");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Exemple #3
0
 ///<summary>
 ///Removes the given OML_O21_ORDER_GENERAL
 ///</summary>
 public void RemoveORDER_GENERAL(OML_O21_ORDER_GENERAL toRemove)
 {
     this.RemoveStructure("ORDER_GENERAL", toRemove);
 }