示例#1
0
        ///<summary>
        /// Returns  first repetition of OSM_R26_PACKAGE (a Group object) - creates it if necessary
        ///</summary>
        public OSM_R26_PACKAGE GetPACKAGE()
        {
            OSM_R26_PACKAGE ret = null;

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