Example #1
0
        ///<summary>
        /// Returns  first repetition of ORD_O04_ORDER_DIET (a Group object) - creates it if necessary
        ///</summary>
        public ORD_O04_ORDER_DIET GetORDER_DIET()
        {
            ORD_O04_ORDER_DIET ret = null;

            try {
                ret = (ORD_O04_ORDER_DIET)this.GetStructure("ORDER_DIET");
            } 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);
        }
Example #2
0
 ///<summary>
 ///Removes the given ORD_O04_ORDER_DIET
 ///</summary>
 public void RemoveORDER_DIET(ORD_O04_ORDER_DIET toRemove)
 {
     this.RemoveStructure("ORDER_DIET", toRemove);
 }