Пример #1
0
        ///<summary>
        /// Returns  first repetition of OSM_R26_CONTAINER (a Group object) - creates it if necessary
        ///</summary>
        public OSM_R26_CONTAINER GetCONTAINER()
        {
            OSM_R26_CONTAINER ret = null;

            try {
                ret = (OSM_R26_CONTAINER)this.GetStructure("CONTAINER");
            } 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_CONTAINER
 ///</summary>
 public void RemoveCONTAINER(OSM_R26_CONTAINER toRemove)
 {
     this.RemoveStructure("CONTAINER", toRemove);
 }