Пример #1
0
        ///<summary>
        /// Returns  first repetition of OMN_O07_ORDER (a Group object) - creates it if necessary
        ///</summary>
        public OMN_O07_ORDER GetORDER()
        {
            OMN_O07_ORDER ret = null;

            try {
                ret = (OMN_O07_ORDER)this.GetStructure("ORDER");
            } 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> Returns  first repetition of OMN_O07_ORDER (a Group object) - creates it if necessary</summary>
        public virtual OMN_O07_ORDER getORDER()
        {
            OMN_O07_ORDER ret = null;

            try
            {
                ret = (OMN_O07_ORDER)this.get_Renamed("ORDER");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Пример #3
0
 ///<summary>
 ///Removes the given OMN_O07_ORDER
 ///</summary>
 public void RemoveORDER(OMN_O07_ORDER toRemove)
 {
     this.RemoveStructure("ORDER", toRemove);
 }