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

            try {
                ret = (OSM_R26_SHIPMENT)this.GetStructure("SHIPMENT");
            } 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);
        }
Beispiel #2
0
 ///<summary>
 ///Removes the given OSM_R26_SHIPMENT
 ///</summary>
 public void RemoveSHIPMENT(OSM_R26_SHIPMENT toRemove)
 {
     this.RemoveStructure("SHIPMENT", toRemove);
 }