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

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