///<summary>
        /// Returns  first repetition of RPA_I11_PROCEDURE (a Group object) - creates it if necessary
        ///</summary>
        public RPA_I11_PROCEDURE GetPROCEDURE()
        {
            RPA_I11_PROCEDURE ret = null;

            try {
                ret = (RPA_I11_PROCEDURE)this.GetStructure("PROCEDURE");
            } 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 RPA_I11_PROCEDURE
 ///</summary>
 public void RemovePROCEDURE(RPA_I11_PROCEDURE toRemove)
 {
     this.RemoveStructure("PROCEDURE", toRemove);
 }