コード例 #1
0
        ///<summary>
        /// Returns  first repetition of MFN_M16_PACKAGING (a Group object) - creates it if necessary
        ///</summary>
        public MFN_M16_PACKAGING GetPACKAGING()
        {
            MFN_M16_PACKAGING ret = null;

            try {
                ret = (MFN_M16_PACKAGING)this.GetStructure("PACKAGING");
            } 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_PACKAGING
 ///</summary>
 public void RemovePACKAGING(MFN_M16_PACKAGING toRemove)
 {
     this.RemoveStructure("PACKAGING", toRemove);
 }