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

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