예제 #1
0
        ///<summary>
        /// Returns  first repetition of MFN_M16_PURCHASING_VENDOR (a Group object) - creates it if necessary
        ///</summary>
        public MFN_M16_PURCHASING_VENDOR GetPURCHASING_VENDOR()
        {
            MFN_M16_PURCHASING_VENDOR ret = null;

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