コード例 #1
0
ファイル: MFN_M15.cs プロジェクト: nHapiNET/nHapi
        ///<summary>
        /// Returns  first repetition of MFN_M15_MF_INV_ITEM (a Group object) - creates it if necessary
        ///</summary>
        public MFN_M15_MF_INV_ITEM GetMF_INV_ITEM()
        {
            MFN_M15_MF_INV_ITEM ret = null;

            try {
                ret = (MFN_M15_MF_INV_ITEM)this.GetStructure("MF_INV_ITEM");
            } 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> Returns  first repetition of MFN_M15_MF_INV_ITEM (a Group object) - creates it if necessary</summary>
        public virtual MFN_M15_MF_INV_ITEM getMF_INV_ITEM()
        {
            MFN_M15_MF_INV_ITEM ret = null;

            try
            {
                ret = (MFN_M15_MF_INV_ITEM)this.get_Renamed("MF_INV_ITEM");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
コード例 #3
0
ファイル: MFN_M15.cs プロジェクト: nHapiNET/nHapi
 ///<summary>
 ///Removes the given MFN_M15_MF_INV_ITEM
 ///</summary>
 public void RemoveMF_INV_ITEM(MFN_M15_MF_INV_ITEM toRemove)
 {
     this.RemoveStructure("MF_INV_ITEM", toRemove);
 }